diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 75c3406fac..6496e05066 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -31,12 +31,143 @@ docs/AvailablePrefix.md
docs/AvailableVLAN.md
docs/Bookmark.md
docs/BookmarkRequest.md
+docs/BriefCable.md
+docs/BriefCableRequest.md
+docs/BriefCircuit.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/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/CircuitRequest.md
+docs/CircuitStatus.md
+docs/CircuitStatusLabel.md
+docs/CircuitStatusValue.md
docs/CircuitTermination.md
docs/CircuitTerminationRequest.md
docs/CircuitType.md
@@ -47,6 +178,9 @@ 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
@@ -107,7 +241,12 @@ 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/DcimConsolePortTemplatesListTypeParameter.md
@@ -135,14 +274,23 @@ 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
@@ -165,7 +313,6 @@ docs/ExtrasObjectChangesListActionParameter.md
docs/FHRPGroup.md
docs/FHRPGroupAssignment.md
docs/FHRPGroupAssignmentRequest.md
-docs/FHRPGroupProtocol.md
docs/FHRPGroupRequest.md
docs/FrontPort.md
docs/FrontPortRearPort.md
@@ -176,6 +323,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 +351,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
@@ -260,10 +414,6 @@ docs/InventoryItemTemplateRequest.md
docs/IpamAPI.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,11 +423,11 @@ 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
@@ -288,6 +438,9 @@ 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/ModuleTypeRequest.md
docs/NestedContactGroup.md
@@ -295,12 +448,17 @@ 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,6 +472,7 @@ docs/NestedVMInterface.md
docs/NestedVMInterfaceRequest.md
docs/NestedVirtualMachine.md
docs/NestedVirtualMachineRequest.md
+docs/NestedWirelessLANGroup.md
docs/NestedWirelessLANGroupRequest.md
docs/NestedWirelessLink.md
docs/NestedWirelessLinkRequest.md
@@ -491,13 +650,8 @@ docs/PatchedWebhookRequest.md
docs/PatchedWebhookRequestHttpMethod.md
docs/PatchedWritableAggregateRequest.md
docs/PatchedWritableCableRequest.md
-docs/PatchedWritableCableRequestLengthUnit.md
-docs/PatchedWritableCableRequestStatus.md
-docs/PatchedWritableCableRequestType.md
docs/PatchedWritableCircuitRequest.md
-docs/PatchedWritableCircuitRequestStatus.md
docs/PatchedWritableClusterRequest.md
-docs/PatchedWritableClusterRequestStatus.md
docs/PatchedWritableConsolePortRequest.md
docs/PatchedWritableConsolePortRequestSpeed.md
docs/PatchedWritableConsolePortRequestType.md
@@ -515,7 +669,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 +694,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
@@ -618,8 +769,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
@@ -636,14 +790,25 @@ docs/RIRRequest.md
docs/Rack.md
docs/RackFace.md
docs/RackFace1.md
+docs/RackOuterUnit.md
+docs/RackOuterUnitLabel.md
docs/RackRequest.md
+docs/RackRequestOuterUnit.md
+docs/RackRequestType.md
docs/RackReservation.md
docs/RackReservationRequest.md
docs/RackRole.md
docs/RackRoleRequest.md
+docs/RackStatus.md
+docs/RackStatusLabel.md
+docs/RackType.md
+docs/RackTypeLabel.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
@@ -686,9 +851,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,12 +881,8 @@ 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/VpnAPI.md
docs/Webhook.md
@@ -739,8 +904,6 @@ docs/WirelessLANStatusLabel.md
docs/WirelessLANStatusValue.md
docs/WirelessLink.md
docs/WirelessLinkRequest.md
-docs/WirelessLinkStatus.md
-docs/WirelessLinkStatusLabel.md
docs/WirelessRole.md
docs/WritableAggregateRequest.md
docs/WritableCableRequest.md
@@ -820,12 +983,143 @@ 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_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_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_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
@@ -835,6 +1129,9 @@ 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
@@ -894,7 +1191,12 @@ 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_console_port_templates_list_type_parameter.go
model_dcim_console_ports_list_speed_parameter.go
@@ -921,14 +1223,23 @@ 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
@@ -950,7 +1261,6 @@ model_extras_object_changes_list_action_parameter.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 +1271,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 +1339,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
@@ -1044,10 +1361,6 @@ model_ip_sec_proposal.go
model_ip_sec_proposal_request.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,11 +1370,11 @@ 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
@@ -1072,6 +1385,9 @@ 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_request.go
model_nested_contact_group.go
@@ -1083,8 +1399,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,6 +1419,7 @@ 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
@@ -1275,13 +1597,8 @@ 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_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 +1616,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 +1641,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
@@ -1402,8 +1716,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
@@ -1418,14 +1735,25 @@ model_provider_request.go
model_rack.go
model_rack_face.go
model_rack_face_1.go
+model_rack_outer_unit.go
+model_rack_outer_unit_label.go
model_rack_request.go
+model_rack_request_outer_unit.go
+model_rack_request_type.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_label.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
@@ -1467,9 +1795,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,12 +1816,8 @@ 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_vlan.go
model_vlan_group.go
model_vlan_group_request.go
@@ -1516,8 +1844,6 @@ model_wireless_lan_status_label.go
model_wireless_lan_status_value.go
model_wireless_link.go
model_wireless_link_request.go
-model_wireless_link_status.go
-model_wireless_link_status_label.go
model_wireless_role.go
model_writable_aggregate_request.go
model_writable_cable_request.go
@@ -1577,16 +1903,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/api/netbox_version b/api/netbox_version
index c4e41f9459..30b26dfb15 100644
--- a/api/netbox_version
+++ b/api/netbox_version
@@ -1 +1 @@
-4.0.3
+4.0.11
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 75765d6508..98fda428df 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: NetBox REST API
- version: 4.0.3 (4.0)
+ version: 4.0.11 (4.0)
license:
name: Apache v2 License
paths:
@@ -2022,8 +2022,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -2031,8 +2030,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -2509,8 +2507,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2518,8 +2515,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2527,8 +2523,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -2536,8 +2531,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -2563,8 +2557,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2572,8 +2565,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2581,8 +2573,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -2590,8 +2581,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -2669,8 +2659,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2678,8 +2667,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -2687,8 +2675,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -2696,8 +2683,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -4657,8 +4643,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -4666,8 +4651,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -5078,8 +5062,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -5087,8 +5070,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -5096,8 +5078,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -5105,8 +5086,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -5132,8 +5112,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -5141,8 +5120,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -5150,8 +5128,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -5159,8 +5136,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -8552,8 +8528,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -8561,8 +8536,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -8570,8 +8544,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -8579,8 +8552,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -9992,6 +9964,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -10450,8 +10476,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -10459,62 +10484,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
@@ -10540,8 +10526,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -10549,8 +10534,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -10558,8 +10542,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -10567,8 +10550,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -12042,6 +12024,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -12500,8 +12536,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -12509,62 +12544,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 +12586,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -12599,8 +12594,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -12608,8 +12602,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -12617,8 +12610,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -13960,6 +13952,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -14430,8 +14476,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -14439,62 +14484,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
@@ -14520,8 +14526,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -14529,8 +14534,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -14538,8 +14542,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -14547,8 +14550,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -17566,6 +17568,42 @@ paths:
type: string
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:
@@ -17755,8 +17793,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -17764,8 +17801,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -18455,8 +18491,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -18464,8 +18499,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19227,8 +19261,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19236,8 +19269,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19245,8 +19277,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19254,8 +19285,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19401,8 +19431,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19410,8 +19439,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19419,8 +19447,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19428,8 +19455,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19507,8 +19533,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19516,8 +19541,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -19525,8 +19549,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -19534,8 +19557,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -21248,6 +21270,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -21780,8 +21856,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -21789,62 +21864,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
@@ -21870,8 +21906,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -21879,8 +21914,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -21888,8 +21922,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -21897,8 +21930,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -22879,7 +22911,7 @@ paths:
type: array
items:
type: string
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
explode: true
style: form
- in: query
@@ -22888,7 +22920,7 @@ paths:
type: array
items:
type: string
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
explode: true
style: form
- in: query
@@ -23381,6 +23413,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -24160,8 +24246,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -24169,8 +24254,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -24178,8 +24262,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -24187,8 +24270,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -24347,42 +24429,6 @@ paths:
title: Wireless role
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:
@@ -24406,8 +24452,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -24415,8 +24460,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -24424,8 +24468,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -24433,8 +24476,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -24598,7 +24640,7 @@ paths:
type: array
items:
type: string
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
explode: true
style: form
- in: query
@@ -24607,7 +24649,7 @@ paths:
type: array
items:
type: string
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
explode: true
style: form
- in: query
@@ -27281,6 +27323,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -27857,8 +27953,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -27866,8 +27961,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -27875,8 +27969,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -27884,8 +27977,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28033,8 +28125,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28042,8 +28133,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28051,8 +28141,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28060,8 +28149,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28371,8 +28459,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28380,8 +28467,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28389,8 +28475,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28398,8 +28483,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28425,8 +28509,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -28434,8 +28517,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -28968,8 +29050,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28977,8 +29058,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -28986,8 +29066,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -28995,8 +29074,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -29022,8 +29100,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -29031,8 +29108,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -29040,8 +29116,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -29049,8 +29124,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -29212,8 +29286,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -29221,8 +29294,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -29230,8 +29302,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -29239,8 +29310,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -29518,8 +29588,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -29527,8 +29596,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -31277,6 +31345,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -31809,8 +31931,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -31818,62 +31939,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
@@ -31899,8 +31981,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -31908,8 +31989,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -31917,8 +31997,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -31926,8 +32005,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35407,8 +35485,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35416,8 +35493,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35425,8 +35501,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35434,8 +35509,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35461,8 +35535,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35470,8 +35543,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35479,8 +35551,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35488,8 +35559,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35589,8 +35659,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35598,8 +35667,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -35607,8 +35675,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -35616,8 +35683,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -37201,6 +37267,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -37699,8 +37819,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -37708,62 +37827,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 +37869,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -37798,8 +37877,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -37807,8 +37885,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -37816,8 +37893,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38189,8 +38265,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -38198,8 +38273,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -38504,8 +38578,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38513,8 +38586,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38628,8 +38700,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -38637,8 +38708,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -38646,8 +38716,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38655,8 +38724,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38682,8 +38750,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -38691,8 +38758,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -38700,8 +38766,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -38709,8 +38774,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -40344,6 +40408,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -40860,8 +40978,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -40869,62 +40986,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
@@ -40950,8 +41028,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -40959,8 +41036,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -40968,8 +41044,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -40977,8 +41052,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41611,8 +41685,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41620,8 +41693,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41629,8 +41701,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41638,8 +41709,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41687,8 +41757,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41696,8 +41765,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41705,8 +41773,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41714,8 +41781,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41741,8 +41807,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41750,8 +41815,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41759,8 +41823,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41768,8 +41831,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41829,8 +41891,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41838,8 +41899,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -41847,8 +41907,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -41856,8 +41915,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -43060,8 +43118,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -43069,8 +43126,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -43463,8 +43519,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -43472,8 +43527,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (slug)
+ type: string
explode: true
style: form
- in: query
@@ -43481,8 +43535,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -43490,8 +43543,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Location (ID)
+ type: string
explode: true
style: form
- in: query
@@ -43859,8 +43911,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -43868,8 +43919,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -43877,8 +43927,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -43886,8 +43935,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -44035,8 +44083,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -44044,8 +44091,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -44053,8 +44099,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -44062,8 +44107,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -44199,8 +44243,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -44208,8 +44251,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -44217,8 +44259,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -44226,8 +44267,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -46030,6 +46070,60 @@ 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__n
+ schema:
+ type: array
+ items:
+ type: string
+ x-spec-enum-id: 8d8971779f16ee18
+ explode: true
+ style: form
- in: query
name: device_type
schema:
@@ -46546,8 +46640,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -46555,62 +46648,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
@@ -46636,8 +46690,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -46645,8 +46698,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -46654,8 +46706,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -46663,8 +46714,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -47015,8 +47065,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -47024,8 +47073,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -47033,8 +47081,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -47042,8 +47089,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -47069,8 +47115,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -47078,8 +47123,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -47860,8 +47904,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -47869,8 +47912,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -47878,8 +47920,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -47887,8 +47928,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -47914,8 +47954,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -47923,8 +47962,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -48765,8 +48803,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -48774,8 +48811,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -49037,8 +49073,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49046,8 +49081,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49055,8 +49089,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -49064,8 +49097,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -49422,8 +49454,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49431,8 +49462,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49440,8 +49470,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -49449,8 +49478,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -49594,8 +49622,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49603,8 +49630,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -49612,8 +49638,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -49621,8 +49646,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -50529,8 +50553,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -50538,8 +50561,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -50547,8 +50569,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -50556,8 +50577,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -50583,8 +50603,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -50592,8 +50611,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -50601,8 +50619,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -50610,8 +50627,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -51511,8 +51527,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -51520,8 +51535,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -51529,8 +51543,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -51538,8 +51551,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -56401,17 +56413,17 @@ paths:
name: button_class
schema:
type: string
- x-spec-enum-id: 9378cdf56abee54a
+ x-spec-enum-id: ee8e5bb1ccdcdb19
enum:
- black
- blue
- cyan
+ - default
- ghost-dark
- gray
- green
- indigo
- orange
- - outline-dark
- pink
- purple
- red
@@ -56422,7 +56434,7 @@ paths:
dropdown button
- * `outline-dark` - Default
+ * `default` - Default
* `blue` - Blue
@@ -56455,17 +56467,17 @@ paths:
name: button_class__n
schema:
type: string
- x-spec-enum-id: 9378cdf56abee54a
+ x-spec-enum-id: ee8e5bb1ccdcdb19
enum:
- black
- blue
- cyan
+ - default
- ghost-dark
- gray
- green
- indigo
- orange
- - outline-dark
- pink
- purple
- red
@@ -56476,7 +56488,7 @@ paths:
dropdown button
- * `outline-dark` - Default
+ * `default` - Default
* `blue` - Blue
@@ -64399,8 +64411,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -64408,8 +64419,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -64417,8 +64427,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -64426,8 +64435,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -65342,8 +65350,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -65351,8 +65358,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -65360,8 +65366,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -65369,8 +65374,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -66191,8 +66195,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -66200,8 +66203,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -66209,8 +66211,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -66218,8 +66219,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -68607,8 +68607,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -68616,8 +68615,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -68625,8 +68623,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -68634,8 +68631,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -69478,8 +69474,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -69487,8 +69482,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -69496,8 +69490,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -69505,8 +69498,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70345,8 +70337,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70354,8 +70345,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70363,8 +70353,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70372,8 +70361,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70437,8 +70425,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70446,8 +70433,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70455,8 +70441,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70464,8 +70449,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70547,8 +70531,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70556,8 +70539,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -70565,8 +70547,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -70574,8 +70555,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -73145,8 +73125,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -73154,8 +73133,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -73163,8 +73141,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -73172,8 +73149,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76387,8 +76363,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76396,8 +76371,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76405,8 +76379,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76414,8 +76387,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76479,8 +76451,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76488,8 +76459,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76497,8 +76467,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76506,8 +76475,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76589,8 +76557,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76598,8 +76565,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -76607,8 +76573,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -76616,8 +76581,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -77514,8 +77478,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -77523,8 +77486,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -77532,8 +77494,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -77541,8 +77502,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -77815,11 +77775,16 @@ paths:
schema:
type: string
enum:
+ - cs
+ - da
- de
- en
- es
- fr
+ - it
- ja
+ - nl
+ - pl
- pt
- ru
- tr
@@ -77965,8 +77930,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -77974,8 +77938,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -77983,8 +77946,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -77992,8 +77954,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -78542,8 +78503,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -78551,8 +78511,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -78560,8 +78519,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -78569,8 +78527,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -80370,8 +80327,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -80379,8 +80335,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -80388,8 +80343,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -80397,8 +80351,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -81139,8 +81092,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -81148,8 +81100,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -81157,8 +81108,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -81166,8 +81116,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -81948,8 +81897,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -81957,8 +81905,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -82136,8 +82083,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -82145,8 +82091,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -82154,8 +82099,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -82163,8 +82107,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -85388,8 +85331,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -85397,8 +85339,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -86876,8 +86817,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -86885,8 +86825,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -87335,8 +87274,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87344,8 +87282,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87353,8 +87290,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -87362,8 +87298,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -87389,8 +87324,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87398,8 +87332,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87407,8 +87340,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -87416,8 +87348,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -87497,8 +87428,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87506,8 +87436,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -87515,8 +87444,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -87524,8 +87452,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -89707,8 +89634,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -89716,8 +89642,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Contact group
+ type: string
explode: true
style: form
- in: query
@@ -90506,8 +90431,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90515,8 +90439,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90524,8 +90447,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -90533,8 +90455,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Region (ID)
+ type: string
explode: true
style: form
- in: query
@@ -90598,8 +90519,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90607,8 +90527,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90616,8 +90535,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -90625,8 +90543,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Site group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -90706,8 +90623,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90715,8 +90631,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -90724,8 +90639,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -90733,8 +90647,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -96444,8 +96357,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -96453,8 +96365,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -96462,8 +96373,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -96471,8 +96381,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -98673,8 +98582,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -98682,8 +98590,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -98691,8 +98598,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -98700,8 +98606,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -99019,7 +98924,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -99027,7 +98932,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -99035,7 +98940,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -99043,7 +98948,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -100078,7 +99983,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -100086,7 +99991,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -100094,7 +99999,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -100102,7 +100007,7 @@ paths:
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
@@ -100411,8 +100316,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -100420,8 +100324,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -100429,8 +100332,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -100438,8 +100340,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -101310,8 +101211,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -101319,8 +101219,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (slug)
+ type: string
explode: true
style: form
- in: query
@@ -101328,8 +101227,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -101337,8 +101235,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Tenant Group (ID)
+ type: string
explode: true
style: form
- in: query
@@ -101612,11 +101509,11 @@ components:
description: 16- or 32-bit autonomous system number
rir:
allOf:
- - $ref: '#/components/schemas/RIR'
+ - $ref: '#/components/schemas/BriefRIR'
nullable: true
tenant:
allOf:
- - $ref: '#/components/schemas/Tenant'
+ - $ref: '#/components/schemas/BriefTenant'
nullable: true
description:
type: string
@@ -101679,7 +101576,7 @@ components:
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
rir:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/BriefRIR'
start:
type: integer
maximum: 4294967295
@@ -101692,7 +101589,7 @@ components:
format: int64
tenant:
allOf:
- - $ref: '#/components/schemas/Tenant'
+ - $ref: '#/components/schemas/BriefTenant'
nullable: true
description:
type: string
@@ -101743,7 +101640,7 @@ components:
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
rir:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: '#/components/schemas/BriefRIRRequest'
start:
type: integer
maximum: 4294967295
@@ -101756,7 +101653,7 @@ components:
format: int64
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
description:
type: string
@@ -101786,11 +101683,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
@@ -101841,10 +101738,10 @@ components:
prefix:
type: string
rir:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/BriefRIR'
tenant:
allOf:
- - $ref: '#/components/schemas/Tenant'
+ - $ref: '#/components/schemas/BriefTenant'
nullable: true
date_added:
type: string
@@ -101889,10 +101786,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
@@ -101936,7 +101833,7 @@ components:
readOnly: true
vrf:
allOf:
- - $ref: '#/components/schemas/VRF'
+ - $ref: '#/components/schemas/BriefVRF'
readOnly: true
nullable: true
description:
@@ -101957,7 +101854,7 @@ components:
readOnly: true
vrf:
allOf:
- - $ref: '#/components/schemas/VRF'
+ - $ref: '#/components/schemas/BriefVRF'
readOnly: true
nullable: true
required:
@@ -101973,7 +101870,7 @@ components:
readOnly: true
group:
allOf:
- - $ref: '#/components/schemas/VLANGroup'
+ - $ref: '#/components/schemas/BriefVLANGroup'
readOnly: true
nullable: true
required:
@@ -102007,7 +101904,7 @@ components:
nullable: true
readOnly: true
user:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/BriefUser'
created:
type: string
format: date-time
@@ -102036,12 +101933,12 @@ components:
minimum: 0
format: int64
user:
- $ref: '#/components/schemas/UserRequest'
+ $ref: '#/components/schemas/BriefUserRequest'
required:
- object_id
- object_type
- user
- Cable:
+ BriefCable:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102065,7 +101962,7 @@ components:
- display
- id
- url
- CableRequest:
+ BriefCableRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102075,92 +101972,7 @@ components:
description:
type: string
maxLength: 200
- CableTermination:
- 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
- cable:
- type: integer
- cable_end:
- enum:
- - A
- - B
- type: string
- description: '* `A` - A
-
- * `B` - B'
- x-spec-enum-id: 1db84f9b93b261c8
- title: End
- termination_type:
- type: string
- termination_id:
- type: integer
- maximum: 9223372036854775807
- minimum: 0
- format: int64
- termination:
- nullable: true
- readOnly: true
- created:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- last_updated:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- required:
- - cable
- - cable_end
- - created
- - display
- - id
- - last_updated
- - termination
- - termination_id
- - termination_type
- - url
- CableTerminationRequest:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- cable:
- type: integer
- cable_end:
- enum:
- - A
- - B
- type: string
- description: '* `A` - A
-
- * `B` - B'
- x-spec-enum-id: 1db84f9b93b261c8
- title: End
- termination_type:
- type: string
- termination_id:
- type: integer
- maximum: 9223372036854775807
- minimum: 0
- format: int64
- required:
- - cable
- - cable_end
- - termination_id
- - termination_type
- Circuit:
+ BriefCircuit:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102187,7 +101999,7 @@ components:
- display
- id
- url
- CircuitRequest:
+ BriefCircuitRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102202,185 +102014,7 @@ components:
maxLength: 200
required:
- cid
- CircuitTermination:
- 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
- circuit:
- $ref: '#/components/schemas/Circuit'
- term_side:
- enum:
- - A
- - Z
- type: string
- description: '* `A` - A
-
- * `Z` - Z'
- x-spec-enum-id: 95b8fcc737f355d0
- title: Termination
- site:
- allOf:
- - $ref: '#/components/schemas/Site'
- nullable: true
- provider_network:
- allOf:
- - $ref: '#/components/schemas/ProviderNetwork'
- 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
- pp_info:
- type: string
- title: Patch panel/port(s)
- description: Patch panel ID and port number(s)
- maxLength: 100
- description:
- type: string
- maxLength: 200
- 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
- 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
- - circuit
- - created
- - display
- - id
- - last_updated
- - link_peers
- - link_peers_type
- - term_side
- - url
- CircuitTerminationRequest:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- circuit:
- $ref: '#/components/schemas/CircuitRequest'
- term_side:
- enum:
- - A
- - Z
- type: string
- description: '* `A` - A
-
- * `Z` - Z'
- x-spec-enum-id: 95b8fcc737f355d0
- title: Termination
- site:
- allOf:
- - $ref: '#/components/schemas/SiteRequest'
- nullable: true
- provider_network:
- allOf:
- - $ref: '#/components/schemas/ProviderNetworkRequest'
- 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
- pp_info:
- type: string
- title: Patch panel/port(s)
- description: Patch panel ID and port number(s)
- maxLength: 100
- 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: {}
- required:
- - circuit
- - term_side
- CircuitType:
+ BriefCircuitType:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102401,44 +102035,21 @@ components:
type: string
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
- color:
- type: string
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
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
circuit_count:
type: integer
format: int64
readOnly: true
required:
- circuit_count
- - created
- display
- id
- - last_updated
- name
- slug
- url
- CircuitTypeRequest:
+ BriefCircuitTypeRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102451,24 +102062,13 @@ components:
minLength: 1
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
- color:
- type: string
- 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: {}
required:
- name
- slug
- Cluster:
+ BriefCluster:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102498,7 +102098,7 @@ components:
- name
- url
- virtualmachine_count
- ClusterGroup:
+ BriefClusterGroup:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102522,37 +102122,18 @@ 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
cluster_count:
type: integer
format: int64
readOnly: true
required:
- cluster_count
- - created
- display
- id
- - last_updated
- name
- slug
- url
- ClusterGroupRequest:
+ BriefClusterGroupRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102568,17 +102149,10 @@ components:
description:
type: string
maxLength: 200
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
required:
- name
- slug
- ClusterRequest:
+ BriefClusterRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102591,7 +102165,7 @@ components:
maxLength: 200
required:
- name
- ClusterType:
+ BriefClusterType:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102615,37 +102189,18 @@ 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
cluster_count:
type: integer
format: int64
readOnly: true
required:
- cluster_count
- - created
- display
- id
- - last_updated
- name
- slug
- url
- ClusterTypeRequest:
+ BriefClusterTypeRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -102661,22 +102216,15 @@ components:
description:
type: string
maxLength: 200
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
required:
- name
- slug
- ConfigContext:
+ BriefConfigTemplate:
type: object
- description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
- on a copy of the associated instance during
+ description: 'Introduces support for Tag assignment. Adds `tags` serialization,
+ and handles tag assignment
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)'
+ on create() and update().'
properties:
id:
type: integer
@@ -102691,190 +102239,130 @@ components:
name:
type: string
maxLength: 100
- weight:
- type: integer
- maximum: 32767
- minimum: 0
description:
type: string
maxLength: 200
- is_active:
- type: boolean
- regions:
- type: array
- items:
- $ref: '#/components/schemas/Region'
- site_groups:
- type: array
- items:
- $ref: '#/components/schemas/SiteGroup'
- sites:
- type: array
- items:
- $ref: '#/components/schemas/Site'
- locations:
- type: array
- items:
- $ref: '#/components/schemas/Location'
- device_types:
- type: array
- items:
- $ref: '#/components/schemas/DeviceType'
- roles:
- type: array
- items:
- $ref: '#/components/schemas/DeviceRole'
- platforms:
- type: array
- items:
- $ref: '#/components/schemas/Platform'
- cluster_types:
- type: array
- items:
- $ref: '#/components/schemas/ClusterType'
- cluster_groups:
- type: array
- items:
- $ref: '#/components/schemas/ClusterGroup'
- clusters:
- type: array
- items:
- $ref: '#/components/schemas/Cluster'
- tenant_groups:
- type: array
- items:
- $ref: '#/components/schemas/TenantGroup'
- tenants:
- type: array
- items:
- $ref: '#/components/schemas/Tenant'
- tags:
- type: array
- items:
- type: string
- data_source:
- $ref: '#/components/schemas/DataSource'
- data_path:
+ 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
- description: Path to remote file (relative to data source root)
- data_file:
- allOf:
- - $ref: '#/components/schemas/DataFile'
+ url:
+ type: string
+ format: uri
readOnly: true
- data_synced:
+ display:
type: string
- format: date-time
readOnly: true
- nullable: true
- title: Date synced
- data: {}
- created:
+ name:
type: string
- format: date-time
+ 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
- nullable: true
- last_updated:
+ url:
type: string
- format: date-time
+ format: uri
readOnly: true
- nullable: 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:
- - created
- - data
- - data_file
- - data_path
- - data_synced
+ - _depth
+ - contact_count
- display
- id
- - last_updated
- name
+ - slug
- url
- ConfigContextRequest:
+ BriefContactGroupRequest:
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:
name:
type: string
minLength: 1
maxLength: 100
- weight:
- type: integer
- maximum: 32767
- minimum: 0
+ slug:
+ type: string
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- is_active:
- type: boolean
- regions:
- type: array
- items:
- type: integer
- site_groups:
- type: array
- items:
- type: integer
- sites:
- type: array
- items:
- type: integer
- locations:
- type: array
- items:
- type: integer
- device_types:
- type: array
- items:
- type: integer
- roles:
- type: array
- items:
- type: integer
- platforms:
- type: array
- items:
- type: integer
- cluster_types:
- type: array
- items:
- type: integer
- cluster_groups:
- type: array
- items:
- type: integer
- clusters:
- type: array
- items:
- type: integer
- tenant_groups:
- type: array
- items:
- type: integer
- tenants:
- type: array
- items:
- type: integer
- tags:
- type: array
- items:
- type: string
- minLength: 1
- data_source:
- $ref: '#/components/schemas/DataSourceRequest'
- data: {}
required:
- - data
- name
- ConfigTemplate:
+ - slug
+ BriefContactRequest:
type: object
- description: 'Introduces support for Tag assignment. Adds `tags` serialization,
- and handles tag assignment
-
- on create() and update().'
+ 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
@@ -102889,6 +102377,10 @@ components:
name:
type: string
maxLength: 100
+ slug:
+ type: string
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
@@ -102896,26 +102388,33 @@ components:
- display
- id
- name
+ - slug
- url
- ConfigTemplateRequest:
+ BriefContactRoleRequest:
type: object
- description: 'Introduces support for Tag assignment. Adds `tags` serialization,
- and handles tag assignment
-
- on create() and update().'
+ 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
- ConsolePort:
+ - slug
+ BriefCustomFieldChoiceSet:
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:
id:
type: integer
@@ -102927,317 +102426,101 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
- module:
- allOf:
- - $ref: '#/components/schemas/Module'
- nullable: true
name:
type: string
- maxLength: 64
- label:
+ maxLength: 100
+ description:
type: string
- description: Physical label
- maxLength: 64
- type:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - DE-9
- - DB-25
- - RJ-11
- - RJ-12
- - RJ-45
- - Mini-DIN 8
- - 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
- speed:
- type: object
- properties:
- value:
- enum:
- - 1200
- - 2400
- - 4800
- - 9600
- - 19200
- - 38400
- - 57600
- - 115200
- type: integer
- description: '* `1200` - 1200 bps
-
- * `2400` - 2400 bps
-
- * `4800` - 4800 bps
-
- * `9600` - 9600 bps
-
- * `19200` - 19.2 kbps
-
- * `38400` - 38.4 kbps
-
- * `57600` - 57.6 kbps
+ 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
- * `115200` - 115.2 kbps'
- x-spec-enum-id: ab6d9635c131a378
- label:
- type: string
- enum:
- - 1200 bps
- - 2400 bps
- - 4800 bps
- - 9600 bps
- - 19.2 kbps
- - 38.4 kbps
- - 57.6 kbps
- - 115.2 kbps
- nullable: true
+ 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
- mark_connected:
- type: boolean
- description: Treat as if a cable is connected
- cable:
- allOf:
- - $ref: '#/components/schemas/Cable'
+ required:
+ - name
+ BriefDataFile:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
+ type: integer
readOnly: true
- nullable: true
- cable_end:
+ url:
type: string
+ format: uri
readOnly: true
- link_peers:
- type: array
- items: {}
- readOnly: true
- link_peers_type:
+ display:
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:
+ path:
type: string
readOnly: true
- connected_endpoints_reachable:
- type: boolean
+ 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
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
- created:
+ url:
type: string
- format: date-time
+ format: uri
readOnly: true
- nullable: true
- last_updated:
+ display:
type: string
- format: date-time
- readOnly: true
- nullable: true
- _occupied:
- type: boolean
readOnly: true
- title: ' occupied'
+ name:
+ type: string
+ maxLength: 100
+ description:
+ type: string
+ maxLength: 200
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
- ConsolePortRequest:
+ BriefDataSourceRequest:
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
- 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
- speed:
- enum:
- - 1200
- - 2400
- - 4800
- - 9600
- - 19200
- - 38400
- - 57600
- - 115200
- type: integer
- description: '* `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'
- x-spec-enum-id: ab6d9635c131a378
- nullable: true
+ maxLength: 100
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: {}
required:
- - device
- name
- ConsolePortTemplate:
+ BriefDevice:
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
@@ -103249,193 +102532,237 @@ components:
display:
type: string
readOnly: true
- device_type:
- allOf:
- - $ref: '#/components/schemas/DeviceType'
- nullable: true
- module_type:
- allOf:
- - $ref: '#/components/schemas/ModuleType'
- nullable: true
name:
type: string
- description: '{module} is accepted as a substitution for the module bay
- position when attached to a module type.'
+ nullable: true
maxLength: 64
- label:
+ description:
type: string
- description: Physical label
+ 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
- type:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - DE-9
- - DB-25
- - RJ-11
- - RJ-12
- - RJ-45
- - Mini-DIN 8
- - 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
description:
type: string
maxLength: 200
- created:
+ BriefDeviceRole:
+ type: object
+ description: Adds support for custom fields and tags.
+ 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
+ device_count:
+ type: integer
+ format: int64
+ readOnly: true
+ virtualmachine_count:
+ type: integer
+ format: int64
+ readOnly: true
required:
- - created
+ - device_count
- display
- id
- - last_updated
- name
+ - slug
- url
- ConsolePortTemplateRequest:
+ - virtualmachine_count
+ BriefDeviceRoleRequest:
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:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
- type:
+ 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:
+ - device_count
+ - 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:
- - 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
+ - vrrp2
+ - vrrp3
+ - carp
+ - clusterxl
+ - hsrp
+ - glbp
- other
- - ''
type: string
- description: '* `de-9` - DE-9
-
- * `db-25` - DB-25
-
- * `rj-11` - RJ-11
+ description: '* `vrrp2` - VRRPv2
- * `rj-12` - RJ-12
+ * `vrrp3` - VRRPv3
- * `rj-45` - RJ-45
+ * `carp` - CARP
- * `mini-din-8` - Mini-DIN 8
+ * `clusterxl` - ClusterXL
- * `usb-a` - USB Type A
+ * `hsrp` - HSRP
- * `usb-b` - USB Type B
+ * `glbp` - GLBP
- * `usb-c` - USB Type C
+ * `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
- * `usb-mini-a` - USB Mini A
+ * `vrrp3` - VRRPv3
- * `usb-mini-b` - USB Mini B
+ * `carp` - CARP
- * `usb-micro-a` - USB Micro A
+ * `clusterxl` - ClusterXL
- * `usb-micro-b` - USB Micro B
+ * `hsrp` - HSRP
- * `usb-micro-ab` - USB Micro AB
+ * `glbp` - GLBP
* `other` - Other'
- x-spec-enum-id: c5f7197b7211818a
+ x-spec-enum-id: 40dc831c689b4b78
+ group_id:
+ type: integer
+ maximum: 32767
+ minimum: 0
description:
type: string
maxLength: 200
required:
- - name
- ConsoleServerPort:
+ - group_id
+ - protocol
+ BriefIKEPolicy:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -103449,178 +102776,186 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
- module:
- allOf:
- - $ref: '#/components/schemas/Module'
- nullable: true
name:
type: string
- maxLength: 64
- label:
+ maxLength: 100
+ description:
type: string
- description: Physical label
- maxLength: 64
- type:
+ 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:
- - 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
- label:
- type: string
- enum:
- - DE-9
- - DB-25
- - RJ-11
- - RJ-12
- - RJ-45
- - Mini-DIN 8
- - 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
- speed:
- type: object
- properties:
- value:
- enum:
- - 1200
- - 2400
- - 4800
- - 9600
- - 19200
- - 38400
- - 57600
- - 115200
+ - 4
+ - 6
type: integer
- description: '* `1200` - 1200 bps
-
- * `2400` - 2400 bps
-
- * `4800` - 4800 bps
-
- * `9600` - 9600 bps
-
- * `19200` - 19.2 kbps
-
- * `38400` - 38.4 kbps
-
- * `57600` - 57.6 kbps
+ description: '* `4` - IPv4
- * `115200` - 115.2 kbps'
- x-spec-enum-id: ab6d9635c131a378
+ * `6` - IPv6'
+ x-spec-enum-id: d72003fd1af3603d
label:
type: string
enum:
- - 1200 bps
- - 2400 bps
- - 4800 bps
- - 9600 bps
- - 19.2 kbps
- - 38.4 kbps
- - 57.6 kbps
- - 115.2 kbps
- nullable: true
+ - IPv4
+ - IPv6
+ readOnly: true
+ address:
+ type: string
description:
type: string
maxLength: 200
- mark_connected:
- type: boolean
- description: Treat as if a cable is connected
- cable:
- allOf:
- - $ref: '#/components/schemas/Cable'
+ 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
- nullable: true
- cable_end:
+ url:
type: string
+ format: uri
readOnly: true
- link_peers:
- type: array
- items: {}
+ display:
+ type: string
readOnly: true
- link_peers_type:
+ name:
type: string
- description: Return the type of the peer link terminations, or None.
+ 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
- connected_endpoints:
- type: array
- items: {}
+ url:
+ type: string
+ format: uri
readOnly: true
- connected_endpoints_type:
+ display:
type: string
readOnly: true
- connected_endpoints_reachable:
- type: boolean
+ 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
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
- created:
+ url:
type: string
- format: date-time
+ format: uri
readOnly: true
- nullable: true
- last_updated:
+ display:
type: string
- format: date-time
+ 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:
@@ -103630,136 +102965,149 @@ components:
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
- ConsoleServerPortRequest:
+ BriefInterfaceRequest:
type: object
description: Adds support for custom fields and tags.
properties:
device:
- $ref: '#/components/schemas/DeviceRequest'
- module:
- allOf:
- - $ref: '#/components/schemas/ModuleRequest'
- nullable: true
+ $ref: '#/components/schemas/BriefDeviceRequest'
name:
type: string
minLength: 1
maxLength: 64
- label:
+ description:
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
- - ''
+ 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
- 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
- speed:
- enum:
- - 1200
- - 2400
- - 4800
- - 9600
- - 19200
- - 38400
- - 57600
- - 115200
+ 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
- description: '* `1200` - 1200 bps
-
- * `2400` - 2400 bps
-
- * `4800` - 4800 bps
+ 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
- * `9600` - 9600 bps
+ * `scheduled` - Scheduled
- * `19200` - 19.2 kbps
+ * `running` - Running
- * `38400` - 38.4 kbps
+ * `completed` - Completed
- * `57600` - 57.6 kbps
+ * `errored` - Errored
- * `115200` - 115.2 kbps'
- x-spec-enum-id: ab6d9635c131a378
- nullable: true
- description:
+ * `failed` - Failed'
+ x-spec-enum-id: e33887d83efcc138
+ label:
+ type: string
+ enum:
+ - Pending
+ - Scheduled
+ - Running
+ - Completed
+ - Errored
+ - Failed
+ readOnly: true
+ created:
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: {}
+ format: date-time
+ readOnly: true
+ completed:
+ type: string
+ format: date-time
+ nullable: true
+ user:
+ allOf:
+ - $ref: '#/components/schemas/BriefUser'
+ readOnly: true
required:
- - device
- - name
- ConsoleServerPortTemplate:
+ - created
+ - status
+ - url
+ - user
+ BriefJobRequest:
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:
+ completed:
+ type: string
+ format: date-time
+ nullable: true
+ BriefL2VPN:
+ type: object
+ description: Adds support for custom fields and tags.
properties:
id:
type: integer
@@ -103771,195 +103119,181 @@ components:
display:
type: string
readOnly: true
- device_type:
- allOf:
- - $ref: '#/components/schemas/DeviceType'
- nullable: true
- module_type:
- allOf:
- - $ref: '#/components/schemas/ModuleType'
+ identifier:
+ type: integer
+ maximum: 9223372036854775807
+ minimum: -9223372036854775808
+ format: int64
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:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
type:
type: object
properties:
value:
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
- - ''
+ - vpws
+ - vpls
+ - vxlan
+ - vxlan-evpn
+ - mpls-evpn
+ - pbb-evpn
+ - epl
+ - evpl
+ - ep-lan
+ - evp-lan
+ - ep-tree
+ - evp-tree
type: string
- description: '* `de-9` - DE-9
-
- * `db-25` - DB-25
-
- * `rj-11` - RJ-11
-
- * `rj-12` - RJ-12
+ description: '* `vpws` - VPWS
- * `rj-45` - RJ-45
+ * `vpls` - VPLS
- * `mini-din-8` - Mini-DIN 8
+ * `vxlan` - VXLAN
- * `usb-a` - USB Type A
+ * `vxlan-evpn` - VXLAN-EVPN
- * `usb-b` - USB Type B
+ * `mpls-evpn` - MPLS EVPN
- * `usb-c` - USB Type C
+ * `pbb-evpn` - PBB EVPN
- * `usb-mini-a` - USB Mini A
+ * `epl` - EPL
- * `usb-mini-b` - USB Mini B
+ * `evpl` - EVPL
- * `usb-micro-a` - USB Micro A
+ * `ep-lan` - Ethernet Private LAN
- * `usb-micro-b` - USB Micro B
+ * `evp-lan` - Ethernet Virtual Private LAN
- * `usb-micro-ab` - USB Micro AB
+ * `ep-tree` - Ethernet Private Tree
- * `other` - Other'
- x-spec-enum-id: c5f7197b7211818a
+ * `evp-tree` - Ethernet Virtual Private Tree'
+ x-spec-enum-id: dbaa4f996ec2d110
label:
type: string
enum:
- - DE-9
- - DB-25
- - RJ-11
- - RJ-12
- - RJ-45
- - Mini-DIN 8
- - 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
+ - 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
- 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
- ConsoleServerPortTemplateRequest:
+ BriefL2VPNRequest:
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'
+ identifier:
+ type: integer
+ maximum: 9223372036854775807
+ minimum: -9223372036854775808
+ format: int64
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:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
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
- - ''
+ - vpws
+ - vpls
+ - vxlan
+ - vxlan-evpn
+ - mpls-evpn
+ - pbb-evpn
+ - epl
+ - evpl
+ - ep-lan
+ - evp-lan
+ - ep-tree
+ - evp-tree
type: string
- description: '* `de-9` - DE-9
-
- * `db-25` - DB-25
-
- * `rj-11` - RJ-11
-
- * `rj-12` - RJ-12
+ description: '* `vpws` - VPWS
- * `rj-45` - RJ-45
+ * `vpls` - VPLS
- * `mini-din-8` - Mini-DIN 8
+ * `vxlan` - VXLAN
- * `usb-a` - USB Type A
+ * `vxlan-evpn` - VXLAN-EVPN
- * `usb-b` - USB Type B
+ * `mpls-evpn` - MPLS EVPN
- * `usb-c` - USB Type C
+ * `pbb-evpn` - PBB EVPN
- * `usb-mini-a` - USB Mini A
+ * `epl` - EPL
- * `usb-mini-b` - USB Mini B
+ * `evpl` - EVPL
- * `usb-micro-a` - USB Micro A
+ * `ep-lan` - Ethernet Private LAN
- * `usb-micro-b` - USB Micro B
+ * `evp-lan` - Ethernet Virtual Private LAN
- * `usb-micro-ab` - USB Micro AB
+ * `ep-tree` - Ethernet Private Tree
- * `other` - Other'
- x-spec-enum-id: c5f7197b7211818a
+ * `evp-tree` - Ethernet Virtual Private Tree'
+ x-spec-enum-id: dbaa4f996ec2d110
description:
type: string
maxLength: 200
required:
- name
- Contact:
+ - 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
@@ -103974,15 +103308,49 @@ components:
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
- ContactAssignment:
+ 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:
@@ -103996,123 +103364,128 @@ 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
+ devicetype_count:
type: integer
- maximum: 9223372036854775807
- minimum: 0
format: int64
- object:
- type: object
- additionalProperties: {}
readOnly: true
- contact:
- $ref: '#/components/schemas/Contact'
- role:
- allOf:
- - $ref: '#/components/schemas/ContactRole'
- nullable: true
- 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'
- custom_fields:
- type: object
- additionalProperties: {}
- created:
+ required:
+ - devicetype_count
+ - display
+ - id
+ - name
+ - slug
+ - url
+ BriefManufacturerRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
type: string
- format: date-time
+ 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
- nullable: true
- last_updated:
+ url:
type: string
- format: date-time
+ format: uri
readOnly: true
- nullable: true
+ display:
+ type: string
+ readOnly: true
+ device:
+ $ref: '#/components/schemas/BriefDevice'
+ module_bay:
+ $ref: '#/components/schemas/NestedModuleBay'
required:
- - contact
- - created
+ - device
- display
- id
- - last_updated
- - object
- - object_id
- - object_type
+ - module_bay
- url
- ContactAssignmentRequest:
+ BriefModuleRequest:
type: object
description: Adds support for custom fields and tags.
properties:
- object_type:
- type: string
- object_id:
+ 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
- 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
- - ''
+ readOnly: true
+ url:
type: string
- description: '* `primary` - Primary
-
- * `secondary` - Secondary
-
- * `tertiary` - Tertiary
-
- * `inactive` - Inactive'
- x-spec-enum-id: ef3a31644cec7524
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
+ 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:
- - contact
- - object_id
- - object_type
- ContactGroup:
+ - display
+ - id
+ - manufacturer
+ - model
+ - url
+ BriefModuleTypeRequest:
type: object
- description: Extends PrimaryModelSerializer to include MPTT support.
+ 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
@@ -104131,51 +103504,28 @@ components:
type: string
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
- parent:
- allOf:
- - $ref: '#/components/schemas/NestedContactGroup'
- 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
- contact_count:
+ device_count:
type: integer
+ format: int64
readOnly: true
- default: 0
- _depth:
+ virtualmachine_count:
type: integer
+ format: int64
readOnly: true
- title: ' depth'
required:
- - _depth
- - contact_count
- - created
+ - device_count
- display
- id
- - last_updated
- name
- slug
- url
- ContactGroupRequest:
+ - virtualmachine_count
+ BriefPlatformRequest:
type: object
- description: Extends PrimaryModelSerializer to include MPTT support.
+ description: Adds support for custom fields and tags.
properties:
name:
type: string
@@ -104186,24 +103536,43 @@ components:
minLength: 1
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
- parent:
- allOf:
- - $ref: '#/components/schemas/NestedContactGroupRequest'
- nullable: true
description:
type: string
maxLength: 200
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
required:
- name
- slug
- ContactRequest:
+ 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:
@@ -104216,7 +103585,7 @@ components:
maxLength: 200
required:
- name
- ContactRole:
+ BriefPowerPort:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -104230,42 +103599,48 @@ components:
display:
type: string
readOnly: true
+ device:
+ $ref: '#/components/schemas/BriefDevice'
name:
type: string
- maxLength: 100
- slug:
- type: string
- maxLength: 100
- pattern: ^[-a-zA-Z0-9_]+$
+ 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
- - slug
- url
- ContactRoleRequest:
+ BriefPowerPortRequest:
type: object
description: Adds support for custom fields and tags.
properties:
+ device:
+ $ref: '#/components/schemas/BriefDeviceRequest'
name:
type: string
minLength: 1
- maxLength: 100
- slug:
- type: string
- minLength: 1
- maxLength: 100
- pattern: ^[-a-zA-Z0-9_]+$
+ maxLength: 64
description:
type: string
maxLength: 200
required:
+ - device
- name
- - slug
- CustomField:
+ BriefPowerPortTemplate:
type: object
description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
on a copy of the associated instance during
@@ -104282,234 +103657,76 @@ components:
display:
type: string
readOnly: true
- object_types:
- type: array
- items:
- type: string
- type:
- type: object
- properties:
- value:
- enum:
- - text
- - longtext
- - integer
- - decimal
- - boolean
- - date
- - datetime
- - url
- - json
- - select
- - multiselect
- - object
- - multiobject
- type: string
- description: '* `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'
- x-spec-enum-id: 22e3a64138d10046
- label:
- type: string
- enum:
- - Text
- - Text (long)
- - Integer
- - Decimal
- - Boolean (true/false)
- - Date
- - Date & time
- - URL
- - JSON
- - Selection
- - Multiple selection
- - Object
- - Multiple objects
- related_object_type:
- type: string
- nullable: true
- data_type:
- type: string
- readOnly: true
name:
type: string
- description: Internal field name
- pattern: ^[a-z0-9_]+$
- maxLength: 50
- label:
+ description: '{module} is accepted as a substitution for the module bay
+ position when attached to a module type.'
+ maxLength: 64
+ description:
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:
+ 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
- description: Custom fields within the same group will be displayed together
- maxLength: 50
+ 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:
- 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:
- type: object
- properties:
- value:
- enum:
- - disabled
- - loose
- - exact
- type: string
- description: '* `disabled` - Disabled
-
- * `loose` - Loose
-
- * `exact` - Exact'
- x-spec-enum-id: a958350ae21c10ee
- label:
- type: string
- enum:
- - Disabled
- - Loose
- - Exact
- ui_visible:
- type: object
- properties:
- value:
- enum:
- - always
- - if-set
- - hidden
- type: string
- description: '* `always` - Always
-
- * `if-set` - If set
-
- * `hidden` - Hidden'
- x-spec-enum-id: cd2cf94af56de747
- label:
- type: string
- enum:
- - Always
- - If set
- - Hidden
- ui_editable:
- type: object
- properties:
- value:
- enum:
- - 'yes'
- - 'no'
- - hidden
- type: string
- description: '* `yes` - Yes
-
- * `no` - No
-
- * `hidden` - Hidden'
- x-spec-enum-id: 1065673147e26bb5
- label:
- type: string
- enum:
- - 'Yes'
- - 'No'
- - 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:
+ required:
+ - name
+ BriefProvider:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
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/CustomFieldChoiceSet'
- nullable: true
- comments:
+ readOnly: true
+ url:
type: string
- created:
+ format: uri
+ readOnly: true
+ display:
type: string
- format: date-time
readOnly: true
- nullable: true
- last_updated:
+ name:
type: string
- format: date-time
+ 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
- nullable: true
required:
- - created
- - data_type
+ - circuit_count
- display
- id
- - last_updated
- name
- - object_types
- - type
+ - slug
- url
- CustomFieldChoiceSet:
+ BriefProviderAccount:
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
@@ -104523,69 +103740,66 @@ components:
readOnly: true
name:
type: string
+ default: ''
+ maxLength: 100
+ account:
+ type: string
+ title: Account ID
maxLength: 100
description:
type: string
maxLength: 200
- base_choices:
- type: object
- properties:
- value:
- enum:
- - IATA
- - ISO_3166
- - UN_LOCODE
- type: string
- description: '* `IATA` - IATA (Airport codes)
-
- * `ISO_3166` - ISO 3166 (Country codes)
-
- * `UN_LOCODE` - UN/LOCODE (Location codes)'
- x-spec-enum-id: cf0efb5195f85007
- label:
- type: string
- enum:
- - IATA (Airport codes)
- - ISO 3166 (Country codes)
- - 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
- choices_count:
+ 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
- created:
+ 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
+ description:
+ type: string
+ maxLength: 200
required:
- - choices_count
- - created
- display
- - extra_choices
- id
- - last_updated
- name
- url
- CustomFieldChoiceSetRequest:
+ BriefProviderNetworkRequest:
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
@@ -104594,202 +103808,128 @@ components:
description:
type: string
maxLength: 200
- base_choices:
- enum:
- - IATA
- - ISO_3166
- - UN_LOCODE
+ required:
+ - name
+ BriefProviderRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
type: string
- description: '* `IATA` - IATA (Airport codes)
-
- * `ISO_3166` - ISO 3166 (Country codes)
-
- * `UN_LOCODE` - UN/LOCODE (Location codes)'
- x-spec-enum-id: cf0efb5195f85007
- extra_choices:
- type: array
- items:
- type: array
- items: {}
- maxItems: 2
- minItems: 2
- order_alphabetically:
- type: boolean
- description: Choices are automatically ordered alphabetically
+ 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:
- - extra_choices
- name
- CustomFieldRequest:
+ - slug
+ BriefRIR:
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_types:
- type: array
- items:
- type: string
- type:
- enum:
- - text
- - longtext
- - integer
- - decimal
- - boolean
- - date
- - datetime
- - url
- - json
- - select
- - multiselect
- - object
- - multiobject
+ id:
+ type: integer
+ readOnly: true
+ url:
type: string
- description: '* `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'
- x-spec-enum-id: 22e3a64138d10046
- related_object_type:
+ format: uri
+ readOnly: true
+ display:
type: string
- nullable: true
+ readOnly: 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:
+ maxLength: 100
+ slug:
type: string
- description: Custom fields within the same group will be displayed together
- maxLength: 50
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
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:
+ aggregate_count:
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
+ 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
- description: '* `disabled` - Disabled
-
- * `loose` - Loose
-
- * `exact` - Exact'
- x-spec-enum-id: a958350ae21c10ee
- ui_visible:
- enum:
- - always
- - if-set
- - hidden
+ minLength: 1
+ maxLength: 100
+ slug:
type: string
- description: '* `always` - Always
-
- * `if-set` - If set
-
- * `hidden` - Hidden'
- x-spec-enum-id: cd2cf94af56de747
- ui_editable:
- enum:
- - 'yes'
- - 'no'
- - hidden
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
type: string
- description: '* `yes` - Yes
-
- * `no` - No
-
- * `hidden` - Hidden'
- x-spec-enum-id: 1065673147e26bb5
- 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:
+ maxLength: 200
+ required:
+ - name
+ - slug
+ BriefRack:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
type: integer
- maximum: 9223372036854775807
- minimum: -9223372036854775808
- format: int64
- nullable: true
- title: Minimum value
- description: Minimum allowed value (for numeric fields)
- validation_maximum:
+ 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
- maximum: 9223372036854775807
- minimum: -9223372036854775808
format: int64
- nullable: true
- title: Maximum value
- description: Maximum allowed value (for numeric fields)
- validation_regex:
+ readOnly: true
+ required:
+ - device_count
+ - display
+ - id
+ - name
+ - url
+ BriefRackRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
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:
+ minLength: 1
+ maxLength: 100
+ description:
type: string
+ maxLength: 200
required:
- name
- - object_types
- - type
- CustomLink:
+ BriefRackRole:
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
@@ -104801,208 +103941,154 @@ components:
display:
type: string
readOnly: true
- object_types:
- type: array
- items:
- type: string
name:
type: string
maxLength: 100
- enabled:
- type: boolean
- link_text:
+ slug:
type: string
- description: Jinja2 template code for link text
- link_url:
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
type: string
- description: Jinja2 template code for link URL
- weight:
+ maxLength: 200
+ rack_count:
type: integer
- maximum: 32767
- minimum: 0
- group_name:
+ 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
- description: Links with the same group will appear as a dropdown menu
- maxLength: 50
- button_class:
- enum:
- - outline-dark
- - blue
- - indigo
- - purple
- - pink
- - red
- - orange
- - yellow
- - green
- - teal
- - cyan
- - gray
- - black
- - white
- - ghost-dark
+ minLength: 1
+ maxLength: 100
+ slug:
type: string
- x-spec-enum-id: 9378cdf56abee54a
- 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
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
+ type: string
+ maxLength: 200
+ required:
+ - name
+ - slug
+ BriefRearPortTemplate:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `ghost-dark` - Link'
- new_window:
- type: boolean
- description: Force link to open in a new window
- created:
+ 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: date-time
+ format: uri
readOnly: true
- nullable: true
- last_updated:
+ display:
type: string
- format: date-time
readOnly: true
- 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
+ description:
+ type: string
+ maxLength: 200
required:
- - created
- display
- id
- - last_updated
- - link_text
- - link_url
- name
- - object_types
- url
- CustomLinkRequest:
+ 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:
- object_types:
- type: array
- items:
- type: string
name:
type: string
minLength: 1
- maxLength: 100
- enabled:
- type: boolean
- link_text:
- type: string
- minLength: 1
- description: Jinja2 template code for link text
- link_url:
+ description: '{module} is accepted as a substitution for the module bay
+ position when attached to a module type.'
+ maxLength: 64
+ description:
type: string
- minLength: 1
- description: Jinja2 template code for link URL
- weight:
+ maxLength: 200
+ required:
+ - name
+ BriefRegion:
+ type: object
+ description: Extends PrimaryModelSerializer to include MPTT support.
+ properties:
+ id:
type: integer
- maximum: 32767
- minimum: 0
- group_name:
+ readOnly: true
+ url:
type: string
- description: Links with the same group will appear as a dropdown menu
- maxLength: 50
- button_class:
- enum:
- - outline-dark
- - blue
- - indigo
- - purple
- - pink
- - red
- - orange
- - yellow
- - green
- - teal
- - cyan
- - gray
- - black
- - white
- - ghost-dark
+ format: uri
+ readOnly: true
+ display:
type: string
- x-spec-enum-id: 9378cdf56abee54a
- 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'
- new_window:
- type: boolean
- description: Force link to open in a new window
+ 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:
- - link_text
- - link_url
+ - _depth
+ - display
+ - id
- name
- - object_types
- Dashboard:
- type: object
- properties:
- layout: {}
- config: {}
- DashboardRequest:
+ - site_count
+ - slug
+ - url
+ BriefRegionRequest:
type: object
+ description: Extends PrimaryModelSerializer to include MPTT support.
properties:
- layout: {}
- config: {}
- DataFile:
+ 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:
@@ -105016,37 +104102,85 @@ components:
display:
type: string
readOnly: true
- source:
- allOf:
- - $ref: '#/components/schemas/DataSource'
- readOnly: true
- path:
+ name:
type: string
- readOnly: true
- description: File path relative to the data source's root
- last_updated:
+ maxLength: 100
+ slug:
type: string
- format: date-time
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
+ type: string
+ maxLength: 200
+ prefix_count:
+ type: integer
+ format: int64
readOnly: true
- size:
+ vlan_count:
type: integer
+ format: int64
readOnly: true
- hash:
+ required:
+ - display
+ - id
+ - name
+ - prefix_count
+ - slug
+ - url
+ - vlan_count
+ 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:
+ id:
+ type: integer
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
type: string
readOnly: true
- description: SHA256 hash of the file data
+ 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
required:
- display
- - hash
- id
- - last_updated
- - path
- - size
- - source
+ - name
+ - slug
- url
- DataSource:
+ BriefSiteGroup:
type: object
- description: Adds support for custom fields and tags.
+ description: Extends PrimaryModelSerializer to include MPTT support.
properties:
id:
type: integer
@@ -105061,60 +104195,69 @@ components:
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
- DataSourceRequest:
+ BriefSiteGroupRequest:
type: object
- description: Adds support for custom fields and tags.
+ description: Extends PrimaryModelSerializer to include MPTT support.
properties:
name:
type: string
minLength: 1
maxLength: 100
- type:
- enum:
- - local
- - git
- - amazon-s3
- description: '* `None` - ---------
-
- * `local` - Local
-
- * `git` - Git
-
- * `amazon-s3` - Amazon S3'
- x-spec-enum-id: 570db3f2d4e98ccf
- source_url:
+ slug:
type: string
minLength: 1
- title: URL
- maxLength: 200
- enabled:
- type: boolean
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- comments:
+ required:
+ - name
+ - slug
+ BriefSiteRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
type: string
- parameters:
- nullable: true
- ignore_rules:
+ minLength: 1
+ description: Full name of the site
+ maxLength: 100
+ slug:
type: string
- description: Patterns (one per line) matching files to ignore when syncing
- custom_fields:
- type: object
- additionalProperties: {}
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
+ type: string
+ maxLength: 200
required:
- name
- - source_url
- - type
- Device:
+ - slug
+ BriefTenant:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105130,282 +104273,124 @@ components:
readOnly: true
name:
type: string
- nullable: true
- maxLength: 64
- device_type:
- $ref: '#/components/schemas/DeviceType'
- role:
- $ref: '#/components/schemas/DeviceRole'
- tenant:
- allOf:
- - $ref: '#/components/schemas/Tenant'
- nullable: true
- platform:
- allOf:
- - $ref: '#/components/schemas/Platform'
- nullable: true
- serial:
+ maxLength: 100
+ slug:
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/Site'
- location:
- allOf:
- - $ref: '#/components/schemas/Location'
- nullable: true
- rack:
- allOf:
- - $ref: '#/components/schemas/Rack'
- nullable: true
- position:
- type: number
- format: double
- maximum: 1000
- minimum: 0.5
- exclusiveMaximum: true
- nullable: true
- title: Position (U)
- face:
- type: object
- properties:
- value:
- enum:
- - front
- - rear
- - ''
- type: string
- description: '* `front` - Front
-
- * `rear` - Rear'
- x-spec-enum-id: d2fb9b3f75158b83
- label:
- type: string
- enum:
- - Front
- - Rear
- 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)
- parent_device:
- allOf:
- - $ref: '#/components/schemas/NestedDevice'
- readOnly: true
- nullable: true
- status:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - Offline
- - Active
- - Planned
- - Staged
- - Failed
- - Inventory
- - Decommissioning
- 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
- primary_ip:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- readOnly: true
- nullable: true
- primary_ip4:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- primary_ip6:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- oob_ip:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- cluster:
- allOf:
- - $ref: '#/components/schemas/Cluster'
- nullable: true
- virtual_chassis:
- allOf:
- - $ref: '#/components/schemas/VirtualChassis'
- 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
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- comments:
- type: string
- config_template:
- allOf:
- - $ref: '#/components/schemas/ConfigTemplate'
- 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/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
- console_port_count:
- type: integer
- readOnly: true
- console_server_port_count:
- type: integer
- readOnly: true
- power_port_count:
+ required:
+ - display
+ - id
+ - name
+ - slug
+ - url
+ BriefTenantGroup:
+ type: object
+ description: Extends PrimaryModelSerializer to include MPTT support.
+ properties:
+ id:
type: integer
readOnly: true
- power_outlet_count:
- type: integer
+ url:
+ type: string
+ format: uri
readOnly: true
- interface_count:
- type: integer
+ display:
+ type: string
readOnly: true
- front_port_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
- rear_port_count:
+ default: 0
+ _depth:
type: integer
readOnly: true
- device_bay_count:
+ title: ' depth'
+ required:
+ - _depth
+ - display
+ - id
+ - name
+ - slug
+ - tenant_count
+ - url
+ 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:
+ 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
+ BriefTunnel:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
type: integer
readOnly: true
- module_bay_count:
- type: integer
+ url:
+ type: string
+ format: uri
readOnly: true
- inventory_item_count:
- type: integer
+ display:
+ type: string
readOnly: true
+ name:
+ type: string
+ maxLength: 100
+ description:
+ type: string
+ maxLength: 200
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
+ - name
- url
- DeviceBay:
+ BriefTunnelGroup:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105419,79 +104404,60 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
name:
type: string
- maxLength: 64
- label:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- installed_device:
- allOf:
- - $ref: '#/components/schemas/Device'
- 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
+ tunnel_count:
+ type: integer
+ format: int64
readOnly: true
- nullable: true
required:
- - created
- - device
- display
- id
- - last_updated
- name
+ - slug
+ - tunnel_count
- url
- DeviceBayRequest:
+ BriefTunnelGroupRequest:
type: object
description: Adds support for custom fields and tags.
properties:
- device:
- $ref: '#/components/schemas/DeviceRequest'
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_]+$
description:
type: string
maxLength: 200
- installed_device:
- allOf:
- - $ref: '#/components/schemas/DeviceRequest'
- nullable: true
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
required:
- - device
- name
- DeviceBayTemplate:
+ - 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
@@ -105508,75 +104474,140 @@ components:
display:
type: string
readOnly: true
- device_type:
- $ref: '#/components/schemas/DeviceType'
- name:
+ username:
type: string
- description: '{module} is accepted as a substitution for the module bay
- position when attached to a module type.'
- maxLength: 64
- label:
+ 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
+
+ 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
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ vid:
+ type: integer
+ maximum: 4094
+ minimum: 1
+ title: VLAN ID
+ description: Numeric VLAN ID (1-4094)
+ name:
type: string
- description: Physical label
maxLength: 64
description:
type: string
maxLength: 200
- created:
+ 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
- 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
+ vlan_count:
+ type: integer
+ format: int64
+ readOnly: true
required:
- - created
- - device_type
- display
- id
- - last_updated
- name
+ - slug
- url
- DeviceBayTemplateRequest:
+ - vlan_count
+ BriefVLANGroupRequest:
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:
- $ref: '#/components/schemas/DeviceTypeRequest'
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:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
required:
- - device_type
- name
- DeviceRequest:
+ - slug
+ BriefVLANRequest:
type: object
description: Adds support for custom fields and tags.
properties:
+ vid:
+ type: integer
+ maximum: 4094
+ minimum: 1
+ title: VLAN ID
+ description: Numeric VLAN ID (1-4094)
name:
type: string
- nullable: true
+ minLength: 1
maxLength: 64
description:
type: string
maxLength: 200
- DeviceRole:
+ required:
+ - name
+ - vid
+ BriefVRF:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105593,30 +104624,26 @@ components:
name:
type: string
maxLength: 100
- slug:
+ rd:
type: string
- maxLength: 100
- pattern: ^[-a-zA-Z0-9_]+$
+ nullable: true
+ title: Route distinguisher
+ description: Unique route distinguisher (as defined in RFC 4364)
+ maxLength: 21
description:
type: string
maxLength: 200
- device_count:
- type: integer
- format: int64
- readOnly: true
- virtualmachine_count:
+ prefix_count:
type: integer
format: int64
readOnly: true
required:
- - device_count
- display
- id
- name
- - slug
+ - prefix_count
- url
- - virtualmachine_count
- DeviceRoleRequest:
+ BriefVRFRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105624,37 +104651,68 @@ components:
type: string
minLength: 1
maxLength: 100
- slug:
+ rd:
type: string
- minLength: 1
- maxLength: 100
- pattern: ^[-a-zA-Z0-9_]+$
- color:
+ 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
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ name:
+ type: string
+ maxLength: 64
+ master:
+ allOf:
+ - $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
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- vm_role:
- type: boolean
- description: Virtual machines may be assigned to this role
- config_template:
+ maxLength: 64
+ master:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/NestedDeviceRequest'
nullable: true
description:
type: string
maxLength: 200
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
required:
- name
- - slug
- DeviceType:
+ BriefVirtualMachine:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105668,9 +104726,45 @@ components:
display:
type: string
readOnly: true
- manufacturer:
- $ref: '#/components/schemas/Manufacturer'
- model:
+ name:
+ type: string
+ maxLength: 64
+ description:
+ type: string
+ maxLength: 200
+ required:
+ - display
+ - id
+ - name
+ - url
+ BriefVirtualMachineRequest:
+ 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
+ BriefWirelessLANGroup:
+ 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:
@@ -105680,25 +104774,27 @@ components:
description:
type: string
maxLength: 200
- device_count:
+ wirelesslan_count:
+ type: integer
+ readOnly: true
+ default: 0
+ _depth:
type: integer
- format: int64
readOnly: true
+ title: ' depth'
required:
- - device_count
+ - _depth
- display
- id
- - manufacturer
- - model
+ - name
- slug
- url
- DeviceTypeRequest:
+ - wirelesslan_count
+ BriefWirelessLANGroupRequest:
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
@@ -105711,10 +104807,9 @@ components:
type: string
maxLength: 200
required:
- - manufacturer
- - model
+ - name
- slug
- DeviceWithConfigContext:
+ Cable:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -105728,218 +104823,167 @@ components:
display:
type: string
readOnly: true
- name:
- type: string
- nullable: true
- maxLength: 64
- device_type:
- $ref: '#/components/schemas/DeviceType'
- role:
- $ref: '#/components/schemas/DeviceRole'
- tenant:
- allOf:
- - $ref: '#/components/schemas/Tenant'
- nullable: true
- platform:
- allOf:
- - $ref: '#/components/schemas/Platform'
- nullable: true
- serial:
- type: string
- title: Serial number
- description: Chassis serial number, assigned by the manufacturer
- maxLength: 50
- asset_tag:
+ 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
+ - ''
type: string
- nullable: true
- description: A unique tag used to identify this device
- maxLength: 50
- site:
- $ref: '#/components/schemas/Site'
- location:
- allOf:
- - $ref: '#/components/schemas/Location'
- nullable: true
- rack:
- allOf:
- - $ref: '#/components/schemas/Rack'
- nullable: true
- position:
- type: number
- format: double
- maximum: 1000
- minimum: 0.5
- exclusiveMaximum: true
- nullable: true
- title: Position (U)
- face:
- type: object
- properties:
- value:
- enum:
- - front
- - rear
- - ''
- type: string
- description: '* `front` - Front
+ description: '* `cat3` - CAT3
- * `rear` - Rear'
- x-spec-enum-id: d2fb9b3f75158b83
- label:
- type: string
- enum:
- - Front
- - Rear
- 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)
- parent_device:
- allOf:
- - $ref: '#/components/schemas/NestedDevice'
- readOnly: true
- nullable: true
+ * `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)
+
+ * `power` - Power'
+ x-spec-enum-id: e671018e64196f8d
+ a_terminations:
+ type: array
+ items:
+ $ref: '#/components/schemas/GenericObject'
+ b_terminations:
+ type: array
+ items:
+ $ref: '#/components/schemas/GenericObject'
status:
type: object
properties:
value:
enum:
- - offline
- - active
+ - connected
- planned
- - staged
- - failed
- - inventory
- decommissioning
type: string
- description: '* `offline` - Offline
-
- * `active` - Active
+ description: '* `connected` - Connected
* `planned` - Planned
- * `staged` - Staged
-
- * `failed` - Failed
-
- * `inventory` - Inventory
-
* `decommissioning` - Decommissioning'
- x-spec-enum-id: 8d8971779f16ee18
+ x-spec-enum-id: fbc2f302c08be50d
label:
type: string
enum:
- - Offline
- - Active
+ - Connected
- Planned
- - Staged
- - Failed
- - Inventory
- Decommissioning
- airflow:
+ 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:
- - front-to-rear
- - rear-to-front
- - left-to-right
- - right-to-left
- - side-to-rear
- - passive
- - mixed
+ - km
+ - m
+ - cm
+ - mi
+ - ft
+ - in
- ''
type: string
- description: '* `front-to-rear` - Front to rear
-
- * `rear-to-front` - Rear to front
+ description: '* `km` - Kilometers
- * `left-to-right` - Left to right
+ * `m` - Meters
- * `right-to-left` - Right to left
+ * `cm` - Centimeters
- * `side-to-rear` - Side to rear
+ * `mi` - Miles
- * `passive` - Passive
+ * `ft` - Feet
- * `mixed` - Mixed'
- x-spec-enum-id: 58e389e240a5e53d
+ * `in` - Inches'
+ x-spec-enum-id: e64ce3a2c5997172
label:
type: string
enum:
- - Front to rear
- - Rear to front
- - Left to right
- - Right to left
- - Side to rear
- - Passive
- - Mixed
- primary_ip:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- readOnly: true
- nullable: true
- primary_ip4:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- primary_ip6:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- oob_ip:
- allOf:
- - $ref: '#/components/schemas/IPAddress'
- nullable: true
- cluster:
- allOf:
- - $ref: '#/components/schemas/Cluster'
- nullable: true
- virtual_chassis:
- allOf:
- - $ref: '#/components/schemas/VirtualChassis'
- nullable: true
- vc_position:
- type: integer
- maximum: 255
- minimum: 0
- nullable: true
- vc_priority:
- type: integer
- maximum: 255
- minimum: 0
+ - Kilometers
+ - Meters
+ - Centimeters
+ - Miles
+ - Feet
+ - Inches
nullable: true
- description: Virtual chassis master election priority
description:
type: string
maxLength: 200
comments:
type: string
- config_template:
- allOf:
- - $ref: '#/components/schemas/ConfigTemplate'
- nullable: true
- config_context:
- nullable: true
- readOnly: 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:
@@ -105957,227 +105001,156 @@ components:
format: date-time
readOnly: true
nullable: true
- console_port_count:
- type: integer
- readOnly: true
- console_server_port_count:
- type: integer
- readOnly: true
- power_port_count:
- type: integer
- readOnly: true
- power_outlet_count:
- type: integer
- readOnly: true
- interface_count:
- type: integer
- readOnly: true
- front_port_count:
- type: integer
- readOnly: true
- rear_port_count:
- type: integer
- readOnly: true
- device_bay_count:
- type: integer
- readOnly: true
- module_bay_count:
- type: integer
- readOnly: true
- inventory_item_count:
- type: integer
- readOnly: true
required:
- - config_context
- - 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
- DeviceWithConfigContextRequest:
+ CableRequest:
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:
+ type:
enum:
- - front
- - rear
- - ''
- type: string
- description: '* `front` - Front
-
- * `rear` - Rear'
- x-spec-enum-id: d2fb9b3f75158b83
- 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)
+ - 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
+ - ''
+ 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)
+
+ * `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:
- - offline
- - active
+ - connected
- planned
- - staged
- - failed
- - inventory
- decommissioning
type: string
- description: '* `offline` - Offline
-
- * `active` - Active
+ description: '* `connected` - Connected
* `planned` - Planned
- * `staged` - Staged
-
- * `failed` - Failed
-
- * `inventory` - Inventory
-
* `decommissioning` - Decommissioning'
- x-spec-enum-id: 8d8971779f16ee18
- airflow:
+ 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:
- - front-to-rear
- - rear-to-front
- - left-to-right
- - right-to-left
- - side-to-rear
- - passive
- - mixed
+ - km
+ - m
+ - cm
+ - mi
+ - ft
+ - in
- ''
type: string
- description: '* `front-to-rear` - Front to rear
-
- * `rear-to-front` - Rear to front
+ description: '* `km` - Kilometers
- * `left-to-right` - Left to right
+ * `m` - Meters
- * `right-to-left` - Right to left
+ * `cm` - Centimeters
- * `side-to-rear` - Side to rear
+ * `mi` - Miles
- * `passive` - Passive
+ * `ft` - Feet
- * `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'
- nullable: true
- vc_position:
- type: integer
- maximum: 255
- minimum: 0
- nullable: true
- vc_priority:
- type: integer
- maximum: 255
- minimum: 0
+ * `in` - Inches'
+ x-spec-enum-id: e64ce3a2c5997172
nullable: true
- description: Virtual chassis master election priority
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:
@@ -106185,11 +105158,7 @@ components:
custom_fields:
type: object
additionalProperties: {}
- required:
- - device_type
- - role
- - site
- EventRule:
+ CableTermination:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -106203,78 +105172,28 @@ components:
display:
type: string
readOnly: true
- object_types:
- type: array
- items:
- type: string
- name:
+ cable:
+ type: integer
+ cable_end:
+ enum:
+ - A
+ - B
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
- conditions:
- nullable: true
- description: A set of conditions which determine whether the event will
- be generated.
- action_type:
- type: object
- properties:
- value:
- enum:
- - webhook
- - script
- type: string
- description: '* `webhook` - Webhook
+ description: '* `A` - A
- * `script` - Script'
- x-spec-enum-id: a08300d86473de6e
- label:
- type: string
- enum:
- - Webhook
- - Script
- action_object_type:
+ * `B` - B'
+ x-spec-enum-id: 1db84f9b93b261c8
+ title: End
+ termination_type:
type: string
- action_object_id:
+ termination_id:
type: integer
maximum: 9223372036854775807
minimum: 0
format: int64
+ termination:
nullable: true
- action_object:
- type: object
- additionalProperties: {}
readOnly: true
- description:
- type: string
- maxLength: 200
- custom_fields:
- type: object
- additionalProperties: {}
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTag'
created:
type: string
format: date-time
@@ -106286,92 +105205,47 @@ components:
readOnly: true
nullable: true
required:
- - action_object
- - action_object_type
- - action_type
+ - cable
+ - cable_end
- created
- display
- id
- last_updated
- - name
- - object_types
+ - termination
+ - termination_id
+ - termination_type
- url
- EventRuleRequest:
+ CableTerminationRequest:
type: object
description: Adds support for custom fields and tags.
properties:
- object_types:
- 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:
+ cable:
+ type: integer
+ cable_end:
enum:
- - webhook
- - script
+ - A
+ - B
type: string
- description: '* `webhook` - Webhook
+ description: '* `A` - A
- * `script` - Script'
- x-spec-enum-id: a08300d86473de6e
- action_object_type:
+ * `B` - B'
+ x-spec-enum-id: 1db84f9b93b261c8
+ title: End
+ termination_type:
type: string
- action_object_id:
+ termination_id:
type: integer
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'
required:
- - action_object_type
- - action_type
- - name
- - object_types
- ExportTemplate:
+ - cable
+ - cable_end
+ - termination_id
+ - termination_type
+ Circuit:
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
@@ -106383,47 +105257,95 @@ components:
display:
type: string
readOnly: true
- object_types:
- type: array
- items:
- type: string
- name:
+ cid:
type: string
+ title: Circuit ID
+ description: Unique circuit ID
maxLength: 100
- description:
- type: string
- maxLength: 200
- template_code:
- type: string
- description: Jinja2 template code. The list of objects being exported is
- passed as a context variable named queryset
.
- mime_type:
+ 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
- description: Defaults to text/plain; charset=utf-8
- maxLength: 50
- file_extension:
+ format: date
+ nullable: true
+ title: Installed
+ termination_date:
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/DataSource'
- data_path:
+ 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
- readOnly: true
- description: Path to remote file (relative to data source root)
- data_file:
+ maxLength: 200
+ termination_a:
allOf:
- - $ref: '#/components/schemas/DataFile'
+ - $ref: '#/components/schemas/CircuitCircuitTermination'
readOnly: true
- data_synced:
- type: string
- format: date-time
+ nullable: true
+ termination_z:
+ allOf:
+ - $ref: '#/components/schemas/CircuitCircuitTermination'
readOnly: true
nullable: true
- title: Date synced
+ comments:
+ type: string
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTag'
+ custom_fields:
+ type: object
+ additionalProperties: {}
created:
type: string
format: date-time
@@ -106435,60 +105357,25 @@ components:
readOnly: true
nullable: true
required:
+ - cid
- created
- - data_file
- - data_path
- - data_synced
- display
- id
- last_updated
- - name
- - object_types
- - template_code
+ - provider
+ - termination_a
+ - termination_z
+ - type
- url
- ExportTemplateRequest:
+ CircuitCircuitTermination:
type: object
- description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
- on a copy of the associated instance during
+ description: 'Represents an object related through a ForeignKey field. On write,
+ it accepts a primary key (PK) value or a
- 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/DataSourceRequest'
- required:
- - name
- - object_types
- - template_code
- FHRPGroup:
- type: object
- description: Adds support for custom fields and tags.
+ 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
@@ -106500,155 +105387,162 @@ components:
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:
+ site:
+ allOf:
+ - $ref: '#/components/schemas/BriefSite'
+ nullable: true
+ provider_network:
+ allOf:
+ - $ref: '#/components/schemas/BriefProviderNetwork'
+ nullable: true
+ port_speed:
type: integer
- maximum: 32767
+ 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
- - group_id
- id
- - protocol
+ - provider_network
+ - site
- url
- FHRPGroupAssignment:
+ CircuitCircuitTerminationRequest:
type: object
- description: Adds support for custom fields and tags.
+ 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
- group:
- $ref: '#/components/schemas/FHRPGroup'
- interface_type:
- type: string
- interface_id:
+ site:
+ allOf:
+ - $ref: '#/components/schemas/BriefSiteRequest'
+ nullable: true
+ provider_network:
+ allOf:
+ - $ref: '#/components/schemas/BriefProviderNetworkRequest'
+ nullable: true
+ port_speed:
type: integer
- maximum: 9223372036854775807
+ maximum: 2147483647
minimum: 0
- format: int64
- interface:
nullable: true
- readOnly: true
- priority:
+ title: Port speed (Kbps)
+ description: Physical circuit speed
+ upstream_speed:
type: integer
- maximum: 255
+ maximum: 2147483647
minimum: 0
- created:
- type: string
- format: date-time
- readOnly: true
nullable: true
- last_updated:
+ title: Upstream speed (Kbps)
+ description: Upstream speed, if different from port speed
+ xconnect_id:
type: string
- format: date-time
- readOnly: true
- nullable: true
- required:
- - created
- - display
- - group
- - id
- - interface
- - interface_id
- - interface_type
- - last_updated
- - priority
- - url
- FHRPGroupAssignmentRequest:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- group:
- $ref: '#/components/schemas/FHRPGroupRequest'
- interface_type:
+ title: Cross-connect ID
+ description: ID of the local cross-connect
+ maxLength: 50
+ description:
type: string
- interface_id:
- type: integer
- maximum: 9223372036854775807
- minimum: 0
- format: int64
- priority:
- type: integer
- maximum: 255
- minimum: 0
+ maxLength: 200
required:
- - group
- - interface_id
- - interface_type
- - priority
- FHRPGroupRequest:
+ - provider_network
+ - site
+ CircuitRequest:
type: object
description: Adds support for custom fields and tags.
properties:
- protocol:
+ cid:
+ type: string
+ minLength: 1
+ 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:
- - vrrp2
- - vrrp3
- - carp
- - clusterxl
- - hsrp
- - glbp
- - other
+ - planned
+ - provisioning
+ - active
+ - offline
+ - deprovisioning
+ - decommissioned
type: string
- description: '* `vrrp2` - VRRPv2
-
- * `vrrp3` - VRRPv3
+ description: '* `planned` - Planned
- * `carp` - CARP
+ * `provisioning` - Provisioning
- * `clusterxl` - ClusterXL
+ * `active` - Active
- * `hsrp` - HSRP
+ * `offline` - Offline
- * `glbp` - GLBP
+ * `deprovisioning` - Deprovisioning
- * `other` - Other'
- x-spec-enum-id: 40dc831c689b4b78
- group_id:
+ * `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: 32767
+ 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: {}
required:
- - group_id
- - protocol
- FrontPort:
+ - cid
+ - provider
+ - type
+ CircuitTermination:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -106662,228 +105556,50 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
- module:
+ circuit:
+ $ref: '#/components/schemas/BriefCircuit'
+ term_side:
+ enum:
+ - A
+ - Z
+ type: string
+ description: '* `A` - A
+
+ * `Z` - Z'
+ x-spec-enum-id: 95b8fcc737f355d0
+ title: Termination
+ site:
allOf:
- - $ref: '#/components/schemas/Module'
+ - $ref: '#/components/schemas/BriefSite'
nullable: true
- name:
- type: string
- maxLength: 64
- label:
+ 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
- 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
- - 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
-
- * `other` - Other'
- x-spec-enum-id: 0276d1110ada597a
- 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
- - Other
- color:
+ title: Cross-connect ID
+ description: ID of the local cross-connect
+ maxLength: 50
+ pp_info:
type: string
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- rear_port:
- $ref: '#/components/schemas/FrontPortRearPort'
- rear_port_position:
- type: integer
- maximum: 1024
- minimum: 1
- default: 1
- description: Mapped position on corresponding rear port
+ title: Patch panel/port(s)
+ description: Patch panel ID and port number(s)
+ maxLength: 100
description:
type: string
maxLength: 200
@@ -106892,7 +105608,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 +105622,7 @@ components:
type: string
description: Return the type of the peer link terminations, or None.
readOnly: true
+ nullable: true
tags:
type: array
items:
@@ -106931,245 +105648,157 @@ components:
- _occupied
- cable
- cable_end
+ - circuit
- created
- - device
- display
- id
- last_updated
- link_peers
- link_peers_type
- - name
- - rear_port
- - type
+ - term_side
- url
- FrontPortRearPort:
+ CircuitTerminationRequest:
type: object
- description: NestedRearPortSerializer but with parent device omitted (since
- front and rear ports must belong to same device)
+ 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: 64
- label:
- type: string
- description: Physical label
- maxLength: 64
- description:
+ circuit:
+ $ref: '#/components/schemas/BriefCircuitRequest'
+ term_side:
+ enum:
+ - A
+ - Z
type: string
- maxLength: 200
- required:
- - display
- - id
- - name
- - url
- FrontPortRearPortRequest:
+ description: '* `A` - A
+
+ * `Z` - Z'
+ x-spec-enum-id: 95b8fcc737f355d0
+ title: Termination
+ 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
+ pp_info:
+ type: string
+ title: Patch panel/port(s)
+ description: Patch panel ID and port number(s)
+ maxLength: 100
+ 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: {}
+ required:
+ - circuit
+ - term_side
+ CircuitType:
type: object
- description: NestedRearPortSerializer but with parent device omitted (since
- front and rear ports must belong to same device)
+ 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
- minLength: 1
- maxLength: 64
- label:
+ maxLength: 100
+ slug:
type: string
- description: Physical label
- maxLength: 64
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ color:
+ type: string
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
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
+ circuit_count:
+ type: integer
+ format: int64
+ readOnly: true
required:
+ - circuit_count
+ - created
+ - display
+ - id
+ - last_updated
- name
- FrontPortRequest:
+ - slug
+ - url
+ CircuitTypeRequest:
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
+ maxLength: 100
+ slug:
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
-
- * `other` - Other'
- x-spec-enum-id: 0276d1110ada597a
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
color:
type: string
pattern: ^[0-9a-f]{6}$
maxLength: 6
- rear_port:
- $ref: '#/components/schemas/FrontPortRearPortRequest'
- 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:
@@ -107178,16 +105807,11 @@ components:
type: object
additionalProperties: {}
required:
- - device
- name
- - rear_port
- - type
- FrontPortTemplate:
+ - slug
+ Cluster:
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
@@ -107199,234 +105823,64 @@ components:
display:
type: string
readOnly: true
- device_type:
- allOf:
- - $ref: '#/components/schemas/DeviceType'
- nullable: true
- module_type:
- allOf:
- - $ref: '#/components/schemas/ModuleType'
- 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
+ maxLength: 100
type:
+ $ref: '#/components/schemas/BriefClusterType'
+ group:
+ allOf:
+ - $ref: '#/components/schemas/BriefClusterGroup'
+ nullable: true
+ status:
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
- - other
+ - planned
+ - staging
+ - active
+ - decommissioning
+ - offline
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
+ description: '* `planned` - Planned
- * `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
+ * `staging` - Staging
- * `urm-p8` - URM-P8
+ * `active` - Active
- * `splice` - Splice
+ * `decommissioning` - Decommissioning
- * `other` - Other'
- x-spec-enum-id: 0276d1110ada597a
+ * `offline` - Offline'
+ x-spec-enum-id: 79d20a734d0eecbb
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
- - Other
- color:
- type: string
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- rear_port:
- $ref: '#/components/schemas/RearPortTemplate'
- rear_port_position:
- type: integer
- maximum: 1024
- minimum: 1
- default: 1
+ - 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
@@ -107437,220 +105891,27 @@ components:
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
+ - device_count
- display
- id
- last_updated
- name
- - rear_port
- type
- url
- FrontPortTemplateRequest:
- 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/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
-
- * `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'
- 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
- required:
- - name
- - rear_port
- - type
- GenericObjectRequest:
- type: object
- description: Minimal representation of some generic object identified by ContentType
- and PK.
- properties:
- object_type:
- type: string
- object_id:
- type: integer
- required:
- - object_id
- - object_type
- Group:
+ - virtualmachine_count
+ ClusterGroup:
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
@@ -107664,44 +105925,126 @@ components:
readOnly: true
name:
type: string
- maxLength: 150
+ maxLength: 100
+ slug:
+ type: string
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- permissions:
+ tags:
type: array
items:
- $ref: '#/components/schemas/ObjectPermission'
- user_count:
+ $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
+ cluster_count:
type: integer
+ format: int64
readOnly: true
required:
+ - cluster_count
+ - created
- display
- id
+ - last_updated
- name
+ - slug
- url
- - user_count
- GroupRequest:
+ ClusterGroupRequest:
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
+ slug:
+ type: string
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- permissions:
+ tags:
type: array
items:
- type: integer
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
required:
- name
- IKEPolicy:
+ - slug
+ ClusterRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
+ 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.
properties:
@@ -107718,52 +106061,13 @@ components:
name:
type: string
maxLength: 100
+ slug:
+ type: string
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- version:
- type: object
- properties:
- value:
- enum:
- - 1
- - 2
- type: integer
- description: '* `1` - IKEv1
-
- * `2` - IKEv2'
- x-spec-enum-id: 00872b77916a1fde
- label:
- type: string
- enum:
- - IKEv1
- - IKEv2
- mode:
- type: object
- properties:
- value:
- enum:
- - aggressive
- - main
- type: string
- description: '* `aggressive` - Aggressive
-
- * `main` - Main'
- x-spec-enum-id: 64c1be7bdb2548ca
- label:
- type: string
- enum:
- - Aggressive
- - Main
- proposals:
- type: array
- items:
- $ref: '#/components/schemas/IKEProposal'
- preshared_key:
- type: string
- title: Pre-shared key
- comments:
- type: string
tags:
type: array
items:
@@ -107781,16 +106085,20 @@ components:
format: date-time
readOnly: true
nullable: true
+ cluster_count:
+ type: integer
+ format: int64
+ readOnly: true
required:
+ - cluster_count
- created
- display
- id
- last_updated
- - mode
- name
+ - slug
- url
- - version
- IKEPolicyRequest:
+ ClusterTypeRequest:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -107798,36 +106106,14 @@ components:
type: string
minLength: 1
maxLength: 100
+ slug:
+ type: string
+ minLength: 1
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
description:
type: string
maxLength: 200
- version:
- enum:
- - 1
- - 2
- type: integer
- description: '* `1` - IKEv1
-
- * `2` - IKEv2'
- x-spec-enum-id: 00872b77916a1fde
- 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:
type: array
items:
@@ -107836,12 +106122,14 @@ components:
type: object
additionalProperties: {}
required:
- - mode
- name
- - version
- IKEProposal:
+ - slug
+ ConfigContext:
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:
id:
type: integer
@@ -107856,224 +106144,84 @@ components:
name:
type: string
maxLength: 100
+ weight:
+ type: integer
+ maximum: 32767
+ minimum: 0
description:
type: string
maxLength: 200
- authentication_method:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - Pre-shared keys
- - Certificates
- - RSA signatures
- - DSA signatures
- encryption_algorithm:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - 128-bit AES (CBC)
- - 128-bit AES (GCM)
- - 192-bit AES (CBC)
- - 192-bit AES (GCM)
- - 256-bit AES (CBC)
- - 256-bit AES (GCM)
- - 3DES
- - DES
- authentication_algorithm:
- type: object
- properties:
- value:
- 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
- label:
- type: string
- enum:
- - SHA-1 HMAC
- - SHA-256 HMAC
- - SHA-384 HMAC
- - SHA-512 HMAC
- - MD5 HMAC
- group:
- type: object
- properties:
- value:
- 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
- description: '* `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'
- x-spec-enum-id: dbef43be795462a8
- label:
- type: string
- enum:
- - Group 1
- - Group 2
- - Group 5
- - Group 14
- - Group 15
- - Group 16
- - Group 17
- - Group 18
- - Group 19
- - Group 20
- - Group 21
- - Group 22
- - Group 23
- - Group 24
- - Group 25
- - Group 26
- - Group 27
- - Group 28
- - Group 29
- - Group 30
- - Group 31
- - Group 32
- - Group 33
- - Group 34
- sa_lifetime:
- type: integer
- maximum: 2147483647
- minimum: 0
- nullable: true
- description: Security association lifetime (in seconds)
- comments:
- type: string
+ is_active:
+ type: boolean
+ regions:
+ type: array
+ items:
+ $ref: '#/components/schemas/Region'
+ site_groups:
+ type: array
+ items:
+ $ref: '#/components/schemas/SiteGroup'
+ sites:
+ type: array
+ items:
+ $ref: '#/components/schemas/Site'
+ locations:
+ type: array
+ items:
+ $ref: '#/components/schemas/Location'
+ device_types:
+ type: array
+ items:
+ $ref: '#/components/schemas/DeviceType'
+ roles:
+ type: array
+ items:
+ $ref: '#/components/schemas/DeviceRole'
+ platforms:
+ type: array
+ items:
+ $ref: '#/components/schemas/Platform'
+ cluster_types:
+ type: array
+ items:
+ $ref: '#/components/schemas/ClusterType'
+ cluster_groups:
+ type: array
+ items:
+ $ref: '#/components/schemas/ClusterGroup'
+ clusters:
+ type: array
+ items:
+ $ref: '#/components/schemas/Cluster'
+ tenant_groups:
+ type: array
+ items:
+ $ref: '#/components/schemas/TenantGroup'
+ tenants:
+ type: array
+ items:
+ $ref: '#/components/schemas/Tenant'
tags:
type: array
items:
- $ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
+ type: string
+ data_source:
+ $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/BriefDataFile'
+ readOnly: true
+ data_synced:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ title: Date synced
+ data: {}
created:
type: string
format: date-time
@@ -108085,186 +106233,101 @@ components:
readOnly: true
nullable: true
required:
- - authentication_algorithm
- - authentication_method
- created
+ - data
+ - data_file
+ - data_path
+ - data_synced
- display
- - encryption_algorithm
- - group
- id
- last_updated
- name
- url
- IKEProposalRequest:
+ ConfigContextRequest:
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:
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
-
- * `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
- description: '* `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'
- x-spec-enum-id: dbef43be795462a8
- sa_lifetime:
+ weight:
type: integer
- maximum: 2147483647
+ maximum: 32767
minimum: 0
- nullable: true
- description: Security association lifetime (in seconds)
- comments:
+ description:
type: string
+ maxLength: 200
+ is_active:
+ type: boolean
+ regions:
+ type: array
+ items:
+ type: integer
+ site_groups:
+ type: array
+ items:
+ type: integer
+ sites:
+ type: array
+ items:
+ type: integer
+ locations:
+ type: array
+ items:
+ type: integer
+ device_types:
+ type: array
+ items:
+ type: integer
+ roles:
+ type: array
+ items:
+ type: integer
+ platforms:
+ type: array
+ items:
+ type: integer
+ cluster_types:
+ type: array
+ items:
+ type: integer
+ cluster_groups:
+ type: array
+ items:
+ type: integer
+ clusters:
+ type: array
+ items:
+ type: integer
+ tenant_groups:
+ type: array
+ items:
+ type: integer
+ tenants:
+ type: array
+ items:
+ type: integer
tags:
type: array
items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
+ type: string
+ minLength: 1
+ data_source:
+ $ref: '#/components/schemas/BriefDataSourceRequest'
+ data: {}
required:
- - authentication_algorithm
- - authentication_method
- - encryption_algorithm
- - group
+ - data
- name
- IPAddress:
+ ConfigTemplate:
type: object
- description: Adds support for custom fields and tags.
+ description: 'Introduces support for Tag assignment. Adds `tags` serialization,
+ and handles tag assignment
+
+ on create() and update().'
properties:
id:
type: integer
@@ -108276,131 +106339,38 @@ components:
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
- IPAddressRequest:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- address:
+ name:
type: string
- minLength: 1
+ maxLength: 100
description:
type: string
maxLength: 200
- required:
- - address
- IPRange:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- id:
- type: integer
- readOnly: true
- url:
+ environment_params:
+ nullable: true
+ title: Environment parameters
+ description: Any additional
+ parameters to pass when constructing the Jinja2 environment.
+ template_code:
type: string
- format: uri
- readOnly: true
- display:
+ description: Jinja2 template code.
+ data_source:
+ $ref: '#/components/schemas/BriefDataSource'
+ data_path:
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
- start_address:
- type: string
- end_address:
+ description: Path to remote file (relative to data source root)
+ data_file:
+ $ref: '#/components/schemas/BriefDataFile'
+ data_synced:
type: string
- size:
- type: integer
+ format: date-time
readOnly: true
- vrf:
- allOf:
- - $ref: '#/components/schemas/VRF'
- nullable: true
- tenant:
- allOf:
- - $ref: '#/components/schemas/Tenant'
- 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/Role'
nullable: true
- description:
- type: string
- maxLength: 200
- comments:
- type: string
+ title: Date synced
tags:
type: array
items:
$ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
created:
type: string
format: date-time
@@ -108411,72 +106381,49 @@ components:
format: date-time
readOnly: true
nullable: true
- mark_utilized:
- type: boolean
- description: Treat as fully utilized
required:
- created
+ - data_path
+ - data_synced
- display
- - end_address
- - family
- id
- last_updated
- - size
- - start_address
+ - name
+ - template_code
- url
- IPRangeRequest:
+ ConfigTemplateRequest:
type: object
- description: Adds support for custom fields and tags.
+ description: 'Introduces support for Tag assignment. Adds `tags` serialization,
+ and handles tag assignment
+
+ on create() and update().'
properties:
- start_address:
- type: string
- minLength: 1
- end_address:
+ name:
type: string
minLength: 1
- vrf:
- allOf:
- - $ref: '#/components/schemas/VRFRequest'
- nullable: true
- tenant:
- allOf:
- - $ref: '#/components/schemas/TenantRequest'
- 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/RoleRequest'
- nullable: true
+ maxLength: 100
description:
type: string
maxLength: 200
- comments:
+ 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'
- custom_fields:
- type: object
- additionalProperties: {}
- mark_utilized:
- type: boolean
- description: Treat as fully utilized
required:
- - end_address
- - start_address
- IPSecPolicy:
+ - name
+ - template_code
+ ConsolePort:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -108490,123 +106437,166 @@ components:
display:
type: string
readOnly: true
+ device:
+ $ref: '#/components/schemas/BriefDevice'
+ module:
+ allOf:
+ - $ref: '#/components/schemas/BriefModule'
+ nullable: true
name:
type: string
- maxLength: 100
- description:
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- proposals:
- type: array
- items:
- $ref: '#/components/schemas/IPSecProposal'
- pfs_group:
+ description: Physical label
+ maxLength: 64
+ type:
type: object
properties:
value:
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
- description: '* `1` - Group 1
-
- * `2` - Group 2
-
- * `5` - Group 5
+ - 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
- * `14` - Group 14
+ * `db-25` - DB-25
- * `15` - Group 15
+ * `rj-11` - RJ-11
- * `16` - Group 16
+ * `rj-12` - RJ-12
- * `17` - Group 17
+ * `rj-45` - RJ-45
- * `18` - Group 18
+ * `mini-din-8` - Mini-DIN 8
- * `19` - Group 19
+ * `usb-a` - USB Type A
- * `20` - Group 20
+ * `usb-b` - USB Type B
- * `21` - Group 21
+ * `usb-c` - USB Type C
- * `22` - Group 22
+ * `usb-mini-a` - USB Mini A
- * `23` - Group 23
+ * `usb-mini-b` - USB Mini B
- * `24` - Group 24
+ * `usb-micro-a` - USB Micro A
- * `25` - Group 25
+ * `usb-micro-b` - USB Micro B
- * `26` - Group 26
+ * `usb-micro-ab` - USB Micro AB
- * `27` - Group 27
+ * `other` - Other'
+ x-spec-enum-id: c5f7197b7211818a
+ label:
+ type: string
+ enum:
+ - DE-9
+ - DB-25
+ - RJ-11
+ - RJ-12
+ - RJ-45
+ - Mini-DIN 8
+ - 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
+ speed:
+ type: object
+ properties:
+ value:
+ enum:
+ - 1200
+ - 2400
+ - 4800
+ - 9600
+ - 19200
+ - 38400
+ - 57600
+ - 115200
+ type: integer
+ description: '* `1200` - 1200 bps
- * `28` - Group 28
+ * `2400` - 2400 bps
- * `29` - Group 29
+ * `4800` - 4800 bps
- * `30` - Group 30
+ * `9600` - 9600 bps
- * `31` - Group 31
+ * `19200` - 19.2 kbps
- * `32` - Group 32
+ * `38400` - 38.4 kbps
- * `33` - Group 33
+ * `57600` - 57.6 kbps
- * `34` - Group 34'
- x-spec-enum-id: dbef43be795462a8
+ * `115200` - 115.2 kbps'
+ x-spec-enum-id: ab6d9635c131a378
label:
type: string
enum:
- - Group 1
- - Group 2
- - Group 5
- - Group 14
- - Group 15
- - Group 16
- - Group 17
- - Group 18
- - Group 19
- - Group 20
- - Group 21
- - Group 22
- - Group 23
- - Group 24
- - Group 25
- - Group 26
- - Group 27
- - Group 28
- - Group 29
- - Group 30
- - Group 31
- - Group 32
- - Group 33
- - Group 34
- comments:
+ - 1200 bps
+ - 2400 bps
+ - 4800 bps
+ - 9600 bps
+ - 19.2 kbps
+ - 38.4 kbps
+ - 57.6 kbps
+ - 115.2 kbps
+ nullable: true
+ 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:
@@ -108624,105 +106614,127 @@ 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
+ - device
- display
- id
- last_updated
+ - link_peers
+ - link_peers_type
- name
- url
- IPSecPolicyRequest:
+ ConsolePortRequest:
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: 100
- description:
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- proposals:
- type: array
- items:
- type: integer
- pfs_group:
+ description: Physical label
+ maxLength: 64
+ type:
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
- description: '* `1` - Group 1
-
- * `2` - Group 2
-
- * `5` - Group 5
+ - 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
- * `14` - Group 14
+ * `db-25` - DB-25
- * `15` - Group 15
+ * `rj-11` - RJ-11
- * `16` - Group 16
+ * `rj-12` - RJ-12
- * `17` - Group 17
+ * `rj-45` - RJ-45
- * `18` - Group 18
+ * `mini-din-8` - Mini-DIN 8
- * `19` - Group 19
+ * `usb-a` - USB Type A
- * `20` - Group 20
+ * `usb-b` - USB Type B
- * `21` - Group 21
+ * `usb-c` - USB Type C
- * `22` - Group 22
+ * `usb-mini-a` - USB Mini A
- * `23` - Group 23
+ * `usb-mini-b` - USB Mini B
- * `24` - Group 24
+ * `usb-micro-a` - USB Micro A
- * `25` - Group 25
+ * `usb-micro-b` - USB Micro B
- * `26` - Group 26
+ * `usb-micro-ab` - USB Micro AB
- * `27` - Group 27
+ * `other` - Other'
+ x-spec-enum-id: c5f7197b7211818a
+ speed:
+ enum:
+ - 1200
+ - 2400
+ - 4800
+ - 9600
+ - 19200
+ - 38400
+ - 57600
+ - 115200
+ type: integer
+ description: '* `1200` - 1200 bps
- * `28` - Group 28
+ * `2400` - 2400 bps
- * `29` - Group 29
+ * `4800` - 4800 bps
- * `30` - Group 30
+ * `9600` - 9600 bps
- * `31` - Group 31
+ * `19200` - 19.2 kbps
- * `32` - Group 32
+ * `38400` - 38.4 kbps
- * `33` - Group 33
+ * `57600` - 57.6 kbps
- * `34` - Group 34'
- x-spec-enum-id: dbef43be795462a8
- comments:
+ * `115200` - 115.2 kbps'
+ x-spec-enum-id: ab6d9635c131a378
+ nullable: true
+ description:
type: string
+ maxLength: 200
+ mark_connected:
+ type: boolean
+ description: Treat as if a cable is connected
tags:
type: array
items:
@@ -108731,10 +106743,14 @@ components:
type: object
additionalProperties: {}
required:
+ - device
- name
- IPSecProfile:
+ ConsolePortTemplate:
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:
id:
type: integer
@@ -108746,42 +106762,96 @@ 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
- maxLength: 100
- description:
+ description: '{module} is accepted as a substitution for the module bay
+ position when attached to a module type.'
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- mode:
+ description: Physical label
+ maxLength: 64
+ type:
type: object
properties:
value:
enum:
- - esp
- - ah
+ - 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: '* `esp` - ESP
+ description: '* `de-9` - DE-9
- * `ah` - AH'
- x-spec-enum-id: 1136c2cdfee84436
+ * `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
label:
type: string
enum:
- - ESP
- - AH
- ike_policy:
- $ref: '#/components/schemas/IKEPolicy'
- ipsec_policy:
- $ref: '#/components/schemas/IPSecPolicy'
- comments:
+ - DE-9
+ - DB-25
+ - RJ-11
+ - RJ-12
+ - RJ-45
+ - Mini-DIN 8
+ - 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
+ description:
type: string
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
+ maxLength: 200
created:
type: string
format: date-time
@@ -108796,51 +106866,89 @@ components:
- created
- display
- id
- - ike_policy
- - ipsec_policy
- last_updated
- - mode
- name
- url
- IPSecProfileRequest:
+ ConsolePortTemplateRequest:
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_type:
+ allOf:
+ - $ref: '#/components/schemas/BriefDeviceTypeRequest'
+ nullable: true
+ module_type:
+ allOf:
+ - $ref: '#/components/schemas/BriefModuleTypeRequest'
+ nullable: true
name:
type: string
minLength: 1
- maxLength: 100
- description:
+ description: '{module} is accepted as a substitution for the module bay
+ position when attached to a module type.'
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- mode:
+ description: Physical label
+ maxLength: 64
+ type:
enum:
- - esp
- - ah
+ - 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: '* `esp` - ESP
+ description: '* `de-9` - DE-9
- * `ah` - AH'
- x-spec-enum-id: 1136c2cdfee84436
- ike_policy:
- $ref: '#/components/schemas/IKEPolicyRequest'
- ipsec_policy:
- $ref: '#/components/schemas/IPSecPolicyRequest'
- comments:
+ * `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
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTagRequest'
- custom_fields:
- type: object
- additionalProperties: {}
+ maxLength: 200
required:
- - ike_policy
- - ipsec_policy
- - mode
- name
- IPSecProposal:
+ ConsoleServerPort:
type: object
description: Adds support for custom fields and tags.
properties:
@@ -108854,98 +106962,166 @@ components:
display:
type: string
readOnly: true
+ device:
+ $ref: '#/components/schemas/BriefDevice'
+ module:
+ allOf:
+ - $ref: '#/components/schemas/BriefModule'
+ nullable: true
name:
type: string
- maxLength: 100
- description:
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- encryption_algorithm:
+ description: Physical label
+ maxLength: 64
+ type:
type: object
properties:
value:
enum:
- - aes-128-cbc
- - aes-128-gcm
- - aes-192-cbc
- - aes-192-gcm
- - aes-256-cbc
- - aes-256-gcm
- - 3des-cbc
- - des-cbc
+ - 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: '* `aes-128-cbc` - 128-bit AES (CBC)
+ description: '* `de-9` - DE-9
- * `aes-128-gcm` - 128-bit AES (GCM)
+ * `db-25` - DB-25
- * `aes-192-cbc` - 192-bit AES (CBC)
+ * `rj-11` - RJ-11
- * `aes-192-gcm` - 192-bit AES (GCM)
+ * `rj-12` - RJ-12
- * `aes-256-cbc` - 256-bit AES (CBC)
+ * `rj-45` - RJ-45
- * `aes-256-gcm` - 256-bit AES (GCM)
+ * `mini-din-8` - Mini-DIN 8
- * `3des-cbc` - 3DES
+ * `usb-a` - USB Type A
- * `des-cbc` - DES'
- x-spec-enum-id: b022535cfdee79fe
+ * `usb-b` - USB Type B
+
+ * `usb-c` - USB Type C
+
+ * `usb-mini-a` - USB Mini A
+
+ * `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
label:
type: string
enum:
- - 128-bit AES (CBC)
- - 128-bit AES (GCM)
- - 192-bit AES (CBC)
- - 192-bit AES (GCM)
- - 256-bit AES (CBC)
- - 256-bit AES (GCM)
- - 3DES
- - DES
- authentication_algorithm:
+ - DE-9
+ - DB-25
+ - RJ-11
+ - RJ-12
+ - RJ-45
+ - Mini-DIN 8
+ - 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
+ speed:
type: object
properties:
value:
enum:
- - hmac-sha1
- - hmac-sha256
- - hmac-sha384
- - hmac-sha512
- - hmac-md5
- type: string
- description: '* `hmac-sha1` - SHA-1 HMAC
+ - 1200
+ - 2400
+ - 4800
+ - 9600
+ - 19200
+ - 38400
+ - 57600
+ - 115200
+ type: integer
+ description: '* `1200` - 1200 bps
- * `hmac-sha256` - SHA-256 HMAC
+ * `2400` - 2400 bps
- * `hmac-sha384` - SHA-384 HMAC
+ * `4800` - 4800 bps
- * `hmac-sha512` - SHA-512 HMAC
+ * `9600` - 9600 bps
- * `hmac-md5` - MD5 HMAC'
- x-spec-enum-id: 0830e8839f5dea4f
+ * `19200` - 19.2 kbps
+
+ * `38400` - 38.4 kbps
+
+ * `57600` - 57.6 kbps
+
+ * `115200` - 115.2 kbps'
+ x-spec-enum-id: ab6d9635c131a378
label:
type: string
enum:
- - SHA-1 HMAC
- - SHA-256 HMAC
- - SHA-384 HMAC
- - SHA-512 HMAC
- - MD5 HMAC
- sa_lifetime_seconds:
- type: integer
- maximum: 2147483647
- minimum: 0
+ - 1200 bps
+ - 2400 bps
+ - 4800 bps
+ - 9600 bps
+ - 19.2 kbps
+ - 38.4 kbps
+ - 57.6 kbps
+ - 115.2 kbps
nullable: true
- title: SA lifetime (seconds)
- description: Security association lifetime (seconds)
- sa_lifetime_data:
- type: integer
- maximum: 2147483647
- minimum: 0
+ 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
- title: SA lifetime (KB)
- description: Security association lifetime (in kilobytes)
- comments:
+ 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:
@@ -108963,87 +107139,127 @@ components:
format: date-time
readOnly: true
nullable: true
+ _occupied:
+ type: boolean
+ readOnly: true
+ title: ' occupied'
required:
- - authentication_algorithm
+ - _occupied
+ - cable
+ - cable_end
+ - connected_endpoints
+ - connected_endpoints_reachable
+ - connected_endpoints_type
- created
+ - device
- display
- - encryption_algorithm
- id
- last_updated
+ - link_peers
+ - link_peers_type
- name
- url
- IPSecProposalRequest:
+ ConsoleServerPortRequest:
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: 100
- description:
+ maxLength: 64
+ label:
type: string
- maxLength: 200
- encryption_algorithm:
+ description: Physical label
+ maxLength: 64
+ type:
enum:
- - aes-128-cbc
- - aes-128-gcm
- - aes-192-cbc
- - aes-192-gcm
- - aes-256-cbc
- - aes-256-gcm
- - 3des-cbc
- - des-cbc
+ - 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: '* `aes-128-cbc` - 128-bit AES (CBC)
+ description: '* `de-9` - DE-9
- * `aes-128-gcm` - 128-bit AES (GCM)
+ * `db-25` - DB-25
- * `aes-192-cbc` - 192-bit AES (CBC)
+ * `rj-11` - RJ-11
- * `aes-192-gcm` - 192-bit AES (GCM)
+ * `rj-12` - RJ-12
- * `aes-256-cbc` - 256-bit AES (CBC)
+ * `rj-45` - RJ-45
- * `aes-256-gcm` - 256-bit AES (GCM)
+ * `mini-din-8` - Mini-DIN 8
- * `3des-cbc` - 3DES
+ * `usb-a` - USB Type A
- * `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
+ * `usb-b` - USB Type B
- * `hmac-sha256` - SHA-256 HMAC
+ * `usb-c` - USB Type C
- * `hmac-sha384` - SHA-384 HMAC
+ * `usb-mini-a` - USB Mini A
- * `hmac-sha512` - SHA-512 HMAC
+ * `usb-mini-b` - USB Mini B
- * `hmac-md5` - MD5 HMAC'
- x-spec-enum-id: 0830e8839f5dea4f
- sa_lifetime_seconds:
- type: integer
- maximum: 2147483647
- minimum: 0
- nullable: true
- title: SA lifetime (seconds)
- description: Security association lifetime (seconds)
- sa_lifetime_data:
+ * `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
+ speed:
+ enum:
+ - 1200
+ - 2400
+ - 4800
+ - 9600
+ - 19200
+ - 38400
+ - 57600
+ - 115200
type: integer
- maximum: 2147483647
- minimum: 0
+ description: '* `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'
+ x-spec-enum-id: ab6d9635c131a378
nullable: true
- title: SA lifetime (KB)
- description: Security association lifetime (in kilobytes)
- comments:
+ description:
type: string
+ maxLength: 200
+ mark_connected:
+ type: boolean
+ description: Treat as if a cable is connected
tags:
type: array
items:
@@ -109052,10 +107268,9 @@ components:
type: object
additionalProperties: {}
required:
- - authentication_algorithm
- - encryption_algorithm
+ - device
- name
- ImageAttachment:
+ ConsoleServerPortTemplate:
type: object
description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
on a copy of the associated instance during
@@ -109072,30 +107287,323 @@ components:
display:
type: string
readOnly: true
- object_type:
+ device_type:
+ allOf:
+ - $ref: '#/components/schemas/BriefDeviceType'
+ nullable: true
+ module_type:
+ allOf:
+ - $ref: '#/components/schemas/BriefModuleType'
+ nullable: true
+ name:
type: string
- object_id:
- type: integer
- maximum: 9223372036854775807
- minimum: 0
- format: int64
- parent:
+ 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:
+ - 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
+ label:
+ type: string
+ enum:
+ - DE-9
+ - DB-25
+ - RJ-11
+ - RJ-12
+ - RJ-45
+ - Mini-DIN 8
+ - 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
+ 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
+ - url
+ ConsoleServerPortTemplateRequest:
+ 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
+ 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
+ required:
+ - name
+ Contact:
+ 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
+ group:
+ allOf:
+ - $ref: '#/components/schemas/BriefContactGroup'
+ nullable: true
name:
+ type: string
+ maxLength: 100
+ title:
+ type: string
+ maxLength: 100
+ phone:
type: string
maxLength: 50
- image:
+ email:
+ type: string
+ format: email
+ maxLength: 254
+ address:
+ type: string
+ maxLength: 200
+ link:
type: string
format: uri
- image_height:
+ 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:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
type: integer
- maximum: 32767
- minimum: 0
- image_width:
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ object_id:
type: integer
- maximum: 32767
+ maximum: 9223372036854775807
minimum: 0
+ format: int64
+ object:
+ type: object
+ additionalProperties: {}
+ readOnly: true
+ contact:
+ $ref: '#/components/schemas/BriefContact'
+ role:
+ allOf:
+ - $ref: '#/components/schemas/BriefContactRole'
+ nullable: true
+ 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'
+ custom_fields:
+ type: object
+ additionalProperties: {}
created:
type: string
format: date-time
@@ -109107,23 +107615,18 @@ components:
readOnly: true
nullable: true
required:
+ - contact
- created
- display
- id
- - image
- - image_height
- - image_width
- last_updated
+ - object
- object_id
- object_type
- - parent
- url
- ImageAttachmentRequest:
+ ContactAssignmentRequest:
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
@@ -109132,29 +107635,42 @@ components:
maximum: 9223372036854775807
minimum: 0
format: int64
- name:
- type: string
- maxLength: 50
- image:
+ contact:
+ $ref: '#/components/schemas/BriefContactRequest'
+ role:
+ allOf:
+ - $ref: '#/components/schemas/BriefContactRoleRequest'
+ nullable: true
+ priority:
+ enum:
+ - primary
+ - secondary
+ - tertiary
+ - inactive
+ - ''
type: string
- format: binary
- image_height:
- type: integer
- maximum: 32767
- minimum: 0
- image_width:
- type: integer
- maximum: 32767
- minimum: 0
+ description: '* `primary` - Primary
+
+ * `secondary` - Secondary
+
+ * `tertiary` - Tertiary
+
+ * `inactive` - Inactive'
+ x-spec-enum-id: ef3a31644cec7524
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
required:
- - image
- - image_height
- - image_width
+ - contact
- object_id
- object_type
- Interface:
+ ContactGroup:
type: object
- description: Adds support for custom fields and tags.
+ description: Extends PrimaryModelSerializer to include MPTT support.
properties:
id:
type: integer
@@ -109166,371 +107682,6148 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
- vdcs:
+ name:
+ type: string
+ maxLength: 100
+ slug:
+ type: string
+ maxLength: 100
+ pattern: ^[-a-zA-Z0-9_]+$
+ parent:
+ allOf:
+ - $ref: '#/components/schemas/NestedContactGroup'
+ nullable: true
+ description:
+ type: string
+ maxLength: 200
+ tags:
type: array
items:
- $ref: '#/components/schemas/VirtualDeviceContext'
- module:
+ $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
+ contact_count:
+ type: integer
+ readOnly: true
+ default: 0
+ _depth:
+ type: integer
+ readOnly: true
+ title: ' depth'
+ required:
+ - _depth
+ - contact_count
+ - created
+ - display
+ - id
+ - last_updated
+ - name
+ - slug
+ - url
+ ContactGroupRequest:
+ 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:
+ allOf:
+ - $ref: '#/components/schemas/NestedContactGroupRequest'
+ nullable: true
+ description:
+ type: string
+ maxLength: 200
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - name
+ - slug
+ ContactRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ group:
allOf:
- - $ref: '#/components/schemas/Module'
+ - $ref: '#/components/schemas/BriefContactGroupRequest'
nullable: true
name:
type: string
- maxLength: 64
- label:
+ minLength: 1
+ maxLength: 100
+ title:
type: string
- description: Physical label
- maxLength: 64
- type:
+ 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
- properties:
- value:
- 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
- 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)
+ additionalProperties: {}
+ required:
+ - name
+ ContactRole:
+ 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
+ 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
+ ContactRoleRequest:
+ 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: {}
+ required:
+ - name
+ - slug
+ CustomField:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `400gbase-x-cfp2` - CFP2 (400GE)
+ 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_types:
+ type: array
+ items:
+ type: string
+ type:
+ type: object
+ properties:
+ value:
+ enum:
+ - text
+ - longtext
+ - integer
+ - decimal
+ - boolean
+ - date
+ - datetime
+ - url
+ - json
+ - select
+ - multiselect
+ - object
+ - multiobject
+ type: string
+ description: '* `text` - Text
- * `100gbase-x-cfp4` - CFP4 (100GE)
+ * `longtext` - Text (long)
- * `100gbase-x-cxp` - CXP (100GE)
+ * `integer` - Integer
- * `100gbase-x-cpak` - Cisco CPAK (100GE)
+ * `decimal` - Decimal
- * `100gbase-x-dsfp` - DSFP (100GE)
+ * `boolean` - Boolean (true/false)
- * `100gbase-x-sfpdd` - SFP-DD (100GE)
+ * `date` - Date
- * `100gbase-x-qsfp28` - QSFP28 (100GE)
+ * `datetime` - Date & time
- * `100gbase-x-qsfpdd` - QSFP-DD (100GE)
+ * `url` - URL
- * `200gbase-x-qsfp56` - QSFP56 (200GE)
+ * `json` - JSON
- * `200gbase-x-qsfpdd` - QSFP-DD (200GE)
+ * `select` - Selection
- * `400gbase-x-qsfp112` - QSFP112 (400GE)
+ * `multiselect` - Multiple selection
- * `400gbase-x-qsfpdd` - QSFP-DD (400GE)
+ * `object` - Object
- * `400gbase-x-osfp` - OSFP (400GE)
+ * `multiobject` - Multiple objects'
+ x-spec-enum-id: 22e3a64138d10046
+ label:
+ type: string
+ enum:
+ - Text
+ - Text (long)
+ - Integer
+ - Decimal
+ - Boolean (true/false)
+ - Date
+ - Date & time
+ - URL
+ - JSON
+ - Selection
+ - Multiple selection
+ - Object
+ - Multiple objects
+ related_object_type:
+ type: string
+ nullable: true
+ data_type:
+ type: string
+ readOnly: true
+ name:
+ type: string
+ 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:
+ type: object
+ properties:
+ value:
+ enum:
+ - disabled
+ - loose
+ - exact
+ type: string
+ description: '* `disabled` - Disabled
- * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)
+ * `loose` - Loose
- * `400gbase-x-cdfp` - CDFP (400GE)
+ * `exact` - Exact'
+ x-spec-enum-id: a958350ae21c10ee
+ label:
+ type: string
+ enum:
+ - Disabled
+ - Loose
+ - Exact
+ ui_visible:
+ type: object
+ properties:
+ value:
+ enum:
+ - always
+ - if-set
+ - hidden
+ type: string
+ description: '* `always` - Always
- * `400gbase-x-cfp8` - CPF8 (400GE)
+ * `if-set` - If set
- * `800gbase-x-qsfpdd` - QSFP-DD (800GE)
+ * `hidden` - Hidden'
+ x-spec-enum-id: cd2cf94af56de747
+ label:
+ type: string
+ enum:
+ - Always
+ - If set
+ - Hidden
+ ui_editable:
+ type: object
+ properties:
+ value:
+ enum:
+ - 'yes'
+ - 'no'
+ - hidden
+ type: string
+ description: '* `yes` - Yes
- * `800gbase-x-osfp` - OSFP (800GE)
+ * `no` - No
- * `1000base-kx` - 1000BASE-KX (1GE)
+ * `hidden` - Hidden'
+ x-spec-enum-id: 1065673147e26bb5
+ label:
+ type: string
+ enum:
+ - 'Yes'
+ - 'No'
+ - 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/BriefCustomFieldChoiceSet'
+ nullable: true
+ comments:
+ type: string
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ required:
+ - created
+ - data_type
+ - display
+ - id
+ - last_updated
+ - name
+ - object_types
+ - type
+ - url
+ CustomFieldChoiceSet:
+ 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:
+ 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
+ base_choices:
+ type: object
+ properties:
+ value:
+ enum:
+ - IATA
+ - ISO_3166
+ - UN_LOCODE
+ type: string
+ description: '* `IATA` - IATA (Airport codes)
- * `5gbase-kr` - 5GBASE-KR (5GE)
+ * `ISO_3166` - ISO 3166 (Country codes)
- * `10gbase-kr` - 10GBASE-KR (10GE)
+ * `UN_LOCODE` - UN/LOCODE (Location codes)'
+ x-spec-enum-id: cf0efb5195f85007
+ label:
+ type: string
+ enum:
+ - IATA (Airport codes)
+ - ISO 3166 (Country codes)
+ - 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
+ choices_count:
+ type: string
+ readOnly: true
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ required:
+ - choices_count
+ - created
+ - display
+ - extra_choices
+ - id
+ - last_updated
+ - name
+ - url
+ CustomFieldChoiceSetRequest:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `10gbase-kx4` - 10GBASE-KX4 (10GE)
+ 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
+ description: '* `IATA` - IATA (Airport codes)
- * `25gbase-kr` - 25GBASE-KR (25GE)
+ * `ISO_3166` - ISO 3166 (Country codes)
- * `40gbase-kr4` - 40GBASE-KR4 (40GE)
+ * `UN_LOCODE` - UN/LOCODE (Location codes)'
+ x-spec-enum-id: cf0efb5195f85007
+ extra_choices:
+ type: array
+ items:
+ type: array
+ items: {}
+ maxItems: 2
+ minItems: 2
+ order_alphabetically:
+ type: boolean
+ description: Choices are automatically ordered alphabetically
+ required:
+ - extra_choices
+ - name
+ CustomFieldRequest:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `50gbase-kr` - 50GBASE-KR (50GE)
+ 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
+ description: '* `text` - Text
- * `100gbase-kp4` - 100GBASE-KP4 (100GE)
+ * `longtext` - Text (long)
- * `100gbase-kr2` - 100GBASE-KR2 (100GE)
+ * `integer` - Integer
- * `100gbase-kr4` - 100GBASE-KR4 (100GE)
+ * `decimal` - Decimal
- * `ieee802.11a` - IEEE 802.11a
+ * `boolean` - Boolean (true/false)
- * `ieee802.11g` - IEEE 802.11b/g
+ * `date` - Date
- * `ieee802.11n` - IEEE 802.11n
+ * `datetime` - Date & time
- * `ieee802.11ac` - IEEE 802.11ac
+ * `url` - URL
- * `ieee802.11ad` - IEEE 802.11ad
+ * `json` - JSON
- * `ieee802.11ax` - IEEE 802.11ax
+ * `select` - Selection
- * `ieee802.11ay` - IEEE 802.11ay
+ * `multiselect` - Multiple selection
- * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
+ * `object` - Object
- * `other-wireless` - Other (Wireless)
+ * `multiobject` - Multiple objects'
+ x-spec-enum-id: 22e3a64138d10046
+ 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
+ description: '* `disabled` - Disabled
- * `gsm` - GSM
+ * `loose` - Loose
- * `cdma` - CDMA
+ * `exact` - Exact'
+ x-spec-enum-id: a958350ae21c10ee
+ ui_visible:
+ enum:
+ - always
+ - if-set
+ - hidden
+ type: string
+ description: '* `always` - Always
- * `lte` - LTE
+ * `if-set` - If set
- * `4g` - 4G
+ * `hidden` - Hidden'
+ x-spec-enum-id: cd2cf94af56de747
+ ui_editable:
+ enum:
+ - 'yes'
+ - 'no'
+ - hidden
+ type: string
+ description: '* `yes` - Yes
- * `5g` - 5G
+ * `no` - No
- * `sonet-oc3` - OC-3/STM-1
+ * `hidden` - Hidden'
+ x-spec-enum-id: 1065673147e26bb5
+ 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/BriefCustomFieldChoiceSetRequest'
+ nullable: true
+ comments:
+ type: string
+ required:
+ - name
+ - object_types
+ - type
+ CustomLink:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `sonet-oc12` - OC-12/STM-4
+ 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_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ maxLength: 100
+ enabled:
+ type: boolean
+ link_text:
+ type: string
+ description: Jinja2 template code for link text
+ link_url:
+ type: string
+ description: Jinja2 template code for link URL
+ weight:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ group_name:
+ type: string
+ description: Links with the same group will appear as a dropdown menu
+ maxLength: 50
+ button_class:
+ enum:
+ - default
+ - blue
+ - indigo
+ - purple
+ - pink
+ - red
+ - orange
+ - yellow
+ - green
+ - teal
+ - cyan
+ - gray
+ - black
+ - white
+ - ghost-dark
+ type: string
+ x-spec-enum-id: ee8e5bb1ccdcdb19
+ description: 'The class of the first link in a group will be used for the
+ dropdown button
- * `sonet-oc48` - OC-48/STM-16
- * `sonet-oc192` - OC-192/STM-64
+ * `default` - Default
- * `sonet-oc768` - OC-768/STM-256
+ * `blue` - Blue
- * `sonet-oc1920` - OC-1920/STM-640
+ * `indigo` - Indigo
- * `sonet-oc3840` - OC-3840/STM-1234
+ * `purple` - Purple
- * `1gfc-sfp` - SFP (1GFC)
+ * `pink` - Pink
- * `2gfc-sfp` - SFP (2GFC)
+ * `red` - Red
- * `4gfc-sfp` - SFP (4GFC)
+ * `orange` - Orange
- * `8gfc-sfpp` - SFP+ (8GFC)
+ * `yellow` - Yellow
- * `16gfc-sfpp` - SFP+ (16GFC)
+ * `green` - Green
- * `32gfc-sfp28` - SFP28 (32GFC)
+ * `teal` - Teal
- * `32gfc-sfpp` - SFP+ (32GFC)
+ * `cyan` - Cyan
- * `64gfc-qsfpp` - QSFP+ (64GFC)
+ * `gray` - Gray
- * `64gfc-sfpdd` - SFP-DD (64GFC)
+ * `black` - Black
- * `64gfc-sfpp` - SFP+ (64GFC)
+ * `white` - White
- * `128gfc-qsfp28` - QSFP28 (128GFC)
+ * `ghost-dark` - Link'
+ new_window:
+ type: boolean
+ description: Force link to open in a new window
+ 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
+ - link_text
+ - link_url
+ - name
+ - object_types
+ - url
+ CustomLinkRequest:
+ type: object
+ description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
+ on a copy of the associated instance during
- * `infiniband-sdr` - SDR (2 Gbps)
+ 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
+ enabled:
+ type: boolean
+ link_text:
+ type: string
+ minLength: 1
+ description: Jinja2 template code for link text
+ link_url:
+ type: string
+ minLength: 1
+ description: Jinja2 template code for link URL
+ weight:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ group_name:
+ type: string
+ description: Links with the same group will appear as a dropdown menu
+ maxLength: 50
+ button_class:
+ enum:
+ - default
+ - blue
+ - indigo
+ - purple
+ - pink
+ - red
+ - orange
+ - yellow
+ - green
+ - teal
+ - cyan
+ - gray
+ - black
+ - white
+ - ghost-dark
+ type: string
+ x-spec-enum-id: ee8e5bb1ccdcdb19
+ description: 'The class of the first link in a group will be used for the
+ dropdown button
- * `infiniband-ddr` - DDR (4 Gbps)
- * `infiniband-qdr` - QDR (8 Gbps)
+ * `default` - Default
- * `infiniband-fdr10` - FDR10 (10 Gbps)
+ * `blue` - Blue
- * `infiniband-fdr` - FDR (13.5 Gbps)
+ * `indigo` - Indigo
- * `infiniband-edr` - EDR (25 Gbps)
+ * `purple` - Purple
- * `infiniband-hdr` - HDR (50 Gbps)
+ * `pink` - Pink
- * `infiniband-ndr` - NDR (100 Gbps)
+ * `red` - Red
- * `infiniband-xdr` - XDR (250 Gbps)
+ * `orange` - Orange
- * `t1` - T1 (1.544 Mbps)
+ * `yellow` - Yellow
- * `e1` - E1 (2.048 Mbps)
+ * `green` - Green
- * `t3` - T3 (45 Mbps)
+ * `teal` - Teal
- * `e3` - E3 (34 Mbps)
+ * `cyan` - Cyan
- * `xdsl` - xDSL
+ * `gray` - Gray
- * `docsis` - DOCSIS
+ * `black` - Black
- * `bpon` - BPON (622 Mbps / 155 Mbps)
+ * `white` - White
- * `epon` - EPON (1 Gbps)
+ * `ghost-dark` - Link'
+ new_window:
+ type: boolean
+ description: Force link to open in a new window
+ required:
+ - link_text
+ - link_url
+ - name
+ - object_types
+ Dashboard:
+ type: object
+ properties:
+ layout: {}
+ config: {}
+ DashboardRequest:
+ type: object
+ properties:
+ layout: {}
+ config: {}
+ DataFile:
+ 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
+ source:
+ allOf:
+ - $ref: '#/components/schemas/BriefDataSource'
+ readOnly: true
+ path:
+ type: string
+ readOnly: true
+ description: File path relative to the data source's root
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ size:
+ type: integer
+ readOnly: true
+ hash:
+ type: string
+ readOnly: true
+ description: SHA256 hash of the file data
+ required:
+ - display
+ - hash
+ - id
+ - last_updated
+ - path
+ - size
+ - source
+ - url
+ DataSource:
+ 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
+ type:
+ type: object
+ properties:
+ value:
+ enum:
+ - local
+ - git
+ - amazon-s3
+ description: '* `None` - ---------
- * `10g-epon` - 10G-EPON (10 Gbps)
+ * `local` - Local
- * `gpon` - GPON (2.5 Gbps / 1.25 Gbps)
+ * `git` - Git
- * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)
+ * `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
- * `xgs-pon` - XGS-PON (10 Gbps)
+ * `queued` - Queued
- * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)
+ * `syncing` - Syncing
- * `25g-pon` - 25G-PON (25 Gbps)
+ * `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
+ 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: {}
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ file_count:
+ type: integer
+ format: int64
+ readOnly: true
+ required:
+ - created
+ - display
+ - file_count
+ - id
+ - last_updated
+ - name
+ - source_url
+ - status
+ - type
+ - url
+ DataSourceRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
+ type: string
+ minLength: 1
+ maxLength: 100
+ type:
+ enum:
+ - local
+ - git
+ - amazon-s3
+ description: '* `None` - ---------
+
+ * `local` - Local
+
+ * `git` - Git
+
+ * `amazon-s3` - Amazon S3'
+ x-spec-enum-id: 570db3f2d4e98ccf
+ 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: {}
+ required:
+ - name
+ - source_url
+ - type
+ Device:
+ 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
+ device_type:
+ $ref: '#/components/schemas/BriefDeviceType'
+ role:
+ $ref: '#/components/schemas/BriefDeviceRole'
+ tenant:
+ allOf:
+ - $ref: '#/components/schemas/BriefTenant'
+ nullable: true
+ platform:
+ allOf:
+ - $ref: '#/components/schemas/BriefPlatform'
+ 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/BriefSite'
+ location:
+ allOf:
+ - $ref: '#/components/schemas/BriefLocation'
+ nullable: true
+ rack:
+ allOf:
+ - $ref: '#/components/schemas/BriefRack'
+ nullable: true
+ position:
+ type: number
+ format: double
+ maximum: 1000
+ minimum: 0.5
+ exclusiveMaximum: true
+ nullable: true
+ title: Position (U)
+ face:
+ type: object
+ properties:
+ value:
+ enum:
+ - front
+ - rear
+ - ''
+ type: string
+ description: '* `front` - Front
+
+ * `rear` - Rear'
+ x-spec-enum-id: d2fb9b3f75158b83
+ label:
+ type: string
+ enum:
+ - Front
+ - Rear
+ 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)
+ parent_device:
+ allOf:
+ - $ref: '#/components/schemas/NestedDevice'
+ nullable: true
+ readOnly: true
+ status:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - Offline
+ - Active
+ - Planned
+ - Staged
+ - Failed
+ - Inventory
+ - Decommissioning
+ 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
+ primary_ip:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ readOnly: true
+ nullable: true
+ primary_ip4:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ primary_ip6:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ oob_ip:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ cluster:
+ allOf:
+ - $ref: '#/components/schemas/BriefCluster'
+ nullable: true
+ virtual_chassis:
+ allOf:
+ - $ref: '#/components/schemas/BriefVirtualChassis'
+ 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/BriefConfigTemplate'
+ 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/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
+ console_port_count:
+ type: integer
+ readOnly: true
+ console_server_port_count:
+ type: integer
+ readOnly: true
+ power_port_count:
+ type: integer
+ readOnly: true
+ power_outlet_count:
+ type: integer
+ readOnly: true
+ interface_count:
+ type: integer
+ readOnly: true
+ front_port_count:
+ type: integer
+ readOnly: true
+ rear_port_count:
+ type: integer
+ readOnly: true
+ device_bay_count:
+ type: integer
+ readOnly: true
+ module_bay_count:
+ type: integer
+ readOnly: true
+ inventory_item_count:
+ 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
+ DeviceBay:
+ 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
+ label:
+ type: string
+ description: Physical label
+ maxLength: 64
+ description:
+ type: string
+ maxLength: 200
+ installed_device:
+ allOf:
+ - $ref: '#/components/schemas/BriefDevice'
+ 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
+ - device
+ - display
+ - id
+ - last_updated
+ - name
+ - url
+ DeviceBayRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ 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: {}
+ required:
+ - device
+ - name
+ DeviceBayTemplate:
+ 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
+ device_type:
+ $ref: '#/components/schemas/BriefDeviceType'
+ 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
+ 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
+ - device_type
+ - display
+ - id
+ - last_updated
+ - name
+ - url
+ DeviceBayTemplateRequest:
+ 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
+ required:
+ - device_type
+ - name
+ DeviceRole:
+ 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_]+$
+ 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
+ readOnly: true
+ virtualmachine_count:
+ type: integer
+ format: int64
+ readOnly: true
+ required:
+ - created
+ - device_count
+ - display
+ - id
+ - last_updated
+ - name
+ - slug
+ - url
+ - virtualmachine_count
+ DeviceRoleRequest:
+ 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: {}
+ required:
+ - name
+ - slug
+ DeviceType:
+ 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'
+ default_platform:
+ allOf:
+ - $ref: '#/components/schemas/BriefPlatform'
+ nullable: true
+ model:
+ type: string
+ maxLength: 100
+ slug:
+ 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:
+ - console_port_template_count
+ - console_server_port_template_count
+ - created
+ - device_bay_template_count
+ - device_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:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ manufacturer:
+ $ref: '#/components/schemas/BriefManufacturerRequest'
+ default_platform:
+ allOf:
+ - $ref: '#/components/schemas/BriefPlatformRequest'
+ 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
+ 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
+ - slug
+ DeviceWithConfigContext:
+ 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
+ device_type:
+ $ref: '#/components/schemas/BriefDeviceType'
+ role:
+ $ref: '#/components/schemas/BriefDeviceRole'
+ tenant:
+ allOf:
+ - $ref: '#/components/schemas/BriefTenant'
+ nullable: true
+ platform:
+ allOf:
+ - $ref: '#/components/schemas/BriefPlatform'
+ 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/BriefSite'
+ location:
+ allOf:
+ - $ref: '#/components/schemas/BriefLocation'
+ nullable: true
+ rack:
+ allOf:
+ - $ref: '#/components/schemas/BriefRack'
+ nullable: true
+ position:
+ type: number
+ format: double
+ maximum: 1000
+ minimum: 0.5
+ exclusiveMaximum: true
+ nullable: true
+ title: Position (U)
+ face:
+ type: object
+ properties:
+ value:
+ enum:
+ - front
+ - rear
+ - ''
+ type: string
+ description: '* `front` - Front
+
+ * `rear` - Rear'
+ x-spec-enum-id: d2fb9b3f75158b83
+ label:
+ type: string
+ enum:
+ - Front
+ - Rear
+ 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)
+ parent_device:
+ allOf:
+ - $ref: '#/components/schemas/NestedDevice'
+ nullable: true
+ readOnly: true
+ status:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - Offline
+ - Active
+ - Planned
+ - Staged
+ - Failed
+ - Inventory
+ - Decommissioning
+ 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
+ primary_ip:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ readOnly: true
+ nullable: true
+ primary_ip4:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ primary_ip6:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ oob_ip:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPAddress'
+ nullable: true
+ cluster:
+ allOf:
+ - $ref: '#/components/schemas/BriefCluster'
+ nullable: true
+ virtual_chassis:
+ allOf:
+ - $ref: '#/components/schemas/BriefVirtualChassis'
+ 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/BriefConfigTemplate'
+ nullable: true
+ config_context:
+ nullable: true
+ readOnly: 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/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
+ console_port_count:
+ type: integer
+ readOnly: true
+ console_server_port_count:
+ type: integer
+ readOnly: true
+ power_port_count:
+ type: integer
+ readOnly: true
+ power_outlet_count:
+ type: integer
+ readOnly: true
+ interface_count:
+ type: integer
+ readOnly: true
+ front_port_count:
+ type: integer
+ readOnly: true
+ rear_port_count:
+ type: integer
+ readOnly: true
+ device_bay_count:
+ type: integer
+ readOnly: true
+ module_bay_count:
+ type: integer
+ readOnly: true
+ inventory_item_count:
+ type: integer
+ readOnly: true
+ required:
+ - config_context
+ - 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
+ DeviceWithConfigContextRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
+ type: string
+ 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
+ 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/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
+ 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:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - device_type
+ - role
+ - site
+ EventRule:
+ 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
+ object_types:
+ type: array
+ items:
+ type: string
+ 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
+ conditions:
+ nullable: true
+ description: A set of conditions which determine whether the event will
+ be generated.
+ action_type:
+ type: object
+ properties:
+ value:
+ enum:
+ - webhook
+ - script
+ type: string
+ description: '* `webhook` - Webhook
+
+ * `script` - Script'
+ x-spec-enum-id: a08300d86473de6e
+ label:
+ type: string
+ enum:
+ - Webhook
+ - Script
+ action_object_type:
+ type: string
+ action_object_id:
+ type: integer
+ maximum: 9223372036854775807
+ minimum: 0
+ format: int64
+ nullable: true
+ action_object:
+ type: object
+ additionalProperties: {}
+ readOnly: true
+ description:
+ type: string
+ maxLength: 200
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ 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:
+ - action_object
+ - action_object_type
+ - action_type
+ - created
+ - display
+ - id
+ - last_updated
+ - name
+ - object_types
+ - url
+ EventRuleRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ object_types:
+ 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
+ nullable: true
+ description:
+ type: string
+ maxLength: 200
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ required:
+ - action_object_type
+ - action_type
+ - name
+ - object_types
+ ExportTemplate:
+ 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_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ maxLength: 100
+ description:
+ type: string
+ maxLength: 200
+ template_code:
+ type: string
+ 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/BriefDataSource'
+ data_path:
+ type: string
+ readOnly: true
+ description: Path to remote file (relative to data source root)
+ data_file:
+ allOf:
+ - $ref: '#/components/schemas/BriefDataFile'
+ readOnly: true
+ data_synced:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ title: Date synced
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ required:
+ - created
+ - data_file
+ - data_path
+ - data_synced
+ - display
+ - id
+ - last_updated
+ - name
+ - object_types
+ - template_code
+ - url
+ ExportTemplateRequest:
+ 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'
+ required:
+ - name
+ - object_types
+ - template_code
+ FHRPGroup:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ id:
+ type: integer
+ readOnly: true
+ name:
+ type: string
+ maxLength: 100
+ 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
+ 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:
+ 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
+ group:
+ $ref: '#/components/schemas/BriefFHRPGroup'
+ interface_type:
+ type: string
+ interface_id:
+ type: integer
+ maximum: 9223372036854775807
+ minimum: 0
+ format: int64
+ interface:
+ nullable: true
+ readOnly: true
+ priority:
+ type: integer
+ maximum: 255
+ minimum: 0
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ required:
+ - created
+ - display
+ - group
+ - id
+ - interface
+ - interface_id
+ - interface_type
+ - last_updated
+ - priority
+ - url
+ FHRPGroupAssignmentRequest:
+ 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
+ required:
+ - group
+ - interface_id
+ - interface_type
+ - priority
+ FHRPGroupRequest:
+ 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: {}
+ required:
+ - group_id
+ - protocol
+ FrontPort:
+ 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:
+ allOf:
+ - $ref: '#/components/schemas/BriefModule'
+ nullable: true
+ name:
+ type: string
+ 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
+ - 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
+
+ * `other` - Other'
+ x-spec-enum-id: 0276d1110ada597a
+ 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
+ - Other
+ color:
+ type: string
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ rear_port:
+ $ref: '#/components/schemas/FrontPortRearPort'
+ 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
+ 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
+ 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
+ - created
+ - device
+ - display
+ - id
+ - last_updated
+ - link_peers
+ - link_peers_type
+ - name
+ - rear_port
+ - type
+ - url
+ FrontPortRearPort:
+ type: object
+ description: NestedRearPortSerializer but with parent device omitted (since
+ front and rear ports must belong to same device)
+ properties:
+ id:
+ type: integer
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ name:
+ type: string
+ maxLength: 64
+ label:
+ type: string
+ description: Physical label
+ maxLength: 64
+ description:
+ type: string
+ maxLength: 200
+ required:
+ - display
+ - id
+ - name
+ - url
+ FrontPortRearPortRequest:
+ type: object
+ description: NestedRearPortSerializer but with parent device omitted (since
+ front and rear ports must belong to same device)
+ properties:
+ name:
+ type: string
+ minLength: 1
+ maxLength: 64
+ label:
+ type: string
+ description: Physical label
+ maxLength: 64
+ description:
+ type: string
+ maxLength: 200
+ required:
+ - name
+ FrontPortRequest:
+ 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
+ - 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
+
+ * `other` - Other'
+ x-spec-enum-id: 0276d1110ada597a
+ color:
+ type: string
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ rear_port:
+ $ref: '#/components/schemas/FrontPortRearPortRequest'
+ 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: {}
+ required:
+ - device
+ - name
+ - rear_port
+ - type
+ FrontPortTemplate:
+ 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
+ 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
+ - 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
+
+ * `other` - Other'
+ x-spec-enum-id: 0276d1110ada597a
+ 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
+ - Other
+ color:
+ type: string
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ rear_port:
+ $ref: '#/components/schemas/BriefRearPortTemplate'
+ rear_port_position:
+ type: integer
+ maximum: 1024
+ minimum: 1
+ default: 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
+ - rear_port
+ - type
+ - url
+ FrontPortTemplateRequest:
+ 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
+ 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
+
+ * `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'
+ x-spec-enum-id: 0276d1110ada597a
+ color:
+ type: string
+ 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
+ required:
+ - 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
+ and PK.
+ properties:
+ object_type:
+ type: string
+ object_id:
+ type: integer
+ required:
+ - object_id
+ - object_type
+ Group:
+ 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: 150
+ description:
+ type: string
+ maxLength: 200
+ permissions:
+ type: array
+ items:
+ $ref: '#/components/schemas/ObjectPermission'
+ user_count:
+ type: integer
+ readOnly: true
+ required:
+ - display
+ - id
+ - name
+ - url
+ - user_count
+ GroupRequest:
+ 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
+ required:
+ - name
+ IKEPolicy:
+ 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
+ version:
+ type: object
+ properties:
+ value:
+ enum:
+ - 1
+ - 2
+ type: integer
+ description: '* `1` - IKEv1
+
+ * `2` - IKEv2'
+ x-spec-enum-id: 00872b77916a1fde
+ label:
+ type: string
+ enum:
+ - IKEv1
+ - IKEv2
+ mode:
+ type: object
+ properties:
+ value:
+ enum:
+ - aggressive
+ - main
+ type: string
+ description: '* `aggressive` - Aggressive
+
+ * `main` - Main'
+ x-spec-enum-id: 64c1be7bdb2548ca
+ label:
+ type: string
+ enum:
+ - Aggressive
+ - Main
+ proposals:
+ type: array
+ items:
+ $ref: '#/components/schemas/IKEProposal'
+ preshared_key:
+ type: string
+ title: Pre-shared key
+ 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
+ - version
+ IKEPolicyRequest:
+ 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
+
+ * `2` - IKEv2'
+ x-spec-enum-id: 00872b77916a1fde
+ 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:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - name
+ - version
+ IKEProposal:
+ 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
+ authentication_method:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - Pre-shared keys
+ - Certificates
+ - RSA signatures
+ - DSA signatures
+ encryption_algorithm:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - 128-bit AES (CBC)
+ - 128-bit AES (GCM)
+ - 192-bit AES (CBC)
+ - 192-bit AES (GCM)
+ - 256-bit AES (CBC)
+ - 256-bit AES (GCM)
+ - 3DES
+ - DES
+ authentication_algorithm:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - SHA-1 HMAC
+ - SHA-256 HMAC
+ - SHA-384 HMAC
+ - SHA-512 HMAC
+ - MD5 HMAC
+ group:
+ type: object
+ properties:
+ value:
+ 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
+ description: '* `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'
+ x-spec-enum-id: dbef43be795462a8
+ label:
+ type: string
+ enum:
+ - Group 1
+ - Group 2
+ - Group 5
+ - Group 14
+ - Group 15
+ - Group 16
+ - Group 17
+ - Group 18
+ - Group 19
+ - Group 20
+ - Group 21
+ - Group 22
+ - Group 23
+ - Group 24
+ - Group 25
+ - Group 26
+ - Group 27
+ - Group 28
+ - Group 29
+ - Group 30
+ - Group 31
+ - Group 32
+ - Group 33
+ - Group 34
+ sa_lifetime:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Security association lifetime (in seconds)
+ 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:
+ - authentication_method
+ - created
+ - display
+ - encryption_algorithm
+ - group
+ - id
+ - last_updated
+ - name
+ - url
+ IKEProposalRequest:
+ 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
+
+ * `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
+ description: '* `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'
+ x-spec-enum-id: dbef43be795462a8
+ sa_lifetime:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Security association lifetime (in seconds)
+ comments:
+ type: string
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - authentication_method
+ - encryption_algorithm
+ - group
+ - name
+ IPAddress:
+ 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
+ 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
+ description: Adds support for custom fields and tags.
+ properties:
+ 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:
+ 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
+ start_address:
+ type: string
+ end_address:
+ type: string
+ size:
+ type: integer
+ readOnly: true
+ 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
+ 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
+ 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
+ mark_utilized:
+ type: boolean
+ description: Treat as fully utilized
+ required:
+ - created
+ - display
+ - end_address
+ - family
+ - id
+ - last_updated
+ - size
+ - start_address
+ - url
+ IPRangeRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ start_address:
+ type: string
+ minLength: 1
+ end_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
+ 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: {}
+ mark_utilized:
+ type: boolean
+ description: Treat as fully utilized
+ required:
+ - end_address
+ - start_address
+ IPSecPolicy:
+ 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
+ proposals:
+ type: array
+ items:
+ $ref: '#/components/schemas/IPSecProposal'
+ pfs_group:
+ type: object
+ properties:
+ value:
+ 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
+ description: '* `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'
+ x-spec-enum-id: dbef43be795462a8
+ label:
+ type: string
+ enum:
+ - Group 1
+ - Group 2
+ - Group 5
+ - Group 14
+ - Group 15
+ - Group 16
+ - Group 17
+ - Group 18
+ - Group 19
+ - Group 20
+ - Group 21
+ - Group 22
+ - Group 23
+ - Group 24
+ - Group 25
+ - Group 26
+ - Group 27
+ - Group 28
+ - Group 29
+ - Group 30
+ - Group 31
+ - Group 32
+ - Group 33
+ - Group 34
+ 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
+ IPSecPolicyRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ name:
+ type: string
+ minLength: 1
+ maxLength: 100
+ description:
+ type: string
+ maxLength: 200
+ 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
+ description: '* `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'
+ x-spec-enum-id: dbef43be795462a8
+ comments:
+ type: string
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - name
+ IPSecProfile:
+ 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
+ mode:
+ type: object
+ properties:
+ value:
+ enum:
+ - esp
+ - ah
+ type: string
+ description: '* `esp` - ESP
+
+ * `ah` - AH'
+ x-spec-enum-id: 1136c2cdfee84436
+ label:
+ type: string
+ enum:
+ - ESP
+ - AH
+ ike_policy:
+ $ref: '#/components/schemas/BriefIKEPolicy'
+ ipsec_policy:
+ $ref: '#/components/schemas/BriefIPSecPolicy'
+ 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
+ - ike_policy
+ - ipsec_policy
+ - last_updated
+ - mode
+ - name
+ - url
+ IPSecProfileRequest:
+ 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
+
+ * `ah` - AH'
+ x-spec-enum-id: 1136c2cdfee84436
+ ike_policy:
+ $ref: '#/components/schemas/BriefIKEPolicyRequest'
+ ipsec_policy:
+ $ref: '#/components/schemas/BriefIPSecPolicyRequest'
+ comments:
+ type: string
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - ike_policy
+ - ipsec_policy
+ - mode
+ - name
+ IPSecProposal:
+ 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
+ encryption_algorithm:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - 128-bit AES (CBC)
+ - 128-bit AES (GCM)
+ - 192-bit AES (CBC)
+ - 192-bit AES (GCM)
+ - 256-bit AES (CBC)
+ - 256-bit AES (GCM)
+ - 3DES
+ - DES
+ authentication_algorithm:
+ type: object
+ properties:
+ value:
+ 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
+ label:
+ type: string
+ enum:
+ - SHA-1 HMAC
+ - SHA-256 HMAC
+ - SHA-384 HMAC
+ - SHA-512 HMAC
+ - MD5 HMAC
+ 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:
+ 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:
+ - authentication_algorithm
+ - created
+ - display
+ - encryption_algorithm
+ - id
+ - last_updated
+ - name
+ - url
+ IPSecProposalRequest:
+ 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)
+
+ * `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
+ 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:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - authentication_algorithm
+ - encryption_algorithm
+ - name
+ ImageAttachment:
+ 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
+ parent:
+ nullable: true
+ readOnly: true
+ name:
+ type: string
+ maxLength: 50
+ image:
+ type: string
+ format: uri
+ image_height:
+ type: integer
+ readOnly: true
+ image_width:
+ type: integer
+ readOnly: true
+ 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
+ - image
+ - image_height
+ - image_width
+ - last_updated
+ - object_id
+ - object_type
+ - parent
+ - url
+ ImageAttachmentRequest:
+ 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
+ required:
+ - image
+ - object_id
+ - object_type
+ Interface:
+ 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'
+ vdcs:
+ type: array
+ items:
+ $ref: '#/components/schemas/VirtualDeviceContext'
+ module:
+ allOf:
+ - $ref: '#/components/schemas/BriefModule'
+ nullable: true
+ name:
+ type: string
+ maxLength: 64
+ label:
+ type: string
+ description: Physical label
+ maxLength: 64
+ type:
+ type: object
+ properties:
+ value:
+ enum:
+ - virtual
+ - bridge
+ - lag
+ - 100base-fx
+ - 100base-lfx
+ - 100base-tx
+ - 100base-t1
+ - 1000base-t
+ - 1000base-tx
+ - 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.11be
+ - 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
+ 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)
+
+ * `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)
+
+ * `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)
+
+ * `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)
@@ -109563,7 +113856,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
label:
type: string
enum:
@@ -109575,6 +113868,7 @@ 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)
@@ -109628,6 +113922,7 @@ components:
- IEEE 802.11ad
- IEEE 802.11ax
- IEEE 802.11ay
+ - IEEE 802.11be
- IEEE 802.15.1 (Bluetooth)
- Other (Wireless)
- GSM
@@ -110679,7 +114974,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 +114985,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 +115004,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 +115083,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,6 +115110,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -110865,6 +115164,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -110946,6 +115246,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)
@@ -111052,6 +115354,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -111179,7 +115483,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
parent:
@@ -111916,7 +116220,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 +116235,7 @@ components:
type: integer
vrf:
allOf:
- - $ref: '#/components/schemas/VRFRequest'
+ - $ref: '#/components/schemas/BriefVRFRequest'
nullable: true
tags:
type: array
@@ -111963,11 +116267,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,6 +116295,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -112044,6 +116349,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -112125,6 +116431,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)
@@ -112231,6 +116539,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -112358,7 +116668,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
label:
type: string
enum:
@@ -112370,6 +116680,7 @@ 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)
@@ -112423,6 +116734,7 @@ components:
- IEEE 802.11ad
- IEEE 802.11ax
- IEEE 802.11ay
+ - IEEE 802.11be
- IEEE 802.15.1 (Bluetooth)
- Other (Wireless)
- GSM
@@ -112607,11 +116919,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,6 +116945,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -112686,6 +116999,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -112767,6 +117081,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)
@@ -112873,6 +117189,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -113000,7 +117318,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
mgmt_only:
@@ -113082,7 +117400,7 @@ components:
type: string
readOnly: true
device:
- $ref: '#/components/schemas/Device'
+ $ref: '#/components/schemas/BriefDevice'
parent:
type: integer
nullable: true
@@ -113095,11 +117413,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 +117486,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 +117500,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
@@ -113333,7 +117651,7 @@ components:
type: string
readOnly: true
device_type:
- $ref: '#/components/schemas/DeviceType'
+ $ref: '#/components/schemas/BriefDeviceType'
parent:
type: integer
nullable: true
@@ -113348,11 +117666,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 +117723,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 +117739,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
@@ -113529,7 +117847,7 @@ components:
nullable: true
user:
allOf:
- - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/BriefUser'
readOnly: true
data:
nullable: true
@@ -113550,13 +117868,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.
@@ -113765,12 +118076,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 +118176,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
@@ -113853,19 +118218,67 @@ components:
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
@@ -113888,23 +118301,91 @@ 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
+ - device_count
- display
- id
+ - last_updated
- name
- rack_count
+ - site
- slug
- url
LocationRequest:
@@ -113920,11 +118401,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
@@ -113950,15 +118471,44 @@ 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:
+ - created
- devicetype_count
- display
- id
+ - inventoryitem_count
+ - last_updated
- name
+ - platform_count
- slug
- url
ManufacturerRequest:
@@ -113977,6 +118527,13 @@ components:
description:
type: string
maxLength: 200
+ tags:
+ type: array
+ items:
+ $ref: '#/components/schemas/NestedTagRequest'
+ custom_fields:
+ type: object
+ additionalProperties: {}
required:
- name
- slug
@@ -113995,14 +118552,83 @@ components:
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
@@ -114019,13 +118645,13 @@ components:
type: string
readOnly: true
device:
- $ref: '#/components/schemas/Device'
+ $ref: '#/components/schemas/BriefDevice'
name:
type: string
maxLength: 64
installed_module:
allOf:
- - $ref: '#/components/schemas/Module'
+ - $ref: '#/components/schemas/BriefModule'
nullable: true
label:
type: string
@@ -114110,14 +118736,14 @@ components:
description: Adds support for custom fields and tags.
properties:
device:
- $ref: '#/components/schemas/DeviceRequest'
+ $ref: '#/components/schemas/BriefDeviceRequest'
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 +118784,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
@@ -114201,7 +118827,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
@@ -114227,12 +118853,57 @@ components:
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.
@@ -114248,16 +118919,76 @@ components:
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
+ 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 +118997,52 @@ 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
+ 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
@@ -114407,6 +119176,52 @@ 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:
+ 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,
@@ -114515,6 +119330,66 @@ 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:
+ 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,
@@ -114567,6 +119442,38 @@ components:
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:
+ 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,
@@ -114935,6 +119842,44 @@ 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:
+ 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,
@@ -115016,7 +119961,7 @@ components:
readOnly: true
user:
allOf:
- - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/BriefUser'
readOnly: true
user_name:
type: string
@@ -115061,11 +120006,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
@@ -117793,7 +122736,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 +122749,7 @@ components:
format: int64
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
description:
type: string
@@ -117830,11 +122773,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 +122806,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.
@@ -117892,7 +122835,7 @@ components:
description: Adds support for custom fields and tags.
properties:
circuit:
- $ref: '#/components/schemas/CircuitRequest'
+ $ref: '#/components/schemas/BriefCircuitRequest'
term_side:
enum:
- A
@@ -117905,11 +122848,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 +123038,7 @@ components:
type: string
minLength: 1
data_source:
- $ref: '#/components/schemas/DataSourceRequest'
+ $ref: '#/components/schemas/BriefDataSourceRequest'
data: {}
PatchedConfigTemplateRequest:
type: object
@@ -118121,7 +123064,7 @@ components:
minLength: 1
description: Jinja2 template code.
data_source:
- $ref: '#/components/schemas/DataSourceRequest'
+ $ref: '#/components/schemas/BriefDataSourceRequest'
tags:
type: array
items:
@@ -118132,7 +123075,7 @@ components:
properties:
group:
allOf:
- - $ref: '#/components/schemas/ContactGroupRequest'
+ - $ref: '#/components/schemas/BriefContactGroupRequest'
nullable: true
name:
type: string
@@ -118225,7 +123168,7 @@ components:
maxLength: 50
button_class:
enum:
- - outline-dark
+ - default
- blue
- indigo
- purple
@@ -118241,12 +123184,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
@@ -118288,7 +123231,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
@@ -118302,7 +123245,7 @@ components:
maxLength: 200
installed_device:
allOf:
- - $ref: '#/components/schemas/DeviceRequest'
+ - $ref: '#/components/schemas/BriefDeviceRequest'
nullable: true
tags:
type: array
@@ -118319,7 +123262,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
@@ -118356,7 +123299,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
@@ -118403,13 +123346,13 @@ components:
type: boolean
description: Download file as attachment
data_source:
- $ref: '#/components/schemas/DataSourceRequest'
+ $ref: '#/components/schemas/BriefDataSourceRequest'
PatchedFHRPGroupAssignmentRequest:
type: object
description: Adds support for custom fields and tags.
properties:
group:
- $ref: '#/components/schemas/FHRPGroupRequest'
+ $ref: '#/components/schemas/BriefFHRPGroupRequest'
interface_type:
type: string
interface_id:
@@ -118521,20 +123464,12 @@ components:
image:
type: string
format: binary
- image_height:
- type: integer
- maximum: 32767
- minimum: 0
- image_width:
- type: integer
- maximum: 32767
- minimum: 0
PatchedInventoryItemRequest:
type: object
description: Adds support for custom fields and tags.
properties:
device:
- $ref: '#/components/schemas/DeviceRequest'
+ $ref: '#/components/schemas/BriefDeviceRequest'
parent:
type: integer
nullable: true
@@ -118548,11 +123483,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
@@ -118625,7 +123560,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
@@ -118641,11 +123576,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
@@ -118668,7 +123603,7 @@ components:
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:
@@ -118711,14 +123646,14 @@ components:
description: Adds support for custom fields and tags.
properties:
device:
- $ref: '#/components/schemas/DeviceRequest'
+ $ref: '#/components/schemas/BriefDeviceRequest'
name:
type: string
minLength: 1
maxLength: 64
installed_module:
allOf:
- - $ref: '#/components/schemas/ModuleRequest'
+ - $ref: '#/components/schemas/BriefModuleRequest'
nullable: true
label:
type: string
@@ -118746,7 +123681,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
@@ -118818,11 +123753,11 @@ components:
pattern: ^[-a-zA-Z0-9_]+$
manufacturer:
allOf:
- - $ref: '#/components/schemas/ManufacturerRequest'
+ - $ref: '#/components/schemas/BriefManufacturerRequest'
nullable: true
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/BriefConfigTemplateRequest'
nullable: true
description:
type: string
@@ -118839,10 +123774,10 @@ components:
description: Adds support for custom fields and tags.
properties:
site:
- $ref: '#/components/schemas/SiteRequest'
+ $ref: '#/components/schemas/BriefSiteRequest'
location:
allOf:
- - $ref: '#/components/schemas/LocationRequest'
+ - $ref: '#/components/schemas/BriefLocationRequest'
nullable: true
name:
type: string
@@ -118865,7 +123800,7 @@ components:
description: Adds support for custom fields and tags.
properties:
provider:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: '#/components/schemas/BriefProviderRequest'
name:
type: string
default: ''
@@ -118892,7 +123827,7 @@ components:
description: Adds support for custom fields and tags.
properties:
provider:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: '#/components/schemas/BriefProviderRequest'
name:
type: string
minLength: 1
@@ -118978,7 +123913,7 @@ components:
description: Adds support for custom fields and tags.
properties:
rack:
- $ref: '#/components/schemas/RackRequest'
+ $ref: '#/components/schemas/BriefRackRequest'
units:
type: array
items:
@@ -118986,10 +123921,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
@@ -119070,7 +124005,7 @@ components:
maxLength: 21
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
description:
type: string
@@ -119162,7 +124097,7 @@ components:
pattern: ^[-a-zA-Z0-9_]+$
group:
allOf:
- - $ref: '#/components/schemas/TenantGroupRequest'
+ - $ref: '#/components/schemas/BriefTenantGroupRequest'
nullable: true
description:
type: string
@@ -119184,7 +124119,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
@@ -119337,7 +124272,7 @@ components:
maxLength: 21
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
enforce_unique:
type: boolean
@@ -119368,7 +124303,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
@@ -119473,10 +124408,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
@@ -119593,7 +124528,7 @@ components:
x-spec-enum-id: fbc2f302c08be50d
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
label:
type: string
@@ -119655,13 +124590,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
@@ -119685,7 +124620,7 @@ components:
x-spec-enum-id: 63c838134a022200
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
install_date:
type: string
@@ -119725,10 +124660,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:
@@ -119750,11 +124685,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
@@ -119773,10 +124708,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
@@ -119893,11 +124828,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
@@ -119966,10 +124901,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
@@ -120086,11 +125021,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
@@ -120166,10 +125101,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:
@@ -120431,7 +125366,7 @@ components:
maxLength: 500
choice_set:
allOf:
- - $ref: '#/components/schemas/CustomFieldChoiceSetRequest'
+ - $ref: '#/components/schemas/BriefCustomFieldChoiceSetRequest'
nullable: true
comments:
type: string
@@ -120472,10 +125407,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
@@ -120595,16 +125530,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
@@ -120617,14 +125552,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
@@ -120714,23 +125649,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
@@ -120750,7 +125685,7 @@ components:
type: string
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/BriefConfigTemplateRequest'
nullable: true
local_context_data:
nullable: true
@@ -120833,10 +125768,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
@@ -121024,11 +125959,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
@@ -121189,7 +126124,7 @@ components:
pattern: ^[0-9a-f]{6}$
maxLength: 6
rear_port:
- $ref: '#/components/schemas/RearPortTemplateRequest'
+ $ref: '#/components/schemas/BriefRearPortTemplateRequest'
rear_port_position:
type: integer
maximum: 1024
@@ -121422,11 +126357,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:
@@ -121523,11 +126458,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:
@@ -121546,7 +126481,7 @@ components:
* `deprecated` - Deprecated'
role:
allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ - $ref: '#/components/schemas/BriefRoleRequest'
nullable: true
description:
type: string
@@ -121689,9 +126624,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:
@@ -121789,14 +126724,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
@@ -121816,6 +126751,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -121869,6 +126805,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -121950,6 +126887,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)
@@ -122056,6 +126995,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -122183,7 +127124,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
parent:
@@ -122925,7 +127866,7 @@ components:
title: Transmit power (dBm)
untagged_vlan:
allOf:
- - $ref: '#/components/schemas/VLANRequest'
+ - $ref: '#/components/schemas/BriefVLANRequest'
nullable: true
tagged_vlans:
type: array
@@ -122940,7 +127881,7 @@ components:
type: integer
vrf:
allOf:
- - $ref: '#/components/schemas/VRFRequest'
+ - $ref: '#/components/schemas/BriefVRFRequest'
nullable: true
tags:
type: array
@@ -122958,11 +127899,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
@@ -122984,6 +127925,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -123037,6 +127979,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -123118,6 +128061,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)
@@ -123224,6 +128169,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -123351,7 +128298,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
mgmt_only:
@@ -123525,7 +128472,7 @@ components:
type: string
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
tags:
type: array
@@ -123548,7 +128495,7 @@ components:
maxLength: 100
pattern: ^[-a-zA-Z0-9_]+$
site:
- $ref: '#/components/schemas/SiteRequest'
+ $ref: '#/components/schemas/BriefSiteRequest'
parent:
type: integer
nullable: true
@@ -123572,7 +128519,7 @@ components:
x-spec-enum-id: e363a8ddb138be50
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
facility:
type: string
@@ -123593,11 +128540,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
@@ -123645,7 +128592,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
@@ -123695,10 +128642,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
@@ -123767,7 +128714,7 @@ components:
maxLength: 200
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
comments:
type: string
@@ -123783,10 +128730,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
@@ -124093,7 +129040,7 @@ components:
* `other` - Other'
power_port:
allOf:
- - $ref: '#/components/schemas/PowerPortRequest'
+ - $ref: '#/components/schemas/BriefPowerPortRequest'
nullable: true
feed_leg:
enum:
@@ -124133,11 +129080,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
@@ -124291,103 +129238,451 @@ components:
* `nbr-14136-20a` - 2P+T 20A (NBR 14136)
- * `nema-1-15r` - NEMA 1-15R
+ * `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'
+ x-spec-enum-id: 2ff919f516566857
+ power_port:
+ allOf:
+ - $ref: '#/components/schemas/BriefPowerPortTemplateRequest'
+ nullable: true
+ feed_leg:
+ enum:
+ - A
+ - B
+ - C
+ - ''
+ type: string
+ x-spec-enum-id: a4902339df0b7c06
+ description: 'Phase (for three-phase feeds)
+
+
+ * `A` - A
+
+ * `B` - B
+
+ * `C` - C'
+ description:
+ type: string
+ maxLength: 200
+ 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
+ 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
+
+ * `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-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-30r` - NEMA L22-30R
+ * `cs6365c` - CS6365C
- * `CS6360C` - CS6360C
+ * `cs8165c` - CS8165C
- * `CS6364C` - CS6364C
+ * `cs8265c` - CS8265C
- * `CS8164C` - CS8164C
+ * `cs8365c` - CS8365C
- * `CS8264C` - CS8264C
+ * `cs8465c` - CS8465C
- * `CS8364C` - CS8364C
+ * `ita-c` - ITA Type C (CEE 7/16)
- * `CS8464C` - CS8464C
+ * `ita-e` - ITA Type E (CEE 7/6)
- * `ita-e` - ITA Type E (CEE 7/5)
+ * `ita-f` - ITA Type F (CEE 7/4)
- * `ita-f` - ITA Type F (CEE 7/3)
+ * `ita-ef` - ITA Type E/F (CEE 7/7)
* `ita-g` - ITA Type G (BS 1363)
@@ -124407,14 +129702,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
@@ -124423,13 +129730,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
@@ -124440,43 +129745,51 @@ components:
* `hardwired` - Hardwired
* `other` - Other'
- x-spec-enum-id: 2ff919f516566857
- power_port:
- allOf:
- - $ref: '#/components/schemas/PowerPortTemplateRequest'
+ maximum_draw:
+ type: integer
+ maximum: 2147483647
+ minimum: 1
nullable: true
- feed_leg:
- enum:
- - A
- - B
- - C
- - ''
- type: string
- x-spec-enum-id: a4902339df0b7c06
- description: 'Phase (for three-phase feeds)
-
-
- * `A` - A
-
- * `B` - B
-
- * `C` - 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
- PatchedWritablePowerPortRequest:
+ 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: 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/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
@@ -124589,11 +129902,7 @@ components:
- other
- ''
type: string
- x-spec-enum-id: 6d680dea031864ae
- description: 'Physical port type
-
-
- * `iec-60320-c6` - C6
+ description: '* `iec-60320-c6` - C6
* `iec-60320-c8` - C8
@@ -124789,33 +130098,963 @@ components:
* `neutrik-powercon-32` - Neutrik powerCON (32A)
- * `neutrik-powercon-true1` - Neutrik powerCON TRUE1
+ * `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: 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/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:
+ - container
+ - active
+ - reserved
+ - deprecated
+ type: string
+ x-spec-enum-id: d38bee5f512701d9
+ description: 'Operational status of this prefix
+
+
+ * `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:
+ - 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
+ 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
+
+ * `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
+ 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
+ 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
+ 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/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
+ - 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
+
+ * `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
+ 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
+
+ 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
+ - 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
+
+ * `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/BriefDeviceRequest'
+ nullable: true
+ virtual_machine:
+ allOf:
+ - $ref: '#/components/schemas/BriefVirtualMachineRequest'
+ nullable: true
+ name:
+ type: string
+ minLength: 1
+ maxLength: 100
+ protocol:
+ enum:
+ - tcp
+ - udp
+ - sctp
+ type: string
+ description: '* `tcp` - TCP
+
+ * `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:
+ - tcp
+ - udp
+ - sctp
+ type: string
+ description: '* `tcp` - TCP
+
+ * `udp` - UDP
+
+ * `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
+
+ * `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: {}
+ 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
+
+ * `active` - Active
- * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP
+ * `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
- * `ubiquiti-smartpower` - Ubiquiti SmartPower
+ * `ipsec-tunnel` - IPsec - Tunnel
- * `hardwired` - Hardwired
+ * `ip-ip` - IP-in-IP
- * `other` - Other'
- maximum_draw:
- type: integer
- maximum: 2147483647
- minimum: 1
+ * `gre` - GRE'
+ x-spec-enum-id: 5fc36bb745852746
+ ipsec_profile:
+ allOf:
+ - $ref: '#/components/schemas/BriefIPSecProfileRequest'
nullable: true
- description: Maximum power draw (watts)
- allocated_draw:
+ tenant:
+ allOf:
+ - $ref: '#/components/schemas/BriefTenantRequest'
+ nullable: true
+ tunnel_id:
type: integer
- maximum: 2147483647
- minimum: 1
+ maximum: 9223372036854775807
+ minimum: 0
+ format: int64
nullable: true
- description: Allocated power draw (watts)
description:
type: string
maxLength: 200
- mark_connected:
- type: boolean
- description: Treat as if a cable is connected
+ comments:
+ type: string
tags:
type: array
items:
@@ -124823,598 +131062,896 @@ components:
custom_fields:
type: object
additionalProperties: {}
- PatchedWritablePowerPortTemplateRequest:
+ PatchedWritableTunnelTerminationRequest:
type: object
- description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
- on a copy of the associated instance during
+ description: Adds support for custom fields and tags.
+ properties:
+ tunnel:
+ $ref: '#/components/schemas/BriefTunnelRequest'
+ role:
+ enum:
+ - peer
+ - hub
+ - spoke
+ type: string
+ description: '* `peer` - Peer
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)'
+ * `hub` - Hub
+
+ * `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/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:
- device_type:
+ site:
allOf:
- - $ref: '#/components/schemas/DeviceTypeRequest'
+ - $ref: '#/components/schemas/BriefSiteRequest'
nullable: true
- module_type:
+ group:
allOf:
- - $ref: '#/components/schemas/ModuleTypeRequest'
+ - $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
- 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:
+ tenant:
+ allOf:
+ - $ref: '#/components/schemas/BriefTenantRequest'
+ nullable: true
+ status:
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
- - ''
+ - active
+ - reserved
+ - deprecated
type: string
- description: '* `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
+ x-spec-enum-id: 6388dfb94ca1cc15
+ description: 'Operational status of this VLAN
- * `cs8465c` - CS8465C
- * `ita-c` - ITA Type C (CEE 7/16)
+ * `active` - Active
- * `ita-e` - ITA Type E (CEE 7/6)
+ * `reserved` - Reserved
- * `ita-f` - ITA Type F (CEE 7/4)
+ * `deprecated` - Deprecated'
+ 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: {}
+ PatchedWritableVMInterfaceRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ virtual_machine:
+ $ref: '#/components/schemas/BriefVirtualMachineRequest'
+ 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
- * `ita-ef` - ITA Type E/F (CEE 7/7)
- * `ita-g` - ITA Type G (BS 1363)
+ * `access` - Access
- * `ita-h` - ITA Type H
+ * `tagged` - Tagged
- * `ita-i` - ITA Type I
+ * `tagged-all` - Tagged (All)'
+ untagged_vlan:
+ allOf:
+ - $ref: '#/components/schemas/BriefVLANRequest'
+ nullable: true
+ tagged_vlans:
+ type: array
+ items:
+ type: integer
+ vrf:
+ allOf:
+ - $ref: '#/components/schemas/BriefVRFRequest'
+ 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/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:
+ - active
+ - planned
+ - offline
+ type: string
+ description: '* `active` - Active
- * `ita-j` - ITA Type J
+ * `planned` - Planned
- * `ita-k` - ITA Type K
+ * `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
- * `ita-l` - ITA Type L (CEI 23-50)
+ * `active` - Active
- * `ita-m` - ITA Type M (BS 546)
+ * `planned` - Planned
- * `ita-n` - ITA Type N
+ * `staged` - Staged
- * `ita-o` - ITA Type O
+ * `failed` - Failed
- * `usb-a` - USB Type A
+ * `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
+ role:
+ allOf:
+ - $ref: '#/components/schemas/BriefDeviceRoleRequest'
+ nullable: true
+ 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 (GB)
+ 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:
+ $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/BriefWirelessLANGroupRequest'
+ nullable: true
+ status:
+ enum:
+ - active
+ - reserved
+ - disabled
+ - deprecated
+ type: string
+ description: '* `active` - Active
- * `usb-b` - USB Type B
+ * `reserved` - Reserved
- * `usb-c` - USB Type C
+ * `disabled` - Disabled
- * `usb-mini-a` - USB Mini A
+ * `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:
+ - open
+ - wep
+ - wpa-personal
+ - wpa-enterprise
+ - ''
+ type: string
+ description: '* `open` - Open
- * `usb-mini-b` - USB Mini B
+ * `wep` - WEP
- * `usb-micro-a` - USB Micro A
+ * `wpa-personal` - WPA Personal (PSK)
- * `usb-micro-b` - USB Micro B
+ * `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-ab` - USB Micro AB
+ * `tkip` - TKIP
- * `usb-3-b` - USB 3.0 Type B
+ * `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/BriefInterfaceRequest'
+ interface_b:
+ $ref: '#/components/schemas/BriefInterfaceRequest'
+ ssid:
+ type: string
+ maxLength: 32
+ status:
+ enum:
+ - connected
+ - planned
+ - decommissioning
+ type: string
+ description: '* `connected` - Connected
- * `usb-3-micro-b` - USB 3.0 Micro B
+ * `planned` - Planned
- * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2
+ * `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
- * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2
+ * `wep` - WEP
- * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4
+ * `wpa-personal` - WPA Personal (PSK)
- * `dc-terminal` - DC Terminal
+ * `wpa-enterprise` - WPA Enterprise'
+ x-spec-enum-id: a2043acb899b3954
+ title: Authentication type
+ auth_cipher:
+ enum:
+ - auto
+ - tkip
+ - aes
+ - ''
+ type: string
+ description: '* `auto` - Auto
- * `saf-d-grid` - Saf-D-Grid
+ * `tkip` - TKIP
- * `neutrik-powercon-20` - Neutrik powerCON (20A)
+ * `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_]+$
+ manufacturer:
+ allOf:
+ - $ref: '#/components/schemas/BriefManufacturer'
+ nullable: true
+ 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
+ readOnly: true
+ virtualmachine_count:
+ type: integer
+ format: int64
+ readOnly: true
+ required:
+ - created
+ - device_count
+ - display
+ - id
+ - last_updated
+ - 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:
+ 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:
+ 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-32` - 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: 6d680dea031864ae
- maximum_draw:
+ * `three-phase` - Three-phase'
+ x-spec-enum-id: 994bc0696f4df57f
+ label:
+ type: string
+ enum:
+ - Single phase
+ - Three-phase
+ voltage:
type: integer
- maximum: 2147483647
+ maximum: 32767
+ minimum: -32768
+ amperage:
+ type: integer
+ maximum: 32767
minimum: 1
- nullable: true
- description: Maximum power draw (watts)
- allocated_draw:
+ max_utilization:
type: integer
- maximum: 2147483647
+ 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/BriefCable'
+ readOnly: true
nullable: true
- description: Allocated power draw (watts)
- description:
+ cable_end:
type: string
- maxLength: 200
- PatchedWritablePrefixRequest:
- type: object
- description: Adds support for custom fields and tags.
- properties:
- prefix:
+ readOnly: true
+ link_peers:
+ type: array
+ items: {}
+ readOnly: true
+ link_peers_type:
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'
+ description: Return the type of the peer link terminations, or None.
+ readOnly: true
nullable: true
- vlan:
- allOf:
- - $ref: '#/components/schemas/VLANRequest'
+ connected_endpoints:
+ type: array
+ items: {}
nullable: true
- status:
- enum:
- - container
- - active
- - reserved
- - deprecated
+ readOnly: true
+ connected_endpoints_type:
type: string
- x-spec-enum-id: d38bee5f512701d9
- description: 'Operational status of this prefix
-
-
- * `container` - Container
-
- * `active` - Active
-
- * `reserved` - Reserved
-
- * `deprecated` - Deprecated'
- role:
- allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ readOnly: true
nullable: true
- is_pool:
- type: boolean
- title: Is a pool
- description: All IP addresses within this prefix are considered usable
- mark_utilized:
+ connected_endpoints_reachable:
type: boolean
- description: Treat as fully utilized
+ 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/NestedTagRequest'
+ $ref: '#/components/schemas/NestedTag'
custom_fields:
type: object
additionalProperties: {}
- PatchedWritableRackRequest:
+ 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
- facility_id:
- type: string
- nullable: true
- maxLength: 50
- site:
- $ref: '#/components/schemas/SiteRequest'
- location:
- allOf:
- - $ref: '#/components/schemas/LocationRequest'
- nullable: true
- tenant:
- allOf:
- - $ref: '#/components/schemas/TenantRequest'
- nullable: true
status:
enum:
- - reserved
- - available
- - planned
+ - offline
- active
- - deprecated
+ - planned
+ - failed
type: string
- description: '* `reserved` - Reserved
+ description: '* `offline` - Offline
- * `available` - Available
+ * `active` - Active
* `planned` - Planned
- * `active` - Active
-
- * `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
+ * `failed` - Failed'
+ x-spec-enum-id: b77fc919138c12f6
type:
enum:
- - 2-post-frame
- - 4-post-frame
- - 4-post-cabinet
- - wall-frame
- - wall-frame-vertical
- - wall-cabinet
- - wall-cabinet-vertical
- - ''
+ - primary
+ - redundant
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
+ description: '* `primary` - Primary
- * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)'
- x-spec-enum-id: e32aaa89a223f2ea
- width:
+ * `redundant` - Redundant'
+ x-spec-enum-id: 093a164236819eb8
+ supply:
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
+ - ac
+ - dc
+ type: string
+ description: '* `ac` - AC
- * `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:
+ * `dc` - DC'
+ x-spec-enum-id: 1b6d99616ca6412b
+ phase:
enum:
- - kg
- - g
- - lb
- - oz
- - ''
+ - single-phase
+ - three-phase
type: string
- description: '* `kg` - Kilograms
-
- * `g` - Grams
-
- * `lb` - Pounds
+ description: '* `single-phase` - Single phase
- * `oz` - Ounces'
- x-spec-enum-id: 7c1876f422815884
- desc_units:
- type: boolean
- title: Descending units
- description: Units are numbered top-to-bottom
- outer_width:
+ * `three-phase` - Three-phase'
+ x-spec-enum-id: 994bc0696f4df57f
+ voltage:
type: integer
maximum: 32767
- minimum: 0
- nullable: true
- description: Outer dimension of rack (width)
- outer_depth:
+ minimum: -32768
+ amperage:
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
- mounting_depth:
+ minimum: 1
+ max_utilization:
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.
+ 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/BriefTenantRequest'
+ nullable: true
comments:
type: string
tags:
@@ -125424,210 +131961,543 @@ components:
custom_fields:
type: object
additionalProperties: {}
- PatchedWritableRearPortRequest:
+ 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:
+ 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:
- - 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
+ 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-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
+ - ''
+ type: string
+ description: '* `iec-60320-c5` - C5
- * `8p6c` - 8P6C
+ * `iec-60320-c7` - C7
- * `8p4c` - 8P4C
+ * `iec-60320-c13` - C13
- * `8p2c` - 8P2C
+ * `iec-60320-c15` - C15
- * `6p6c` - 6P6C
+ * `iec-60320-c19` - C19
- * `6p4c` - 6P4C
+ * `iec-60320-c21` - C21
- * `6p2c` - 6P2C
+ * `iec-60309-p-n-e-4h` - P+N+E 4H
- * `4p4c` - 4P4C
+ * `iec-60309-p-n-e-6h` - P+N+E 6H
- * `4p2c` - 4P2C
+ * `iec-60309-p-n-e-9h` - P+N+E 9H
- * `gg45` - GG45
+ * `iec-60309-2p-e-4h` - 2P+E 4H
- * `tera-4p` - TERA 4P
+ * `iec-60309-2p-e-6h` - 2P+E 6H
- * `tera-2p` - TERA 2P
+ * `iec-60309-2p-e-9h` - 2P+E 9H
- * `tera-1p` - TERA 1P
+ * `iec-60309-3p-e-4h` - 3P+E 4H
- * `110-punch` - 110 Punch
+ * `iec-60309-3p-e-6h` - 3P+E 6H
- * `bnc` - BNC
+ * `iec-60309-3p-e-9h` - 3P+E 9H
- * `f` - F Connector
+ * `iec-60309-3p-n-e-4h` - 3P+N+E 4H
- * `n` - N Connector
+ * `iec-60309-3p-n-e-6h` - 3P+N+E 6H
- * `mrj21` - MRJ21
+ * `iec-60309-3p-n-e-9h` - 3P+N+E 9H
- * `fc` - FC
+ * `iec-60906-1` - IEC 60906-1
- * `lc` - LC
+ * `nbr-14136-10a` - 2P+T 10A (NBR 14136)
- * `lc-pc` - LC/PC
+ * `nbr-14136-20a` - 2P+T 20A (NBR 14136)
- * `lc-upc` - LC/UPC
+ * `nema-1-15r` - NEMA 1-15R
- * `lc-apc` - LC/APC
+ * `nema-5-15r` - NEMA 5-15R
- * `lsh` - LSH
+ * `nema-5-20r` - NEMA 5-20R
- * `lsh-pc` - LSH/PC
+ * `nema-5-30r` - NEMA 5-30R
- * `lsh-upc` - LSH/UPC
+ * `nema-5-50r` - NEMA 5-50R
- * `lsh-apc` - LSH/APC
+ * `nema-6-15r` - NEMA 6-15R
- * `lx5` - LX.5
+ * `nema-6-20r` - NEMA 6-20R
- * `lx5-pc` - LX.5/PC
+ * `nema-6-30r` - NEMA 6-30R
- * `lx5-upc` - LX.5/UPC
+ * `nema-6-50r` - NEMA 6-50R
- * `lx5-apc` - LX.5/APC
+ * `nema-10-30r` - NEMA 10-30R
- * `mpo` - MPO
+ * `nema-10-50r` - NEMA 10-50R
- * `mtrj` - MTRJ
+ * `nema-14-20r` - NEMA 14-20R
- * `sc` - SC
+ * `nema-14-30r` - NEMA 14-30R
- * `sc-pc` - SC/PC
+ * `nema-14-50r` - NEMA 14-50R
- * `sc-upc` - SC/UPC
+ * `nema-14-60r` - NEMA 14-60R
- * `sc-apc` - SC/APC
+ * `nema-15-15r` - NEMA 15-15R
- * `st` - ST
+ * `nema-15-20r` - NEMA 15-20R
- * `cs` - CS
+ * `nema-15-30r` - NEMA 15-30R
- * `sn` - SN
+ * `nema-15-50r` - NEMA 15-50R
- * `sma-905` - SMA 905
+ * `nema-15-60r` - NEMA 15-60R
- * `sma-906` - SMA 906
+ * `nema-l1-15r` - NEMA L1-15R
- * `urm-p2` - URM-P2
+ * `nema-l5-15r` - NEMA L5-15R
- * `urm-p4` - URM-P4
+ * `nema-l5-20r` - NEMA L5-20R
- * `urm-p8` - URM-P8
+ * `nema-l5-30r` - NEMA L5-30R
- * `splice` - Splice
+ * `nema-l5-50r` - NEMA L5-50R
- * `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
+ * `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'
+ 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)
+ - 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
+ - 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
+
+ * `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
+ 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: {}
- PatchedWritableRearPortTemplateRequest:
+ 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
@@ -125635,1332 +132505,321 @@ 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
- - other
- type: string
- description: '* `8p8c` - 8P8C
-
- * `8p6c` - 8P6C
-
- * `8p4c` - 8P4C
-
- * `8p2c` - 8P2C
-
- * `6p6c` - 6P6C
-
- * `6p4c` - 6P4C
-
- * `6p2c` - 6P2C
-
- * `4p4c` - 4P4C
+ - 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
+ - ''
+ type: string
+ 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-30r` - NEMA L22-30R
- * `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
+ * `CS6360C` - CS6360C
- * `planned` - Planned
+ * `CS6364C` - CS6364C
- * `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
+ * `CS8164C` - CS8164C
- * `active` - Active
+ * `CS8264C` - CS8264C
- * `planned` - Planned
+ * `CS8364C` - CS8364C
- * `staged` - Staged
+ * `CS8464C` - CS8464C
- * `failed` - Failed
+ * `ita-e` - ITA Type E (CEE 7/5)
- * `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-f` - ITA Type F (CEE 7/3)
- * `reserved` - Reserved
+ * `ita-g` - ITA Type G (BS 1363)
- * `disabled` - Disabled
+ * `ita-h` - ITA Type H
- * `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-i` - ITA Type I
- * `wep` - WEP
+ * `ita-j` - ITA Type J
- * `wpa-personal` - WPA Personal (PSK)
+ * `ita-k` - ITA Type K
- * `wpa-enterprise` - WPA Enterprise'
- x-spec-enum-id: a2043acb899b3954
- title: Authentication type
- auth_cipher:
- enum:
- - auto
- - tkip
- - aes
- - ''
- type: string
- description: '* `auto` - Auto
+ * `ita-l` - ITA Type L (CEI 23-50)
- * `tkip` - TKIP
+ * `ita-m` - ITA Type M (BS 546)
- * `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-n` - ITA Type N
- * `planned` - Planned
+ * `ita-o` - ITA Type O
- * `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-multistandard` - ITA Multistandard
- * `wep` - WEP
+ * `usb-a` - USB Type A
- * `wpa-personal` - WPA Personal (PSK)
+ * `usb-micro-b` - USB Micro B
- * `wpa-enterprise` - WPA Enterprise'
- x-spec-enum-id: a2043acb899b3954
- title: Authentication type
- auth_cipher:
- enum:
- - auto
- - tkip
- - aes
- - ''
- type: string
- description: '* `auto` - Auto
+ * `usb-c` - USB Type C
- * `tkip` - TKIP
+ * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2
- * `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:
- type: string
- minLength: 1
- maxLength: 100
- pattern: ^[-a-zA-Z0-9_]+$
- description:
- type: string
- maxLength: 200
- 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:
- type: string
- readOnly: true
- power_panel:
- $ref: '#/components/schemas/PowerPanel'
- rack:
- allOf:
- - $ref: '#/components/schemas/Rack'
- nullable: true
- name:
- type: string
- maxLength: 100
- status:
- type: object
- properties:
- value:
- enum:
- - offline
- - active
- - planned
- - failed
- type: string
- description: '* `offline` - Offline
+ * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2
- * `active` - Active
+ * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4
- * `planned` - Planned
+ * `dc-terminal` - DC Terminal
- * `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
+ * `hdot-cx` - HDOT Cx
- * `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
+ * `saf-d-grid` - Saf-D-Grid
- * `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
+ * `neutrik-powercon-20a` - Neutrik powerCON (20A)
- * `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:
- 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/PowerPanelRequest'
- rack:
- allOf:
- - $ref: '#/components/schemas/RackRequest'
- nullable: true
- name:
- type: string
- minLength: 1
- maxLength: 100
- status:
- 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
- type:
- enum:
- - primary
- - redundant
- type: string
- description: '* `primary` - Primary
+ * `ubiquiti-smartpower` - Ubiquiti SmartPower
- * `redundant` - Redundant'
- x-spec-enum-id: 093a164236819eb8
- supply:
- enum:
- - ac
- - dc
- type: string
- description: '* `ac` - AC
+ * `hardwired` - Hardwired
- * `dc` - DC'
- x-spec-enum-id: 1b6d99616ca6412b
- phase:
+ * `other` - Other'
+ x-spec-enum-id: 2ff919f516566857
+ nullable: true
+ power_port:
+ allOf:
+ - $ref: '#/components/schemas/BriefPowerPortRequest'
+ nullable: true
+ feed_leg:
enum:
- - single-phase
- - three-phase
+ - A
+ - B
+ - C
+ - ''
type: string
- description: '* `single-phase` - Single phase
+ description: '* `A` - A
- * `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
+ * `B` - B
+
+ * `C` - C'
+ x-spec-enum-id: a4902339df0b7c06
+ nullable: true
description:
type: string
maxLength: 200
- tenant:
- allOf:
- - $ref: '#/components/schemas/TenantRequest'
- nullable: true
- comments:
- type: string
+ mark_connected:
+ type: boolean
+ description: Treat as if a cable is connected
tags:
type: array
items:
@@ -126969,11 +132828,14 @@ components:
type: object
additionalProperties: {}
required:
+ - device
- name
- - power_panel
- PowerOutlet:
+ 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:
id:
type: integer
@@ -126985,14 +132847,18 @@ components:
display:
type: string
readOnly: true
- device:
- $ref: '#/components/schemas/Device'
- module:
+ device_type:
allOf:
- - $ref: '#/components/schemas/Module'
+ - $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
@@ -127296,12 +133162,930 @@ components:
label:
type: string
enum:
- - C5
- - C7
- - C13
- - C15
- - C19
- - C21
+ - 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)
+ - 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
+ - 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
+ 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
+
+ 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-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
+ - ''
+ 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)
+
+ * `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: 2ff919f516566857
+ nullable: true
+ power_port:
+ allOf:
+ - $ref: '#/components/schemas/BriefPowerPortTemplateRequest'
+ nullable: true
+ feed_leg:
+ enum:
+ - A
+ - B
+ - C
+ - ''
+ type: string
+ description: '* `A` - A
+
+ * `B` - B
+
+ * `C` - C'
+ x-spec-enum-id: a4902339df0b7c06
+ 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
+ site:
+ $ref: '#/components/schemas/BriefSite'
+ location:
+ allOf:
+ - $ref: '#/components/schemas/BriefLocation'
+ nullable: true
+ name:
+ 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: {}
+ powerfeed_count:
+ type: integer
+ format: int64
+ readOnly: true
+ 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
+ - powerfeed_count
+ - site
+ - url
+ PowerPanelRequest:
+ 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: {}
+ required:
+ - name
+ - site
+ PowerPort:
+ 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:
+ allOf:
+ - $ref: '#/components/schemas/BriefModule'
+ nullable: true
+ name:
+ type: string
+ maxLength: 64
+ label:
+ type: string
+ description: Physical label
+ maxLength: 64
+ type:
+ type: object
+ properties:
+ value:
+ 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
+ description: '* `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'
+ x-spec-enum-id: 6d680dea031864ae
+ label:
+ type: string
+ enum:
+ - C6
+ - C8
+ - C14
+ - C16
+ - C20
+ - C22
- P+N+E 4H
- P+N+E 6H
- P+N+E 9H
@@ -127317,55 +134101,57 @@ 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-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 +134161,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 +134184,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 +134204,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 +134218,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 +134268,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 +134288,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 +134309,57 @@ 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-30p
+ - cs6361c
+ - cs6365c
+ - cs8165c
+ - cs8265c
+ - cs8365c
+ - cs8465c
+ - ita-c
- ita-e
- ita-f
+ - ita-ef
- ita-g
- ita-h
- ita-i
@@ -127588,18 +134369,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 +134393,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 +134435,107 @@ 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-30p` - NEMA L22-30P
- * `CS6360C` - CS6360C
+ * `cs6361c` - CS6361C
- * `CS6364C` - CS6364C
+ * `cs6365c` - CS6365C
- * `CS8164C` - CS8164C
+ * `cs8165c` - CS8165C
- * `CS8264C` - CS8264C
+ * `cs8265c` - CS8265C
- * `CS8364C` - CS8364C
+ * `cs8365c` - CS8365C
- * `CS8464C` - CS8464C
+ * `cs8465c` - CS8465C
- * `ita-e` - ITA Type E (CEE 7/5)
+ * `ita-c` - ITA Type C (CEE 7/16)
- * `ita-f` - ITA Type F (CEE 7/3)
+ * `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 +134555,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 +134583,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 +134598,20 @@ components:
* `hardwired` - Hardwired
* `other` - Other'
- x-spec-enum-id: 2ff919f516566857
+ x-spec-enum-id: 6d680dea031864ae
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 +134628,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 +134647,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 +134667,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 +134688,57 @@ 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-30p
+ - cs6361c
+ - cs6365c
+ - cs8165c
+ - cs8265c
+ - cs8365c
+ - cs8465c
+ - ita-c
- ita-e
- ita-f
+ - ita-ef
- ita-g
- ita-h
- ita-i
@@ -127952,18 +134748,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 +134772,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 +134814,107 @@ 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-30p` - NEMA L22-30P
- * `CS6360C` - CS6360C
+ * `cs6361c` - CS6361C
- * `CS6364C` - CS6364C
+ * `cs6365c` - CS6365C
- * `CS8164C` - CS8164C
+ * `cs8165c` - CS8165C
- * `CS8264C` - CS8264C
+ * `cs8265c` - CS8265C
- * `CS8364C` - CS8364C
+ * `cs8365c` - CS8365C
- * `CS8464C` - CS8464C
+ * `cs8465c` - CS8465C
- * `ita-e` - ITA Type E (CEE 7/5)
+ * `ita-c` - ITA Type C (CEE 7/16)
- * `ita-f` - ITA Type F (CEE 7/3)
+ * `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,14 +134934,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
@@ -128145,13 +134962,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
@@ -128162,16 +134977,16 @@ components:
* `hardwired` - Hardwired
* `other` - Other'
- x-spec-enum-id: 2ff919f516566857
+ x-spec-enum-id: 6d680dea031864ae
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
@@ -128187,55 +135002,57 @@ 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-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 +135062,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 +135085,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 +135117,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 +135126,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 +135144,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 +135165,57 @@ 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-30p
+ - cs6361c
+ - cs6365c
+ - cs8165c
+ - cs8265c
+ - cs8365c
+ - cs8465c
+ - ita-c
- ita-e
- ita-f
+ - ita-ef
- ita-g
- ita-h
- ita-i
@@ -128416,18 +135225,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 +135249,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 +135291,107 @@ 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-30p` - NEMA L22-30P
- * `CS6360C` - CS6360C
+ * `cs6361c` - CS6361C
- * `CS6364C` - CS6364C
+ * `cs6365c` - CS6365C
- * `CS8164C` - CS8164C
+ * `cs8165c` - CS8165C
- * `CS8264C` - CS8264C
+ * `cs8265c` - CS8265C
- * `CS8364C` - CS8364C
+ * `cs8365c` - CS8365C
- * `CS8464C` - CS8464C
+ * `cs8465c` - CS8465C
- * `ita-e` - ITA Type E (CEE 7/5)
+ * `ita-c` - ITA Type C (CEE 7/16)
- * `ita-f` - ITA Type F (CEE 7/3)
+ * `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,205 +135411,63 @@ 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
- nullable: true
- power_port:
- allOf:
- - $ref: '#/components/schemas/PowerPortTemplateRequest'
- nullable: true
- feed_leg:
- enum:
- - A
- - B
- - C
- - ''
- type: string
- description: '* `A` - A
+ * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2
- * `B` - B
+ * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4
- * `C` - C'
- x-spec-enum-id: a4902339df0b7c06
- 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:
- 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:
- 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
- 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:
- type: string
- maxLength: 200
- required:
- - device
- - name
- PowerPortTemplate:
- type: object
- description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
- on a copy of the associated instance during
+ * `dc-terminal` - DC Terminal
- 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
- PowerPortTemplateRequest:
- type: object
- description: 'Extends the built-in ModelSerializer to enforce calling full_clean()
- on a copy of the associated instance during
+ * `saf-d-grid` - Saf-D-Grid
- 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
+ * `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: 6d680dea031864ae
+ nullable: true
+ 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
@@ -128833,19 +135509,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 +135550,7 @@ components:
- Deprecated
role:
allOf:
- - $ref: '#/components/schemas/Role'
+ - $ref: '#/components/schemas/BriefRole'
nullable: true
is_pool:
type: boolean
@@ -128931,19 +135607,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 +135638,7 @@ components:
x-spec-enum-id: d38bee5f512701d9
role:
allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ - $ref: '#/components/schemas/BriefRoleRequest'
nullable: true
is_pool:
type: boolean
@@ -129007,17 +135683,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
@@ -129036,7 +135741,7 @@ components:
type: string
readOnly: true
provider:
- $ref: '#/components/schemas/Provider'
+ $ref: '#/components/schemas/BriefProvider'
name:
type: string
default: ''
@@ -129079,6 +135784,8 @@ components:
type: object
description: Adds support for custom fields and tags.
properties:
+ provider:
+ $ref: '#/components/schemas/BriefProviderRequest'
name:
type: string
default: ''
@@ -129091,8 +135798,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.
@@ -129107,30 +135824,72 @@ components:
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 +135904,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
@@ -129172,17 +135948,40 @@ components:
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
@@ -129199,9 +135998,20 @@ components:
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
@@ -129222,18 +136032,259 @@ components:
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
+ type:
+ 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.
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
- device_count
- display
- id
+ - last_updated
- name
+ - powerfeed_count
+ - site
- url
RackRequest:
type: object
@@ -129243,11 +136294,183 @@ components:
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
+ 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
+
+ * `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
+ 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
+ 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
+ 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: {}
required:
- name
+ - site
RackReservation:
type: object
description: Adds support for custom fields and tags.
@@ -129263,7 +136486,7 @@ components:
type: string
readOnly: true
rack:
- $ref: '#/components/schemas/Rack'
+ $ref: '#/components/schemas/BriefRack'
units:
type: array
items:
@@ -129281,10 +136504,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 +136536,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 +136544,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
@@ -129469,7 +136692,7 @@ components:
readOnly: true
device:
allOf:
- - $ref: '#/components/schemas/Device'
+ - $ref: '#/components/schemas/BriefDevice'
readOnly: true
occupied:
type: boolean
@@ -129499,13 +136722,499 @@ components:
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
+ 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
+ - 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
+
+ * `other` - Other'
+ x-spec-enum-id: 0276d1110ada597a
+ 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
+ - Other
+ 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
+ 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
+ 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
+ - created
+ - device
+ - display
+ - id
+ - last_updated
+ - link_peers
+ - link_peers_type
+ - name
+ - type
+ - url
+ RearPortRequest:
+ type: object
+ description: Adds support for custom fields and tags.
+ properties:
+ device:
+ $ref: '#/components/schemas/BriefDeviceRequest'
module:
allOf:
- - $ref: '#/components/schemas/Module'
+ - $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
+ - 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
+
+ * `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
+ 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: {}
+ required:
+ - device
+ - name
+ - type
+ RearPortTemplate:
+ 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
+ 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
@@ -129716,36 +137425,9 @@ components:
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
- 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
- tags:
- type: array
- items:
- $ref: '#/components/schemas/NestedTag'
- custom_fields:
- type: object
- additionalProperties: {}
created:
type: string
format: date-time
@@ -129756,37 +137438,34 @@ components:
format: date-time
readOnly: true
nullable: true
- _occupied:
- type: boolean
- readOnly: true
- title: ' occupied'
required:
- - _occupied
- - cable
- - cable_end
- created
- - device
- display
- id
- last_updated
- - link_peers
- - link_peers_type
- name
- type
- url
- RearPortRequest:
+ RearPortTemplateRequest:
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/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
@@ -129944,72 +137623,12 @@ components:
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: {}
required:
- - device
- name
- type
- RearPortTemplate:
- 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
- RearPortTemplateRequest:
- 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
Region:
type: object
description: Extends PrimaryModelSerializer to include MPTT support.
@@ -130124,9 +137743,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,8 +137776,10 @@ components:
format: int64
readOnly: true
required:
+ - created
- display
- id
+ - last_updated
- name
- prefix_count
- slug
@@ -130156,9 +137798,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
@@ -130182,7 +137835,7 @@ components:
maxLength: 21
tenant:
allOf:
- - $ref: '#/components/schemas/Tenant'
+ - $ref: '#/components/schemas/BriefTenant'
nullable: true
description:
type: string
@@ -130224,7 +137877,7 @@ components:
maxLength: 21
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
description:
type: string
@@ -130365,13 +138018,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
@@ -130405,11 +138059,11 @@ components:
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 +138136,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
@@ -130669,15 +138323,144 @@ 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
+ - device_count
- display
- id
+ - last_updated
- name
+ - prefix_count
+ - rack_count
- slug
- url
+ - virtualmachine_count
+ - vlan_count
SiteGroup:
type: object
description: Extends PrimaryModelSerializer to include MPTT support.
@@ -130785,9 +138568,86 @@ 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
@@ -130901,15 +138761,90 @@ 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
+ - device_count
- display
- id
+ - ipaddress_count
+ - last_updated
- name
+ - prefix_count
+ - rack_count
+ - site_count
- slug
- url
+ - virtualmachine_count
+ - vlan_count
+ - vrf_count
TenantGroup:
type: object
description: Extends PrimaryModelSerializer to include MPTT support.
@@ -131016,9 +138951,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
@@ -131040,7 +138988,7 @@ components:
type: string
readOnly: true
user:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/BriefUser'
created:
type: string
format: date-time
@@ -131088,7 +139036,7 @@ components:
readOnly: true
user:
allOf:
- - $ref: '#/components/schemas/User'
+ - $ref: '#/components/schemas/BriefUser'
readOnly: true
created:
type: string
@@ -131155,7 +139103,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
@@ -131193,13 +139141,105 @@ components:
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
@@ -131289,11 +139329,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.
@@ -131309,7 +139405,7 @@ components:
type: string
readOnly: true
tunnel:
- $ref: '#/components/schemas/Tunnel'
+ $ref: '#/components/schemas/BriefTunnel'
role:
type: object
properties:
@@ -131344,7 +139440,7 @@ components:
readOnly: true
outside_ip:
allOf:
- - $ref: '#/components/schemas/IPAddress'
+ - $ref: '#/components/schemas/BriefIPAddress'
nullable: true
tags:
type: array
@@ -131379,7 +139475,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 +139498,7 @@ components:
nullable: true
outside_ip:
allOf:
- - $ref: '#/components/schemas/IPAddressRequest'
+ - $ref: '#/components/schemas/BriefIPAddressRequest'
nullable: true
tags:
type: array
@@ -131439,6 +139535,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 +139589,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
@@ -131474,6 +139646,14 @@ components:
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,13 +139663,74 @@ 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
+ - prefix_count
- url
- vid
VLANGroup:
@@ -131620,6 +139861,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 +139879,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
@@ -131651,7 +139929,7 @@ components:
type: string
readOnly: true
virtual_machine:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/BriefVirtualMachine'
name:
type: string
maxLength: 64
@@ -131700,7 +139978,7 @@ components:
- Tagged (All)
untagged_vlan:
allOf:
- - $ref: '#/components/schemas/VLAN'
+ - $ref: '#/components/schemas/BriefVLAN'
nullable: true
tagged_vlans:
type: array
@@ -131708,11 +139986,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 +140032,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 +140074,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 +140082,7 @@ components:
type: integer
vrf:
allOf:
- - $ref: '#/components/schemas/VRFRequest'
+ - $ref: '#/components/schemas/BriefVRFRequest'
nullable: true
tags:
type: array
@@ -131839,16 +140117,58 @@ 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
@@ -131866,9 +140186,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:
@@ -131888,6 +140233,9 @@ components:
name:
type: string
maxLength: 64
+ domain:
+ type: string
+ maxLength: 30
master:
allOf:
- $ref: '#/components/schemas/NestedDevice'
@@ -131895,13 +140243,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 +140287,9 @@ components:
type: string
minLength: 1
maxLength: 64
+ domain:
+ type: string
+ maxLength: 30
master:
allOf:
- $ref: '#/components/schemas/NestedDeviceRequest'
@@ -131919,6 +140297,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:
@@ -131939,7 +140326,7 @@ components:
type: string
maxLength: 64
device:
- $ref: '#/components/schemas/Device'
+ $ref: '#/components/schemas/BriefDevice'
identifier:
type: integer
maximum: 32767
@@ -131947,20 +140334,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 +140416,7 @@ components:
minLength: 1
maxLength: 64
device:
- $ref: '#/components/schemas/DeviceRequest'
+ $ref: '#/components/schemas/BriefDeviceRequest'
identifier:
type: integer
maximum: 32767
@@ -132037,15 +140424,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:
@@ -132090,7 +140477,7 @@ components:
type: string
readOnly: true
virtual_machine:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/BriefVirtualMachine'
name:
type: string
maxLength: 64
@@ -132133,7 +140520,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
@@ -132157,44 +140544,6 @@ components:
- name
- size
- virtual_machine
- VirtualMachine:
- 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: 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.
@@ -132247,40 +140596,40 @@ 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
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
@@ -132308,7 +140657,7 @@ components:
type: string
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplate'
+ - $ref: '#/components/schemas/BriefConfigTemplate'
nullable: true
local_context_data:
nullable: true
@@ -132382,35 +140731,35 @@ 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
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
@@ -132438,7 +140787,7 @@ components:
type: string
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/BriefConfigTemplateRequest'
nullable: true
local_context_data:
nullable: true
@@ -132657,7 +141006,7 @@ components:
maxLength: 200
group:
allOf:
- - $ref: '#/components/schemas/WirelessLANGroup'
+ - $ref: '#/components/schemas/BriefWirelessLANGroup'
nullable: true
status:
type: object
@@ -132687,11 +141036,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
@@ -132792,9 +141141,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 +141175,10 @@ components:
title: ' depth'
required:
- _depth
+ - created
- display
- id
+ - last_updated
- name
- slug
- url
@@ -132854,7 +141226,7 @@ components:
maxLength: 200
group:
allOf:
- - $ref: '#/components/schemas/WirelessLANGroupRequest'
+ - $ref: '#/components/schemas/BriefWirelessLANGroupRequest'
nullable: true
status:
enum:
@@ -132874,11 +141246,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:
@@ -132939,9 +141311,9 @@ components:
type: string
readOnly: true
interface_a:
- $ref: '#/components/schemas/Interface'
+ $ref: '#/components/schemas/BriefInterface'
interface_b:
- $ref: '#/components/schemas/Interface'
+ $ref: '#/components/schemas/BriefInterface'
ssid:
type: string
maxLength: 32
@@ -132968,7 +141340,7 @@ components:
- Decommissioning
tenant:
allOf:
- - $ref: '#/components/schemas/Tenant'
+ - $ref: '#/components/schemas/BriefTenant'
nullable: true
auth_type:
type: object
@@ -133057,9 +141429,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
@@ -133077,7 +141449,7 @@ components:
x-spec-enum-id: fbc2f302c08be50d
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
auth_type:
enum:
@@ -133135,10 +141507,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
@@ -133258,7 +141630,7 @@ components:
x-spec-enum-id: fbc2f302c08be50d
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
label:
type: string
@@ -133320,13 +141692,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 +141722,7 @@ components:
x-spec-enum-id: 63c838134a022200
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
install_date:
type: string
@@ -133394,10 +141766,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 +141791,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 +141817,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 +141940,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 +142015,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 +142138,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 +142220,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:
@@ -134124,7 +142496,7 @@ components:
maxLength: 500
choice_set:
allOf:
- - $ref: '#/components/schemas/CustomFieldChoiceSetRequest'
+ - $ref: '#/components/schemas/BriefCustomFieldChoiceSetRequest'
nullable: true
comments:
type: string
@@ -134172,10 +142544,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 +142671,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 +142693,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 +142790,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 +142826,7 @@ components:
type: string
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/BriefConfigTemplateRequest'
nullable: true
local_context_data:
nullable: true
@@ -134546,10 +142918,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
@@ -134742,11 +143114,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
@@ -134907,7 +143279,7 @@ components:
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 +143523,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 +143626,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 +143649,7 @@ components:
* `deprecated` - Deprecated'
role:
allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ - $ref: '#/components/schemas/BriefRoleRequest'
nullable: true
description:
type: string
@@ -135425,9 +143797,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 +143904,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,6 +143931,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -135612,6 +143985,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -135693,6 +144067,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)
@@ -135799,6 +144175,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -135926,7 +144304,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
parent:
@@ -136668,7 +145046,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 +145061,7 @@ components:
type: integer
vrf:
allOf:
- - $ref: '#/components/schemas/VRFRequest'
+ - $ref: '#/components/schemas/BriefVRFRequest'
nullable: true
tags:
type: array
@@ -136705,11 +145083,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,6 +145109,7 @@ components:
- 100base-tx
- 100base-t1
- 1000base-t
+ - 1000base-tx
- 2.5gbase-t
- 5gbase-t
- 10gbase-t
@@ -136784,6 +145163,7 @@ components:
- ieee802.11ad
- ieee802.11ax
- ieee802.11ay
+ - ieee802.11be
- ieee802.15.1
- other-wireless
- gsm
@@ -136865,6 +145245,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)
@@ -136971,6 +145353,8 @@ components:
* `ieee802.11ay` - IEEE 802.11ay
+ * `ieee802.11be` - IEEE 802.11be
+
* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)
* `other-wireless` - Other (Wireless)
@@ -137098,7 +145482,7 @@ components:
* `extreme-summitstack-512` - Extreme SummitStack-512
* `other` - Other'
- x-spec-enum-id: b9a351ea129ed754
+ x-spec-enum-id: 8d111a81a4af2fa3
enabled:
type: boolean
mgmt_only:
@@ -137279,7 +145663,7 @@ components:
type: string
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
tags:
type: array
@@ -137306,7 +145690,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 +145714,7 @@ components:
x-spec-enum-id: e363a8ddb138be50
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
facility:
type: string
@@ -137356,11 +145740,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 +145796,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
@@ -137465,10 +145849,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 +145921,7 @@ components:
maxLength: 200
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
comments:
type: string
@@ -137556,10 +145940,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
@@ -137866,7 +146250,7 @@ components:
* `other` - Other'
power_port:
allOf:
- - $ref: '#/components/schemas/PowerPortRequest'
+ - $ref: '#/components/schemas/BriefPowerPortRequest'
nullable: true
feed_leg:
enum:
@@ -137909,11 +146293,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
@@ -138219,7 +146603,7 @@ components:
x-spec-enum-id: 2ff919f516566857
power_port:
allOf:
- - $ref: '#/components/schemas/PowerPortTemplateRequest'
+ - $ref: '#/components/schemas/BriefPowerPortTemplateRequest'
nullable: true
feed_leg:
enum:
@@ -138247,10 +146631,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
@@ -138613,11 +146997,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
@@ -138968,19 +147352,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 +147386,7 @@ components:
* `deprecated` - Deprecated'
role:
allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ - $ref: '#/components/schemas/BriefRoleRequest'
nullable: true
is_pool:
type: boolean
@@ -139038,14 +147422,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 +147451,7 @@ components:
x-spec-enum-id: 0c556d55dc1baa13
role:
allOf:
- - $ref: '#/components/schemas/RackRoleRequest'
+ - $ref: '#/components/schemas/BriefRackRoleRequest'
nullable: true
serial:
type: string
@@ -139217,10 +147601,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
@@ -139409,11 +147793,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
@@ -139619,11 +148003,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 +148159,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 +148176,7 @@ components:
time_zone:
type: string
nullable: true
+ minLength: 1
description:
type: string
maxLength: 200
@@ -139888,7 +148273,7 @@ components:
x-spec-enum-id: 0d65f7912cba74aa
group:
allOf:
- - $ref: '#/components/schemas/TunnelGroupRequest'
+ - $ref: '#/components/schemas/BriefTunnelGroupRequest'
nullable: true
encapsulation:
enum:
@@ -139907,11 +148292,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 +148324,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 +148347,7 @@ components:
nullable: true
outside_ip:
allOf:
- - $ref: '#/components/schemas/IPAddressRequest'
+ - $ref: '#/components/schemas/BriefIPAddressRequest'
nullable: true
tags:
type: array
@@ -139981,11 +148366,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 +148384,7 @@ components:
maxLength: 64
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
status:
enum:
@@ -140018,7 +148403,7 @@ components:
* `deprecated` - Deprecated'
role:
allOf:
- - $ref: '#/components/schemas/RoleRequest'
+ - $ref: '#/components/schemas/BriefRoleRequest'
nullable: true
description:
type: string
@@ -140040,7 +148425,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 +148470,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 +148478,7 @@ components:
type: integer
vrf:
allOf:
- - $ref: '#/components/schemas/VRFRequest'
+ - $ref: '#/components/schemas/BriefVRFRequest'
nullable: true
tags:
type: array
@@ -140142,7 +148527,7 @@ components:
minLength: 1
maxLength: 64
device:
- $ref: '#/components/schemas/DeviceRequest'
+ $ref: '#/components/schemas/BriefDeviceRequest'
identifier:
type: integer
maximum: 32767
@@ -140150,15 +148535,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 +148604,35 @@ 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
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
@@ -140275,7 +148660,7 @@ components:
type: string
config_template:
allOf:
- - $ref: '#/components/schemas/ConfigTemplateRequest'
+ - $ref: '#/components/schemas/BriefConfigTemplateRequest'
nullable: true
local_context_data:
nullable: true
@@ -140333,7 +148718,7 @@ components:
maxLength: 200
group:
allOf:
- - $ref: '#/components/schemas/WirelessLANGroupRequest'
+ - $ref: '#/components/schemas/BriefWirelessLANGroupRequest'
nullable: true
status:
enum:
@@ -140352,11 +148737,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 +148794,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 +148814,7 @@ components:
x-spec-enum-id: fbc2f302c08be50d
tenant:
allOf:
- - $ref: '#/components/schemas/TenantRequest'
+ - $ref: '#/components/schemas/BriefTenantRequest'
nullable: true
auth_type:
enum:
diff --git a/api_circuits.go b/api_circuits.go
index 7e493535bb..12e5327539 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -5615,8 +5615,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,16 +5674,16 @@ 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
@@ -5692,10 +5692,10 @@ type ApiCircuitsCircuitsListRequest 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
terminationAId *[]*int32
@@ -5818,14 +5818,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 +6129,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 +6161,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
}
@@ -6235,26 +6225,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
}
@@ -12929,8 +12915,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 +12968,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 +13032,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 +13303,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 +13335,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 73022d4199..275cd7e4a0 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/api_dcim.go b/api_dcim.go
index 0427ae7cc5..75d381f107 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -2355,10 +2355,10 @@ type ApiDcimCablesListRequest 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
terminationAId *[]int32
@@ -2796,26 +2796,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
}
@@ -7272,6 +7268,12 @@ type ApiDcimConsolePortsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -7329,20 +7331,16 @@ 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
@@ -7511,6 +7509,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimConsolePortsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimConsolePortsListRequest) DeviceType(deviceType []string) ApiDcimConsolePortsListRequest {
r.deviceType = &deviceType
@@ -7814,54 +7846,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 +7878,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
}
@@ -8285,6 +8285,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -8876,50 +8942,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 {
@@ -12488,6 +12510,12 @@ type ApiDcimConsoleServerPortsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -12545,20 +12573,16 @@ 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
@@ -12727,6 +12751,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimConsoleServerPortsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimConsoleServerPortsListRequest) DeviceType(deviceType []string) ApiDcimConsoleServerPortsListRequest {
r.deviceType = &deviceType
@@ -13030,54 +13088,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 +13120,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
}
@@ -13501,6 +13527,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14092,50 +14184,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 {
@@ -17606,6 +17654,12 @@ type ApiDcimDeviceBaysListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -17663,20 +17717,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 +17857,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimDeviceBaysListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimDeviceBaysListRequest) DeviceType(deviceType []string) ApiDcimDeviceBaysListRequest {
r.deviceType = &deviceType
@@ -18112,54 +18196,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 +18228,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 +18577,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -19132,50 +19250,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 {
@@ -26587,6 +26661,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 +26687,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
@@ -26695,8 +26773,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 +26868,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,10 +26889,10 @@ 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
@@ -26823,10 +26901,10 @@ type ApiDcimDevicesListRequest 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
@@ -26916,6 +26994,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 +27136,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
}
@@ -27482,14 +27582,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 +28086,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 +28197,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
}
@@ -28171,26 +28261,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
}
@@ -28460,6 +28546,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 {
@@ -34735,6 +34865,12 @@ type ApiDcimFrontPortsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -34801,20 +34937,16 @@ 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
@@ -35031,6 +35163,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimFrontPortsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimFrontPortsListRequest) DeviceType(deviceType []string) ApiDcimFrontPortsListRequest {
r.deviceType = &deviceType
@@ -35379,54 +35545,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 +35577,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
}
@@ -35946,6 +36080,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -36628,50 +36828,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 {
@@ -40404,6 +40560,12 @@ type ApiDcimInterfacesListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -40497,10 +40659,10 @@ type ApiDcimInterfacesListRequest struct {
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
rfChannelFrequency *[]float64
@@ -40519,16 +40681,12 @@ type ApiDcimInterfacesListRequest struct {
rfChannelWidthN *[]float64
rfRole *[]string
rfRoleN *[]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
speed *[]int32
@@ -40749,6 +40907,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimInterfacesListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimInterfacesListRequest) DeviceType(deviceType []string) ApiDcimInterfacesListRequest {
r.deviceType = &deviceType
@@ -41243,26 +41435,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
}
@@ -41357,30 +41545,6 @@ func (r ApiDcimInterfacesListRequest) RfRoleN(rfRoleN []string) ApiDcimInterface
return r
}
-// Device role (slug)
-func (r ApiDcimInterfacesListRequest) Role(role []string) ApiDcimInterfacesListRequest {
- r.role = &role
- return r
-}
-
-// Device role (slug)
-func (r ApiDcimInterfacesListRequest) RoleN(roleN []string) ApiDcimInterfacesListRequest {
- r.roleN = &roleN
- return r
-}
-
-// Device role (ID)
-func (r ApiDcimInterfacesListRequest) RoleId(roleId []int32) ApiDcimInterfacesListRequest {
- r.roleId = &roleId
- return r
-}
-
-// Device role (ID)
-func (r ApiDcimInterfacesListRequest) RoleIdN(roleIdN []int32) ApiDcimInterfacesListRequest {
- r.roleIdN = &roleIdN
- return r
-}
-
// Site name (slug)
func (r ApiDcimInterfacesListRequest) Site(site []string) ApiDcimInterfacesListRequest {
r.site = &site
@@ -41393,26 +41557,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
}
@@ -42038,6 +42198,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -43159,50 +43385,6 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__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 {
@@ -49868,6 +50050,12 @@ type ApiDcimInventoryItemsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -49939,10 +50127,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 +50148,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 +50382,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimInventoryItemsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimInventoryItemsListRequest) DeviceType(deviceType []string) ApiDcimInventoryItemsListRequest {
r.deviceType = &deviceType
@@ -50571,26 +50793,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 +50904,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 +51449,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -53332,14 +53612,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 +53686,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
@@ -53435,35 +53715,31 @@ type ApiDcimLocationsListRequest 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
}
-// 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 +53756,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 +54106,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 +54138,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
}
@@ -53991,26 +54257,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
}
@@ -56227,8 +56489,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 +56570,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
}
@@ -60709,6 +60969,12 @@ type ApiDcimModuleBaysListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -60775,20 +61041,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 +61181,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimModuleBaysListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimModuleBaysListRequest) DeviceType(deviceType []string) ApiDcimModuleBaysListRequest {
r.deviceType = &deviceType
@@ -61267,54 +61563,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 +61595,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 +61944,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -62378,50 +62708,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 {
@@ -70535,16 +70821,16 @@ type ApiDcimPowerFeedsListRequest struct {
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
@@ -70555,10 +70841,10 @@ type ApiDcimPowerFeedsListRequest 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_ *DcimPowerFeedsListTypeParameter
@@ -71007,26 +71293,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 +71325,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
}
@@ -71123,26 +71401,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
}
@@ -75819,6 +76093,12 @@ type ApiDcimPowerOutletsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -75880,20 +76160,16 @@ 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
@@ -76060,6 +76336,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimPowerOutletsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimPowerOutletsListRequest) DeviceType(deviceType []string) ApiDcimPowerOutletsListRequest {
r.deviceType = &deviceType
@@ -76387,54 +76697,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 +76729,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
}
@@ -76846,6 +77124,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -77481,50 +77825,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 {
@@ -78862,8 +79162,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 +79200,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 +79217,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 +79246,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 +79439,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 +79527,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 +79559,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
}
@@ -83565,6 +83853,12 @@ type ApiDcimPowerPortsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -83629,20 +83923,16 @@ 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
@@ -83844,6 +84134,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimPowerPortsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimPowerPortsListRequest) DeviceType(deviceType []string) ApiDcimPowerPortsListRequest {
r.deviceType = &deviceType
@@ -84182,54 +84506,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 +84538,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
}
@@ -84710,6 +85002,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -85370,50 +85728,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 {
@@ -86783,36 +87097,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 +87308,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 +87363,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 +87395,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 +87449,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
}
@@ -91516,8 +91814,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
@@ -91566,10 +91864,10 @@ 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
maxWeight *[]int32
maxWeightEmpty *bool
maxWeightGt *[]int32
@@ -91615,10 +91913,10 @@ type ApiDcimRacksListRequest struct {
outerWidthLte *[]int32
outerWidthN *[]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
@@ -91636,10 +91934,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
@@ -91655,10 +91953,10 @@ type ApiDcimRacksListRequest 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
@@ -91751,14 +92049,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
}
@@ -92006,26 +92302,22 @@ 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
}
@@ -92260,26 +92552,22 @@ func (r ApiDcimRacksListRequest) Q(q string) ApiDcimRacksListRequest {
return r
}
-// Region (slug)
-func (r ApiDcimRacksListRequest) Region(region []int32) ApiDcimRacksListRequest {
+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 +92663,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
}
@@ -92478,26 +92762,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
}
@@ -98012,6 +98292,12 @@ type ApiDcimRearPortsListRequest struct {
deviceN *[]*string
deviceId *[]int32
deviceIdN *[]int32
+ deviceRole *[]string
+ deviceRoleN *[]string
+ deviceRoleId *[]int32
+ deviceRoleIdN *[]int32
+ deviceStatus *[]string
+ deviceStatusN *[]string
deviceType *[]string
deviceTypeN *[]string
deviceTypeId *[]int32
@@ -98076,20 +98362,16 @@ 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
@@ -98306,6 +98588,40 @@ 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) DeviceStatusN(deviceStatusN []string) ApiDcimRearPortsListRequest {
+ r.deviceStatusN = &deviceStatusN
+ return r
+}
+
// Device type (model)
func (r ApiDcimRearPortsListRequest) DeviceType(deviceType []string) ApiDcimRearPortsListRequest {
r.deviceType = &deviceType
@@ -98644,54 +98960,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 +98992,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
}
@@ -99211,6 +99495,72 @@ 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.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.deviceType != nil {
t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -99871,50 +100221,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 {
@@ -101250,14 +101556,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 +101635,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 +101667,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 +103870,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 +103949,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 +103981,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 +106190,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 +106224,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 +106272,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
@@ -105999,10 +106293,10 @@ type ApiDcimSitesListRequest 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
timeZone *[]string
@@ -106054,14 +106348,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 +106520,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 +106764,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
}
@@ -106587,26 +106871,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
}
@@ -109102,16 +109382,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 +109766,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 +109798,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
}
@@ -111643,10 +111915,10 @@ type ApiDcimVirtualDeviceContextsListRequest 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
@@ -112034,26 +112306,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
}
diff --git a/api_extras.go b/api_extras.go
index 2b89c130c0..5945da7c4c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -13061,13 +13061,13 @@ 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
+// 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) ButtonClassN(buttonClassN ExtrasCustomLinksListButtonClassParameter) ApiExtrasCustomLinksListRequest {
r.buttonClassN = &buttonClassN
return r
diff --git a/api_ipam.go b/api_ipam.go
index 0e906f7521..7bdd104a99 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.0.11 (4.0)
*/
// 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
}
@@ -11794,10 +11782,10 @@ type ApiIpamIpAddressesListRequest 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
@@ -12275,26 +12263,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
}
@@ -14756,10 +14740,10 @@ type ApiIpamIpRangesListRequest 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
@@ -15087,26 +15071,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
}
@@ -17475,20 +17455,20 @@ 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
@@ -17497,10 +17477,10 @@ type ApiIpamPrefixesListRequest 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
@@ -17836,26 +17816,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 +17872,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
}
@@ -17966,26 +17938,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
}
@@ -24459,10 +24427,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 +24803,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
}
@@ -33642,20 +33606,20 @@ 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
@@ -33664,10 +33628,10 @@ type ApiIpamVlansListRequest 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
@@ -33992,26 +33956,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 +34012,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
}
@@ -34122,26 +34078,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
}
@@ -36294,10 +36246,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 +36634,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 5394105aa6..e8d2e282fd 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/api_status.go b/api_status.go
index 9f266f5234..9c6d944d7d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/api_tenancy.go b/api_tenancy.go
index 0b17b4c3a9..17a38408e3 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.0.11 (4.0)
*/
// 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
@@ -728,26 +728,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
}
@@ -2499,10 +2495,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 +2568,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 +6812,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 +7089,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 +9623,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 +9696,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 +11833,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 +11856,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 +11918,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 +12035,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 f872d1a93a..84cce61a99 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/api_virtualization.go b/api_virtualization.go
index 2216c43f9d..6647859802 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.0.11 (4.0)
*/
// 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,16 +4922,16 @@ 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
@@ -4942,10 +4940,10 @@ type ApiVirtualizationClustersListRequest 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
@@ -4967,14 +4965,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 +5260,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 +5292,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
}
@@ -5368,26 +5356,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
}
@@ -12067,8 +12051,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,20 +12149,20 @@ 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
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
@@ -12187,10 +12171,10 @@ type ApiVirtualizationVirtualMachinesListRequest 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
@@ -12306,14 +12290,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 +12800,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
}
@@ -12878,26 +12856,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
}
@@ -12946,26 +12920,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
}
diff --git a/api_vpn.go b/api_vpn.go
index 6893f11ad3..69472df108 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -13702,10 +13702,10 @@ 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
@@ -14122,26 +14122,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
}
@@ -20203,10 +20199,10 @@ type ApiVpnTunnelsListRequest 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
tunnelId *[]int32
@@ -20558,26 +20554,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
}
diff --git a/api_wireless.go b/api_wireless.go
index ac16ccf584..1137de50e7 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.0.11 (4.0)
*/
// 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
}
@@ -2859,10 +2859,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
@@ -2901,10 +2901,10 @@ type ApiWirelessWirelessLansListRequest 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
@@ -3082,22 +3082,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
}
@@ -3298,26 +3298,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
}
@@ -5349,10 +5345,10 @@ type ApiWirelessWirelessLinksListRequest 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
@@ -5734,26 +5730,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
}
diff --git a/client.go b/client.go
index 7ced10a114..d5f790e270 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.0.11 (4.0)
*/
// 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.0.11 (4.0)
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
diff --git a/configuration.go b/configuration.go
index e65a51b2fa..2f5b2a516d 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.0.11 (4.0)
*/
// 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.0.11",
Debug: false,
Servers: ServerConfigurations{
{
diff --git a/docs/ASN.md b/docs/ASN.md
index fed0cdda30..449ca977f6 100644
--- a/docs/ASN.md
+++ b/docs/ASN.md
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
@@ -120,20 +120,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 +155,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 8efc8ef064..0672310b7a 100644
--- a/docs/ASNRange.md
+++ b/docs/ASNRange.md
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
**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 +24,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,
@@ -141,20 +141,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 +201,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 c7b5e284f0..1c1f5dd354 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 c82eb08301..ef24115a1c 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 aab5e70991..969cdbe9ec 100644
--- a/docs/Aggregate.md
+++ b/docs/Aggregate.md
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
**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 +23,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,
@@ -140,40 +140,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 197cf18973..a11fa9f7aa 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/AvailableIP.md b/docs/AvailableIP.md
index 9fa0b65df5..961593aa57 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 e9f9da1fe9..dd87383063 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 86e18eea98..c002250805 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 68ef93cced..05631b586f 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 caeb3fc592..ab40a26e96 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 0000000000..16efce10b0
--- /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 0000000000..7a5b52bd69
--- /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 0000000000..46733cc6b3
--- /dev/null
+++ b/docs/BriefCircuit.md
@@ -0,0 +1,140 @@
+# BriefCircuit
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [readonly]
+**Display** | **string** | | [readonly]
+**Cid** | **string** | Unique circuit ID |
+**Description** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBriefCircuit
+
+`func NewBriefCircuit(id int32, url string, display string, cid string, ) *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.
+
+
+### 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/BriefCircuitRequest.md b/docs/BriefCircuitRequest.md
new file mode 100644
index 0000000000..663019408c
--- /dev/null
+++ b/docs/BriefCircuitRequest.md
@@ -0,0 +1,77 @@
+# BriefCircuitRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Cid** | **string** | Unique circuit ID |
+**Description** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBriefCircuitRequest
+
+`func NewBriefCircuitRequest(cid string, ) *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.
+
+
+### 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 0000000000..77987dfcdf
--- /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 0000000000..38531bc02f
--- /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 0000000000..9520dc9283
--- /dev/null
+++ b/docs/BriefCluster.md
@@ -0,0 +1,161 @@
+# BriefCluster
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [readonly]
+**Display** | **string** | | [readonly]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**VirtualmachineCount** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefCluster
+
+`func NewBriefCluster(id int32, url string, display string, name string, virtualmachineCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..2fe6cce7fe
--- /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 0000000000..c5dbaff197
--- /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 0000000000..e2dc40671a
--- /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 0000000000..7464c686ab
--- /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 0000000000..516608463c
--- /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 0000000000..ea23146a7f
--- /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 0000000000..0ae8e8d49b
--- /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 0000000000..966138ba8b
--- /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 0000000000..0b68127398
--- /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 0000000000..43bd0093d1
--- /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 0000000000..fcfc9f9a6f
--- /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 0000000000..0d0856a58e
--- /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 0000000000..e8a89fac6a
--- /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 0000000000..6f5b276759
--- /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 0000000000..5add176ca3
--- /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 0000000000..f083e7ab46
--- /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 0000000000..38d2eba305
--- /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 0000000000..2fa1fac6a8
--- /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 0000000000..0748fff496
--- /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 0000000000..9671b9f39e
--- /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 0000000000..462f3ae197
--- /dev/null
+++ b/docs/BriefDeviceRole.md
@@ -0,0 +1,203 @@
+# 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** | **int64** | | [readonly]
+**VirtualmachineCount** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefDeviceRole
+
+`func NewBriefDeviceRole(id int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64, ) *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.
+
+
+### 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.
+
+
+
+[[Back to Model list]](../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 0000000000..cff3dcc04f
--- /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 0000000000..fbf030f1de
--- /dev/null
+++ b/docs/BriefDeviceType.md
@@ -0,0 +1,203 @@
+# 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** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefDeviceType
+
+`func NewBriefDeviceType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, deviceCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..aecf3cf0ae
--- /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 0000000000..3c7eb23147
--- /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 0000000000..1927b6d374
--- /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 0000000000..ec3f629bd8
--- /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 0000000000..4010027b19
--- /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 0000000000..11af2f4fd4
--- /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 0000000000..6ad683fc94
--- /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 0000000000..9041d294a4
--- /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 0000000000..046c03acc1
--- /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 0000000000..6077a70488
--- /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 0000000000..3dd97ae9eb
--- /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 0000000000..3357d67510
--- /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 0000000000..cfa19b0978
--- /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 0000000000..d6d5c4129f
--- /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 0000000000..00a6568797
--- /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 0000000000..3badc4bce7
--- /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 0000000000..3a29c8b743
--- /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 0000000000..6e62ff44c5
--- /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 0000000000..42df2b5a55
--- /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 0000000000..fe83a79993
--- /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 0000000000..e6bf72e539
--- /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 0000000000..2a66326c13
--- /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 0000000000..be23320d90
--- /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 0000000000..121bc7753f
--- /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 0000000000..3f41ef213a
--- /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 0000000000..63ceeaefdd
--- /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 0000000000..757dc73ebb
--- /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 0000000000..31d6731bbd
--- /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 0000000000..0a5f3b9923
--- /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 0000000000..1f4d74c6c0
--- /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 0000000000..3994a30516
--- /dev/null
+++ b/docs/BriefManufacturer.md
@@ -0,0 +1,182 @@
+# 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** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefManufacturer
+
+`func NewBriefManufacturer(id int32, url string, display string, name string, slug string, devicetypeCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..ba1eb927f4
--- /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 0000000000..5e80bca583
--- /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 0000000000..e9cb7aa810
--- /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 0000000000..320d634f99
--- /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 0000000000..230ec40280
--- /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 0000000000..4f9238f205
--- /dev/null
+++ b/docs/BriefPlatform.md
@@ -0,0 +1,203 @@
+# 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** | **int64** | | [readonly]
+**VirtualmachineCount** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefPlatform
+
+`func NewBriefPlatform(id int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64, ) *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.
+
+
+### 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.
+
+
+
+[[Back to Model list]](../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 0000000000..95c3de869f
--- /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 0000000000..76914fc7a1
--- /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 0000000000..20cf4027dc
--- /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 0000000000..79e23cbce8
--- /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 0000000000..885fa69e48
--- /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 0000000000..5a5772d963
--- /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 0000000000..81787bb98d
--- /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 0000000000..2b0cfad582
--- /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 0000000000..98b6f9fd35
--- /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 0000000000..72b16517a2
--- /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 0000000000..b7f37a3d31
--- /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 0000000000..cb801a0674
--- /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 0000000000..86e8b08245
--- /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 0000000000..30084ad67c
--- /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 0000000000..b22e58156b
--- /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 0000000000..045b88e14f
--- /dev/null
+++ b/docs/BriefRack.md
@@ -0,0 +1,161 @@
+# BriefRack
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [readonly]
+**Display** | **string** | | [readonly]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**DeviceCount** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefRack
+
+`func NewBriefRack(id int32, url string, display string, name string, deviceCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..a360440062
--- /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 0000000000..8b1cd4fb9c
--- /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 0000000000..9b1a04ce24
--- /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/BriefRearPortTemplate.md b/docs/BriefRearPortTemplate.md
new file mode 100644
index 0000000000..3849d33c2b
--- /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 0000000000..8c0720a7e6
--- /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 0000000000..a77d1bcf34
--- /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 0000000000..eef94bb0de
--- /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 0000000000..540af7c51a
--- /dev/null
+++ b/docs/BriefRole.md
@@ -0,0 +1,203 @@
+# 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** | **int64** | | [readonly]
+**VlanCount** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefRole
+
+`func NewBriefRole(id int32, url string, display string, name string, slug string, prefixCount int64, vlanCount int64, ) *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.
+
+
+### 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.
+
+
+
+[[Back to Model list]](../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 0000000000..e42a2bccfb
--- /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 0000000000..16f9519a01
--- /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 0000000000..72c29685d3
--- /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 0000000000..b1c35391d6
--- /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 0000000000..bf692187b2
--- /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 0000000000..19156dfc01
--- /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 0000000000..513eb69565
--- /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 0000000000..2db94d1200
--- /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 0000000000..5c45f38146
--- /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 0000000000..cab03cd7ec
--- /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 0000000000..ca2d774643
--- /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 0000000000..8db15328a3
--- /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 0000000000..74b5f1acd5
--- /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 0000000000..6f3cab5649
--- /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 0000000000..f3559dd8e0
--- /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 0000000000..da6784bd4c
--- /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 0000000000..a38b95b4e2
--- /dev/null
+++ b/docs/BriefVLANGroup.md
@@ -0,0 +1,182 @@
+# 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** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefVLANGroup
+
+`func NewBriefVLANGroup(id int32, url string, display string, name string, slug string, vlanCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..a77682fe08
--- /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 0000000000..c90d381673
--- /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 0000000000..21e9e137af
--- /dev/null
+++ b/docs/BriefVRF.md
@@ -0,0 +1,197 @@
+# 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** | **int64** | | [readonly]
+
+## Methods
+
+### NewBriefVRF
+
+`func NewBriefVRF(id int32, url string, display string, name string, prefixCount int64, ) *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.
+
+
+
+[[Back to Model list]](../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 0000000000..c942553aee
--- /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 0000000000..304b6f30d4
--- /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 0000000000..168d675ed4
--- /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 0000000000..224fa020bd
--- /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 0000000000..8c147c303b
--- /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 0000000000..680e013dac
--- /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 0000000000..7e45eb4506
--- /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 389a4c6163..b9ebc14e68 100644
--- a/docs/Cable.md
+++ b/docs/Cable.md
@@ -7,14 +7,27 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -89,6 +102,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 +262,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 +382,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 0000000000..0ca0923d95
--- /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 0000000000..5e953b5a9e
--- /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 0000000000..a9a0eebea3
--- /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 b90dfd2eac..61b9cded18 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 0000000000..c549b14b86
--- /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 0000000000..3cdd8c4b35
--- /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 0000000000..b90ffa9fd2
--- /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 0000000000..35769fef10
--- /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 0000000000..c893535f7b
--- /dev/null
+++ b/docs/CableType.md
@@ -0,0 +1,57 @@
+# 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"`)
+
+* `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 b9bb4fd7e7..05d8b18154 100644
--- a/docs/Circuit.md
+++ b/docs/Circuit.md
@@ -8,13 +8,28 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
## 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,
@@ -109,6 +124,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 +389,201 @@ 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
[[Back to Model list]](../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 0000000000..b91508e046
--- /dev/null
+++ b/docs/CircuitCircuitTermination.md
@@ -0,0 +1,279 @@
+# CircuitCircuitTermination
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [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.
+
+
+### 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 0000000000..7a7dc6c09f
--- /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/CircuitRequest.md b/docs/CircuitRequest.md
index e28059fb5c..c3ba8efc5c 100644
--- a/docs/CircuitRequest.md
+++ b/docs/CircuitRequest.md
@@ -5,13 +5,24 @@
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]
## 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 +57,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 +322,81 @@ 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.
+
[[Back to Model list]](../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 0000000000..8815d2697f
--- /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 0000000000..594cdc8dcb
--- /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 0000000000..c49a8ea53e
--- /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 11b220a6db..4c645d1e31 100644
--- a/docs/CircuitTermination.md
+++ b/docs/CircuitTermination.md
@@ -7,20 +7,20 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +31,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,
@@ -108,20 +108,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 +148,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 +183,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 +388,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 +476,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 a99223da73..f4116a9998 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/CircuitsAPI.md b/docs/CircuitsAPI.md
index c78529d9c6..185bbd3ef8 100644
--- a/docs/CircuitsAPI.md
+++ b/docs/CircuitsAPI.md
@@ -83,7 +83,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.Termination_1("A"))} // []CircuitTerminationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -147,7 +147,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.Termination_1("A"))} // []CircuitTerminationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -213,7 +213,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.Termination_1("A"))} // []CircuitTerminationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -279,7 +279,7 @@ import (
)
func main() {
- circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A")) // CircuitTerminationRequest |
+ circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example"), openapiclient.Termination_1("A")) // CircuitTerminationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -887,7 +887,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.Termination_1("A")) // CircuitTerminationRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -1715,7 +1715,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 +1779,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 +1845,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 +1911,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)
@@ -2066,8 +2066,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,16 +2125,16 @@ 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)
@@ -2143,10 +2143,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)
terminationAId := []*int32{int32(123)} // []*int32 | Termination A (ID) (optional)
@@ -2209,8 +2209,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,16 +2268,16 @@ 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** | |
@@ -2286,10 +2286,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) |
**terminationAId** | **[]int32** | Termination A (ID) |
@@ -2491,7 +2491,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 +2562,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 +2626,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 +2692,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 +2758,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 +3234,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 +3305,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 +3369,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 +3435,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 +3501,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 +3977,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 +4385,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 +4438,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 +4494,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 +4547,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/Cluster.md b/docs/Cluster.md
index 53f6ac8f25..000b670b0f 100644
--- a/docs/Cluster.md
+++ b/docs/Cluster.md
@@ -8,14 +8,25 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
+**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** | **int64** | | [readonly]
**VirtualmachineCount** | **int64** | | [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, deviceCount int64, virtualmachineCount int64, ) *Cluster`
NewCluster instantiates a new Cluster object
This constructor will assign default values to properties that have it defined,
@@ -110,6 +121,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 +296,161 @@ 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.
+
+
### GetVirtualmachineCount
`func (o *Cluster) GetVirtualmachineCount() int64`
diff --git a/docs/ClusterRequest.md b/docs/ClusterRequest.md
index bfe754ce80..15316566bc 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 0000000000..0753edae9e
--- /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 0000000000..7a03fab9a0
--- /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 0000000000..f68d48cacf
--- /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/ConfigContext.md b/docs/ConfigContext.md
index 3d27ad7edd..d441b91a67 100644
--- a/docs/ConfigContext.md
+++ b/docs/ConfigContext.md
@@ -24,9 +24,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 +36,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,
@@ -533,20 +533,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 +578,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 298074ebfa..a42d2482ad 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 e87b659909..f72c93af84 100644
--- a/docs/ConfigTemplate.md
+++ b/docs/ConfigTemplate.md
@@ -9,12 +9,21 @@ Name | Type | Description | Notes
**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,
@@ -134,6 +143,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 2c1540c0d7..6865ade797 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 165ccf7784..1c85f8c4a3 100644
--- a/docs/ConsolePort.md
+++ b/docs/ConsolePort.md
@@ -7,20 +7,20 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +32,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,
@@ -109,40 +109,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 +319,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 +407,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 +437,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 +467,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 3c9fe81767..4fdb86baec 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 d37560677d..00f005d5e4 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 bdd1627ea0..33af6cae00 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 7686dfe90a..fa7b871e3c 100644
--- a/docs/ConsoleServerPort.md
+++ b/docs/ConsoleServerPort.md
@@ -7,20 +7,20 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +32,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,
@@ -109,40 +109,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 +319,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 +407,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 +437,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 +467,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 995610c634..3e59314af6 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 dfc96440fd..33411a949a 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 6c677fcc53..2fe0e692eb 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 d3701de383..c2e4c2100d 100644
--- a/docs/Contact.md
+++ b/docs/Contact.md
@@ -7,14 +7,25 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -89,6 +100,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 +155,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 +305,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 26a003baba..ae28ebebf3 100644
--- a/docs/ContactAssignment.md
+++ b/docs/ContactAssignment.md
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
**ObjectType** | **string** | |
**ObjectId** | **int64** | |
**Object** | **map[string]interface{}** | | [readonly]
-**Contact** | [**Contact**](Contact.md) | |
-**Role** | Pointer to [**NullableContactRole**](ContactRole.md) | | [optional]
+**Contact** | [**BriefContact**](BriefContact.md) | |
+**Role** | Pointer to [**NullableBriefContactRole**](BriefContactRole.md) | | [optional]
**Priority** | Pointer to [**ContactAssignmentPriority**](ContactAssignmentPriority.md) | | [optional]
**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -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.
diff --git a/docs/ContactAssignmentRequest.md b/docs/ContactAssignmentRequest.md
index de146e2f6f..d0fa2f5cbd 100644
--- a/docs/ContactAssignmentRequest.md
+++ b/docs/ContactAssignmentRequest.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ObjectType** | **string** | |
**ObjectId** | **int64** | |
-**Contact** | [**ContactRequest**](ContactRequest.md) | |
-**Role** | Pointer to [**NullableContactRoleRequest**](ContactRoleRequest.md) | | [optional]
+**Contact** | [**BriefContactRequest**](BriefContactRequest.md) | |
+**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional]
**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.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.
diff --git a/docs/ContactRequest.md b/docs/ContactRequest.md
index 050fa6fb1f..13eead0d4c 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 66937cee41..f54315f013 100644
--- a/docs/ContactRole.md
+++ b/docs/ContactRole.md
@@ -10,12 +10,16 @@ Name | Type | Description | Notes
**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,
@@ -155,6 +159,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 615000a632..dce32edeee 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 18791cb42b..097573560e 100644
--- a/docs/CoreAPI.md
+++ b/docs/CoreAPI.md
@@ -299,7 +299,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 +363,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 +429,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)
diff --git a/docs/CustomField.md b/docs/CustomField.md
index 58a8f87713..13c89b4888 100644
--- a/docs/CustomField.md
+++ b/docs/CustomField.md
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
**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]
@@ -607,20 +607,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/CustomFieldRequest.md b/docs/CustomFieldRequest.md
index ab9dfbfd1c..df280b70b2 100644
--- a/docs/CustomFieldRequest.md
+++ b/docs/CustomFieldRequest.md
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
**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
@@ -521,20 +521,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/CustomLinkButtonClass.md b/docs/CustomLinkButtonClass.md
index f62db6217b..bf68c5956e 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 a332d29cbd..ee1b21636a 100644
--- a/docs/DataFile.md
+++ b/docs/DataFile.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +17,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,
@@ -94,20 +94,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 0768fd476e..45bb353ad1 100644
--- a/docs/DataSource.md
+++ b/docs/DataSource.md
@@ -8,13 +8,24 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
+**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]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Created** | **NullableTime** | | [readonly]
+**LastUpdated** | **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, fileCount int64, ) *DataSource`
NewDataSource instantiates a new DataSource object
This constructor will assign default values to properties that have it defined,
@@ -109,6 +120,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 +230,196 @@ SetDescription sets Description field to given value.
HasDescription 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.
+
+### 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.
+
+### 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
+### 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 f9f23e2557..1f441543ac 100644
--- a/docs/DataSourceRequest.md
+++ b/docs/DataSourceRequest.md
@@ -5,7 +5,7 @@
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]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
### 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.
diff --git a/docs/DataSourceStatus.md b/docs/DataSourceStatus.md
new file mode 100644
index 0000000000..bb83baf4a3
--- /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 0000000000..09a777b52c
--- /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 0000000000..a46091ab0a
--- /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 0000000000..a5d2f0be04
--- /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 0000000000..067bf53d6f
--- /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 0000000000..8d051f27cc
--- /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 2e73f244a9..acb858116c 100644
--- a/docs/DcimAPI.md
+++ b/docs/DcimAPI.md
@@ -1511,10 +1511,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)
terminationAId := []int32{int32(123)} // []int32 | (optional)
@@ -1634,10 +1634,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) |
**terminationAId** | **[]int32** | |
@@ -2723,7 +2723,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 +2787,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 +2853,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 +2919,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 +3034,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute()
@@ -3083,6 +3083,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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,20 +3146,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)
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)
@@ -3170,7 +3172,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).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)
@@ -3220,6 +3222,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -3277,20 +3285,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) |
**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 |
@@ -3557,7 +3561,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)
@@ -4379,7 +4383,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 +4447,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 +4513,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 +4579,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 +4694,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute()
@@ -4739,6 +4743,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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,20 +4806,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)
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)
@@ -4826,7 +4832,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).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)
@@ -4876,6 +4882,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -4933,20 +4945,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) |
**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 |
@@ -5213,7 +5221,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 +5292,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 +5356,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 +5422,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 +5488,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)
@@ -5952,7 +5960,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 +6031,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 +6095,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 +6161,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 +6227,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 +6342,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).DeviceStatusN(deviceStatusN).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 +6385,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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 +6448,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 +6470,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).DeviceStatusN(deviceStatusN).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 +6514,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -6561,20 +6577,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 +6779,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 +7613,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 +7677,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 +7743,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 +7809,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)
@@ -8509,7 +8521,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 +8592,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 +8656,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 +8722,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 +8788,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 +8903,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).AirflowN(airflowN).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).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()
@@ -8924,6 +8936,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 +8962,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)
@@ -9032,8 +9048,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 +9143,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,10 +9164,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)
status := []string{"Inner_example"} // []string | (optional)
@@ -9160,10 +9176,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)
@@ -9187,7 +9203,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).AirflowN(airflowN).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).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()
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)
@@ -9221,6 +9237,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 +9263,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) | |
@@ -9329,8 +9349,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 +9444,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,10 +9465,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) |
**status** | **[]string** | |
@@ -9457,10 +9477,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** | |
@@ -9594,7 +9614,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 +9758,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 +9829,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 +9893,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 +9959,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 +10025,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)
@@ -10529,7 +10549,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 +10620,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 +10684,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 +10750,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 +10816,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 +10931,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute()
@@ -10970,6 +10990,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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,20 +11062,16 @@ 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)
@@ -11064,7 +11086,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).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)
@@ -11124,6 +11146,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -11190,20 +11218,16 @@ 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** | |
@@ -11468,7 +11492,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)
@@ -12310,7 +12334,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 +12398,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 +12464,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 +12530,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 +12645,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).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()
@@ -12672,6 +12696,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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)
@@ -12765,10 +12795,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)
rfChannel := []string{"Inner_example"} // []string | (optional)
rfChannelN := []string{"Inner_example"} // []string | (optional)
rfChannelFrequency := []float64{float64(123)} // []float64 | (optional)
@@ -12787,16 +12817,12 @@ func main() {
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)
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)
@@ -12853,7 +12879,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).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()
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)
@@ -12905,6 +12931,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -12998,10 +13030,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** | |
**rfChannel** | **[]string** | |
**rfChannelN** | **[]string** | |
**rfChannelFrequency** | **[]float64** | |
@@ -13020,16 +13052,12 @@ Name | Type | Description | Notes
**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) |
**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** | |
@@ -13336,7 +13364,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 +14192,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 +14256,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 +14322,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 +14388,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)
@@ -14892,7 +14920,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 +14991,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 +15055,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 +15121,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 +15187,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 +15302,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).DeviceStatusN(deviceStatusN).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 +15365,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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 +15442,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 +15463,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 +15479,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).DeviceStatusN(deviceStatusN).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 +15543,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -15580,10 +15620,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 +15641,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 +15837,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 +15908,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 +15972,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 +16038,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 +16104,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)
@@ -16199,14 +16239,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 +16313,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)
@@ -16302,10 +16342,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)
@@ -16333,14 +16373,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 +16447,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** | |
@@ -16436,10 +16476,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** | |
@@ -16626,7 +16666,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 +17070,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 +17163,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 +17484,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(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -17508,7 +17548,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(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -17574,7 +17614,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(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -17640,7 +17680,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(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // ModuleBayTemplateRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -18134,7 +18174,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(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // ModuleBayTemplateRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -18205,7 +18245,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 +18309,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 +18375,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 +18441,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 +18556,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).DeviceStatusN(deviceStatusN).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).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 +18599,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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)
@@ -18625,20 +18671,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 +18693,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).DeviceStatusN(deviceStatusN).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).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 +18737,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -18761,20 +18809,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 +19011,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 +19082,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 +19146,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 +19212,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 +19278,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)
@@ -19740,7 +19784,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 +19855,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 +19919,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 +19985,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 +20051,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)
@@ -20503,7 +20547,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 +21367,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 +21431,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 +21497,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 +21563,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)
@@ -21738,16 +21782,16 @@ func main() {
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)
@@ -21758,10 +21802,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)
type_ := openapiclient.dcim_power_feeds_list_type_parameter("primary") // DcimPowerFeedsListTypeParameter | * `primary` - Primary * `redundant` - Redundant (optional)
@@ -21882,16 +21926,16 @@ Name | Type | Description | Notes
**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** | |
@@ -21902,10 +21946,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) |
**type_** | [**DcimPowerFeedsListTypeParameter**](DcimPowerFeedsListTypeParameter.md) | * `primary` - Primary * `redundant` - Redundant |
@@ -22171,7 +22215,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)
@@ -23001,7 +23045,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 +23109,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 +23175,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 +23241,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 +23356,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).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()
@@ -23361,6 +23405,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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)
@@ -23422,20 +23472,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)
@@ -23450,7 +23496,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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).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()
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)
@@ -23500,6 +23546,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -23561,20 +23613,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** | |
@@ -23839,7 +23887,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 +23958,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 +24022,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 +24088,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 +24154,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 +24291,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 +24329,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 +24346,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 +24387,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 +24425,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 +24442,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 +24640,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)
@@ -25442,7 +25490,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 +25554,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 +25620,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 +25686,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 +25801,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute()
@@ -25809,6 +25857,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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,20 +25927,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)
@@ -25901,7 +25951,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).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)
@@ -25958,6 +26008,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -26022,20 +26078,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** | |
@@ -26300,7 +26352,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 +26423,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 +26487,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 +26553,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 +26619,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 +26788,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 +26884,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 +27105,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)
@@ -27881,7 +27933,7 @@ import (
)
func main() {
- rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest |
+ rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -27945,7 +27997,7 @@ import (
)
func main() {
- rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest |
+ rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -28011,7 +28063,7 @@ import (
)
func main() {
- rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest |
+ rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
@@ -28077,7 +28129,7 @@ import (
)
func main() {
- 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)
@@ -28319,8 +28371,8 @@ func main() {
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)
+ 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)
@@ -28369,10 +28421,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)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ locationId := []string{"Inner_example"} // []string | (optional)
+ locationIdN := []string{"Inner_example"} // []string | (optional)
maxWeight := []int32{int32(123)} // []int32 | (optional)
maxWeightEmpty := true // bool | (optional)
maxWeightGt := []int32{int32(123)} // []int32 | (optional)
@@ -28418,10 +28470,10 @@ 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)
+ 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)
@@ -28439,10 +28491,10 @@ func main() {
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)
startingUnit := []int32{int32(123)} // []int32 | (optional)
@@ -28458,10 +28510,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)
type_ := []string{"Inner_example"} // []string | (optional)
@@ -28522,8 +28574,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) | |
@@ -28572,10 +28624,10 @@ 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** | |
**maxWeight** | **[]int32** | |
**maxWeightEmpty** | **bool** | |
**maxWeightGt** | **[]int32** | |
@@ -28621,10 +28673,10 @@ 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) |
+ **region** | **[]string** | |
+ **regionN** | **[]string** | |
+ **regionId** | **[]string** | |
+ **regionIdN** | **[]string** | |
**role** | **[]string** | Role (slug) |
**roleN** | **[]string** | Role (slug) |
**roleId** | **[]int32** | Role (ID) |
@@ -28642,10 +28694,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** | |
@@ -28661,10 +28713,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) |
**type_** | **[]string** | |
@@ -28871,7 +28923,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 +28994,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 +29058,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 +29124,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)
@@ -29729,7 +29781,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 +29845,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 +29911,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 +29977,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 +30092,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute()
@@ -30099,6 +30151,12 @@ 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)
+ deviceStatusN := []string{"Inner_example"} // []string | (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,20 +30221,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)
@@ -30191,7 +30245,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).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).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusN(deviceStatusN).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_).TypeN(typeN).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)
@@ -30251,6 +30305,12 @@ 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** | |
+ **deviceStatusN** | **[]string** | |
**deviceType** | **[]string** | Device type (model) |
**deviceTypeN** | **[]string** | Device type (model) |
**deviceTypeId** | **[]int32** | Device type (ID) |
@@ -30315,20 +30375,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** | |
@@ -30593,7 +30649,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 +31051,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 +31152,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 +31814,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 +31915,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) | |
@@ -32527,8 +32583,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 +32617,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 +32665,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)
@@ -32630,10 +32686,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)
timeZone := []string{"Inner_example"} // []string | (optional)
@@ -32677,8 +32733,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 +32767,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 +32815,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** | |
@@ -32780,10 +32836,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) |
**timeZone** | **[]string** | |
@@ -33453,16 +33509,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 +33623,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 +33896,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 +33960,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 +34026,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 +34092,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)
@@ -34244,10 +34300,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)
@@ -34348,10 +34404,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** | |
@@ -34538,7 +34594,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/Device.md b/docs/Device.md
index ee4593df23..b34367b882 100644
--- a/docs/Device.md
+++ b/docs/Device.md
@@ -8,15 +8,15 @@ Name | Type | Description | Notes
**Url** | **string** | | [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 +24,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]
**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]
@@ -55,7 +55,7 @@ Name | Type | Description | Notes
### 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, deviceType BriefDeviceType, role BriefDeviceRole, site BriefSite, parentDevice NullableNestedDevice, primaryIp NullableBriefIPAddress, 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`
NewDevice instantiates a new Device object
This constructor will assign default values to properties that have it defined,
@@ -167,60 +167,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 *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.
### 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.
### 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 +242,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 +337,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 *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.
### 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 +392,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.
@@ -637,20 +637,20 @@ 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.
@@ -667,20 +667,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 +702,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 +737,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 +772,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 +807,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.
@@ -962,20 +962,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.
diff --git a/docs/DeviceBay.md b/docs/DeviceBay.md
index e19772ad5d..202327921a 100644
--- a/docs/DeviceBay.md
+++ b/docs/DeviceBay.md
@@ -7,11 +7,11 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +21,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,
@@ -98,20 +98,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 +188,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 9229313f33..78e056c6da 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 ffb6fdad4c..a938074cea 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 48b82be6aa..3dcbe76461 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 69757a60f2..590e06236b 100644
--- a/docs/DeviceRole.md
+++ b/docs/DeviceRole.md
@@ -9,7 +9,14 @@ Name | Type | Description | Notes
**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]
+**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Created** | **NullableTime** | | [readonly]
+**LastUpdated** | **NullableTime** | | [readonly]
**DeviceCount** | **int64** | | [readonly]
**VirtualmachineCount** | **int64** | | [readonly]
@@ -17,7 +24,7 @@ Name | Type | Description | Notes
### 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, deviceCount int64, virtualmachineCount int64, ) *DeviceRole`
NewDeviceRole instantiates a new DeviceRole object
This constructor will assign default values to properties that have it defined,
@@ -132,6 +139,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 +249,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`
diff --git a/docs/DeviceRoleRequest.md b/docs/DeviceRoleRequest.md
index 63022acb94..05cd2213c4 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 0fd8ee2280..b0f70fb61c 100644
--- a/docs/DeviceType.md
+++ b/docs/DeviceType.md
@@ -7,17 +7,43 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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]
+**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** | **int64** | | [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, deviceCount int64, 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,
@@ -94,24 +120,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 +213,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 +548,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`
@@ -197,6 +703,206 @@ and a boolean to check if the value has been set.
SetDeviceCount sets DeviceCount field to given value.
+### 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 0000000000..fab620ce56
--- /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 a5e6c3addc..8f7d9822f4 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 0000000000..db29e38f3f
--- /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 0000000000..b25ddf7650
--- /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 0000000000..ea9ac170d3
--- /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 0000000000..f1209e70ac
--- /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 0000000000..0df3e3f7ff
--- /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 0000000000..21912d5303
--- /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 0000000000..a4ff2942b8
--- /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 0000000000..ccc9d2c7ab
--- /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 0000000000..4d8026e601
--- /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 570136c0db..5c87b962fa 100644
--- a/docs/DeviceWithConfigContext.md
+++ b/docs/DeviceWithConfigContext.md
@@ -8,15 +8,15 @@ Name | Type | Description | Notes
**Url** | **string** | | [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 +24,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 +56,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,
@@ -168,60 +168,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 +243,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 +338,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 +393,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 +638,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 +668,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 +703,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 +738,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 +773,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 +808,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 +963,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 6d521edef4..d32891dde9 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/ExportTemplate.md b/docs/ExportTemplate.md
index 0371ebe2e9..0344e3ac5b 100644
--- a/docs/ExportTemplate.md
+++ b/docs/ExportTemplate.md
@@ -14,9 +14,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 +25,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,
@@ -262,20 +262,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 +307,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 1a7beb1a24..392c93a2c9 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 ed3040e29b..57efa1283b 100644
--- a/docs/ExtrasAPI.md
+++ b/docs/ExtrasAPI.md
@@ -164,7 +164,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 +228,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 +294,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 +360,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 +764,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)
@@ -1760,7 +1760,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 +1824,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 +1890,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 +1956,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 +2356,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 +2500,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 +2572,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)
@@ -4652,8 +4652,8 @@ 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)
+ 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 * `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)
@@ -4769,8 +4769,8 @@ 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 |
+ **buttonClassN** | [**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) | |
@@ -7014,7 +7014,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 +7078,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 +7144,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 +7210,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 +7680,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)
diff --git a/docs/ExtrasCustomLinksListButtonClassParameter.md b/docs/ExtrasCustomLinksListButtonClassParameter.md
index f0207ccf5d..5540c98b8c 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/FHRPGroup.md b/docs/FHRPGroup.md
index 1b55f2fa80..5558b9746c 100644
--- a/docs/FHRPGroup.md
+++ b/docs/FHRPGroup.md
@@ -5,17 +5,26 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int32** | | [readonly]
+**Name** | Pointer to **string** | | [optional]
**Url** | **string** | | [readonly]
**Display** | **string** | | [readonly]
-**Protocol** | [**FHRPGroupProtocol**](FHRPGroupProtocol.md) | |
+**Protocol** | [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | |
**GroupId** | **int32** | |
+**AuthType** | Pointer to [**AuthenticationType**](AuthenticationType.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 +59,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`
@@ -92,20 +126,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 +164,56 @@ and a boolean to check if the value has been set.
SetGroupId sets GroupId field to given value.
+### GetAuthType
+
+`func (o *FHRPGroup) GetAuthType() AuthenticationType`
+
+GetAuthType returns the AuthType field if non-nil, zero value otherwise.
+
+### GetAuthTypeOk
+
+`func (o *FHRPGroup) GetAuthTypeOk() (*AuthenticationType, 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 AuthenticationType)`
+
+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 +239,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 c6fa9037f7..c12dfa4739 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 b589eac9d8..89a52663c8 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 f7572c47f5..3cf2f71ca2 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 [**AuthenticationType**](AuthenticationType.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() AuthenticationType`
+
+GetAuthType returns the AuthType field if non-nil, zero value otherwise.
+
+### GetAuthTypeOk
+
+`func (o *FHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType, 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 AuthenticationType)`
+
+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 5cba25bc85..155025595d 100644
--- a/docs/FrontPort.md
+++ b/docs/FrontPort.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +17,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 +31,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,
@@ -108,40 +108,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 +348,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 +436,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/FrontPortRequest.md b/docs/FrontPortRequest.md
index 91c8194b7a..bd9fb2cd9d 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 31aa9d758e..ceb0795081 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 08dc1ef798..8e27f7687c 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/GenericObject.md b/docs/GenericObject.md
new file mode 100644
index 0000000000..b409766a4d
--- /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/IKEPolicy.md b/docs/IKEPolicy.md
index 91c8a8e58b..0222743542 100644
--- a/docs/IKEPolicy.md
+++ b/docs/IKEPolicy.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**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 +23,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,
@@ -182,6 +182,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 9a18d7f6dd..919cb92b90 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 ee499984d3..b3a0b8d1a8 100644
--- a/docs/IKEProposal.md
+++ b/docs/IKEProposal.md
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**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 +24,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,
@@ -203,6 +203,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 d61d24fd8a..a96502c8ad 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 ed004ef146..c7934716a4 100644
--- a/docs/IPAddress.md
+++ b/docs/IPAddress.md
@@ -9,13 +9,28 @@ Name | Type | Description | Notes
**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,
@@ -130,6 +145,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 +470,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 7944d1cf99..808e934b22 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 0000000000..a3556e5953
--- /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 0000000000..57453cb719
--- /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 0000000000..fe031504fc
--- /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 0000000000..961c2b0d10
--- /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 0000000000..85c0415725
--- /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 0000000000..8794985a82
--- /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 4d6a50ec04..e6488a006e 100644
--- a/docs/IPRange.md
+++ b/docs/IPRange.md
@@ -11,10 +11,10 @@ Name | Type | Description | Notes
**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]
@@ -184,20 +184,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 +219,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 +279,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 35f6cc2210..11d861c010 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/IPSecProfile.md b/docs/IPSecProfile.md
index 9582c52588..4d367c90d2 100644
--- a/docs/IPSecProfile.md
+++ b/docs/IPSecProfile.md
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
**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 +22,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,
@@ -164,40 +164,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 74f1a9171d..35d915482e 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/ImageAttachment.md b/docs/ImageAttachment.md
index 254d230c2f..c7288671f0 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 7728d54e5a..b79b8f76ea 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 222d4907da..2ad3af4e55 100644
--- a/docs/Interface.md
+++ b/docs/Interface.md
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +32,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 +58,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,
@@ -135,20 +135,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 +180,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 +865,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 +950,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 +1068,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 +1105,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 +1140,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 +1188,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 +1218,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 9a58216f3f..2a12dd4c4b 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 fe7c519cdc..447d3bcb8b 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 e916c81165..5646cf9a6a 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 74891e8c26..16fefb006e 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)"`)
@@ -125,6 +127,8 @@
* `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)"`)
* `OTHER__WIRELESS` (value: `"Other (Wireless)"`)
diff --git a/docs/InterfaceTypeValue.md b/docs/InterfaceTypeValue.md
index 4d0b0417fd..e42eb73f5e 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"`)
@@ -125,6 +127,8 @@
* `IEEE802_11AY` (value: `"ieee802.11ay"`)
+* `IEEE802_11BE` (value: `"ieee802.11be"`)
+
* `IEEE802_15_1` (value: `"ieee802.15.1"`)
* `OTHER_WIRELESS` (value: `"other-wireless"`)
diff --git a/docs/InventoryItem.md b/docs/InventoryItem.md
index 899e554b9d..af053682b0 100644
--- a/docs/InventoryItem.md
+++ b/docs/InventoryItem.md
@@ -7,12 +7,12 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +31,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,
@@ -108,20 +108,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 +208,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 +243,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 580df6b263..8fe8b8c2d8 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/InventoryItemTemplate.md b/docs/InventoryItemTemplate.md
index 94833b0ef3..eddb4a2b36 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 fb68460d1e..c73bbf2c3a 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 3113766dae..7088e68126 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)
@@ -3984,7 +3984,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)
@@ -4474,10 +4474,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)
@@ -4603,10 +4603,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** | |
@@ -5408,10 +5408,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)
@@ -5504,10 +5504,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** | |
@@ -6446,20 +6446,20 @@ 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)
@@ -6468,10 +6468,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)
@@ -6576,20 +6576,20 @@ 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 |
@@ -6598,10 +6598,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** | |
@@ -8760,10 +8760,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 +8860,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** | |
@@ -11923,20 +11923,20 @@ 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)
@@ -11945,10 +11945,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)
@@ -12043,20 +12043,20 @@ 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 |
@@ -12065,10 +12065,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** | |
@@ -12737,10 +12737,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 +12841,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/Job.md b/docs/Job.md
index 1366c59151..747e8c78d9 100644
--- a/docs/Job.md
+++ b/docs/Job.md
@@ -10,13 +10,13 @@ Name | Type | Description | Notes
**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 +25,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,
@@ -177,20 +177,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 +357,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/L2VPN.md b/docs/L2VPN.md
index 85cc2783ea..2df77a9a1d 100644
--- a/docs/L2VPN.md
+++ b/docs/L2VPN.md
@@ -10,14 +10,22 @@ Name | Type | Description | Notes
**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,
@@ -169,20 +177,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 +200,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 +275,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 7c5fb24c8c..22f327eb13 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 4c558a8e62..af432e9672 100644
--- a/docs/L2VPNTermination.md
+++ b/docs/L2VPNTermination.md
@@ -7,13 +7,20 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -90,24 +97,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 06ee7633d1..2fb1317c5f 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 4130ec5473..01b5258690 100644
--- a/docs/Location.md
+++ b/docs/Location.md
@@ -9,15 +9,25 @@ Name | Type | Description | Notes
**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** | **int32** | | [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, deviceCount int32, depth int32, ) *Location`
NewLocation instantiates a new Location object
This constructor will assign default values to properties that have it defined,
@@ -132,6 +142,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 +307,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 +437,26 @@ 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.
+
+
### GetDepth
`func (o *Location) GetDepth() int32`
diff --git a/docs/LocationRequest.md b/docs/LocationRequest.md
index f23f111fd2..0dd6b179cd 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 0000000000..817680af33
--- /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 0000000000..611c91d2be
--- /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 0000000000..37cbbe607b
--- /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 c4c2211adc..d1c5370ea8 100644
--- a/docs/Manufacturer.md
+++ b/docs/Manufacturer.md
@@ -10,13 +10,19 @@ Name | Type | Description | Notes
**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]
**DevicetypeCount** | **int64** | | [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, devicetypeCount int64, inventoryitemCount int64, platformCount int64, ) *Manufacturer`
NewManufacturer instantiates a new Manufacturer object
This constructor will assign default values to properties that have it defined,
@@ -156,6 +162,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`
@@ -176,6 +292,46 @@ and a boolean to check if the value has been set.
SetDevicetypeCount sets DevicetypeCount field to given value.
+### 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 669fe23896..6f878526ba 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 a9257180a8..ee37a0996c 100644
--- a/docs/Module.md
+++ b/docs/Module.md
@@ -7,14 +7,24 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -91,20 +101,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 +139,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 71f7349397..c269e7d1c5 100644
--- a/docs/ModuleBay.md
+++ b/docs/ModuleBay.md
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [readonly]
**Display** | **string** | | [readonly]
-**Device** | [**Device**](Device.md) | |
+**Device** | [**BriefDevice**](BriefDevice.md) | |
**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 +22,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,
@@ -99,20 +99,20 @@ 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.
@@ -139,20 +139,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 aa37cbe9d9..adbc0fcbed 100644
--- a/docs/ModuleBayRequest.md
+++ b/docs/ModuleBayRequest.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Device** | [**DeviceRequest**](DeviceRequest.md) | |
+**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | |
**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 +17,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,20 +34,20 @@ 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.
@@ -74,20 +74,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 237edfcafb..99d99ac2d2 100644
--- a/docs/ModuleBayTemplate.md
+++ b/docs/ModuleBayTemplate.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]
**Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional]
@@ -19,7 +19,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, deviceType BriefDeviceType, 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,20 +96,20 @@ 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.
diff --git a/docs/ModuleBayTemplateRequest.md b/docs/ModuleBayTemplateRequest.md
index 75345ace9c..71c604cebc 100644
--- a/docs/ModuleBayTemplateRequest.md
+++ b/docs/ModuleBayTemplateRequest.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]
**Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional]
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
### NewModuleBayTemplateRequest
-`func NewModuleBayTemplateRequest(deviceType DeviceTypeRequest, name string, ) *ModuleBayTemplateRequest`
+`func NewModuleBayTemplateRequest(deviceType BriefDeviceTypeRequest, name string, ) *ModuleBayTemplateRequest`
NewModuleBayTemplateRequest instantiates a new ModuleBayTemplateRequest object
This constructor will assign default values to properties that have it defined,
@@ -31,20 +31,20 @@ 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.
diff --git a/docs/ModuleRequest.md b/docs/ModuleRequest.md
index 648ff41f3d..11b1cbda2b 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 0000000000..5ad5a6dedc
--- /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 0000000000..3673c61f21
--- /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 0000000000..6e8631fd7d
--- /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 2c09e327c6..469f16a9f0 100644
--- a/docs/ModuleType.md
+++ b/docs/ModuleType.md
@@ -7,15 +7,23 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [readonly]
**Display** | **string** | | [readonly]
-**Manufacturer** | [**Manufacturer**](Manufacturer.md) | |
+**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | |
**Model** | **string** | |
+**PartNumber** | Pointer to **string** | Discrete part number (optional) | [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,
@@ -92,20 +100,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 +138,101 @@ 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.
+
+### 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 +258,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/ModuleTypeRequest.md b/docs/ModuleTypeRequest.md
index 53185cdf3a..e7e0eb5e6f 100644
--- a/docs/ModuleTypeRequest.md
+++ b/docs/ModuleTypeRequest.md
@@ -4,15 +4,21 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | |
**Model** | **string** | |
+**PartNumber** | Pointer to **string** | Discrete part number (optional) | [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 +35,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 +73,101 @@ 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.
+
+### 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 +193,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/NestedIPAddress.md b/docs/NestedIPAddress.md
new file mode 100644
index 0000000000..6511d27732
--- /dev/null
+++ b/docs/NestedIPAddress.md
@@ -0,0 +1,135 @@
+# NestedIPAddress
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [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.
+
+
+### 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 0000000000..731329f5bd
--- /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/NestedLocation.md b/docs/NestedLocation.md
new file mode 100644
index 0000000000..dd365604eb
--- /dev/null
+++ b/docs/NestedLocation.md
@@ -0,0 +1,156 @@
+# NestedLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [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.
+
+
+### 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 0000000000..d3b0a011eb
--- /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/NestedProviderAccount.md b/docs/NestedProviderAccount.md
new file mode 100644
index 0000000000..e76d3ad030
--- /dev/null
+++ b/docs/NestedProviderAccount.md
@@ -0,0 +1,140 @@
+# NestedProviderAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [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.
+
+
+### 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/NestedWirelessLANGroup.md b/docs/NestedWirelessLANGroup.md
new file mode 100644
index 0000000000..d7239e89f4
--- /dev/null
+++ b/docs/NestedWirelessLANGroup.md
@@ -0,0 +1,156 @@
+# NestedWirelessLANGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **int32** | | [readonly]
+**Url** | **string** | | [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.
+
+
+### 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/ObjectChange.md b/docs/ObjectChange.md
index 574ef3fe50..18c7e21637 100644
--- a/docs/ObjectChange.md
+++ b/docs/ObjectChange.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Url** | **string** | | [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 +22,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,
@@ -119,20 +119,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/PatchedASNRangeRequest.md b/docs/PatchedASNRangeRequest.md
index a777fc11f7..235fbbe6c5 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 4df3e7c67d..498a458665 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 344f1ee74c..b82fd2d84a 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/PatchedCircuitTerminationRequest.md b/docs/PatchedCircuitTerminationRequest.md
index 1785e201e3..28bdc580ba 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 c4a77f8872..5162d6aca2 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 c9b1475925..37005f0125 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 d1ad6719e2..042bee7750 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 bf25fd2a40..9df288606a 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 5ba265ed2b..dc8920d73c 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 19824a38b8..f66bc8e9f6 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 0a424e1f2a..2195f5d070 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 4e987d7522..94ee184e36 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 b1e63b0ca4..b708c64857 100644
--- a/docs/PatchedFHRPGroupRequest.md
+++ b/docs/PatchedFHRPGroupRequest.md
@@ -5,7 +5,7 @@
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]
**AuthKey** | 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.
diff --git a/docs/PatchedImageAttachmentRequest.md b/docs/PatchedImageAttachmentRequest.md
index de2766af0c..fd6d6db096 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 29a3617b6e..15eb808cc9 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 8bc9025d49..7be75bce81 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 52faa0e937..4027c8f8ff 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 57abae4fcc..f41a82e9b0 100644
--- a/docs/PatchedModuleBayRequest.md
+++ b/docs/PatchedModuleBayRequest.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional]
+**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.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 +34,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.
@@ -84,20 +84,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 afa822d29c..dab39863e3 100644
--- a/docs/PatchedModuleBayTemplateRequest.md
+++ b/docs/PatchedModuleBayTemplateRequest.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]
**Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional]
@@ -31,20 +31,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.
diff --git a/docs/PatchedPlatformRequest.md b/docs/PatchedPlatformRequest.md
index 8c681c6587..a45b87ba44 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 1f2bda37d8..832203743a 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 e4f8fd72e4..8dcbb884ec 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 71345eb121..9bc9624e3b 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 5347665db9..0b0b9d3343 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 a08f52e557..95629a647a 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/PatchedTenantRequest.md b/docs/PatchedTenantRequest.md
index 660e888105..a4b3b23b06 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 a62dfd87e8..8d27c1785a 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/PatchedVRFRequest.md b/docs/PatchedVRFRequest.md
index 5c927e21cf..5b3fbced69 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 f8b0d3d48e..1a7dd3c340 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 41ef048227..3278caefcf 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 431b4945f3..f01965e688 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/PatchedWritableCircuitRequest.md b/docs/PatchedWritableCircuitRequest.md
index 90bca5029f..3dcd3c6a91 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]
@@ -64,20 +64,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 +89,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 +124,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 +149,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 +174,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.
diff --git a/docs/PatchedWritableClusterRequest.md b/docs/PatchedWritableClusterRequest.md
index 18ee4fc620..0e1f19b931 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 52a08ee909..1b5ea9f2d8 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 d9dbf04aa4..8540149355 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 05b70f9d54..b2b57e24c8 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 ef7c3aa0ee..b8326fbb5c 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 e2b7dc360c..eec9b929b9 100644
--- a/docs/PatchedWritableContactAssignmentRequest.md
+++ b/docs/PatchedWritableContactAssignmentRequest.md
@@ -6,8 +6,8 @@ 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]
+**Contact** | Pointer to [**BriefContactRequest**](BriefContactRequest.md) | | [optional]
+**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional]
**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.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.
diff --git a/docs/PatchedWritableCustomFieldRequest.md b/docs/PatchedWritableCustomFieldRequest.md
index 21645eb48d..ece76fae65 100644
--- a/docs/PatchedWritableCustomFieldRequest.md
+++ b/docs/PatchedWritableCustomFieldRequest.md
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
**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
@@ -536,20 +536,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/PatchedWritableDeviceTypeRequest.md b/docs/PatchedWritableDeviceTypeRequest.md
index 330f80fe3e..6175c121ac 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 2d049b1033..e460e87966 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/PatchedWritableFrontPortRequest.md b/docs/PatchedWritableFrontPortRequest.md
index 1ad15f568d..83f7b749b5 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 2b26765814..79b85c9058 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 283f8e6e42..49191ed363 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 f38f938337..3179cd2c06 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 8692a34abc..8cb953b36d 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/PatchedWritableInterfaceRequest.md b/docs/PatchedWritableInterfaceRequest.md
index be3d47b6da..b80cdd3d02 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]
@@ -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]
@@ -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.
@@ -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 dce5b9c25e..37a2b39736 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]
@@ -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.
diff --git a/docs/PatchedWritableL2VPNRequest.md b/docs/PatchedWritableL2VPNRequest.md
index 27aad448fc..f149765a22 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 acc3b3ce7e..cb0dab0cb8 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 e5788f6e4e..044d52a7b2 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 179b6c6826..cdfb02f279 100644
--- a/docs/PatchedWritableModuleTypeRequest.md
+++ b/docs/PatchedWritableModuleTypeRequest.md
@@ -4,11 +4,11 @@
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]
**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 +35,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.
@@ -145,20 +145,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 cc35f75bc0..5a59507742 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 eb1ac8177a..e32eb4ef3b 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/PatchedWritablePowerOutletTemplateRequest.md b/docs/PatchedWritablePowerOutletTemplateRequest.md
index 42e796ccf8..083418fb7d 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/PatchedWritablePowerPortRequest.md b/docs/PatchedWritablePowerPortRequest.md
index 197374b544..50ac83cae6 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/PatchedWritablePowerPortTemplateRequest.md b/docs/PatchedWritablePowerPortTemplateRequest.md
index 1b737c2aa6..a6282b6992 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/PatchedWritablePrefixRequest.md b/docs/PatchedWritablePrefixRequest.md
index 91217763d8..11ecea4d77 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 ee517e47ea..b1f058c1d4 100644
--- a/docs/PatchedWritableRackRequest.md
+++ b/docs/PatchedWritableRackRequest.md
@@ -6,11 +6,11 @@ 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]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**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]
@@ -111,20 +111,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 +136,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 +171,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 +231,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.
@@ -496,20 +496,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.
diff --git a/docs/PatchedWritableRearPortRequest.md b/docs/PatchedWritableRearPortRequest.md
index f77fdd2db5..c3687e9e30 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 200b96c81b..2e43d2d102 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 1766d4654c..7a04b670cf 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 508c38a898..8c3c896c87 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 5fa722f815..a4407ef86b 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 15f17c6229..3cbfca83e0 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 edfc174e7c..489fc76da0 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 ae6bedaead..219ce7f6b6 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 1954bc8537..e9b0dc680d 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 08fc04070a..3abc228e52 100644
--- a/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md
+++ b/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md
@@ -5,21 +5,21 @@
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]
+**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 +70,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 +95,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 +130,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 +165,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.
@@ -200,20 +200,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
### 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 +235,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 +270,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 +305,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 +340,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 +530,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 6bb30de66f..efcbde3780 100644
--- a/docs/PatchedWritableWirelessLANRequest.md
+++ b/docs/PatchedWritableWirelessLANRequest.md
@@ -6,10 +6,10 @@ 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]
+**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional]
+**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional]
**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional]
**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional]
**AuthPsk** | Pointer to **string** | | [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.
diff --git a/docs/PatchedWritableWirelessLinkRequest.md b/docs/PatchedWritableWirelessLinkRequest.md
index a04db8cf46..a3cb5449b1 100644
--- a/docs/PatchedWritableWirelessLinkRequest.md
+++ b/docs/PatchedWritableWirelessLinkRequest.md
@@ -4,11 +4,11 @@
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]
+**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional]
+**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional]
**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional]
**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional]
**AuthPsk** | Pointer to **string** | | [optional]
@@ -38,20 +38,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 +63,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 +113,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 +138,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.
diff --git a/docs/Platform.md b/docs/Platform.md
index abceb730ab..69ecbd0eee 100644
--- a/docs/Platform.md
+++ b/docs/Platform.md
@@ -9,7 +9,13 @@ Name | Type | Description | Notes
**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]
+**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Created** | **NullableTime** | | [readonly]
+**LastUpdated** | **NullableTime** | | [readonly]
**DeviceCount** | **int64** | | [readonly]
**VirtualmachineCount** | **int64** | | [readonly]
@@ -17,7 +23,7 @@ Name | Type | Description | Notes
### 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, deviceCount int64, virtualmachineCount int64, ) *Platform`
NewPlatform instantiates a new Platform object
This constructor will assign default values to properties that have it defined,
@@ -132,6 +138,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 +233,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`
diff --git a/docs/PlatformRequest.md b/docs/PlatformRequest.md
index 39c7230e55..160d7324ae 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 d1fe1f2363..bb7da6f642 100644
--- a/docs/PowerFeed.md
+++ b/docs/PowerFeed.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +18,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 +38,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,
@@ -115,40 +115,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 +390,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 +478,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 +508,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 +538,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 +595,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 d72dbffb67..a08360ebc8 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 488ae2777c..bba51102d9 100644
--- a/docs/PowerOutlet.md
+++ b/docs/PowerOutlet.md
@@ -7,21 +7,21 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +33,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,
@@ -110,40 +110,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 +245,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 +365,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 +453,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 +483,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 +513,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 13dda02fda..d972b8040a 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/PowerOutletTemplate.md b/docs/PowerOutletTemplate.md
index f682defafd..e762a82dce 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 36e06e4b63..c4cb92e502 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/PowerPanel.md b/docs/PowerPanel.md
index 31346d7075..eff9101fb3 100644
--- a/docs/PowerPanel.md
+++ b/docs/PowerPanel.md
@@ -7,15 +7,22 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -90,6 +97,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 +197,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 +292,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 1993a4681d..dbe61e3b7a 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 43c65c7fa9..a0b7c10d84 100644
--- a/docs/PowerPort.md
+++ b/docs/PowerPort.md
@@ -7,17 +7,33 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -94,24 +110,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 +183,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 +338,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 +393,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 5828bf3578..26e241c9a7 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 0000000000..8e0e72a177
--- /dev/null
+++ b/docs/PowerPortRequestType.md
@@ -0,0 +1,217 @@
+# 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_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 0ddb2e3244..6f50846c8e 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 7c113cd12a..30f81cd0ba 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 0000000000..c982432ff5
--- /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 0000000000..185ebd9622
--- /dev/null
+++ b/docs/PowerPortTypeLabel.md
@@ -0,0 +1,215 @@
+# 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_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 b1b6821a6e..1b3d22cc86 100644
--- a/docs/Prefix.md
+++ b/docs/Prefix.md
@@ -9,12 +9,12 @@ Name | Type | Description | Notes
**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]
@@ -147,20 +147,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 +182,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 +217,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 +252,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 +312,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 ae1f2006b8..9f8079465f 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 16fd7e5dfc..75f04b56d0 100644
--- a/docs/Provider.md
+++ b/docs/Provider.md
@@ -9,14 +9,21 @@ Name | Type | Description | Notes
**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,
@@ -131,6 +138,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 +188,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 aac9f2198e..36db4d0a81 100644
--- a/docs/ProviderAccount.md
+++ b/docs/ProviderAccount.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +21,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,
@@ -98,20 +98,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 73ff7c78bf..bf38cf07ef 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 de3e093732..dc8cdddb32 100644
--- a/docs/ProviderNetwork.md
+++ b/docs/ProviderNetwork.md
@@ -7,14 +7,21 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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,
@@ -89,6 +96,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 +136,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 +186,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 21f981aa69..45b2b952a6 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 a7e51837e8..c03de9ce67 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 2c027c73a1..3951fd50f6 100644
--- a/docs/RIR.md
+++ b/docs/RIR.md
@@ -9,14 +9,19 @@ Name | Type | Description | Notes
**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,
@@ -131,6 +136,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 +186,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 3a102b34c4..761c2570e4 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 5628a5efc9..15cf168879 100644
--- a/docs/Rack.md
+++ b/docs/Rack.md
@@ -8,14 +8,40 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
+**Type** | Pointer to [**NullableRackType**](RackType.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]
**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]
**DeviceCount** | **int64** | | [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, deviceCount int64, powerfeedCount int64, ) *Rack`
NewRack instantiates a new Rack object
This constructor will assign default values to properties that have it defined,
@@ -110,6 +136,631 @@ 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
+### GetType
+
+`func (o *Rack) GetType() RackType`
+
+GetType returns the Type field if non-nil, zero value otherwise.
+
+### GetTypeOk
+
+`func (o *Rack) GetTypeOk() (*RackType, 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 *Rack) SetType(v RackType)`
+
+SetType sets Type field to given value.
+
+### HasType
+
+`func (o *Rack) HasType() bool`
+
+HasType returns a boolean if a field has been set.
+
+### SetTypeNil
+
+`func (o *Rack) SetTypeNil(b bool)`
+
+ SetTypeNil sets the value for Type to be an explicit nil
+
+### UnsetType
+`func (o *Rack) UnsetType()`
+
+UnsetType ensures that no value is present for Type, 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
### GetDescription
`func (o *Rack) GetDescription() string`
@@ -135,6 +786,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`
@@ -155,6 +941,26 @@ and a boolean to check if the value has been set.
SetDeviceCount sets DeviceCount field to given value.
+### 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/RackOuterUnit.md b/docs/RackOuterUnit.md
new file mode 100644
index 0000000000..09a88910f6
--- /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 0000000000..760faedf16
--- /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 fdc2c2dd55..8f617a7a3a 100644
--- a/docs/RackRequest.md
+++ b/docs/RackRequest.md
@@ -5,13 +5,36 @@
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]
+**Type** | Pointer to [**NullableRackRequestType**](RackRequestType.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]
**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 +69,631 @@ 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
+### GetType
+
+`func (o *RackRequest) GetType() RackRequestType`
+
+GetType returns the Type field if non-nil, zero value otherwise.
+
+### GetTypeOk
+
+`func (o *RackRequest) GetTypeOk() (*RackRequestType, 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 *RackRequest) SetType(v RackRequestType)`
+
+SetType sets Type field to given value.
+
+### HasType
+
+`func (o *RackRequest) HasType() bool`
+
+HasType returns a boolean if a field has been set.
+
+### SetTypeNil
+
+`func (o *RackRequest) SetTypeNil(b bool)`
+
+ SetTypeNil sets the value for Type to be an explicit nil
+
+### UnsetType
+`func (o *RackRequest) UnsetType()`
+
+UnsetType ensures that no value is present for Type, 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
### GetDescription
`func (o *RackRequest) GetDescription() string`
@@ -71,6 +719,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/RackRequestOuterUnit.md b/docs/RackRequestOuterUnit.md
new file mode 100644
index 0000000000..8316b288d2
--- /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/RackRequestType.md b/docs/RackRequestType.md
new file mode 100644
index 0000000000..410f30589b
--- /dev/null
+++ b/docs/RackRequestType.md
@@ -0,0 +1,25 @@
+# RackRequestType
+
+## 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/RackReservation.md b/docs/RackReservation.md
index d8fdbd2ff4..81309eb99a 100644
--- a/docs/RackReservation.md
+++ b/docs/RackReservation.md
@@ -7,12 +7,12 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +22,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,
@@ -99,20 +99,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 +199,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 e87e36a898..1910e473a1 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/RackStatus.md b/docs/RackStatus.md
new file mode 100644
index 0000000000..414f07ddeb
--- /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 0000000000..0b700039e6
--- /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 0000000000..aa761d4530
--- /dev/null
+++ b/docs/RackType.md
@@ -0,0 +1,82 @@
+# RackType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | Pointer to [**PatchedWritableRackRequestType**](PatchedWritableRackRequestType.md) | | [optional]
+**Label** | Pointer to [**RackTypeLabel**](RackTypeLabel.md) | | [optional]
+
+## Methods
+
+### NewRackType
+
+`func NewRackType() *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
+
+### GetValue
+
+`func (o *RackType) GetValue() PatchedWritableRackRequestType`
+
+GetValue returns the Value field if non-nil, zero value otherwise.
+
+### GetValueOk
+
+`func (o *RackType) GetValueOk() (*PatchedWritableRackRequestType, 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 *RackType) SetValue(v PatchedWritableRackRequestType)`
+
+SetValue sets Value field to given value.
+
+### HasValue
+
+`func (o *RackType) HasValue() bool`
+
+HasValue returns a boolean if a field has been set.
+
+### GetLabel
+
+`func (o *RackType) GetLabel() RackTypeLabel`
+
+GetLabel returns the Label field if non-nil, zero value otherwise.
+
+### GetLabelOk
+
+`func (o *RackType) GetLabelOk() (*RackTypeLabel, 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 *RackType) SetLabel(v RackTypeLabel)`
+
+SetLabel sets Label field to given value.
+
+### HasLabel
+
+`func (o *RackType) 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/RackTypeLabel.md b/docs/RackTypeLabel.md
new file mode 100644
index 0000000000..286a95c70d
--- /dev/null
+++ b/docs/RackTypeLabel.md
@@ -0,0 +1,23 @@
+# RackTypeLabel
+
+## 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/RackUnit.md b/docs/RackUnit.md
index 507d76f97f..170729fb94 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 0000000000..04b03ffe83
--- /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 0000000000..c6fa6cba1a
--- /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 0000000000..c4f90af4da
--- /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 18ec1face6..0d86bc74de 100644
--- a/docs/RearPort.md
+++ b/docs/RearPort.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +16,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 +30,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,
@@ -107,40 +107,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 +327,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 +415,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 3555c4450e..8a6a327559 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 004494da36..a687076f73 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 d139cde910..71bf28cd37 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/Role.md b/docs/Role.md
index 5054c3ea7e..7c24da9c7a 100644
--- a/docs/Role.md
+++ b/docs/Role.md
@@ -9,7 +9,12 @@ Name | Type | Description | Notes
**Display** | **string** | | [readonly]
**Name** | **string** | |
**Slug** | **string** | |
+**Weight** | Pointer to **int32** | | [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]
**PrefixCount** | **int64** | | [readonly]
**VlanCount** | **int64** | | [readonly]
@@ -17,7 +22,7 @@ Name | Type | Description | Notes
### 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, prefixCount int64, vlanCount int64, ) *Role`
NewRole instantiates a new Role object
This constructor will assign default values to properties that have it defined,
@@ -132,6 +137,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 +187,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`
diff --git a/docs/RoleRequest.md b/docs/RoleRequest.md
index 4ea26627a6..8a35bd48f6 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 55b89b478d..194dcfe45b 100644
--- a/docs/RouteTarget.md
+++ b/docs/RouteTarget.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
@@ -117,20 +117,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 2627327d1b..55aedbd23d 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/SchemaAPI.md b/docs/SchemaAPI.md
index 21435ca5df..166791f3f2 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 aed2056cbe..ffba2fac9d 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 e8ce7b887c..716f63f3c7 100644
--- a/docs/Script.md
+++ b/docs/Script.md
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
**Url** | **string** | | [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 +18,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,
@@ -133,6 +133,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 +175,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/Service.md b/docs/Service.md
index 230dccd710..0523f4181f 100644
--- a/docs/Service.md
+++ b/docs/Service.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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** | |
@@ -101,20 +101,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 +136,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 bfabf2ad6a..8321249799 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/Site.md b/docs/Site.md
index 0458e57f6f..07516bdb61 100644
--- a/docs/Site.md
+++ b/docs/Site.md
@@ -9,13 +9,35 @@ Name | Type | Description | Notes
**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** | **int64** | | [readonly]
+**PrefixCount** | **int64** | | [readonly]
+**RackCount** | **int64** | | [readonly]
+**VirtualmachineCount** | **int64** | | [readonly]
+**VlanCount** | **int64** | | [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, deviceCount int64, prefixCount int64, rackCount int64, virtualmachineCount int64, vlanCount int64, ) *Site`
NewSite instantiates a new Site object
This constructor will assign default values to properties that have it defined,
@@ -130,6 +152,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 +367,406 @@ 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.
+
+
+### 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.
+
+
+### 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.
+
+
+### 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.
+
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/SiteRequest.md b/docs/SiteRequest.md
index b12c9721bb..a4efb95449 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/TenancyAPI.md b/docs/TenancyAPI.md
index 0314e63970..a73caafc97 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)
@@ -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)
@@ -500,10 +500,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** | |
@@ -726,7 +726,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 +1128,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 +1223,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 +2655,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 +2790,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 +3445,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 +3540,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 +4198,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 +4221,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 +4295,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 +4318,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 68d998dce3..45db563b3c 100644
--- a/docs/Tenant.md
+++ b/docs/Tenant.md
@@ -9,13 +9,29 @@ Name | Type | Description | Notes
**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** | **int64** | | [readonly]
+**IpaddressCount** | **int64** | | [readonly]
+**PrefixCount** | **int64** | | [readonly]
+**RackCount** | **int64** | | [readonly]
+**SiteCount** | **int64** | | [readonly]
+**VirtualmachineCount** | **int64** | | [readonly]
+**VlanCount** | **int64** | | [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, deviceCount int64, ipaddressCount int64, prefixCount int64, rackCount int64, siteCount int64, virtualmachineCount int64, vlanCount int64, vrfCount int64, clusterCount int64, ) *Tenant`
NewTenant instantiates a new Tenant object
This constructor will assign default values to properties that have it defined,
@@ -130,6 +146,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 +206,341 @@ 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.
+
+
+### 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.
+
+
+### 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.
+
+
+### 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.
+
+
+### 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/TenantRequest.md b/docs/TenantRequest.md
index 7a4881f710..948e6d6e2e 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 d39896b1ec..c56c4fb4bd 100644
--- a/docs/Token.md
+++ b/docs/Token.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +19,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,
@@ -96,20 +96,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 8b0aa1be20..db369c0159 100644
--- a/docs/TokenProvision.md
+++ b/docs/TokenProvision.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +19,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,
@@ -96,20 +96,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 06de41a6db..b34549c9cd 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 0ed4424722..470eb841e8 100644
--- a/docs/Tunnel.md
+++ b/docs/Tunnel.md
@@ -8,13 +8,25 @@ Name | Type | Description | Notes
**Url** | **string** | | [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,
@@ -109,6 +121,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 +326,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 0000000000..fe7e117168
--- /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 0000000000..9e46fb7c8a
--- /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/TunnelRequest.md b/docs/TunnelRequest.md
index 03d4cda242..37d929b181 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 0000000000..46022ca86c
--- /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 0000000000..8bd96d36a2
--- /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 1804e64d5b..a7f0e457e6 100644
--- a/docs/TunnelTermination.md
+++ b/docs/TunnelTermination.md
@@ -7,12 +7,12 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +22,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,
@@ -99,20 +99,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 +219,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 e684cfe200..5466a217e9 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 5312320e34..fa0949f512 100644
--- a/docs/User.md
+++ b/docs/User.md
@@ -8,6 +8,15 @@ Name | Type | Description | Notes
**Url** | **string** | | [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
@@ -108,6 +117,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 58e87259fd..03e64cb5fd 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 2da4d42da5..0da86c4731 100644
--- a/docs/UsersAPI.md
+++ b/docs/UsersAPI.md
@@ -1537,7 +1537,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 +1601,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 +1667,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 +1733,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 +2243,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 +2314,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 +2378,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 +2444,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 +2510,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)
@@ -3008,7 +3008,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 81cee5529a..21f0088340 100644
--- a/docs/VLAN.md
+++ b/docs/VLAN.md
@@ -7,15 +7,27 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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** | **int64** | | [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, prefixCount int64, ) *VLAN`
NewVLAN instantiates a new VLAN object
This constructor will assign default values to properties that have it defined,
@@ -90,6 +102,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 +212,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 +332,191 @@ 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.
+
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/VLANRequest.md b/docs/VLANRequest.md
index 8ee516347a..0b7ddd1b88 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 ba4d5ef2c7..25b1b994e5 100644
--- a/docs/VMInterface.md
+++ b/docs/VMInterface.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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 +16,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 +31,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,
@@ -108,20 +108,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 +363,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 +423,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 +458,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 f82ea7526e..9285ac3015 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 e30a5c20ec..94425a8437 100644
--- a/docs/VRF.md
+++ b/docs/VRF.md
@@ -9,14 +9,24 @@ Name | Type | Description | Notes
**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]
+**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** | **int64** | | [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, prefixCount int64, ) *VRF`
NewVRF instantiates a new VRF object
This constructor will assign default values to properties that have it defined,
@@ -146,6 +156,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 +241,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`
diff --git a/docs/VRFRequest.md b/docs/VRFRequest.md
index 6637879c65..292a8949e0 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 325cd6a07a..77e8fbdcf8 100644
--- a/docs/VirtualChassis.md
+++ b/docs/VirtualChassis.md
@@ -8,15 +8,22 @@ Name | Type | Description | Notes
**Url** | **string** | | [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,
@@ -111,6 +118,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 +203,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 +358,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 76fe6fb806..c8f966eb58 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 6bdea62eba..aea9eda8f1 100644
--- a/docs/VirtualDeviceContext.md
+++ b/docs/VirtualDeviceContext.md
@@ -8,12 +8,12 @@ Name | Type | Description | Notes
**Url** | **string** | | [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 +27,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,
@@ -124,20 +124,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 +179,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 +214,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 +244,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 +279,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 f3436b2b52..2604eb36a9 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 2bc24b4e82..f6e84e8e5f 100644
--- a/docs/VirtualDisk.md
+++ b/docs/VirtualDisk.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [readonly]
**Display** | **string** | | [readonly]
-**VirtualMachine** | [**VirtualMachine**](VirtualMachine.md) | |
+**VirtualMachine** | [**BriefVirtualMachine**](BriefVirtualMachine.md) | |
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Size** | **int32** | |
@@ -20,7 +20,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,
@@ -97,20 +97,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 3ec5d8bf75..737588e43a 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 bb09969ee7..50b139943c 100644
--- a/docs/VirtualMachineWithConfigContext.md
+++ b/docs/VirtualMachineWithConfigContext.md
@@ -8,22 +8,22 @@ Name | Type | Description | Notes
**Url** | **string** | | [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]
+**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 +37,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,
@@ -134,20 +134,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 +159,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 +194,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 +229,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.
@@ -264,20 +264,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
### 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 +299,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 +334,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 +369,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 +399,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 +434,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 +624,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 44050ed132..2d8038d8b5 100644
--- a/docs/VirtualMachineWithConfigContextRequest.md
+++ b/docs/VirtualMachineWithConfigContextRequest.md
@@ -5,21 +5,21 @@
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]
+**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 +65,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 +90,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 +125,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 +160,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.
@@ -195,20 +195,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
### 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 +230,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 +265,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 +300,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 +335,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 +525,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 b93f4f2661..f9ec6d4e9f 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)
@@ -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,16 +1955,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 (ID) (optional)
siteIdN := []*int32{int32(123)} // []*int32 | Site (ID) (optional)
status := []string{"Inner_example"} // []string | (optional)
@@ -1973,10 +1973,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)
type_ := []string{"Inner_example"} // []string | Cluster type (slug) (optional)
@@ -2010,8 +2010,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,16 +2067,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 (ID) |
**siteIdN** | **[]int32** | Site (ID) |
**status** | **[]string** | |
@@ -2085,10 +2085,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) |
**type_** | **[]string** | Cluster type (slug) |
@@ -2279,7 +2279,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 +2350,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 +2414,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 +2480,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 +2546,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)
@@ -3076,7 +3076,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 +3147,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 +3211,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 +3277,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 +3343,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 +3811,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)
@@ -4229,8 +4229,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,20 +4327,20 @@ 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)
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)
@@ -4349,10 +4349,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)
@@ -4410,8 +4410,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,20 +4508,20 @@ 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) |
**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** | |
@@ -4530,10 +4530,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/VpnAPI.md b/docs/VpnAPI.md
index 4a260a9e03..a7297e8669 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)
@@ -875,7 +875,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 +939,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 +1005,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)
@@ -2359,7 +2359,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 +2423,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 +2489,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 +2555,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)
@@ -3021,7 +3021,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)
@@ -3849,7 +3849,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 +3913,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 +3979,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 +4045,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 +4535,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 +4802,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)
@@ -5016,10 +5016,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)
type_ := []string{"Inner_example"} // []string | (optional)
@@ -5128,10 +5128,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) |
**type_** | **[]string** | |
@@ -5320,7 +5320,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 +6126,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 +6190,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 +6256,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 +6322,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)
@@ -6774,7 +6774,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 +6845,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 +6909,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 +6975,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)
@@ -7241,10 +7241,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)
tunnelId := []int32{int32(123)} // []int32 | (optional)
@@ -7344,10 +7344,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) |
**tunnelId** | **[]int32** | |
diff --git a/docs/WirelessAPI.md b/docs/WirelessAPI.md
index e35e3430e9..8b5b8d11d7 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) | |
@@ -1171,10 +1171,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)
@@ -1213,10 +1213,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)
@@ -1280,10 +1280,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** | |
@@ -1322,10 +1322,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** | |
@@ -1585,7 +1585,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 +1649,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 +1715,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 +1781,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)
@@ -1990,10 +1990,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)
@@ -2095,10 +2095,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** | |
@@ -2285,7 +2285,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/WirelessLAN.md b/docs/WirelessLAN.md
index 8bc856e77a..a3aded13a6 100644
--- a/docs/WirelessLAN.md
+++ b/docs/WirelessLAN.md
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
**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]
@@ -148,20 +148,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 +208,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 +243,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 aae3009eb4..aeb6663509 100644
--- a/docs/WirelessLANGroup.md
+++ b/docs/WirelessLANGroup.md
@@ -9,7 +9,12 @@ Name | Type | Description | Notes
**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 +22,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,
@@ -132,6 +137,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 +197,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 84671d6645..b4617be51a 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 9f446e21f7..c1b2ac2774 100644
--- a/docs/WirelessLink.md
+++ b/docs/WirelessLink.md
@@ -7,11 +7,11 @@ Name | Type | Description | Notes
**Id** | **int32** | | [readonly]
**Url** | **string** | | [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]
@@ -26,7 +26,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,
@@ -103,40 +103,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 +168,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 +193,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.
diff --git a/docs/WirelessLinkRequest.md b/docs/WirelessLinkRequest.md
index cbb26cae56..159a869fc7 100644
--- a/docs/WirelessLinkRequest.md
+++ b/docs/WirelessLinkRequest.md
@@ -4,11 +4,11 @@
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]
@@ -21,7 +21,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 +38,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 +103,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 +128,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.
diff --git a/docs/WritableAggregateRequest.md b/docs/WritableAggregateRequest.md
index 169807729f..cbcd91bcde 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 aef093b34d..cb8fa67e54 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/WritableCircuitRequest.md b/docs/WritableCircuitRequest.md
index 02a8ad3f77..f008f4359f 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]
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
### 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 +59,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 +114,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 +159,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.
diff --git a/docs/WritableClusterRequest.md b/docs/WritableClusterRequest.md
index 430b5cf501..d25e42949d 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 0ba0c6885e..9b0b4a502a 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 3799557e89..b675fc60b0 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 6af4a78aa1..82d557c25f 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 e35a4b9ec4..122f48c6af 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 678cd6e277..a58344569c 100644
--- a/docs/WritableContactAssignmentRequest.md
+++ b/docs/WritableContactAssignmentRequest.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ObjectType** | **string** | |
**ObjectId** | **int64** | |
-**Contact** | [**ContactRequest**](ContactRequest.md) | |
-**Role** | Pointer to [**NullableContactRoleRequest**](ContactRoleRequest.md) | | [optional]
+**Contact** | [**BriefContactRequest**](BriefContactRequest.md) | |
+**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional]
**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.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.
diff --git a/docs/WritableCustomFieldRequest.md b/docs/WritableCustomFieldRequest.md
index f82e51b730..cba0433eb8 100644
--- a/docs/WritableCustomFieldRequest.md
+++ b/docs/WritableCustomFieldRequest.md
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
**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
@@ -526,20 +526,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/WritableDeviceTypeRequest.md b/docs/WritableDeviceTypeRequest.md
index 14fb745558..53aefbe6c7 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 0935ed3569..694be056b0 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/WritableFrontPortRequest.md b/docs/WritableFrontPortRequest.md
index 42fc878268..3038539181 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 8806917ff8..3aa02af78b 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 6eaaca69ad..ca192ccab0 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 5edb8406dc..186e2cb367 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 f4d30c4c1d..11cd4baa03 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/WritableInterfaceRequest.md b/docs/WritableInterfaceRequest.md
index d0870300e3..f5eb17d110 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) | |
@@ -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
### 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.
@@ -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 e5f0f4deb0..503f4e400f 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) | |
@@ -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.
diff --git a/docs/WritableL2VPNRequest.md b/docs/WritableL2VPNRequest.md
index d8d0852be8..df3aa2b333 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 dd699d8189..1e4c81e9b0 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 95f95384cc..a815e5e6bf 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 ada1a71f7e..fd57cbf30e 100644
--- a/docs/WritableModuleTypeRequest.md
+++ b/docs/WritableModuleTypeRequest.md
@@ -4,11 +4,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | |
**Model** | **string** | |
**PartNumber** | Pointer to **string** | Discrete part number (optional) | [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 +18,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 +35,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.
@@ -135,20 +135,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 f8ee53481c..c7ee1dfc9a 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 978dfe7616..dcba99ba50 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 196e5721af..eae1aa8155 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 55d0323088..914481d74b 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 75edd99501..54d00f9c08 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 87080ca95c..9ff1ed7816 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 a9a7cf6f57..2811f32f41 100644
--- a/docs/WritableRackRequest.md
+++ b/docs/WritableRackRequest.md
@@ -6,11 +6,11 @@ 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]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**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]
@@ -34,7 +34,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 +106,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 +161,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 +221,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.
@@ -486,20 +486,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.
diff --git a/docs/WritableRearPortRequest.md b/docs/WritableRearPortRequest.md
index 5e366e7c53..10050601f7 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 075a046aaa..4e3c43248d 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 f4617ee50a..2a2d4015e6 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 d5fe57fa63..fbb616a48d 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 074647508e..68b5e21ad9 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 99cb6a025d..fc0483773d 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 e9b7620130..cfe381a060 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 9177b40ec8..a617cbe512 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 30df18d9aa..a945ebeaee 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 c0ebf4e160..485f8f2de1 100644
--- a/docs/WritableVirtualMachineWithConfigContextRequest.md
+++ b/docs/WritableVirtualMachineWithConfigContextRequest.md
@@ -5,21 +5,21 @@
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]
+**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 +65,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 +90,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 +125,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 +160,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.
@@ -195,20 +195,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
### 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 +230,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 +265,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 +300,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 +335,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 +525,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 2a85bd2193..4da60fd335 100644
--- a/docs/WritableWirelessLANRequest.md
+++ b/docs/WritableWirelessLANRequest.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 [**PatchedWritableWirelessLANRequestStatus**](PatchedWritableWirelessLANRequestStatus.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 [**AuthenticationType1**](AuthenticationType1.md) | | [optional]
**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional]
**AuthPsk** | Pointer to **string** | | [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.
diff --git a/docs/WritableWirelessLinkRequest.md b/docs/WritableWirelessLinkRequest.md
index 43c0319461..acb259f784 100644
--- a/docs/WritableWirelessLinkRequest.md
+++ b/docs/WritableWirelessLinkRequest.md
@@ -4,11 +4,11 @@
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 [**AuthenticationType1**](AuthenticationType1.md) | | [optional]
**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional]
**AuthPsk** | Pointer to **string** | | [optional]
@@ -21,7 +21,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 +38,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 +103,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 +128,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.
diff --git a/main.go b/main.go
deleted file mode 100644
index 5038b2a247..0000000000
--- a/main.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package netbox
-
-import (
- "fmt"
-)
-
-const authHeaderName = "Authorization"
-const authHeaderFormat = "Token %v"
-const languageHeaderName = "Accept-Language"
-const languageHeaderValue = "en-US"
-
-func NewAPIClientFor(host string, token string) *APIClient {
- cfg := NewConfiguration()
-
- cfg.Servers[0].URL = host
-
- cfg.AddDefaultHeader(
- authHeaderName,
- fmt.Sprintf(authHeaderFormat, token),
- )
-
- cfg.AddDefaultHeader(
- languageHeaderName,
- languageHeaderValue,
- )
-
- return NewAPIClient(cfg)
-}
diff --git a/model_aggregate.go b/model_aggregate.go
index be5226a6e5..2d30b4e07a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -26,8 +26,8 @@ type Aggregate struct {
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 +44,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
@@ -186,9 +186,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 +197,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 +205,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 +221,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 +237,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)
}
diff --git a/model_aggregate_family.go b/model_aggregate_family.go
index c022e4c41a..7d3bdefc2b 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.0.11 (4.0)
*/
// 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 6702e6180b..98cee5a866 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.0.11 (4.0)
*/
// 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 63ca9026fe..a0715aa6fa 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.0.11 (4.0)
*/
// 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 886f759d68..6abaaade59 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.0.11 (4.0)
*/
// 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 971d63862a..00b37a0210 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -26,8 +26,8 @@ type ASN struct {
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"`
@@ -163,9 +163,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 +174,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 +190,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 +206,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 +217,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 +233,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)
}
diff --git a/model_asn_range.go b/model_asn_range.go
index 037e760ce1..bede0fb59f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -26,10 +26,10 @@ type ASNRange struct {
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 +45,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
@@ -190,9 +190,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 +201,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 +209,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 +262,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 +273,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 +289,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)
}
diff --git a/model_asn_range_request.go b/model_asn_range_request.go
index 83a9d61da5..d973ceb4b2 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.0.11 (4.0)
*/
// 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 2d8e8162f6..e9b369a16c 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.0.11 (4.0)
*/
// 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 9642d196ed..2a0506eba4 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_authentication_cipher.go b/model_authentication_cipher.go
index 1c9752516c..f0f4905a21 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_authentication_type.go b/model_authentication_type.go
index 87147a4874..55a8130fb0 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_authentication_type_1.go b/model_authentication_type_1.go
index 7c661a0a62..fef43069f6 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_available_asn.go b/model_available_asn.go
index e398bbbb2f..eb60c4546b 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.0.11 (4.0)
*/
// 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 b06e6140ca..489d5cd45d 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.0.11 (4.0)
*/
// 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 6efa0386c8..ae65824928 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.0.11 (4.0)
*/
// 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 8228b8d059..8155949766 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.0.11 (4.0)
*/
// 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 6552b0da19..c073e1f07e 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.0.11 (4.0)
*/
// 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 22932dcd2c..4203221124 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.0.11 (4.0)
*/
// 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 0000000000..b6659e5987
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..451d3fe063
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1c063275ac
--- /dev/null
+++ b/model_brief_circuit.go
@@ -0,0 +1,291 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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) *BriefCircuit {
+ this := BriefCircuit{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Cid = cid
+ 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
+}
+
+// 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
+ 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",
+ }
+
+ 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, "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_request.go b/model_brief_circuit_request.go
new file mode 100644
index 0000000000..c528d0e95a
--- /dev/null
+++ b/model_brief_circuit_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.0.11 (4.0)
+*/
+
+// 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"`
+ 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) *BriefCircuitRequest {
+ this := BriefCircuitRequest{}
+ this.Cid = cid
+ 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
+}
+
+// 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
+ 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",
+ }
+
+ 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, "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 0000000000..41dd64be27
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..2811dcce69
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..4f119fe070
--- /dev/null
+++ b/model_brief_cluster.go
@@ -0,0 +1,319 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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, virtualmachineCount int64) *BriefCluster {
+ this := BriefCluster{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.VirtualmachineCount = virtualmachineCount
+ 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
+func (o *BriefCluster) GetVirtualmachineCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VirtualmachineCount
+}
+
+// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefCluster) GetVirtualmachineCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VirtualmachineCount, true
+}
+
+// SetVirtualmachineCount sets field value
+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
+ }
+ 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",
+ "virtualmachine_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)
+ }
+ }
+
+ 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 0000000000..114c810bd5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..eba357b8ba
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d79c70f8d1
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..b98baeb45e
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..35207e2df7
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1d92ef3e14
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..f12d387e67
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7d5cb957a2
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..4ed23aec40
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6dd1ebddb7
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..9197162c96
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..2a3670bcdb
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ad8fec9b23
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..9c55135cf4
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..cc09f41cd9
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..0a3b25c757
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a347e804ad
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1923bf1459
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..c37f3964fd
--- /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.0.11 (4.0)
+*/
+
+// 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_device_request.go b/model_brief_device_request.go
similarity index 61%
rename from model_device_request.go
rename to model_brief_device_request.go
index 9b39372c98..0c5f3bad10 100644
--- a/model_device_request.go
+++ b/model_brief_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -14,37 +14,37 @@ import (
"encoding/json"
)
-// checks if the DeviceRequest type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &DeviceRequest{}
+// checks if the BriefDeviceRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &BriefDeviceRequest{}
-// DeviceRequest Adds support for custom fields and tags.
-type DeviceRequest struct {
+// 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 _DeviceRequest DeviceRequest
+type _BriefDeviceRequest BriefDeviceRequest
-// NewDeviceRequest instantiates a new DeviceRequest object
+// 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 NewDeviceRequest() *DeviceRequest {
- this := DeviceRequest{}
+func NewBriefDeviceRequest() *BriefDeviceRequest {
+ this := BriefDeviceRequest{}
return &this
}
-// NewDeviceRequestWithDefaults instantiates a new DeviceRequest object
+// 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 NewDeviceRequestWithDefaults() *DeviceRequest {
- this := DeviceRequest{}
+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 *DeviceRequest) GetName() string {
+func (o *BriefDeviceRequest) GetName() string {
if o == nil || IsNil(o.Name.Get()) {
var ret string
return ret
@@ -55,7 +55,7 @@ func (o *DeviceRequest) GetName() string {
// 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 *DeviceRequest) GetNameOk() (*string, bool) {
+func (o *BriefDeviceRequest) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
@@ -63,7 +63,7 @@ func (o *DeviceRequest) GetNameOk() (*string, bool) {
}
// HasName returns a boolean if a field has been set.
-func (o *DeviceRequest) HasName() bool {
+func (o *BriefDeviceRequest) HasName() bool {
if o != nil && o.Name.IsSet() {
return true
}
@@ -72,22 +72,22 @@ func (o *DeviceRequest) HasName() bool {
}
// SetName gets a reference to the given NullableString and assigns it to the Name field.
-func (o *DeviceRequest) SetName(v string) {
+func (o *BriefDeviceRequest) SetName(v string) {
o.Name.Set(&v)
}
// SetNameNil sets the value for Name to be an explicit nil
-func (o *DeviceRequest) SetNameNil() {
+func (o *BriefDeviceRequest) SetNameNil() {
o.Name.Set(nil)
}
// UnsetName ensures that no value is present for Name, not even an explicit nil
-func (o *DeviceRequest) UnsetName() {
+func (o *BriefDeviceRequest) UnsetName() {
o.Name.Unset()
}
// GetDescription returns the Description field value if set, zero value otherwise.
-func (o *DeviceRequest) GetDescription() string {
+func (o *BriefDeviceRequest) GetDescription() string {
if o == nil || IsNil(o.Description) {
var ret string
return ret
@@ -97,7 +97,7 @@ func (o *DeviceRequest) GetDescription() string {
// 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 *DeviceRequest) GetDescriptionOk() (*string, bool) {
+func (o *BriefDeviceRequest) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
@@ -105,7 +105,7 @@ func (o *DeviceRequest) GetDescriptionOk() (*string, bool) {
}
// HasDescription returns a boolean if a field has been set.
-func (o *DeviceRequest) HasDescription() bool {
+func (o *BriefDeviceRequest) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
@@ -114,11 +114,11 @@ func (o *DeviceRequest) HasDescription() bool {
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
-func (o *DeviceRequest) SetDescription(v string) {
+func (o *BriefDeviceRequest) SetDescription(v string) {
o.Description = &v
}
-func (o DeviceRequest) MarshalJSON() ([]byte, error) {
+func (o BriefDeviceRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -126,7 +126,7 @@ func (o DeviceRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o DeviceRequest) ToMap() (map[string]interface{}, error) {
+func (o BriefDeviceRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if o.Name.IsSet() {
toSerialize["name"] = o.Name.Get()
@@ -142,16 +142,16 @@ func (o DeviceRequest) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *DeviceRequest) UnmarshalJSON(data []byte) (err error) {
- varDeviceRequest := _DeviceRequest{}
+func (o *BriefDeviceRequest) UnmarshalJSON(data []byte) (err error) {
+ varBriefDeviceRequest := _BriefDeviceRequest{}
- err = json.Unmarshal(data, &varDeviceRequest)
+ err = json.Unmarshal(data, &varBriefDeviceRequest)
if err != nil {
return err
}
- *o = DeviceRequest(varDeviceRequest)
+ *o = BriefDeviceRequest(varBriefDeviceRequest)
additionalProperties := make(map[string]interface{})
@@ -164,38 +164,38 @@ func (o *DeviceRequest) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableDeviceRequest struct {
- value *DeviceRequest
+type NullableBriefDeviceRequest struct {
+ value *BriefDeviceRequest
isSet bool
}
-func (v NullableDeviceRequest) Get() *DeviceRequest {
+func (v NullableBriefDeviceRequest) Get() *BriefDeviceRequest {
return v.value
}
-func (v *NullableDeviceRequest) Set(val *DeviceRequest) {
+func (v *NullableBriefDeviceRequest) Set(val *BriefDeviceRequest) {
v.value = val
v.isSet = true
}
-func (v NullableDeviceRequest) IsSet() bool {
+func (v NullableBriefDeviceRequest) IsSet() bool {
return v.isSet
}
-func (v *NullableDeviceRequest) Unset() {
+func (v *NullableBriefDeviceRequest) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableDeviceRequest(val *DeviceRequest) *NullableDeviceRequest {
- return &NullableDeviceRequest{value: val, isSet: true}
+func NewNullableBriefDeviceRequest(val *BriefDeviceRequest) *NullableBriefDeviceRequest {
+ return &NullableBriefDeviceRequest{value: val, isSet: true}
}
-func (v NullableDeviceRequest) MarshalJSON() ([]byte, error) {
+func (v NullableBriefDeviceRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableDeviceRequest) UnmarshalJSON(src []byte) error {
+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 0000000000..908ef40bf4
--- /dev/null
+++ b/model_brief_device_role.go
@@ -0,0 +1,377 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
+ 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, deviceCount int64, virtualmachineCount int64) *BriefDeviceRole {
+ this := BriefDeviceRole{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.Slug = slug
+ this.DeviceCount = deviceCount
+ this.VirtualmachineCount = virtualmachineCount
+ 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
+func (o *BriefDeviceRole) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefDeviceRole) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+func (o *BriefDeviceRole) SetDeviceCount(v int64) {
+ o.DeviceCount = v
+}
+
+// GetVirtualmachineCount returns the VirtualmachineCount field value
+func (o *BriefDeviceRole) GetVirtualmachineCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VirtualmachineCount
+}
+
+// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefDeviceRole) GetVirtualmachineCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VirtualmachineCount, true
+}
+
+// SetVirtualmachineCount sets field value
+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
+ }
+ toSerialize["device_count"] = o.DeviceCount
+ 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",
+ "device_count",
+ "virtualmachine_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)
+ }
+ }
+
+ 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 0000000000..8b977fe393
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1ef3193451
--- /dev/null
+++ b/model_brief_device_type.go
@@ -0,0 +1,377 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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, deviceCount int64) *BriefDeviceType {
+ this := BriefDeviceType{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Manufacturer = manufacturer
+ this.Model = model
+ this.Slug = slug
+ this.DeviceCount = deviceCount
+ 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
+func (o *BriefDeviceType) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefDeviceType) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+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
+ }
+ 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",
+ "device_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)
+ }
+ }
+
+ 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 0000000000..551c1aab72
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d91462d7c5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7c63ab1287
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..f2fd4a9db0
--- /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.0.11 (4.0)
+*/
+
+// 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_virtual_machine.go b/model_brief_ike_policy.go
similarity index 68%
rename from model_virtual_machine.go
rename to model_brief_ike_policy.go
index 3e1b4f6d63..7bf395abc7 100644
--- a/model_virtual_machine.go
+++ b/model_brief_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -15,11 +15,11 @@ import (
"fmt"
)
-// checks if the VirtualMachine type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &VirtualMachine{}
+// checks if the BriefIKEPolicy type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &BriefIKEPolicy{}
-// VirtualMachine Adds support for custom fields and tags.
-type VirtualMachine struct {
+// BriefIKEPolicy Adds support for custom fields and tags.
+type BriefIKEPolicy struct {
Id int32 `json:"id"`
Url string `json:"url"`
Display string `json:"display"`
@@ -28,14 +28,14 @@ type VirtualMachine struct {
AdditionalProperties map[string]interface{}
}
-type _VirtualMachine VirtualMachine
+type _BriefIKEPolicy BriefIKEPolicy
-// NewVirtualMachine instantiates a new VirtualMachine object
+// 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 NewVirtualMachine(id int32, url string, display string, name string) *VirtualMachine {
- this := VirtualMachine{}
+func NewBriefIKEPolicy(id int32, url string, display string, name string) *BriefIKEPolicy {
+ this := BriefIKEPolicy{}
this.Id = id
this.Url = url
this.Display = display
@@ -43,16 +43,16 @@ func NewVirtualMachine(id int32, url string, display string, name string) *Virtu
return &this
}
-// NewVirtualMachineWithDefaults instantiates a new VirtualMachine object
+// 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 NewVirtualMachineWithDefaults() *VirtualMachine {
- this := VirtualMachine{}
+func NewBriefIKEPolicyWithDefaults() *BriefIKEPolicy {
+ this := BriefIKEPolicy{}
return &this
}
// GetId returns the Id field value
-func (o *VirtualMachine) GetId() int32 {
+func (o *BriefIKEPolicy) GetId() int32 {
if o == nil {
var ret int32
return ret
@@ -63,7 +63,7 @@ func (o *VirtualMachine) GetId() int32 {
// GetIdOk returns a tuple with the Id field value
// and a boolean to check if the value has been set.
-func (o *VirtualMachine) GetIdOk() (*int32, bool) {
+func (o *BriefIKEPolicy) GetIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
@@ -71,12 +71,12 @@ func (o *VirtualMachine) GetIdOk() (*int32, bool) {
}
// SetId sets field value
-func (o *VirtualMachine) SetId(v int32) {
+func (o *BriefIKEPolicy) SetId(v int32) {
o.Id = v
}
// GetUrl returns the Url field value
-func (o *VirtualMachine) GetUrl() string {
+func (o *BriefIKEPolicy) GetUrl() string {
if o == nil {
var ret string
return ret
@@ -87,7 +87,7 @@ func (o *VirtualMachine) GetUrl() string {
// GetUrlOk returns a tuple with the Url field value
// and a boolean to check if the value has been set.
-func (o *VirtualMachine) GetUrlOk() (*string, bool) {
+func (o *BriefIKEPolicy) GetUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
@@ -95,12 +95,12 @@ func (o *VirtualMachine) GetUrlOk() (*string, bool) {
}
// SetUrl sets field value
-func (o *VirtualMachine) SetUrl(v string) {
+func (o *BriefIKEPolicy) SetUrl(v string) {
o.Url = v
}
// GetDisplay returns the Display field value
-func (o *VirtualMachine) GetDisplay() string {
+func (o *BriefIKEPolicy) GetDisplay() string {
if o == nil {
var ret string
return ret
@@ -111,7 +111,7 @@ func (o *VirtualMachine) GetDisplay() string {
// GetDisplayOk returns a tuple with the Display field value
// and a boolean to check if the value has been set.
-func (o *VirtualMachine) GetDisplayOk() (*string, bool) {
+func (o *BriefIKEPolicy) GetDisplayOk() (*string, bool) {
if o == nil {
return nil, false
}
@@ -119,12 +119,12 @@ func (o *VirtualMachine) GetDisplayOk() (*string, bool) {
}
// SetDisplay sets field value
-func (o *VirtualMachine) SetDisplay(v string) {
+func (o *BriefIKEPolicy) SetDisplay(v string) {
o.Display = v
}
// GetName returns the Name field value
-func (o *VirtualMachine) GetName() string {
+func (o *BriefIKEPolicy) GetName() string {
if o == nil {
var ret string
return ret
@@ -135,7 +135,7 @@ func (o *VirtualMachine) GetName() string {
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
-func (o *VirtualMachine) GetNameOk() (*string, bool) {
+func (o *BriefIKEPolicy) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
@@ -143,12 +143,12 @@ func (o *VirtualMachine) GetNameOk() (*string, bool) {
}
// SetName sets field value
-func (o *VirtualMachine) SetName(v string) {
+func (o *BriefIKEPolicy) SetName(v string) {
o.Name = v
}
// GetDescription returns the Description field value if set, zero value otherwise.
-func (o *VirtualMachine) GetDescription() string {
+func (o *BriefIKEPolicy) GetDescription() string {
if o == nil || IsNil(o.Description) {
var ret string
return ret
@@ -158,7 +158,7 @@ func (o *VirtualMachine) GetDescription() string {
// 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 *VirtualMachine) GetDescriptionOk() (*string, bool) {
+func (o *BriefIKEPolicy) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
@@ -166,7 +166,7 @@ func (o *VirtualMachine) GetDescriptionOk() (*string, bool) {
}
// HasDescription returns a boolean if a field has been set.
-func (o *VirtualMachine) HasDescription() bool {
+func (o *BriefIKEPolicy) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
@@ -175,11 +175,11 @@ func (o *VirtualMachine) HasDescription() bool {
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
-func (o *VirtualMachine) SetDescription(v string) {
+func (o *BriefIKEPolicy) SetDescription(v string) {
o.Description = &v
}
-func (o VirtualMachine) MarshalJSON() ([]byte, error) {
+func (o BriefIKEPolicy) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -187,7 +187,7 @@ func (o VirtualMachine) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o VirtualMachine) ToMap() (map[string]interface{}, error) {
+func (o BriefIKEPolicy) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
@@ -204,7 +204,7 @@ func (o VirtualMachine) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *VirtualMachine) UnmarshalJSON(data []byte) (err error) {
+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.
@@ -229,15 +229,15 @@ func (o *VirtualMachine) UnmarshalJSON(data []byte) (err error) {
}
}
- varVirtualMachine := _VirtualMachine{}
+ varBriefIKEPolicy := _BriefIKEPolicy{}
- err = json.Unmarshal(data, &varVirtualMachine)
+ err = json.Unmarshal(data, &varBriefIKEPolicy)
if err != nil {
return err
}
- *o = VirtualMachine(varVirtualMachine)
+ *o = BriefIKEPolicy(varBriefIKEPolicy)
additionalProperties := make(map[string]interface{})
@@ -253,38 +253,38 @@ func (o *VirtualMachine) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableVirtualMachine struct {
- value *VirtualMachine
+type NullableBriefIKEPolicy struct {
+ value *BriefIKEPolicy
isSet bool
}
-func (v NullableVirtualMachine) Get() *VirtualMachine {
+func (v NullableBriefIKEPolicy) Get() *BriefIKEPolicy {
return v.value
}
-func (v *NullableVirtualMachine) Set(val *VirtualMachine) {
+func (v *NullableBriefIKEPolicy) Set(val *BriefIKEPolicy) {
v.value = val
v.isSet = true
}
-func (v NullableVirtualMachine) IsSet() bool {
+func (v NullableBriefIKEPolicy) IsSet() bool {
return v.isSet
}
-func (v *NullableVirtualMachine) Unset() {
+func (v *NullableBriefIKEPolicy) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableVirtualMachine(val *VirtualMachine) *NullableVirtualMachine {
- return &NullableVirtualMachine{value: val, isSet: true}
+func NewNullableBriefIKEPolicy(val *BriefIKEPolicy) *NullableBriefIKEPolicy {
+ return &NullableBriefIKEPolicy{value: val, isSet: true}
}
-func (v NullableVirtualMachine) MarshalJSON() ([]byte, error) {
+func (v NullableBriefIKEPolicy) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableVirtualMachine) UnmarshalJSON(src []byte) error {
+func (v *NullableBriefIKEPolicy) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
diff --git a/model_virtual_machine_request.go b/model_brief_ike_policy_request.go
similarity index 63%
rename from model_virtual_machine_request.go
rename to model_brief_ike_policy_request.go
index 74b05fd5a5..edd242d265 100644
--- a/model_virtual_machine_request.go
+++ b/model_brief_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -15,38 +15,38 @@ import (
"fmt"
)
-// checks if the VirtualMachineRequest type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &VirtualMachineRequest{}
+// checks if the BriefIKEPolicyRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &BriefIKEPolicyRequest{}
-// VirtualMachineRequest Adds support for custom fields and tags.
-type VirtualMachineRequest struct {
+// 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 _VirtualMachineRequest VirtualMachineRequest
+type _BriefIKEPolicyRequest BriefIKEPolicyRequest
-// NewVirtualMachineRequest instantiates a new VirtualMachineRequest object
+// 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 NewVirtualMachineRequest(name string) *VirtualMachineRequest {
- this := VirtualMachineRequest{}
+func NewBriefIKEPolicyRequest(name string) *BriefIKEPolicyRequest {
+ this := BriefIKEPolicyRequest{}
this.Name = name
return &this
}
-// NewVirtualMachineRequestWithDefaults instantiates a new VirtualMachineRequest object
+// 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 NewVirtualMachineRequestWithDefaults() *VirtualMachineRequest {
- this := VirtualMachineRequest{}
+func NewBriefIKEPolicyRequestWithDefaults() *BriefIKEPolicyRequest {
+ this := BriefIKEPolicyRequest{}
return &this
}
// GetName returns the Name field value
-func (o *VirtualMachineRequest) GetName() string {
+func (o *BriefIKEPolicyRequest) GetName() string {
if o == nil {
var ret string
return ret
@@ -57,7 +57,7 @@ func (o *VirtualMachineRequest) GetName() string {
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
-func (o *VirtualMachineRequest) GetNameOk() (*string, bool) {
+func (o *BriefIKEPolicyRequest) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
@@ -65,12 +65,12 @@ func (o *VirtualMachineRequest) GetNameOk() (*string, bool) {
}
// SetName sets field value
-func (o *VirtualMachineRequest) SetName(v string) {
+func (o *BriefIKEPolicyRequest) SetName(v string) {
o.Name = v
}
// GetDescription returns the Description field value if set, zero value otherwise.
-func (o *VirtualMachineRequest) GetDescription() string {
+func (o *BriefIKEPolicyRequest) GetDescription() string {
if o == nil || IsNil(o.Description) {
var ret string
return ret
@@ -80,7 +80,7 @@ func (o *VirtualMachineRequest) GetDescription() string {
// 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 *VirtualMachineRequest) GetDescriptionOk() (*string, bool) {
+func (o *BriefIKEPolicyRequest) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
@@ -88,7 +88,7 @@ func (o *VirtualMachineRequest) GetDescriptionOk() (*string, bool) {
}
// HasDescription returns a boolean if a field has been set.
-func (o *VirtualMachineRequest) HasDescription() bool {
+func (o *BriefIKEPolicyRequest) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
@@ -97,11 +97,11 @@ func (o *VirtualMachineRequest) HasDescription() bool {
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
-func (o *VirtualMachineRequest) SetDescription(v string) {
+func (o *BriefIKEPolicyRequest) SetDescription(v string) {
o.Description = &v
}
-func (o VirtualMachineRequest) MarshalJSON() ([]byte, error) {
+func (o BriefIKEPolicyRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -109,7 +109,7 @@ func (o VirtualMachineRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o VirtualMachineRequest) ToMap() (map[string]interface{}, error) {
+func (o BriefIKEPolicyRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["name"] = o.Name
if !IsNil(o.Description) {
@@ -123,7 +123,7 @@ func (o VirtualMachineRequest) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *VirtualMachineRequest) UnmarshalJSON(data []byte) (err error) {
+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.
@@ -145,15 +145,15 @@ func (o *VirtualMachineRequest) UnmarshalJSON(data []byte) (err error) {
}
}
- varVirtualMachineRequest := _VirtualMachineRequest{}
+ varBriefIKEPolicyRequest := _BriefIKEPolicyRequest{}
- err = json.Unmarshal(data, &varVirtualMachineRequest)
+ err = json.Unmarshal(data, &varBriefIKEPolicyRequest)
if err != nil {
return err
}
- *o = VirtualMachineRequest(varVirtualMachineRequest)
+ *o = BriefIKEPolicyRequest(varBriefIKEPolicyRequest)
additionalProperties := make(map[string]interface{})
@@ -166,38 +166,38 @@ func (o *VirtualMachineRequest) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableVirtualMachineRequest struct {
- value *VirtualMachineRequest
+type NullableBriefIKEPolicyRequest struct {
+ value *BriefIKEPolicyRequest
isSet bool
}
-func (v NullableVirtualMachineRequest) Get() *VirtualMachineRequest {
+func (v NullableBriefIKEPolicyRequest) Get() *BriefIKEPolicyRequest {
return v.value
}
-func (v *NullableVirtualMachineRequest) Set(val *VirtualMachineRequest) {
+func (v *NullableBriefIKEPolicyRequest) Set(val *BriefIKEPolicyRequest) {
v.value = val
v.isSet = true
}
-func (v NullableVirtualMachineRequest) IsSet() bool {
+func (v NullableBriefIKEPolicyRequest) IsSet() bool {
return v.isSet
}
-func (v *NullableVirtualMachineRequest) Unset() {
+func (v *NullableBriefIKEPolicyRequest) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableVirtualMachineRequest(val *VirtualMachineRequest) *NullableVirtualMachineRequest {
- return &NullableVirtualMachineRequest{value: val, isSet: true}
+func NewNullableBriefIKEPolicyRequest(val *BriefIKEPolicyRequest) *NullableBriefIKEPolicyRequest {
+ return &NullableBriefIKEPolicyRequest{value: val, isSet: true}
}
-func (v NullableVirtualMachineRequest) MarshalJSON() ([]byte, error) {
+func (v NullableBriefIKEPolicyRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableVirtualMachineRequest) UnmarshalJSON(src []byte) error {
+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 0000000000..4b08acb23b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a5e6d2f51b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1f139b4118
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..e9c79447de
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1b3c9933fe
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..f8a67b3e70
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ae8f2049a7
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..241a0d80e5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..2c705ea69d
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..40ae9583fe
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6270c42a6b
--- /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.0.11 (4.0)
+*/
+
+// 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_job_request.go b/model_brief_job_request.go
similarity index 59%
rename from model_job_request.go
rename to model_brief_job_request.go
index fb5cce40af..83ed83c9d9 100644
--- a/model_job_request.go
+++ b/model_brief_job_request.go
@@ -3,7 +3,7 @@ NetBox REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-API version: 4.0.3 (4.0)
+API version: 4.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -15,36 +15,36 @@ import (
"time"
)
-// checks if the JobRequest type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &JobRequest{}
+// checks if the BriefJobRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &BriefJobRequest{}
-// JobRequest struct for JobRequest
-type JobRequest struct {
+// BriefJobRequest struct for BriefJobRequest
+type BriefJobRequest struct {
Completed NullableTime `json:"completed,omitempty"`
AdditionalProperties map[string]interface{}
}
-type _JobRequest JobRequest
+type _BriefJobRequest BriefJobRequest
-// NewJobRequest instantiates a new JobRequest object
+// 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 NewJobRequest() *JobRequest {
- this := JobRequest{}
+func NewBriefJobRequest() *BriefJobRequest {
+ this := BriefJobRequest{}
return &this
}
-// NewJobRequestWithDefaults instantiates a new JobRequest object
+// 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 NewJobRequestWithDefaults() *JobRequest {
- this := JobRequest{}
+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 *JobRequest) GetCompleted() time.Time {
+func (o *BriefJobRequest) GetCompleted() time.Time {
if o == nil || IsNil(o.Completed.Get()) {
var ret time.Time
return ret
@@ -55,7 +55,7 @@ func (o *JobRequest) GetCompleted() time.Time {
// 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 *JobRequest) GetCompletedOk() (*time.Time, bool) {
+func (o *BriefJobRequest) GetCompletedOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
@@ -63,7 +63,7 @@ func (o *JobRequest) GetCompletedOk() (*time.Time, bool) {
}
// HasCompleted returns a boolean if a field has been set.
-func (o *JobRequest) HasCompleted() bool {
+func (o *BriefJobRequest) HasCompleted() bool {
if o != nil && o.Completed.IsSet() {
return true
}
@@ -72,21 +72,21 @@ func (o *JobRequest) HasCompleted() bool {
}
// SetCompleted gets a reference to the given NullableTime and assigns it to the Completed field.
-func (o *JobRequest) SetCompleted(v time.Time) {
+func (o *BriefJobRequest) SetCompleted(v time.Time) {
o.Completed.Set(&v)
}
// SetCompletedNil sets the value for Completed to be an explicit nil
-func (o *JobRequest) SetCompletedNil() {
+func (o *BriefJobRequest) SetCompletedNil() {
o.Completed.Set(nil)
}
// UnsetCompleted ensures that no value is present for Completed, not even an explicit nil
-func (o *JobRequest) UnsetCompleted() {
+func (o *BriefJobRequest) UnsetCompleted() {
o.Completed.Unset()
}
-func (o JobRequest) MarshalJSON() ([]byte, error) {
+func (o BriefJobRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -94,7 +94,7 @@ func (o JobRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o JobRequest) ToMap() (map[string]interface{}, error) {
+func (o BriefJobRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if o.Completed.IsSet() {
toSerialize["completed"] = o.Completed.Get()
@@ -107,16 +107,16 @@ func (o JobRequest) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *JobRequest) UnmarshalJSON(data []byte) (err error) {
- varJobRequest := _JobRequest{}
+func (o *BriefJobRequest) UnmarshalJSON(data []byte) (err error) {
+ varBriefJobRequest := _BriefJobRequest{}
- err = json.Unmarshal(data, &varJobRequest)
+ err = json.Unmarshal(data, &varBriefJobRequest)
if err != nil {
return err
}
- *o = JobRequest(varJobRequest)
+ *o = BriefJobRequest(varBriefJobRequest)
additionalProperties := make(map[string]interface{})
@@ -128,38 +128,38 @@ func (o *JobRequest) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableJobRequest struct {
- value *JobRequest
+type NullableBriefJobRequest struct {
+ value *BriefJobRequest
isSet bool
}
-func (v NullableJobRequest) Get() *JobRequest {
+func (v NullableBriefJobRequest) Get() *BriefJobRequest {
return v.value
}
-func (v *NullableJobRequest) Set(val *JobRequest) {
+func (v *NullableBriefJobRequest) Set(val *BriefJobRequest) {
v.value = val
v.isSet = true
}
-func (v NullableJobRequest) IsSet() bool {
+func (v NullableBriefJobRequest) IsSet() bool {
return v.isSet
}
-func (v *NullableJobRequest) Unset() {
+func (v *NullableBriefJobRequest) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableJobRequest(val *JobRequest) *NullableJobRequest {
- return &NullableJobRequest{value: val, isSet: true}
+func NewNullableBriefJobRequest(val *BriefJobRequest) *NullableBriefJobRequest {
+ return &NullableBriefJobRequest{value: val, isSet: true}
}
-func (v NullableJobRequest) MarshalJSON() ([]byte, error) {
+func (v NullableBriefJobRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableJobRequest) UnmarshalJSON(src []byte) error {
+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 0000000000..18b841133c
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..9bcee08fe9
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d05de4ab6c
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..8fb003f735
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..81c588a148
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..906238174a
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..92e3aac277
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..3f4a87a1e2
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..3effc0d788
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..b2606f67d5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7968d904f8
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a318559cea
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ef713542dd
--- /dev/null
+++ b/model_brief_manufacturer.go
@@ -0,0 +1,348 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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, devicetypeCount int64) *BriefManufacturer {
+ this := BriefManufacturer{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.Slug = slug
+ this.DevicetypeCount = devicetypeCount
+ 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
+func (o *BriefManufacturer) GetDevicetypeCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DevicetypeCount
+}
+
+// GetDevicetypeCountOk returns a tuple with the DevicetypeCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefManufacturer) GetDevicetypeCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DevicetypeCount, true
+}
+
+// SetDevicetypeCount sets field value
+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
+ }
+ 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",
+ "devicetype_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)
+ }
+ }
+
+ 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 0000000000..70b5b4b90e
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..8144be33de
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d40ae37bef
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..35aef954e0
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d22a4074cd
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..e3056fd40c
--- /dev/null
+++ b/model_brief_platform.go
@@ -0,0 +1,377 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
+ 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, deviceCount int64, virtualmachineCount int64) *BriefPlatform {
+ this := BriefPlatform{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.Slug = slug
+ this.DeviceCount = deviceCount
+ this.VirtualmachineCount = virtualmachineCount
+ 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
+func (o *BriefPlatform) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefPlatform) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+func (o *BriefPlatform) SetDeviceCount(v int64) {
+ o.DeviceCount = v
+}
+
+// GetVirtualmachineCount returns the VirtualmachineCount field value
+func (o *BriefPlatform) GetVirtualmachineCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VirtualmachineCount
+}
+
+// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefPlatform) GetVirtualmachineCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VirtualmachineCount, true
+}
+
+// SetVirtualmachineCount sets field value
+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
+ }
+ toSerialize["device_count"] = o.DeviceCount
+ 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",
+ "device_count",
+ "virtualmachine_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)
+ }
+ }
+
+ 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 0000000000..8d3603b321
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..dfc18e36b2
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..c42b1bf956
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..91ca6f538a
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ed1970ec57
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..961ae279d0
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..8873aafd9b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7d541e63ac
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..2dfe0b9879
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..63aa4b0619
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..890c5831e4
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..f3b4d60d8f
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7b342d2048
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6d62f3c166
--- /dev/null
+++ b/model_brief_rack.go
@@ -0,0 +1,319 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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, deviceCount int64) *BriefRack {
+ this := BriefRack{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.DeviceCount = deviceCount
+ 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
+func (o *BriefRack) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefRack) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+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
+ }
+ 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",
+ "device_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)
+ }
+ }
+
+ 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 0000000000..e5f797ebf9
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..26d5fac8e7
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..3ce5f8230e
--- /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.0.11 (4.0)
+*/
+
+// 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_rear_port_template.go b/model_brief_rear_port_template.go
new file mode 100644
index 0000000000..5bc46c96d6
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a4e0cab066
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..61e03c67bc
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..daadf0dae1
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ba643f3f36
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ef1a229bfd
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..393b0a9144
--- /dev/null
+++ b/model_brief_role.go
@@ -0,0 +1,377 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ VlanCount int64 `json:"vlan_count"`
+ 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, prefixCount int64, vlanCount int64) *BriefRole {
+ this := BriefRole{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.Slug = slug
+ this.PrefixCount = prefixCount
+ this.VlanCount = vlanCount
+ 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
+func (o *BriefRole) GetPrefixCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.PrefixCount
+}
+
+// GetPrefixCountOk returns a tuple with the PrefixCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefRole) GetPrefixCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PrefixCount, true
+}
+
+// SetPrefixCount sets field value
+func (o *BriefRole) SetPrefixCount(v int64) {
+ o.PrefixCount = v
+}
+
+// GetVlanCount returns the VlanCount field value
+func (o *BriefRole) GetVlanCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VlanCount
+}
+
+// GetVlanCountOk returns a tuple with the VlanCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefRole) GetVlanCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VlanCount, true
+}
+
+// SetVlanCount sets field value
+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
+ }
+ toSerialize["prefix_count"] = o.PrefixCount
+ 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",
+ "prefix_count",
+ "vlan_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)
+ }
+ }
+
+ 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 0000000000..3d54585633
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..0196b737fc
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6a3d17e8bc
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ae45a7a152
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..acf719ea72
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..dacf6915f3
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..295321e317
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..1e6ea0660a
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..bead8d90d3
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..08401b9b59
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..b4c8532dff
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6be58ee117
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ea14a9f176
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..23bcd9c6d1
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..0f690c48bd
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..fbfce875af
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d8658bacde
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..e3904c49eb
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..bd44eda4b2
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..dd3c97c1e8
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..8504ca7f8e
--- /dev/null
+++ b/model_brief_vlan_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.0.11 (4.0)
+*/
+
+// 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"`
+ 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, vlanCount int64) *BriefVLANGroup {
+ this := BriefVLANGroup{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.Slug = slug
+ this.VlanCount = vlanCount
+ 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
+func (o *BriefVLANGroup) GetVlanCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VlanCount
+}
+
+// GetVlanCountOk returns a tuple with the VlanCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefVLANGroup) GetVlanCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VlanCount, true
+}
+
+// SetVlanCount sets field value
+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
+ }
+ 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",
+ "vlan_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)
+ }
+ }
+
+ 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 0000000000..cbe14f05cf
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..3a79188b87
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..df10b9071f
--- /dev/null
+++ b/model_brief_vrf.go
@@ -0,0 +1,368 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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, prefixCount int64) *BriefVRF {
+ this := BriefVRF{}
+ this.Id = id
+ this.Url = url
+ this.Display = display
+ this.Name = name
+ this.PrefixCount = prefixCount
+ 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
+func (o *BriefVRF) GetPrefixCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.PrefixCount
+}
+
+// GetPrefixCountOk returns a tuple with the PrefixCount field value
+// and a boolean to check if the value has been set.
+func (o *BriefVRF) GetPrefixCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PrefixCount, true
+}
+
+// SetPrefixCount sets field value
+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
+ }
+ 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",
+ "prefix_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)
+ }
+ }
+
+ 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 0000000000..2f42f0418f
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d4d9a1512c
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..b0d203b305
--- /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.0.11 (4.0)
+*/
+
+// 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 b9a89b5f0d..636a228816 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.0.11 (4.0)
*/
// 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,24 @@ 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"`
+ 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 +48,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
}
@@ -122,6 +138,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 +341,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 +491,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 {
@@ -199,12 +652,47 @@ func (o Cable) ToMap() (map[string]interface{}, error) {
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
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 +709,8 @@ func (o *Cable) UnmarshalJSON(data []byte) (err error) {
"id",
"url",
"display",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -253,8 +743,21 @@ func (o *Cable) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "id")
delete(additionalProperties, "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 0000000000..7e7b332de5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6246b06096
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..70c355dc65
--- /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.0.11 (4.0)
+*/
+
+// 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 0b4bad8c84..6701cd7b12 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.0.11 (4.0)
*/
// 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 0000000000..8a35548e64
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..50448dce5d
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..f502efb42b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..ddc4673297
--- /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.0.11 (4.0)
+*/
+
+// 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 3e2427ac6e..6b1a2bcaf6 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.0.11 (4.0)
*/
// 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 fb17abb8af..057504ada1 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.0.11 (4.0)
*/
// 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 0000000000..04293b7b3b
--- /dev/null
+++ b/model_cable_type.go
@@ -0,0 +1,154 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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) * `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_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",
+ "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 bd64655eb7..f4718af3cf 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.0.11 (4.0)
*/
// 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
@@ -24,8 +25,24 @@ type Circuit struct {
Url string `json:"url"`
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"`
AdditionalProperties map[string]interface{}
}
@@ -35,12 +52,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
}
@@ -148,6 +171,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 +498,206 @@ 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)
+}
+
func (o Circuit) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -194,9 +712,42 @@ func (o Circuit) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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()
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -214,6 +765,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{})
@@ -247,7 +804,22 @@ func (o *Circuit) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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")
o.AdditionalProperties = additionalProperties
}
diff --git a/model_circuit_circuit_termination.go b/model_circuit_circuit_termination.go
new file mode 100644
index 0000000000..bd2fa319ac
--- /dev/null
+++ b/model_circuit_circuit_termination.go
@@ -0,0 +1,459 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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
+}
+
+// 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
+ 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")
+ 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 0000000000..90d9b3ae70
--- /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.0.11 (4.0)
+*/
+
+// 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_request.go b/model_circuit_request.go
index f5d44906d0..96f3df15bb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,8 +21,20 @@ 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"`
AdditionalProperties map[string]interface{}
}
@@ -32,9 +44,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 +84,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 +411,102 @@ 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
+}
+
func (o CircuitRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -113,9 +518,38 @@ 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
+ }
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -130,6 +564,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 +596,18 @@ 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")
o.AdditionalProperties = additionalProperties
}
diff --git a/model_circuit_status.go b/model_circuit_status.go
new file mode 100644
index 0000000000..dc46e0b6f5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..590e8332d5
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..efa4682b03
--- /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.0.11 (4.0)
+*/
+
+// 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 e9304fcbea..2f2915596a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,13 +21,13 @@ 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"`
+ 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 +38,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 +58,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
@@ -156,9 +156,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 +167,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 +175,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 +204,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 +215,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 +231,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 +247,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 +258,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 +274,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 +504,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 +517,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 +525,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 +578,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.
@@ -783,7 +785,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
}
diff --git a/model_circuit_termination_request.go b/model_circuit_termination_request.go
index d8a1b14e41..f38b6ee242 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.0.11 (4.0)
*/
// 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 56afd1a848..d3f5d61419 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_circuit_type_request.go b/model_circuit_type_request.go
index 48eba514f5..aba090d6cc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_circuits_circuit_terminations_list_cable_end_parameter.go b/model_circuits_circuit_terminations_list_cable_end_parameter.go
index b4ea69c2ce..f247481c5f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_cluster.go b/model_cluster.go
index ac931d63f5..633abc0e86 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.0.11 (4.0)
*/
// 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,23 @@ 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"`
+ 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"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
AdditionalProperties map[string]interface{}
}
@@ -35,12 +47,16 @@ 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, deviceCount int64, virtualmachineCount int64) *Cluster {
this := Cluster{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
+ this.Type = type_
+ this.Created = created
+ this.LastUpdated = lastUpdated
+ this.DeviceCount = deviceCount
this.VirtualmachineCount = virtualmachineCount
return &this
}
@@ -149,6 +165,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,6 +382,178 @@ func (o *Cluster) SetDescription(v string) {
o.Description = &v
}
+// 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
+func (o *Cluster) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *Cluster) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+func (o *Cluster) SetDeviceCount(v int64) {
+ o.DeviceCount = v
+}
+
// GetVirtualmachineCount returns the VirtualmachineCount field value
func (o *Cluster) GetVirtualmachineCount() int64 {
if o == nil {
@@ -219,9 +592,34 @@ func (o Cluster) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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
}
+ 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["device_count"] = o.DeviceCount
toSerialize["virtualmachine_count"] = o.VirtualmachineCount
for key, value := range o.AdditionalProperties {
@@ -240,6 +638,10 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "type",
+ "created",
+ "last_updated",
+ "device_count",
"virtualmachine_count",
}
@@ -274,7 +676,18 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 9544ec8500..bd40bf4570 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_cluster_group_request.go b/model_cluster_group_request.go
index 1f95667486..a80ee517d1 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.0.11 (4.0)
*/
// 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 a89789ff3d..df966715eb 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.0.11 (4.0)
*/
// 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 0000000000..793ccc0b6b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..acb4c3d887
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..0177f74cd8
--- /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.0.11 (4.0)
+*/
+
+// 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 df806d5093..73a4e30ca4 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_cluster_type_request.go b/model_cluster_type_request.go
index a72f53e3bf..53337d8576 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.0.11 (4.0)
*/
// 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 8cfdce3277..2f06b7fc9d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,34 +21,34 @@ 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"`
+ 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 +58,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
@@ -690,9 +690,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 +700,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 +716,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 +746,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 +757,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 +765,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
}
diff --git a/model_config_context_request.go b/model_config_context_request.go
index 86b8fad880..cae4adae07 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.0.11 (4.0)
*/
// 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 3995c0dbd7..5217e6e89b 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.0.11 (4.0)
*/
// 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,23 @@ 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"`
+ 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 +47,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
}
@@ -179,6 +197,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 {
@@ -196,6 +469,23 @@ func (o ConfigTemplate) 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
+ }
+ 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 +503,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{})
@@ -247,6 +542,15 @@ func (o *ConfigTemplate) UnmarshalJSON(data []byte) (err error) {
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 916c0e4912..0c4525c0d5 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.0.11 (4.0)
*/
// 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 c931788c33..f6a676192f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,26 +21,26 @@ 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"`
+ 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 +56,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
@@ -157,9 +157,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 +168,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 +176,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 +192,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 +208,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 +419,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 +432,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 +440,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 +493,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 +531,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 +545,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
@@ -764,9 +770,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
diff --git a/model_console_port_request.go b/model_console_port_request.go
index 02bc1a10aa..6555204ad1 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.0.11 (4.0)
*/
// 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 c00a14247e..8effa3104c 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.0.11 (4.0)
*/
// 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 e28484684d..4c3d3bc845 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.0.11 (4.0)
*/
// 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 4a4aaa9755..39fe882c6a 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.0.11 (4.0)
*/
// 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 814b669e04..45d6ed67dd 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.0.11 (4.0)
*/
// 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 804ed4efc0..249f3b9fea 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.0.11 (4.0)
*/
// 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 e3f1100b75..3a5d2dda59 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.0.11 (4.0)
*/
// 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 9e92401fc2..3edf80ea9d 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.0.11 (4.0)
*/
// 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 9e6a3ab15a..640e3b7a86 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.0.11 (4.0)
*/
// 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 f9f68676da..961f76a06c 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.0.11 (4.0)
*/
// 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 958e45db05..bc427d20c6 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,26 +21,26 @@ 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"`
+ 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 +56,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
@@ -157,9 +157,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 +168,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 +176,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 +192,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 +208,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 +419,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 +432,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 +440,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 +493,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 +531,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 +545,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
@@ -764,9 +770,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
diff --git a/model_console_server_port_request.go b/model_console_server_port_request.go
index a51f7782ac..25c4443b1a 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.0.11 (4.0)
*/
// 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 1ab6eee1c6..96fc64d5ff 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.0.11 (4.0)
*/
// 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 bcbbf7a821..1f2b94577b 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.0.11 (4.0)
*/
// 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 74e7412d70..a1ec5d2cb2 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.0.11 (4.0)
*/
// 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,22 @@ 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"`
+ 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 +46,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
}
@@ -123,6 +137,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 +204,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 +396,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 {
@@ -192,10 +557,39 @@ func (o Contact) ToMap() (map[string]interface{}, error) {
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
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 +607,8 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -245,8 +641,19 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "id")
delete(additionalProperties, "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 a623126393..87f13dbdfb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,8 +27,8 @@ type ContactAssignment struct {
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"`
+ Contact BriefContact `json:"contact"`
+ Role NullableBriefContactRole `json:"role,omitempty"`
Priority *ContactAssignmentPriority `json:"priority,omitempty"`
Tags []NestedTag `json:"tags,omitempty"`
CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
@@ -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)
}
diff --git a/model_contact_assignment_priority.go b/model_contact_assignment_priority.go
index 6e2052b8de..05751caba1 100644
--- a/model_contact_assignment_priority.go
+++ b/model_contact_assignment_priority.go
@@ -3,7 +3,7 @@ NetBox REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-API version: 4.0.3 (4.0)
+API version: 4.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_contact_assignment_priority_label.go b/model_contact_assignment_priority_label.go
index 686c37a822..6360f44867 100644
--- a/model_contact_assignment_priority_label.go
+++ b/model_contact_assignment_priority_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_contact_assignment_priority_value.go b/model_contact_assignment_priority_value.go
index 19d96ef34f..0129088762 100644
--- a/model_contact_assignment_priority_value.go
+++ b/model_contact_assignment_priority_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_contact_assignment_request.go b/model_contact_assignment_request.go
index 8fb3e6e652..9aff44effb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -22,8 +22,8 @@ var _ MappedNullable = &ContactAssignmentRequest{}
type ContactAssignmentRequest struct {
ObjectType string `json:"object_type"`
ObjectId int64 `json:"object_id"`
- Contact ContactRequest `json:"contact"`
- Role NullableContactRoleRequest `json:"role,omitempty"`
+ Contact BriefContactRequest `json:"contact"`
+ Role NullableBriefContactRoleRequest `json:"role,omitempty"`
Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"`
Tags []NestedTagRequest `json:"tags,omitempty"`
CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
@@ -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)
}
diff --git a/model_contact_group.go b/model_contact_group.go
index 12c15cf45e..4c74bfe941 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_contact_group_request.go b/model_contact_group_request.go
index 9aea2147b5..203d534992 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.0.11 (4.0)
*/
// 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 bb1e2df509..4198267d3b 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.0.11 (4.0)
*/
// 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 bb4b6f62b6..8714c664bd 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.0.11 (4.0)
*/
// 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,16 @@ 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"`
+ 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 +40,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
}
@@ -205,6 +212,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 {
@@ -223,6 +346,14 @@ func (o ContactRole) 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
+ }
+ toSerialize["created"] = o.Created.Get()
+ toSerialize["last_updated"] = o.LastUpdated.Get()
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -241,6 +372,8 @@ func (o *ContactRole) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -276,6 +409,10 @@ func (o *ContactRole) UnmarshalJSON(data []byte) (err error) {
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 c602937805..b3844c751b 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.0.11 (4.0)
*/
// 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_custom_field.go b/model_custom_field.go
index aea0cf477b..2d248d87dc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -53,11 +53,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{}
}
@@ -772,9 +772,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 +783,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 +799,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)
}
diff --git a/model_custom_field_choice_set.go b/model_custom_field_choice_set.go
index 7926b715a7..3689307dbf 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_custom_field_choice_set_base_choices.go b/model_custom_field_choice_set_base_choices.go
index 387404fe08..5e863f8db8 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.0.11 (4.0)
*/
// 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 bea7b22b52..70850d809a 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.0.11 (4.0)
*/
// 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 2e891195a5..1ef6f2e201 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.0.11 (4.0)
*/
// 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 9b0c67818c..d85de76d39 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.0.11 (4.0)
*/
// 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 ec27bbfe0c..7d7b65ce9a 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.0.11 (4.0)
*/
// 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 55b62d6da0..d24ec4a048 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.0.11 (4.0)
*/
// 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 b99381d64f..6e132b2435 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.0.11 (4.0)
*/
// 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 e62680adbc..b722b876a8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -48,9 +48,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{}
}
@@ -663,9 +663,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 +674,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 +690,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)
}
diff --git a/model_custom_field_type.go b/model_custom_field_type.go
index a3be15abff..65564b0803 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.0.11 (4.0)
*/
// 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 4e8cbc627a..4f47f873d8 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.0.11 (4.0)
*/
// 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 097829be52..1f0832e778 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.0.11 (4.0)
*/
// 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 8d3e41d9a2..de09b45c37 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.0.11 (4.0)
*/
// 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 6c09b4063d..5487cf828b 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.0.11 (4.0)
*/
// 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 b758a54553..e6b109da64 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.0.11 (4.0)
*/
// 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 d643bce9c8..21230b12f8 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.0.11 (4.0)
*/
// 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 b66ef1e2bb..990a5fc444 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.0.11 (4.0)
*/
// 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 d9f11b99bb..48baaa1c0a 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.0.11 (4.0)
*/
// 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 1de90af8a9..a6f83e912d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_custom_link_button_class.go b/model_custom_link_button_class.go
index 50fd2a8f1f..df42afe8ac 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.0.11 (4.0)
*/
// 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 6de4bbfdb8..193be2a630 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dashboard.go b/model_dashboard.go
index 5f90d03d61..f78748d846 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.0.11 (4.0)
*/
// 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 800dcc04ea..51521af0b4 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.0.11 (4.0)
*/
// 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 53adc911d4..75c2ecbe56 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,10 +21,10 @@ 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"`
+ 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 +40,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
@@ -134,9 +134,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 +145,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 +153,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
}
diff --git a/model_data_source.go b/model_data_source.go
index 2757ef5b20..a1ff49983b 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.0.11 (4.0)
*/
// 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,23 @@ 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"`
+ 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"`
+ 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"`
+ CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
+ Created NullableTime `json:"created"`
+ LastUpdated NullableTime `json:"last_updated"`
+ FileCount int64 `json:"file_count"`
AdditionalProperties map[string]interface{}
}
@@ -34,12 +47,18 @@ 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, 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.FileCount = fileCount
return &this
}
@@ -147,6 +166,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 +302,211 @@ func (o *DataSource) SetDescription(v string) {
o.Description = &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
+}
+
+// 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
+}
+
+// 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)
+}
+
+// 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 {
@@ -193,9 +521,30 @@ func (o DataSource) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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 !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.CustomFields) {
+ toSerialize["custom_fields"] = o.CustomFields
+ }
+ toSerialize["created"] = o.Created.Get()
+ toSerialize["last_updated"] = o.LastUpdated.Get()
+ toSerialize["file_count"] = o.FileCount
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -213,6 +562,12 @@ func (o *DataSource) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "type",
+ "source_url",
+ "status",
+ "created",
+ "last_updated",
+ "file_count",
}
allProperties := make(map[string]interface{})
@@ -246,7 +601,18 @@ func (o *DataSource) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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, "comments")
+ delete(additionalProperties, "parameters")
+ delete(additionalProperties, "ignore_rules")
+ delete(additionalProperties, "custom_fields")
+ delete(additionalProperties, "created")
+ delete(additionalProperties, "last_updated")
+ delete(additionalProperties, "file_count")
o.AdditionalProperties = additionalProperties
}
diff --git a/model_data_source_request.go b/model_data_source_request.go
index 356c146f75..17b8fc34ec 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,13 +20,13 @@ 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"`
+ 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"`
CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
@@ -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
}
diff --git a/model_data_source_request_type.go b/model_data_source_request_type.go
deleted file mode 100644
index b924aad2e9..0000000000
--- a/model_data_source_request_type.go
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// DataSourceRequestType * `None` - --------- * `local` - Local * `git` - Git * `amazon-s3` - Amazon S3
-type DataSourceRequestType string
-
-// List of DataSourceRequest_type
-const (
- DATASOURCEREQUESTTYPE_LOCAL DataSourceRequestType = "local"
- DATASOURCEREQUESTTYPE_GIT DataSourceRequestType = "git"
- DATASOURCEREQUESTTYPE_AMAZON_S3 DataSourceRequestType = "amazon-s3"
-)
-
-// All allowed values of DataSourceRequestType enum
-var AllowedDataSourceRequestTypeEnumValues = []DataSourceRequestType{
- "local",
- "git",
- "amazon-s3",
-}
-
-func (v *DataSourceRequestType) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := DataSourceRequestType(value)
- for _, existing := range AllowedDataSourceRequestTypeEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid DataSourceRequestType", value)
-}
-
-// NewDataSourceRequestTypeFromValue returns a pointer to a valid DataSourceRequestType
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewDataSourceRequestTypeFromValue(v string) (*DataSourceRequestType, error) {
- ev := DataSourceRequestType(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for DataSourceRequestType: valid values are %v", v, AllowedDataSourceRequestTypeEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v DataSourceRequestType) IsValid() bool {
- for _, existing := range AllowedDataSourceRequestTypeEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to DataSourceRequest_type value
-func (v DataSourceRequestType) Ptr() *DataSourceRequestType {
- return &v
-}
-
-type NullableDataSourceRequestType struct {
- value *DataSourceRequestType
- isSet bool
-}
-
-func (v NullableDataSourceRequestType) Get() *DataSourceRequestType {
- return v.value
-}
-
-func (v *NullableDataSourceRequestType) Set(val *DataSourceRequestType) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableDataSourceRequestType) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableDataSourceRequestType) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableDataSourceRequestType(val *DataSourceRequestType) *NullableDataSourceRequestType {
- return &NullableDataSourceRequestType{value: val, isSet: true}
-}
-
-func (v NullableDataSourceRequestType) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableDataSourceRequestType) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_wireless_link_status.go b/model_data_source_status.go
similarity index 50%
rename from model_wireless_link_status.go
rename to model_data_source_status.go
index 45f92f27dd..bf728278e9 100644
--- a/model_wireless_link_status.go
+++ b/model_data_source_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -14,39 +14,39 @@ import (
"encoding/json"
)
-// checks if the WirelessLinkStatus type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &WirelessLinkStatus{}
+// checks if the DataSourceStatus type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &DataSourceStatus{}
-// WirelessLinkStatus struct for WirelessLinkStatus
-type WirelessLinkStatus struct {
- Value *PatchedWritableCableRequestStatus `json:"value,omitempty"`
- Label *WirelessLinkStatusLabel `json:"label,omitempty"`
+// DataSourceStatus struct for DataSourceStatus
+type DataSourceStatus struct {
+ Value *DataSourceStatusValue `json:"value,omitempty"`
+ Label *DataSourceStatusLabel `json:"label,omitempty"`
AdditionalProperties map[string]interface{}
}
-type _WirelessLinkStatus WirelessLinkStatus
+type _DataSourceStatus DataSourceStatus
-// NewWirelessLinkStatus instantiates a new WirelessLinkStatus object
+// 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 NewWirelessLinkStatus() *WirelessLinkStatus {
- this := WirelessLinkStatus{}
+func NewDataSourceStatus() *DataSourceStatus {
+ this := DataSourceStatus{}
return &this
}
-// NewWirelessLinkStatusWithDefaults instantiates a new WirelessLinkStatus object
+// 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 NewWirelessLinkStatusWithDefaults() *WirelessLinkStatus {
- this := WirelessLinkStatus{}
+func NewDataSourceStatusWithDefaults() *DataSourceStatus {
+ this := DataSourceStatus{}
return &this
}
// GetValue returns the Value field value if set, zero value otherwise.
-func (o *WirelessLinkStatus) GetValue() PatchedWritableCableRequestStatus {
+func (o *DataSourceStatus) GetValue() DataSourceStatusValue {
if o == nil || IsNil(o.Value) {
- var ret PatchedWritableCableRequestStatus
+ var ret DataSourceStatusValue
return ret
}
return *o.Value
@@ -54,7 +54,7 @@ func (o *WirelessLinkStatus) GetValue() PatchedWritableCableRequestStatus {
// 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 *WirelessLinkStatus) GetValueOk() (*PatchedWritableCableRequestStatus, bool) {
+func (o *DataSourceStatus) GetValueOk() (*DataSourceStatusValue, bool) {
if o == nil || IsNil(o.Value) {
return nil, false
}
@@ -62,7 +62,7 @@ func (o *WirelessLinkStatus) GetValueOk() (*PatchedWritableCableRequestStatus, b
}
// HasValue returns a boolean if a field has been set.
-func (o *WirelessLinkStatus) HasValue() bool {
+func (o *DataSourceStatus) HasValue() bool {
if o != nil && !IsNil(o.Value) {
return true
}
@@ -70,15 +70,15 @@ func (o *WirelessLinkStatus) HasValue() bool {
return false
}
-// SetValue gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Value field.
-func (o *WirelessLinkStatus) SetValue(v PatchedWritableCableRequestStatus) {
+// 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 *WirelessLinkStatus) GetLabel() WirelessLinkStatusLabel {
+func (o *DataSourceStatus) GetLabel() DataSourceStatusLabel {
if o == nil || IsNil(o.Label) {
- var ret WirelessLinkStatusLabel
+ var ret DataSourceStatusLabel
return ret
}
return *o.Label
@@ -86,7 +86,7 @@ func (o *WirelessLinkStatus) GetLabel() WirelessLinkStatusLabel {
// 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 *WirelessLinkStatus) GetLabelOk() (*WirelessLinkStatusLabel, bool) {
+func (o *DataSourceStatus) GetLabelOk() (*DataSourceStatusLabel, bool) {
if o == nil || IsNil(o.Label) {
return nil, false
}
@@ -94,7 +94,7 @@ func (o *WirelessLinkStatus) GetLabelOk() (*WirelessLinkStatusLabel, bool) {
}
// HasLabel returns a boolean if a field has been set.
-func (o *WirelessLinkStatus) HasLabel() bool {
+func (o *DataSourceStatus) HasLabel() bool {
if o != nil && !IsNil(o.Label) {
return true
}
@@ -102,12 +102,12 @@ func (o *WirelessLinkStatus) HasLabel() bool {
return false
}
-// SetLabel gets a reference to the given WirelessLinkStatusLabel and assigns it to the Label field.
-func (o *WirelessLinkStatus) SetLabel(v WirelessLinkStatusLabel) {
+// 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 WirelessLinkStatus) MarshalJSON() ([]byte, error) {
+func (o DataSourceStatus) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -115,7 +115,7 @@ func (o WirelessLinkStatus) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o WirelessLinkStatus) ToMap() (map[string]interface{}, error) {
+func (o DataSourceStatus) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Value) {
toSerialize["value"] = o.Value
@@ -131,16 +131,16 @@ func (o WirelessLinkStatus) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *WirelessLinkStatus) UnmarshalJSON(data []byte) (err error) {
- varWirelessLinkStatus := _WirelessLinkStatus{}
+func (o *DataSourceStatus) UnmarshalJSON(data []byte) (err error) {
+ varDataSourceStatus := _DataSourceStatus{}
- err = json.Unmarshal(data, &varWirelessLinkStatus)
+ err = json.Unmarshal(data, &varDataSourceStatus)
if err != nil {
return err
}
- *o = WirelessLinkStatus(varWirelessLinkStatus)
+ *o = DataSourceStatus(varDataSourceStatus)
additionalProperties := make(map[string]interface{})
@@ -153,38 +153,38 @@ func (o *WirelessLinkStatus) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableWirelessLinkStatus struct {
- value *WirelessLinkStatus
+type NullableDataSourceStatus struct {
+ value *DataSourceStatus
isSet bool
}
-func (v NullableWirelessLinkStatus) Get() *WirelessLinkStatus {
+func (v NullableDataSourceStatus) Get() *DataSourceStatus {
return v.value
}
-func (v *NullableWirelessLinkStatus) Set(val *WirelessLinkStatus) {
+func (v *NullableDataSourceStatus) Set(val *DataSourceStatus) {
v.value = val
v.isSet = true
}
-func (v NullableWirelessLinkStatus) IsSet() bool {
+func (v NullableDataSourceStatus) IsSet() bool {
return v.isSet
}
-func (v *NullableWirelessLinkStatus) Unset() {
+func (v *NullableDataSourceStatus) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableWirelessLinkStatus(val *WirelessLinkStatus) *NullableWirelessLinkStatus {
- return &NullableWirelessLinkStatus{value: val, isSet: true}
+func NewNullableDataSourceStatus(val *DataSourceStatus) *NullableDataSourceStatus {
+ return &NullableDataSourceStatus{value: val, isSet: true}
}
-func (v NullableWirelessLinkStatus) MarshalJSON() ([]byte, error) {
+func (v NullableDataSourceStatus) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableWirelessLinkStatus) UnmarshalJSON(src []byte) error {
+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 0000000000..f86ca34a80
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..5b3f219c9f
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..5658e08fd0
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..5d34078de2
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..b68d9f2f99
--- /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.0.11 (4.0)
+*/
+
+// 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 f19ebe5fef..9daec340f7 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_console_port_templates_list_type_parameter.go b/model_dcim_console_port_templates_list_type_parameter.go
index 7554c6357e..84b1262667 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_console_ports_list_speed_parameter.go b/model_dcim_console_ports_list_speed_parameter.go
index 1f1008b17c..678dbc3f7b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_device_types_list_airflow_parameter.go b/model_dcim_device_types_list_airflow_parameter.go
index 0d667f2249..1ea83b4fd7 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.0.11 (4.0)
*/
// 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 acfb6c6fe4..c8fe2d565d 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.0.11 (4.0)
*/
// 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 62cac65410..2c8e09eeb8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_interfaces_list_mode_parameter.go b/model_dcim_interfaces_list_mode_parameter.go
index 64b1b66dae..70f8a908ba 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_power_feeds_list_phase_parameter.go b/model_dcim_power_feeds_list_phase_parameter.go
index 887c4c1857..5e0d9a3e5a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_power_feeds_list_supply_parameter.go b/model_dcim_power_feeds_list_supply_parameter.go
index a9d411a9a8..14c6bace82 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.0.11 (4.0)
*/
// 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 133f1c231e..34a0760272 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_power_outlet_templates_list_type_parameter.go b/model_dcim_power_outlet_templates_list_type_parameter.go
index dc7840bb14..1033affb0a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_power_port_templates_list_type_parameter.go b/model_dcim_power_port_templates_list_type_parameter.go
index dcc5cfc555..90bd7d97f1 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_racks_elevation_retrieve_face_parameter.go b/model_dcim_racks_elevation_retrieve_face_parameter.go
index 564e2c159d..798edc7adb 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.0.11 (4.0)
*/
// 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 2506cd2cc7..f6314cbaed 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_dcim_racks_list_outer_unit_parameter.go b/model_dcim_racks_list_outer_unit_parameter.go
index 5a8f1464cf..6c8d27c8fe 100644
--- a/model_dcim_racks_list_outer_unit_parameter.go
+++ b/model_dcim_racks_list_outer_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_device.go b/model_device.go
index 7585fb9dde..f2e4b3e570 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,42 +21,42 @@ 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"`
+ 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"`
+ VcPriority NullableInt32 `json:"vc_priority,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"`
@@ -82,7 +82,7 @@ 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, deviceType BriefDeviceType, role BriefDeviceRole, site BriefSite, parentDevice NullableNestedDevice, primaryIp NullableBriefIPAddress, 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 {
this := Device{}
this.Id = id
this.Url = url
@@ -231,9 +231,9 @@ func (o *Device) UnsetName() {
}
// GetDeviceType returns the DeviceType field value
-func (o *Device) GetDeviceType() DeviceType {
+func (o *Device) GetDeviceType() BriefDeviceType {
if o == nil {
- var ret DeviceType
+ var ret BriefDeviceType
return ret
}
@@ -242,7 +242,7 @@ func (o *Device) GetDeviceType() DeviceType {
// GetDeviceTypeOk returns a tuple with the DeviceType field value
// and a boolean to check if the value has been set.
-func (o *Device) GetDeviceTypeOk() (*DeviceType, bool) {
+func (o *Device) GetDeviceTypeOk() (*BriefDeviceType, bool) {
if o == nil {
return nil, false
}
@@ -250,14 +250,14 @@ func (o *Device) GetDeviceTypeOk() (*DeviceType, bool) {
}
// SetDeviceType sets field value
-func (o *Device) SetDeviceType(v DeviceType) {
+func (o *Device) SetDeviceType(v BriefDeviceType) {
o.DeviceType = v
}
// GetRole returns the Role field value
-func (o *Device) GetRole() DeviceRole {
+func (o *Device) GetRole() BriefDeviceRole {
if o == nil {
- var ret DeviceRole
+ var ret BriefDeviceRole
return ret
}
@@ -266,7 +266,7 @@ func (o *Device) GetRole() DeviceRole {
// GetRoleOk returns a tuple with the Role field value
// and a boolean to check if the value has been set.
-func (o *Device) GetRoleOk() (*DeviceRole, bool) {
+func (o *Device) GetRoleOk() (*BriefDeviceRole, bool) {
if o == nil {
return nil, false
}
@@ -274,14 +274,14 @@ func (o *Device) GetRoleOk() (*DeviceRole, bool) {
}
// SetRole sets field value
-func (o *Device) SetRole(v DeviceRole) {
+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 +290,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 +306,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 +322,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 +333,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 +349,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)
}
@@ -440,9 +440,9 @@ func (o *Device) UnsetAssetTag() {
}
// GetSite returns the Site field value
-func (o *Device) GetSite() Site {
+func (o *Device) GetSite() BriefSite {
if o == nil {
- var ret Site
+ var ret BriefSite
return ret
}
@@ -451,7 +451,7 @@ func (o *Device) GetSite() Site {
// GetSiteOk returns a tuple with the Site field value
// and a boolean to check if the value has been set.
-func (o *Device) GetSiteOk() (*Site, bool) {
+func (o *Device) GetSiteOk() (*BriefSite, bool) {
if o == nil {
return nil, false
}
@@ -459,14 +459,14 @@ func (o *Device) GetSiteOk() (*Site, bool) {
}
// SetSite sets field value
-func (o *Device) SetSite(v Site) {
+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 +475,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 +491,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 +507,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 +518,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 +534,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)
}
@@ -801,10 +801,10 @@ func (o *Device) 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 *Device) GetPrimaryIp() IPAddress {
+// If the value is explicit nil, the zero value for BriefIPAddress will be returned
+func (o *Device) GetPrimaryIp() BriefIPAddress {
if o == nil || o.PrimaryIp.Get() == nil {
- var ret IPAddress
+ var ret BriefIPAddress
return ret
}
@@ -814,7 +814,7 @@ func (o *Device) 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 *Device) GetPrimaryIpOk() (*IPAddress, bool) {
+func (o *Device) GetPrimaryIpOk() (*BriefIPAddress, bool) {
if o == nil {
return nil, false
}
@@ -822,14 +822,14 @@ func (o *Device) GetPrimaryIpOk() (*IPAddress, bool) {
}
// SetPrimaryIp sets field value
-func (o *Device) SetPrimaryIp(v IPAddress) {
+func (o *Device) 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 *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 +838,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 +854,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 +870,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 +881,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 +897,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 +913,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 +924,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 +940,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 +956,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 +967,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 +983,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 +999,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 +1010,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 +1026,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)
}
@@ -1192,9 +1192,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 +1203,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 +1219,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)
}
diff --git a/model_device_airflow.go b/model_device_airflow.go
index b3812caaea..bbcfa0ed63 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.0.11 (4.0)
*/
// 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 9d2429b948..c75cf497fc 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.0.11 (4.0)
*/
// 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 9ff9281c99..38d6827ff1 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.0.11 (4.0)
*/
// 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 ab35b6a54a..9437a1acfc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,15 +21,15 @@ 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"`
+ 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 +43,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
@@ -136,9 +136,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 +147,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 +155,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 +248,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 +259,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 +275,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)
}
diff --git a/model_device_bay_request.go b/model_device_bay_request.go
index 514b0172eb..9b02e2d517 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.0.11 (4.0)
*/
// 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 6ea0c9a93f..d6e02202b5 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.0.11 (4.0)
*/
// 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 b75a4eaa35..07f6653959 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.0.11 (4.0)
*/
// 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 380afa6899..6460f888d1 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.0.11 (4.0)
*/
// 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 b74e4452a2..294be8dc84 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.0.11 (4.0)
*/
// 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 c693fb0de4..263049b008 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.0.11 (4.0)
*/
// 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 1c2cf2a0c6..81819acd22 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.0.11 (4.0)
*/
// 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,22 @@ 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"`
+ 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"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
AdditionalProperties map[string]interface{}
}
@@ -37,13 +46,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, deviceCount int64, virtualmachineCount int64) *DeviceRole {
this := DeviceRole{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
this.Slug = slug
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.DeviceCount = deviceCount
this.VirtualmachineCount = virtualmachineCount
return &this
@@ -177,6 +188,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,6 +327,122 @@ func (o *DeviceRole) SetDescription(v string) {
o.Description = &v
}
+// 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 {
+ 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.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 *DeviceRole) GetLastUpdatedOk() (*time.Time, bool) {
+ if o == nil {
+ return nil, false
+ }
+ 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
func (o *DeviceRole) GetDeviceCount() int64 {
if o == nil {
@@ -272,9 +506,26 @@ func (o DeviceRole) ToMap() (map[string]interface{}, error) {
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
}
+ 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["device_count"] = o.DeviceCount
toSerialize["virtualmachine_count"] = o.VirtualmachineCount
@@ -295,6 +546,8 @@ func (o *DeviceRole) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"device_count",
"virtualmachine_count",
}
@@ -331,7 +584,14 @@ func (o *DeviceRole) UnmarshalJSON(data []byte) (err error) {
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 111b389d1b..b01f97da2d 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.0.11 (4.0)
*/
// 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 04e480442d..aab914eea9 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.0.11 (4.0)
*/
// 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 4490be89a1..d67d089a31 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.0.11 (4.0)
*/
// 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 032b9b5b65..32b73d5d56 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.0.11 (4.0)
*/
// 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 6b71ca2b42..9cadcc4240 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.0.11 (4.0)
*/
// 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,44 @@ 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"`
+ 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"`
+ 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 +67,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, deviceCount int64, 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 +75,21 @@ func NewDeviceType(id int32, url string, display string, manufacturer Manufactur
this.Manufacturer = manufacturer
this.Model = model
this.Slug = slug
+ var uHeight float64 = 1.0
+ this.UHeight = &uHeight
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.DeviceCount = deviceCount
+ 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
}
@@ -130,9 +176,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 +187,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 +195,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 +290,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,6 +708,154 @@ func (o *DeviceType) SetDescription(v string) {
o.Description = &v
}
+// 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 {
+ 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.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 *DeviceType) GetLastUpdatedOk() (*time.Time, bool) {
+ if o == nil {
+ return nil, false
+ }
+ 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
func (o *DeviceType) GetDeviceCount() int64 {
if o == nil {
@@ -257,6 +880,246 @@ func (o *DeviceType) SetDeviceCount(v int64) {
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) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -271,12 +1134,66 @@ func (o DeviceType) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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
}
+ 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["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 +1213,19 @@ func (o *DeviceType) UnmarshalJSON(data []byte) (err error) {
"manufacturer",
"model",
"slug",
+ "created",
+ "last_updated",
"device_count",
+ "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{})
@@ -330,10 +1259,36 @@ func (o *DeviceType) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 0000000000..e691b958a3
--- /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.0.11 (4.0)
+*/
+
+// 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 f72377aaa0..2f06e8107c 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.0.11 (4.0)
*/
// 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 0000000000..9b6b5dccac
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..70a32ec3de
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..366b64d66e
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..608f84beff
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..3cc96ae81b
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d9a2e4ae15
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..d8386389e9
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..9bf45197d4
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a6dd4b1dc2
--- /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.0.11 (4.0)
+*/
+
+// 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 f4dfc538e1..e3921dc98e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,43 +21,43 @@ 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"`
+ 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 +83,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
@@ -233,9 +233,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 +244,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 +252,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 +268,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 +276,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 +292,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 +308,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 +324,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 +335,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 +351,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 +442,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 +453,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 +461,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 +477,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 +493,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 +509,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 +520,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 +536,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 +803,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 +816,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 +824,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 +840,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 +856,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 +872,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 +883,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 +899,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 +915,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 +926,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 +942,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 +958,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 +969,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 +985,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 +1001,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 +1012,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 +1028,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 +1194,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 +1205,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 +1221,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)
}
diff --git a/model_device_with_config_context_request.go b/model_device_with_config_context_request.go
index b259fc842e..9374a78d99 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.0.11 (4.0)
*/
// 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 718a00acd8..c018c3aee0 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_end.go b/model_end.go
index e5ba360cb8..072d43e425 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.0.11 (4.0)
*/
// 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 b71fc25b13..a902ddcedc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_event_rule.go b/model_event_rule.go
index b3f5d4e410..af97b8e28c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_event_rule_action_type.go b/model_event_rule_action_type.go
index 1c8cb0534a..29879572aa 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.0.11 (4.0)
*/
// 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 d58423d475..c8cbdd77c5 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_event_rule_action_type_value.go b/model_event_rule_action_type_value.go
index 9c309b8d2b..6196be89f1 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_event_rule_request.go b/model_event_rule_request.go
index e9a76def0f..adfe5b979c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_export_template.go b/model_export_template.go
index e034604cdc..187fd34e5c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -34,14 +34,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 +51,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
@@ -348,9 +348,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 +358,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 +374,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 +404,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 +415,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 +423,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
}
diff --git a/model_export_template_request.go b/model_export_template_request.go
index 16e3ea6a5c..0d4f172366 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.0.11 (4.0)
*/
// 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 549d77f709..4099299d51 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.0.11 (4.0)
*/
// 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 e06b579501..b89995d4b8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_extras_custom_fields_list_ui_editable_parameter.go b/model_extras_custom_fields_list_ui_editable_parameter.go
index 507235fe93..a7ae8dccc5 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.0.11 (4.0)
*/
// 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 47e4aaa2bd..03d830c69d 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.0.11 (4.0)
*/
// 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 db3b288e92..131cd084d3 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.0.11 (4.0)
*/
// 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_object_changes_list_action_parameter.go b/model_extras_object_changes_list_action_parameter.go
index bafdc5ac8e..16867c6891 100644
--- a/model_extras_object_changes_list_action_parameter.go
+++ b/model_extras_object_changes_list_action_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_fhrp_group.go b/model_fhrp_group.go
index edddea0c1c..3806925abb 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.0.11 (4.0)
*/
// 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,21 @@ 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"`
+ Display string `json:"display"`
+ Protocol BriefFHRPGroupProtocol `json:"protocol"`
+ GroupId int32 `json:"group_id"`
+ AuthType *AuthenticationType `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 +45,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 +90,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 {
@@ -126,9 +171,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 +182,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 +190,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 +218,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() AuthenticationType {
+ if o == nil || IsNil(o.AuthType) {
+ var ret AuthenticationType
+ 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() (*AuthenticationType, 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 AuthenticationType and assigns it to the AuthType field.
+func (o *FHRPGroup) SetAuthType(v AuthenticationType) {
+ 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 +314,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 +497,34 @@ 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
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 +543,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 +576,20 @@ 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")
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 d81aefa155..1d77affd01 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.0.11 (4.0)
*/
// 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 fda4826a17..e8b9374541 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.0.11 (4.0)
*/
// 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_protocol.go b/model_fhrp_group_protocol.go
deleted file mode 100644
index 003e74a846..0000000000
--- a/model_fhrp_group_protocol.go
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// FHRPGroupProtocol * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other
-type FHRPGroupProtocol string
-
-// List of FHRPGroup_protocol
-const (
- FHRPGROUPPROTOCOL_VRRP2 FHRPGroupProtocol = "vrrp2"
- FHRPGROUPPROTOCOL_VRRP3 FHRPGroupProtocol = "vrrp3"
- FHRPGROUPPROTOCOL_CARP FHRPGroupProtocol = "carp"
- FHRPGROUPPROTOCOL_CLUSTERXL FHRPGroupProtocol = "clusterxl"
- FHRPGROUPPROTOCOL_HSRP FHRPGroupProtocol = "hsrp"
- FHRPGROUPPROTOCOL_GLBP FHRPGroupProtocol = "glbp"
- FHRPGROUPPROTOCOL_OTHER FHRPGroupProtocol = "other"
-)
-
-// All allowed values of FHRPGroupProtocol enum
-var AllowedFHRPGroupProtocolEnumValues = []FHRPGroupProtocol{
- "vrrp2",
- "vrrp3",
- "carp",
- "clusterxl",
- "hsrp",
- "glbp",
- "other",
-}
-
-func (v *FHRPGroupProtocol) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := FHRPGroupProtocol(value)
- for _, existing := range AllowedFHRPGroupProtocolEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid FHRPGroupProtocol", value)
-}
-
-// NewFHRPGroupProtocolFromValue returns a pointer to a valid FHRPGroupProtocol
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewFHRPGroupProtocolFromValue(v string) (*FHRPGroupProtocol, error) {
- ev := FHRPGroupProtocol(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for FHRPGroupProtocol: valid values are %v", v, AllowedFHRPGroupProtocolEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v FHRPGroupProtocol) IsValid() bool {
- for _, existing := range AllowedFHRPGroupProtocolEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to FHRPGroup_protocol value
-func (v FHRPGroupProtocol) Ptr() *FHRPGroupProtocol {
- return &v
-}
-
-type NullableFHRPGroupProtocol struct {
- value *FHRPGroupProtocol
- isSet bool
-}
-
-func (v NullableFHRPGroupProtocol) Get() *FHRPGroupProtocol {
- return v.value
-}
-
-func (v *NullableFHRPGroupProtocol) Set(val *FHRPGroupProtocol) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableFHRPGroupProtocol) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableFHRPGroupProtocol) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableFHRPGroupProtocol(val *FHRPGroupProtocol) *NullableFHRPGroupProtocol {
- return &NullableFHRPGroupProtocol{value: val, isSet: true}
-}
-
-func (v NullableFHRPGroupProtocol) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableFHRPGroupProtocol) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_fhrp_group_request.go b/model_fhrp_group_request.go
index a3fbe25685..ed3bc4494f 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.0.11 (4.0)
*/
// 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 *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"`
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() AuthenticationType {
+ if o == nil || IsNil(o.AuthType) {
+ var ret AuthenticationType
+ 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() (*AuthenticationType, 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 AuthenticationType and assigns it to the AuthType field.
+func (o *FHRPGroupRequest) SetAuthType(v AuthenticationType) {
+ 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 14255269db..023affae1e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,12 +21,12 @@ 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"`
+ 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 +36,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 +56,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
@@ -160,9 +160,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 +171,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 +179,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 +195,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 +211,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 +459,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 +472,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 +480,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 +533,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.
@@ -734,7 +736,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
}
diff --git a/model_front_port_rear_port.go b/model_front_port_rear_port.go
index bfddbbc627..e997d08481 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_front_port_rear_port_request.go b/model_front_port_rear_port_request.go
index efa9119db0..2ff63f8195 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.0.11 (4.0)
*/
// 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 b3cc287bbe..9b2aad0790 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.0.11 (4.0)
*/
// 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 66ed545004..14e6df17ed 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.0.11 (4.0)
*/
// 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 995c21f99c..162825d8b7 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.0.11 (4.0)
*/
// 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 17d1190463..d89e74b53d 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.0.11 (4.0)
*/
// 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 88117ae3a6..d5c2b14bea 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_front_port_type_value.go b/model_front_port_type_value.go
index 55f3bf9e53..25888d8090 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_generic_object.go b/model_generic_object.go
new file mode 100644
index 0000000000..26cdbc7e96
--- /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.0.11 (4.0)
+*/
+
+// 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 af5fa0e139..0ca097f925 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_group.go b/model_group.go
index cc0cb78e9e..25b001c297 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_group_request.go b/model_group_request.go
index a3b3fc4d92..40515e41d8 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.0.11 (4.0)
*/
// 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 60a1325948..38cd66748d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,7 +27,7 @@ type IKEPolicy struct {
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 +44,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
@@ -217,28 +216,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.
@@ -471,7 +478,9 @@ func (o IKEPolicy) 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
}
@@ -507,7 +516,6 @@ func (o *IKEPolicy) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"version",
- "mode",
"created",
"last_updated",
}
diff --git a/model_ike_policy_mode.go b/model_ike_policy_mode.go
index 561cdd0eef..e3d4e3f67f 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.0.11 (4.0)
*/
// 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 6f710f6ac2..fe34cf53b8 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.0.11 (4.0)
*/
// 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 f7209d9324..35e9db3e86 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.0.11 (4.0)
*/
// 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 b10b248b69..c5f52a86ee 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.0.11 (4.0)
*/
// 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 afa22c6de8..bca65cced8 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.0.11 (4.0)
*/
// 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 8b11ad9d66..5b72df23a5 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.0.11 (4.0)
*/
// 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 7abf472f2f..ec6ec19589 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.0.11 (4.0)
*/
// 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 cd4eed1ca7..f00a677359 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,15 +21,15 @@ 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"`
+ 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 +46,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 +54,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
@@ -245,28 +244,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
@@ -503,7 +510,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 +547,6 @@ func (o *IKEProposal) UnmarshalJSON(data []byte) (err error) {
"name",
"authentication_method",
"encryption_algorithm",
- "authentication_algorithm",
"group",
"created",
"last_updated",
diff --git a/model_ike_proposal_authentication_algorithm.go b/model_ike_proposal_authentication_algorithm.go
index beeab83348..a752094617 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.0.11 (4.0)
*/
// 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 ed37a3e8d4..d736fb4339 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.0.11 (4.0)
*/
// 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 ac2ff5a013..62b6181cf0 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.0.11 (4.0)
*/
// 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 ce563d6e21..d60bb0a094 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.0.11 (4.0)
*/
// 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 35519ca6b0..979a6a613a 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.0.11 (4.0)
*/
// 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 c1e5b8266c..0b167e67e2 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.0.11 (4.0)
*/
// 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 208e101996..99858941ad 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.0.11 (4.0)
*/
// 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 4485f50f2c..4036096b9a 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.0.11 (4.0)
*/
// 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 f152c2e121..326b67a822 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.0.11 (4.0)
*/
// 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 b4e5729484..80f4b93dc9 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.0.11 (4.0)
*/
// 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 acb825e47a..75534506ec 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.0.11 (4.0)
*/
// 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 482fc4b74d..833dd3ff79 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.0.11 (4.0)
*/
// 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 532a3552d5..820d8691c5 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.0.11 (4.0)
*/
// 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 3eef1f2cd9..083a08f160 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.0.11 (4.0)
*/
// 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 26ce0cc75e..4219393c21 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.0.11 (4.0)
*/
// 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 8990492b10..838eaf12b8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,9 +24,9 @@ type Interface struct {
Id int32 `json:"id"`
Url string `json:"url"`
Display string `json:"display"`
- Device Device `json:"device"`
+ Device BriefDevice `json:"device"`
Vdcs []VirtualDeviceContext `json:"vdcs,omitempty"`
- Module NullableModule `json:"module,omitempty"`
+ Module NullableBriefModule `json:"module,omitempty"`
Name string `json:"name"`
// Physical label
Label *string `json:"label,omitempty"`
@@ -51,31 +51,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 +85,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
@@ -191,9 +191,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 +202,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 +210,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 +247,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 +258,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 +274,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 +1099,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 +1110,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 +1126,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 +1206,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 +1219,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 +1227,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 +1306,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 +1364,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 +1375,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 +1391,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 +1407,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 +1420,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 +1428,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 +1445,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 +1459,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
@@ -1785,7 +1791,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 +1799,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
diff --git a/model_interface_duplex.go b/model_interface_duplex.go
index aa73ec088b..af3cfaa8bb 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.0.11 (4.0)
*/
// 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 eaab1a072f..8327f8ac32 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.0.11 (4.0)
*/
// 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 93e3ce1203..cf1de7d629 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.0.11 (4.0)
*/
// 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 9441de5dd8..f9a3718ac9 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.0.11 (4.0)
*/
// 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 cde6b2ae1d..44f2cd7f0f 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.0.11 (4.0)
*/
// 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 f057fe019a..26f8d83c93 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.0.11 (4.0)
*/
// 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 8f365d75eb..55782eb356 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.0.11 (4.0)
*/
// 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 7736be9cc7..0ae3db2d25 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.0.11 (4.0)
*/
// 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 4e044ad153..234f7a99ac 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.0.11 (4.0)
*/
// 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 ef7c2e113e..5bca88fcc7 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.0.11 (4.0)
*/
// 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 21265631bd..a77d44b3a9 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.0.11 (4.0)
*/
// 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 d1f9f85a3b..2317b58210 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.0.11 (4.0)
*/
// 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 b066995e98..f7729071f6 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.0.11 (4.0)
*/
// 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 2cfab20fa6..9400fcf9a7 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.0.11 (4.0)
*/
// 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 6cdd517fac..e8be9a6fc9 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.0.11 (4.0)
*/
// 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 c6ca5df46e..5d47980a07 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.0.11 (4.0)
*/
// 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 5a426d213f..8d998463a7 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.0.11 (4.0)
*/
// 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 a7f8f1cd97..8ba44d9e6f 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.0.11 (4.0)
*/
// 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 201cb2af42..7da0afb7dc 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.0.11 (4.0)
*/
// 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 364371e9c3..cad7183d94 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.0.11 (4.0)
*/
// 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 37184eb6b0..1c50d95600 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.0.11 (4.0)
*/
// 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 7811b7e106..c6f693c9bb 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.0.11 (4.0)
*/
// 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 2c1cb4d01b..0fe5e09f48 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.0.11 (4.0)
*/
// 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 bea10caaf9..9cd49a8fbc 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.0.11 (4.0)
*/
// 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 f2b93a7818..62ae7cbd18 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.0.11 (4.0)
*/
// 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 1f35567e15..dca0fdda18 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.0.11 (4.0)
*/
// 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 db39e85145..a1d889f0b0 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.0.11 (4.0)
*/
// 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 3eaf185c19..b35457ba3e 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.0.11 (4.0)
*/
// 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 d5a16d3e2d..574d8ece88 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.0.11 (4.0)
*/
// 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 99dedfa786..08da4e0196 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -28,6 +28,7 @@ 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)"
@@ -81,6 +82,7 @@ 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_OTHER__WIRELESS InterfaceTypeLabel = "Other (Wireless)"
INTERFACETYPELABEL_GSM InterfaceTypeLabel = "GSM"
@@ -157,6 +159,7 @@ 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)",
@@ -210,6 +213,7 @@ var AllowedInterfaceTypeLabelEnumValues = []InterfaceTypeLabel{
"IEEE 802.11ad",
"IEEE 802.11ax",
"IEEE 802.11ay",
+ "IEEE 802.11be",
"IEEE 802.15.1 (Bluetooth)",
"Other (Wireless)",
"GSM",
diff --git a/model_interface_type_value.go b/model_interface_type_value.go
index 324edde787..5a6ebb8ada 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.0.11 (4.0)
*/
// 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) * `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) * `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,6 +28,7 @@ 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"
@@ -81,6 +82,7 @@ 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_OTHER_WIRELESS InterfaceTypeValue = "other-wireless"
INTERFACETYPEVALUE_GSM InterfaceTypeValue = "gsm"
@@ -157,6 +159,7 @@ var AllowedInterfaceTypeValueEnumValues = []InterfaceTypeValue{
"100base-tx",
"100base-t1",
"1000base-t",
+ "1000base-tx",
"2.5gbase-t",
"5gbase-t",
"10gbase-t",
@@ -210,6 +213,7 @@ var AllowedInterfaceTypeValueEnumValues = []InterfaceTypeValue{
"ieee802.11ad",
"ieee802.11ax",
"ieee802.11ay",
+ "ieee802.11be",
"ieee802.15.1",
"other-wireless",
"gsm",
diff --git a/model_inventory_item.go b/model_inventory_item.go
index 288a4619cb..ca9a25d0aa 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,13 +24,13 @@ type InventoryItem struct {
Id int32 `json:"id"`
Url string `json:"url"`
Display string `json:"display"`
- Device Device `json:"device"`
+ 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 +56,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
@@ -151,9 +151,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 +162,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 +170,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 +274,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 +285,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 +301,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 +317,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 +328,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 +344,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)
}
diff --git a/model_inventory_item_request.go b/model_inventory_item_request.go
index c93a233fc4..03697a405c 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.0.11 (4.0)
*/
// 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 ee6f289909..9026c5b508 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_inventory_item_role_request.go b/model_inventory_item_role_request.go
index c00674ef53..3dad736c6d 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.0.11 (4.0)
*/
// 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 2e41792819..a9a923db72 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.0.11 (4.0)
*/
// 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 c7d639e2d8..9786738177 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.0.11 (4.0)
*/
// 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 5fdb687b45..79e1bad83a 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.0.11 (4.0)
*/
// 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,28 @@ 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"`
+ 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 +52,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
}
@@ -173,6 +194,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 +587,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 {
@@ -220,9 +750,48 @@ func (o IPAddress) ToMap() (map[string]interface{}, error) {
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 +810,10 @@ func (o *IPAddress) UnmarshalJSON(data []byte) (err error) {
"display",
"family",
"address",
+ "assigned_object",
+ "nat_outside",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -275,7 +848,22 @@ func (o *IPAddress) UnmarshalJSON(data []byte) (err error) {
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 6c3232de2e..9fad97f160 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.0.11 (4.0)
*/
// 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 0000000000..ef40ad0eaf
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..5861db6c07
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..42e0cbfd68
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..c6fdc5763f
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..e37b0366ba
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..8859b4fd17
--- /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.0.11 (4.0)
+*/
+
+// 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 8775cca43a..fecd19a4b2 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -28,10 +28,10 @@ type IPRange struct {
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"`
@@ -240,9 +240,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 +251,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 +267,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 +283,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 +294,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 +310,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 +358,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 +369,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 +385,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)
}
diff --git a/model_ip_range_request.go b/model_ip_range_request.go
index 89c81001d1..2368415ef6 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.0.11 (4.0)
*/
// 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 7382048fb1..df2303e169 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.0.11 (4.0)
*/
// 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 385ab47e7c..462d1033c8 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.0.11 (4.0)
*/
// 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 df62fcdf6d..60076701ba 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.0.11 (4.0)
*/
// 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 36f1f6c999..5b06d859da 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_ip_sec_policy_request.go b/model_ip_sec_policy_request.go
index 9612f14fab..ff0baa91fd 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.0.11 (4.0)
*/
// 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 9146d80747..2cba93cb4c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,8 +27,8 @@ type IPSecProfile struct {
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 +43,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
@@ -218,9 +218,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 +229,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 +237,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 +253,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 +261,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
}
diff --git a/model_ip_sec_profile_mode.go b/model_ip_sec_profile_mode.go
index 69bcffc186..c55ab42b00 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.0.11 (4.0)
*/
// 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 31f8922ec4..edfef3cb29 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.0.11 (4.0)
*/
// 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 75a1b1c6a7..da4088021b 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.0.11 (4.0)
*/
// 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 09202cc1ee..438aac144f 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.0.11 (4.0)
*/
// 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 cdc9250e23..85ae34d011 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_ip_sec_proposal_request.go b/model_ip_sec_proposal_request.go
index 1a4cdf787d..5660c02efa 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_ipam_service_templates_list_protocol_parameter.go b/model_ipam_service_templates_list_protocol_parameter.go
index f5e1d118cd..0b4167425d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_job.go b/model_job.go
index 7c41c0fe14..c978b4a50e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,20 +21,20 @@ 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"`
+ 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 +47,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
@@ -234,9 +234,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 +245,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 +253,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 +454,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 +465,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 +473,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
}
diff --git a/model_job_status_label.go b/model_job_status_label.go
deleted file mode 100644
index 2e71e463ac..0000000000
--- a/model_job_status_label.go
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// JobStatusLabel the model 'JobStatusLabel'
-type JobStatusLabel string
-
-// List of Job_status_label
-const (
- JOBSTATUSLABEL_PENDING JobStatusLabel = "Pending"
- JOBSTATUSLABEL_SCHEDULED JobStatusLabel = "Scheduled"
- JOBSTATUSLABEL_RUNNING JobStatusLabel = "Running"
- JOBSTATUSLABEL_COMPLETED JobStatusLabel = "Completed"
- JOBSTATUSLABEL_ERRORED JobStatusLabel = "Errored"
- JOBSTATUSLABEL_FAILED JobStatusLabel = "Failed"
-)
-
-// All allowed values of JobStatusLabel enum
-var AllowedJobStatusLabelEnumValues = []JobStatusLabel{
- "Pending",
- "Scheduled",
- "Running",
- "Completed",
- "Errored",
- "Failed",
-}
-
-func (v *JobStatusLabel) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := JobStatusLabel(value)
- for _, existing := range AllowedJobStatusLabelEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid JobStatusLabel", value)
-}
-
-// NewJobStatusLabelFromValue returns a pointer to a valid JobStatusLabel
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewJobStatusLabelFromValue(v string) (*JobStatusLabel, error) {
- ev := JobStatusLabel(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for JobStatusLabel: valid values are %v", v, AllowedJobStatusLabelEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v JobStatusLabel) IsValid() bool {
- for _, existing := range AllowedJobStatusLabelEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to Job_status_label value
-func (v JobStatusLabel) Ptr() *JobStatusLabel {
- return &v
-}
-
-type NullableJobStatusLabel struct {
- value *JobStatusLabel
- isSet bool
-}
-
-func (v NullableJobStatusLabel) Get() *JobStatusLabel {
- return v.value
-}
-
-func (v *NullableJobStatusLabel) Set(val *JobStatusLabel) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableJobStatusLabel) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableJobStatusLabel) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableJobStatusLabel(val *JobStatusLabel) *NullableJobStatusLabel {
- return &NullableJobStatusLabel{value: val, isSet: true}
-}
-
-func (v NullableJobStatusLabel) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableJobStatusLabel) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_job_status_value.go b/model_job_status_value.go
deleted file mode 100644
index ea3383eaa1..0000000000
--- a/model_job_status_value.go
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// JobStatusValue * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed
-type JobStatusValue string
-
-// List of Job_status_value
-const (
- JOBSTATUSVALUE_PENDING JobStatusValue = "pending"
- JOBSTATUSVALUE_SCHEDULED JobStatusValue = "scheduled"
- JOBSTATUSVALUE_RUNNING JobStatusValue = "running"
- JOBSTATUSVALUE_COMPLETED JobStatusValue = "completed"
- JOBSTATUSVALUE_ERRORED JobStatusValue = "errored"
- JOBSTATUSVALUE_FAILED JobStatusValue = "failed"
-)
-
-// All allowed values of JobStatusValue enum
-var AllowedJobStatusValueEnumValues = []JobStatusValue{
- "pending",
- "scheduled",
- "running",
- "completed",
- "errored",
- "failed",
-}
-
-func (v *JobStatusValue) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := JobStatusValue(value)
- for _, existing := range AllowedJobStatusValueEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid JobStatusValue", value)
-}
-
-// NewJobStatusValueFromValue returns a pointer to a valid JobStatusValue
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewJobStatusValueFromValue(v string) (*JobStatusValue, error) {
- ev := JobStatusValue(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for JobStatusValue: valid values are %v", v, AllowedJobStatusValueEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v JobStatusValue) IsValid() bool {
- for _, existing := range AllowedJobStatusValueEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to Job_status_value value
-func (v JobStatusValue) Ptr() *JobStatusValue {
- return &v
-}
-
-type NullableJobStatusValue struct {
- value *JobStatusValue
- isSet bool
-}
-
-func (v NullableJobStatusValue) Get() *JobStatusValue {
- return v.value
-}
-
-func (v *NullableJobStatusValue) Set(val *JobStatusValue) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableJobStatusValue) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableJobStatusValue) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableJobStatusValue(val *JobStatusValue) *NullableJobStatusValue {
- return &NullableJobStatusValue{value: val, isSet: true}
-}
-
-func (v NullableJobStatusValue) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableJobStatusValue) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_journal_entry.go b/model_journal_entry.go
index 85c554b79d..6713d8d120 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_journal_entry_kind.go b/model_journal_entry_kind.go
index 18d34bc98d..1a96af7d17 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.0.11 (4.0)
*/
// 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 5c61d6c58d..46b0b41c35 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.0.11 (4.0)
*/
// 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 06b51fe786..f202ad67d5 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.0.11 (4.0)
*/
// 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 03045dce65..67917bddce 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.0.11 (4.0)
*/
// 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 b59c4021bf..913df4ded3 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.0.11 (4.0)
*/
// 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,22 @@ 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"`
+ 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 +46,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
}
@@ -219,9 +230,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 +240,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 +256,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 +357,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 {
@@ -303,9 +569,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 +610,8 @@ func (o *L2VPN) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -360,7 +648,15 @@ func (o *L2VPN) 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")
+ 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 9722c656c9..ec658b46ad 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.0.11 (4.0)
*/
// 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 b70569c1f7..7a85067059 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.0.11 (4.0)
*/
// 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,17 @@ 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"`
+ 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 +41,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
}
@@ -123,9 +136,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 +147,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 +155,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 {
@@ -160,6 +363,19 @@ func (o L2VPNTermination) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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 +393,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{})
@@ -210,6 +431,13 @@ func (o *L2VPNTermination) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 6b293da4e6..6e3122b1ac 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.0.11 (4.0)
*/
// 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_l2_vpn_type_label.go b/model_l2_vpn_type_label.go
deleted file mode 100644
index 514444fe17..0000000000
--- a/model_l2_vpn_type_label.go
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// L2VPNTypeLabel the model 'L2VPNTypeLabel'
-type L2VPNTypeLabel string
-
-// List of L2VPN_type_label
-const (
- L2VPNTYPELABEL_VPWS L2VPNTypeLabel = "VPWS"
- L2VPNTYPELABEL_VPLS L2VPNTypeLabel = "VPLS"
- L2VPNTYPELABEL_VXLAN L2VPNTypeLabel = "VXLAN"
- L2VPNTYPELABEL_VXLAN_EVPN L2VPNTypeLabel = "VXLAN-EVPN"
- L2VPNTYPELABEL_MPLS_EVPN L2VPNTypeLabel = "MPLS EVPN"
- L2VPNTYPELABEL_PBB_EVPN L2VPNTypeLabel = "PBB EVPN"
- L2VPNTYPELABEL_EPL L2VPNTypeLabel = "EPL"
- L2VPNTYPELABEL_EVPL L2VPNTypeLabel = "EVPL"
- L2VPNTYPELABEL_ETHERNET_PRIVATE_LAN L2VPNTypeLabel = "Ethernet Private LAN"
- L2VPNTYPELABEL_ETHERNET_VIRTUAL_PRIVATE_LAN L2VPNTypeLabel = "Ethernet Virtual Private LAN"
- L2VPNTYPELABEL_ETHERNET_PRIVATE_TREE L2VPNTypeLabel = "Ethernet Private Tree"
- L2VPNTYPELABEL_ETHERNET_VIRTUAL_PRIVATE_TREE L2VPNTypeLabel = "Ethernet Virtual Private Tree"
-)
-
-// All allowed values of L2VPNTypeLabel enum
-var AllowedL2VPNTypeLabelEnumValues = []L2VPNTypeLabel{
- "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 *L2VPNTypeLabel) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := L2VPNTypeLabel(value)
- for _, existing := range AllowedL2VPNTypeLabelEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid L2VPNTypeLabel", value)
-}
-
-// NewL2VPNTypeLabelFromValue returns a pointer to a valid L2VPNTypeLabel
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewL2VPNTypeLabelFromValue(v string) (*L2VPNTypeLabel, error) {
- ev := L2VPNTypeLabel(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for L2VPNTypeLabel: valid values are %v", v, AllowedL2VPNTypeLabelEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v L2VPNTypeLabel) IsValid() bool {
- for _, existing := range AllowedL2VPNTypeLabelEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to L2VPN_type_label value
-func (v L2VPNTypeLabel) Ptr() *L2VPNTypeLabel {
- return &v
-}
-
-type NullableL2VPNTypeLabel struct {
- value *L2VPNTypeLabel
- isSet bool
-}
-
-func (v NullableL2VPNTypeLabel) Get() *L2VPNTypeLabel {
- return v.value
-}
-
-func (v *NullableL2VPNTypeLabel) Set(val *L2VPNTypeLabel) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableL2VPNTypeLabel) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableL2VPNTypeLabel) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableL2VPNTypeLabel(val *L2VPNTypeLabel) *NullableL2VPNTypeLabel {
- return &NullableL2VPNTypeLabel{value: val, isSet: true}
-}
-
-func (v NullableL2VPNTypeLabel) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableL2VPNTypeLabel) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_l2_vpn_type_value.go b/model_l2_vpn_type_value.go
deleted file mode 100644
index fdbf47162d..0000000000
--- a/model_l2_vpn_type_value.go
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// L2VPNTypeValue * `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 L2VPNTypeValue string
-
-// List of L2VPN_type_value
-const (
- L2VPNTYPEVALUE_VPWS L2VPNTypeValue = "vpws"
- L2VPNTYPEVALUE_VPLS L2VPNTypeValue = "vpls"
- L2VPNTYPEVALUE_VXLAN L2VPNTypeValue = "vxlan"
- L2VPNTYPEVALUE_VXLAN_EVPN L2VPNTypeValue = "vxlan-evpn"
- L2VPNTYPEVALUE_MPLS_EVPN L2VPNTypeValue = "mpls-evpn"
- L2VPNTYPEVALUE_PBB_EVPN L2VPNTypeValue = "pbb-evpn"
- L2VPNTYPEVALUE_EPL L2VPNTypeValue = "epl"
- L2VPNTYPEVALUE_EVPL L2VPNTypeValue = "evpl"
- L2VPNTYPEVALUE_EP_LAN L2VPNTypeValue = "ep-lan"
- L2VPNTYPEVALUE_EVP_LAN L2VPNTypeValue = "evp-lan"
- L2VPNTYPEVALUE_EP_TREE L2VPNTypeValue = "ep-tree"
- L2VPNTYPEVALUE_EVP_TREE L2VPNTypeValue = "evp-tree"
-)
-
-// All allowed values of L2VPNTypeValue enum
-var AllowedL2VPNTypeValueEnumValues = []L2VPNTypeValue{
- "vpws",
- "vpls",
- "vxlan",
- "vxlan-evpn",
- "mpls-evpn",
- "pbb-evpn",
- "epl",
- "evpl",
- "ep-lan",
- "evp-lan",
- "ep-tree",
- "evp-tree",
-}
-
-func (v *L2VPNTypeValue) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := L2VPNTypeValue(value)
- for _, existing := range AllowedL2VPNTypeValueEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid L2VPNTypeValue", value)
-}
-
-// NewL2VPNTypeValueFromValue returns a pointer to a valid L2VPNTypeValue
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewL2VPNTypeValueFromValue(v string) (*L2VPNTypeValue, error) {
- ev := L2VPNTypeValue(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for L2VPNTypeValue: valid values are %v", v, AllowedL2VPNTypeValueEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v L2VPNTypeValue) IsValid() bool {
- for _, existing := range AllowedL2VPNTypeValueEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to L2VPN_type_value value
-func (v L2VPNTypeValue) Ptr() *L2VPNTypeValue {
- return &v
-}
-
-type NullableL2VPNTypeValue struct {
- value *L2VPNTypeValue
- isSet bool
-}
-
-func (v NullableL2VPNTypeValue) Get() *L2VPNTypeValue {
- return v.value
-}
-
-func (v *NullableL2VPNTypeValue) Set(val *L2VPNTypeValue) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableL2VPNTypeValue) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableL2VPNTypeValue) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableL2VPNTypeValue(val *L2VPNTypeValue) *NullableL2VPNTypeValue {
- return &NullableL2VPNTypeValue{value: val, isSet: true}
-}
-
-func (v NullableL2VPNTypeValue) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableL2VPNTypeValue) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_location.go b/model_location.go
index 3da41e65f0..00d2449e72 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.0.11 (4.0)
*/
// 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,25 @@ 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"`
+ 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"`
+ Depth int32 `json:"_depth"`
AdditionalProperties map[string]interface{}
}
@@ -37,14 +49,18 @@ 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, deviceCount 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.DeviceCount = deviceCount
this.Depth = depth
return &this
}
@@ -177,6 +193,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 +399,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 +539,30 @@ func (o *Location) SetRackCount(v int32) {
o.RackCount = v
}
+// GetDeviceCount returns the DeviceCount field value
+func (o *Location) GetDeviceCount() int32 {
+ if o == nil {
+ var ret int32
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *Location) GetDeviceCountOk() (*int32, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+func (o *Location) SetDeviceCount(v int32) {
+ o.DeviceCount = v
+}
+
// GetDepth returns the Depth field value
func (o *Location) GetDepth() int32 {
if o == nil {
@@ -272,10 +602,32 @@ func (o Location) ToMap() (map[string]interface{}, error) {
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
+ toSerialize["device_count"] = o.DeviceCount
toSerialize["_depth"] = o.Depth
for key, value := range o.AdditionalProperties {
@@ -295,7 +647,11 @@ func (o *Location) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "site",
+ "created",
+ "last_updated",
"rack_count",
+ "device_count",
"_depth",
}
@@ -331,8 +687,18 @@ func (o *Location) UnmarshalJSON(data []byte) (err error) {
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 5f282485af..4990887713 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.0.11 (4.0)
*/
// 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 0000000000..8c6f252dd7
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..6e735e8091
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..67abea0bb8
--- /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.0.11 (4.0)
+*/
+
+// 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 6b8dcd9090..873e9cd355 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.0.11 (4.0)
*/
// 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,19 @@ 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"`
+ 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"`
+ InventoryitemCount int64 `json:"inventoryitem_count"`
+ PlatformCount int64 `json:"platform_count"`
AdditionalProperties map[string]interface{}
}
@@ -36,14 +43,18 @@ 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, devicetypeCount int64, inventoryitemCount int64, platformCount int64) *Manufacturer {
this := Manufacturer{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
this.Slug = slug
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.DevicetypeCount = devicetypeCount
+ this.InventoryitemCount = inventoryitemCount
+ this.PlatformCount = platformCount
return &this
}
@@ -207,6 +218,122 @@ func (o *Manufacturer) SetDescription(v string) {
o.Description = &v
}
+// 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
func (o *Manufacturer) GetDevicetypeCount() int64 {
if o == nil {
@@ -231,6 +358,54 @@ 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.InventoryitemCount
+}
+
+// GetInventoryitemCountOk returns a tuple with the InventoryitemCount field value
+// and a boolean to check if the value has been set.
+func (o *Manufacturer) GetInventoryitemCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.InventoryitemCount, true
+}
+
+// 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) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -249,7 +424,17 @@ func (o Manufacturer) 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
+ }
+ toSerialize["created"] = o.Created.Get()
+ toSerialize["last_updated"] = o.LastUpdated.Get()
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 +453,11 @@ func (o *Manufacturer) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"devicetype_count",
+ "inventoryitem_count",
+ "platform_count",
}
allProperties := make(map[string]interface{})
@@ -304,7 +493,13 @@ func (o *Manufacturer) UnmarshalJSON(data []byte) (err error) {
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 35e495df84..5cc7882e35 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.0.11 (4.0)
*/
// 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 7154265d7d..999a2b6cac 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.0.11 (4.0)
*/
// 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,22 @@ 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"`
+ 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 +46,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
}
@@ -125,9 +140,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 +151,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 +159,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 +187,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 {
@@ -187,6 +513,30 @@ func (o Module) ToMap() (map[string]interface{}, error) {
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 +555,9 @@ func (o *Module) UnmarshalJSON(data []byte) (err error) {
"display",
"device",
"module_bay",
+ "module_type",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -239,6 +592,16 @@ func (o *Module) UnmarshalJSON(data []byte) (err error) {
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 3f883cc159..504a82f647 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,12 +21,12 @@ 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"`
+ Display string `json:"display"`
+ Device BriefDevice `json:"device"`
+ 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 +45,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
@@ -138,9 +138,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 +149,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,7 +157,7 @@ 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
}
@@ -186,9 +186,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 +197,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 +213,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)
}
diff --git a/model_module_bay_nested_module.go b/model_module_bay_nested_module.go
index dcfeb6bd7d..bc464f9cef 100644
--- a/model_module_bay_nested_module.go
+++ b/model_module_bay_nested_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_module_bay_nested_module_request.go b/model_module_bay_nested_module_request.go
index 3d8d5c31db..7bff9ac485 100644
--- a/model_module_bay_nested_module_request.go
+++ b/model_module_bay_nested_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_module_bay_request.go b/model_module_bay_request.go
index 7fb1ba15c8..265ab48ee5 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,9 +20,9 @@ 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"`
+ 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 +39,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 +55,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 +66,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,7 +74,7 @@ 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
}
@@ -103,9 +103,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 +114,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 +130,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)
}
diff --git a/model_module_bay_template.go b/model_module_bay_template.go
index 114c363b6e..6041b2661e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,10 +21,10 @@ 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 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
@@ -43,7 +43,7 @@ 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, deviceType BriefDeviceType, name string, created NullableTime, lastUpdated NullableTime) *ModuleBayTemplate {
this := ModuleBayTemplate{}
this.Id = id
this.Url = url
@@ -136,9 +136,9 @@ func (o *ModuleBayTemplate) SetDisplay(v string) {
}
// GetDeviceType returns the DeviceType field value
-func (o *ModuleBayTemplate) GetDeviceType() DeviceType {
+func (o *ModuleBayTemplate) GetDeviceType() BriefDeviceType {
if o == nil {
- var ret DeviceType
+ var ret BriefDeviceType
return ret
}
@@ -147,7 +147,7 @@ func (o *ModuleBayTemplate) GetDeviceType() DeviceType {
// GetDeviceTypeOk returns a tuple with the DeviceType field value
// and a boolean to check if the value has been set.
-func (o *ModuleBayTemplate) GetDeviceTypeOk() (*DeviceType, bool) {
+func (o *ModuleBayTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) {
if o == nil {
return nil, false
}
@@ -155,7 +155,7 @@ func (o *ModuleBayTemplate) GetDeviceTypeOk() (*DeviceType, bool) {
}
// SetDeviceType sets field value
-func (o *ModuleBayTemplate) SetDeviceType(v DeviceType) {
+func (o *ModuleBayTemplate) SetDeviceType(v BriefDeviceType) {
o.DeviceType = v
}
diff --git a/model_module_bay_template_request.go b/model_module_bay_template_request.go
index 6e407360e3..8103f05bf5 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,7 +20,7 @@ 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 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
@@ -37,7 +37,7 @@ 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(deviceType BriefDeviceTypeRequest, name string) *ModuleBayTemplateRequest {
this := ModuleBayTemplateRequest{}
this.DeviceType = deviceType
this.Name = name
@@ -53,9 +53,9 @@ func NewModuleBayTemplateRequestWithDefaults() *ModuleBayTemplateRequest {
}
// GetDeviceType returns the DeviceType field value
-func (o *ModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest {
+func (o *ModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest {
if o == nil {
- var ret DeviceTypeRequest
+ var ret BriefDeviceTypeRequest
return ret
}
@@ -64,7 +64,7 @@ func (o *ModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest {
// GetDeviceTypeOk returns a tuple with the DeviceType field value
// and a boolean to check if the value has been set.
-func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) {
+func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) {
if o == nil {
return nil, false
}
@@ -72,7 +72,7 @@ func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)
}
// SetDeviceType sets field value
-func (o *ModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) {
+func (o *ModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) {
o.DeviceType = v
}
diff --git a/model_module_request.go b/model_module_request.go
index 0cdc3bf195..e2bb3529c2 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.0.11 (4.0)
*/
// 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 0000000000..81797396b6
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..948f050705
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..819536275c
--- /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.0.11 (4.0)
+*/
+
+// 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 4b14e77195..67ae1817ec 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.0.11 (4.0)
*/
// 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,21 @@ 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"`
+ Display string `json:"display"`
+ Manufacturer BriefManufacturer `json:"manufacturer"`
+ Model string `json:"model"`
+ // Discrete part number (optional)
+ PartNumber *string `json:"part_number,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 +45,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
}
@@ -126,9 +138,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 +149,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 +157,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 +185,124 @@ 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
+}
+
+// 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 +335,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 {
@@ -220,9 +498,29 @@ func (o ModuleType) ToMap() (map[string]interface{}, error) {
toSerialize["display"] = o.Display
toSerialize["manufacturer"] = o.Manufacturer
toSerialize["model"] = o.Model
+ if !IsNil(o.PartNumber) {
+ toSerialize["part_number"] = o.PartNumber
+ }
+ 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 +539,8 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) {
"display",
"manufacturer",
"model",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -275,7 +575,15 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "display")
delete(additionalProperties, "manufacturer")
delete(additionalProperties, "model")
+ delete(additionalProperties, "part_number")
+ 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_request.go b/model_module_type_request.go
index e247e64025..4e929c3061 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,9 +20,16 @@ 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"`
+ 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 +39,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 +55,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 +66,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 +74,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 +102,124 @@ 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
+}
+
+// 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 +252,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 +360,27 @@ 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.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 +427,13 @@ 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, "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_nested_contact_group.go b/model_nested_contact_group.go
index 88eb0f283e..5ce7cfe90e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_contact_group_request.go b/model_nested_contact_group_request.go
index f275f723db..6fe556ab7e 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.0.11 (4.0)
*/
// 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 b37d25f5ed..04db3bfbb0 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_device_request.go b/model_nested_device_request.go
index 3d4692d865..83d93733e0 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.0.11 (4.0)
*/
// 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 434d1679e3..9e22ccfe70 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_interface.go b/model_nested_interface.go
index fd6230adfd..03c6fbf5e7 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_interface_request.go b/model_nested_interface_request.go
index ddb108ba79..051f786444 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.0.11 (4.0)
*/
// 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 af9322a663..92ff3a42d1 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.0.11 (4.0)
*/
// 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 db741a1b66..6c7e3efc99 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.0.11 (4.0)
*/
// 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 0000000000..3714781ed3
--- /dev/null
+++ b/model_nested_ip_address.go
@@ -0,0 +1,282 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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
+}
+
+// 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
+ 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")
+ 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 0000000000..d063a57dff
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..bb33c01622
--- /dev/null
+++ b/model_nested_location.go
@@ -0,0 +1,311 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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
+}
+
+// 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
+ 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")
+ 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 0000000000..8e8b1fbe76
--- /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.0.11 (4.0)
+*/
+
+// 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 c217493c73..2e2ef3ea82 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_module_bay_request.go b/model_nested_module_bay_request.go
index cda6e8c0c2..22f927d4e6 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_provider_account.go b/model_nested_provider_account.go
new file mode 100644
index 0000000000..8cda0d6944
--- /dev/null
+++ b/model_nested_provider_account.go
@@ -0,0 +1,290 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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
+}
+
+// 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
+ 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")
+ 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 4282f5dd65..fd367d2015 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_region_request.go b/model_nested_region_request.go
index 945e3f6506..b463e3c9f7 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.0.11 (4.0)
*/
// 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 1b288b1682..5fe2ad3796 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_site_group_request.go b/model_nested_site_group_request.go
index e0fbe632a6..0ee19ea623 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.0.11 (4.0)
*/
// 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 f03a0a999c..45a27c482f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_tag_request.go b/model_nested_tag_request.go
index f0d7d61b44..fe296d3a99 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.0.11 (4.0)
*/
// 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 a157ee354c..31c8569373 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_tenant_group_request.go b/model_nested_tenant_group_request.go
index c5ecbf890e..c124b449bf 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.0.11 (4.0)
*/
// 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 470de1affe..7f834cf970 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_virtual_machine.go b/model_nested_virtual_machine.go
index e19da59db9..10ea63b335 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_virtual_machine_request.go b/model_nested_virtual_machine_request.go
index 7fb0d2b036..6a36fb2ed3 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.0.11 (4.0)
*/
// 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 be16224316..581cc37156 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_vm_interface_request.go b/model_nested_vm_interface_request.go
index ee8ecb2a32..a6b8ed4c06 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.0.11 (4.0)
*/
// 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 0000000000..02c5762482
--- /dev/null
+++ b/model_nested_wireless_lan_group.go
@@ -0,0 +1,311 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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"`
+ 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
+}
+
+// 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
+ 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")
+ 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 8e8b204a17..76a0e0718d 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.0.11 (4.0)
*/
// 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 bc6328e76d..4d65607888 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_nested_wireless_link_request.go b/model_nested_wireless_link_request.go
index 49e5860282..23fc7487e3 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_object_change.go b/model_object_change.go
index 24b5c95cce..0ac61e1d04 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -25,7 +25,7 @@ type ObjectChange struct {
Url string `json:"url"`
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 +43,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
@@ -166,9 +166,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 +177,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 +185,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
}
diff --git a/model_object_change_action.go b/model_object_change_action.go
index 4e2bcdbc3c..a86009e9a3 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.0.11 (4.0)
*/
// 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 ee7329967e..05d209d37f 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.0.11 (4.0)
*/
// 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 59e9cd339d..5448839a88 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.0.11 (4.0)
*/
// 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 7835c2b8d1..2c1808c485 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_object_permission_request.go b/model_object_permission_request.go
index 05e9aa4e20..7af9fc1170 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.0.11 (4.0)
*/
// 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 f08d354c94..8bcd979c3f 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.0.11 (4.0)
*/
// 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 81e2b86033..8a2c6966ef 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.0.11 (4.0)
*/
// 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 183c0353f5..44f52c2342 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.0.11 (4.0)
*/
// 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 d96366e065..8bfe0b4f7a 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.0.11 (4.0)
*/
// 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 64a4425b27..80b06c332b 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.0.11 (4.0)
*/
// 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 cc214c3b23..23c66047ee 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.0.11 (4.0)
*/
// 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 3a368c6b31..6bb3ee755d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_paginated_circuit_list.go b/model_paginated_circuit_list.go
index d2a32fd8a9..47852df161 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.0.11 (4.0)
*/
// 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 71138eab95..8f7f4d1667 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.0.11 (4.0)
*/
// 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 1487938304..154a3b93b0 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.0.11 (4.0)
*/
// 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 2263a7dfb5..23fbc66d83 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.0.11 (4.0)
*/
// 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 da077b2c64..9fec52541d 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.0.11 (4.0)
*/
// 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 7243ef83d4..04a820ed46 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.0.11 (4.0)
*/
// 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 4db50833df..c2963a3f16 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.0.11 (4.0)
*/
// 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 36f8990fff..d50de9f8b5 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.0.11 (4.0)
*/
// 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 7d8bb83676..f7bec77bcc 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.0.11 (4.0)
*/
// 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 b424049c9a..330e81c236 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.0.11 (4.0)
*/
// 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 adfb94743a..f7647d31cb 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.0.11 (4.0)
*/
// 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 51278f9f82..60b2e5a0fe 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.0.11 (4.0)
*/
// 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 ea9e239461..8a1a068be1 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.0.11 (4.0)
*/
// 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 77bd6c70f2..7e8fd00bbc 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.0.11 (4.0)
*/
// 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 72294eba7b..040ebda523 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.0.11 (4.0)
*/
// 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 fc486241c6..b9416b02e8 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.0.11 (4.0)
*/
// 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 48e25bb94b..2ae737381c 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.0.11 (4.0)
*/
// 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 1f0c58fc05..fbdb0308b0 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.0.11 (4.0)
*/
// 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 00815cc84c..d8ca1f892e 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.0.11 (4.0)
*/
// 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 260f045b2d..fbdd7a4ff3 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.0.11 (4.0)
*/
// 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 326295e6d9..01a626bb87 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.0.11 (4.0)
*/
// 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 c83d4e2c60..57b9144426 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.0.11 (4.0)
*/
// 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 45928db4d5..46e98894c0 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.0.11 (4.0)
*/
// 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 15f1f91b8c..d5f04e4bbe 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.0.11 (4.0)
*/
// 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 66636b1bf8..b0261241f1 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.0.11 (4.0)
*/
// 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 654c3dff0b..870dff7c1a 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.0.11 (4.0)
*/
// 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 0d05d05cdb..0f4ab5069b 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.0.11 (4.0)
*/
// 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 d1160be70a..6b3a32ecf7 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.0.11 (4.0)
*/
// 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 45ede081cc..644b3dc1e0 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.0.11 (4.0)
*/
// 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 a0faea7598..37f30b032a 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.0.11 (4.0)
*/
// 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 4e6f4d89fb..c1b7a46540 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.0.11 (4.0)
*/
// 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 66bfe434b8..7375947e54 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.0.11 (4.0)
*/
// 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 4c9d727810..98d611e514 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.0.11 (4.0)
*/
// 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 f49bbcfd25..9394b3526b 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.0.11 (4.0)
*/
// 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 7a9cb122bb..3fe7e95898 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.0.11 (4.0)
*/
// 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 0dcc7260c8..f26a1ae53b 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.0.11 (4.0)
*/
// 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 9ea763c865..6a1df627ea 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.0.11 (4.0)
*/
// 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 c7f17dff34..aed32aaeae 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.0.11 (4.0)
*/
// 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 8eae06c5de..df188f152e 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.0.11 (4.0)
*/
// 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 7a3dfa86ab..574d4ab5c0 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.0.11 (4.0)
*/
// 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 8e1ebbaad3..267e59be40 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.0.11 (4.0)
*/
// 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 71c624ba55..90c59f57b3 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.0.11 (4.0)
*/
// 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 64b6c2ca53..25f8ec4c0c 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.0.11 (4.0)
*/
// 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 3904a40213..c1b4074171 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.0.11 (4.0)
*/
// 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 13e5dc8cc0..bafb70a80b 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.0.11 (4.0)
*/
// 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 562d884cfd..9882c032fb 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.0.11 (4.0)
*/
// 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 9c5266b906..bfd37fee1f 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.0.11 (4.0)
*/
// 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 39deffe63b..b1cadcf760 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.0.11 (4.0)
*/
// 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 130fb6318e..47fe9191ee 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.0.11 (4.0)
*/
// 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 6fdc179aeb..b710e1aa2d 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.0.11 (4.0)
*/
// 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 303ddb6f14..8784c3eb7b 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.0.11 (4.0)
*/
// 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 1642d70e38..badc906692 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.0.11 (4.0)
*/
// 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 70cca7b2d2..1ee88a2b8f 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.0.11 (4.0)
*/
// 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 af3faa856f..d8b07d3ce3 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.0.11 (4.0)
*/
// 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 af55ae2928..200788e1de 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.0.11 (4.0)
*/
// 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 375f3b8f4d..1f9639b19f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_paginated_object_change_list.go b/model_paginated_object_change_list.go
index c4cd994e46..2613597c75 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.0.11 (4.0)
*/
// 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 2484322f10..543387d293 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.0.11 (4.0)
*/
// 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 1a24ef8877..fdb34429e3 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.0.11 (4.0)
*/
// 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 a5637f7863..e45fea53b2 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.0.11 (4.0)
*/
// 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 a90726d50f..7ac54eff5f 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.0.11 (4.0)
*/
// 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 42cc10417d..860c2e1cfc 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.0.11 (4.0)
*/
// 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 dabff54c76..2fa906b150 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.0.11 (4.0)
*/
// 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 a84ec93630..dc940d3ff3 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.0.11 (4.0)
*/
// 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 a1b1474205..1918526fde 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.0.11 (4.0)
*/
// 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 d8e7091525..3849ef9024 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.0.11 (4.0)
*/
// 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 07147ed992..613862da28 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.0.11 (4.0)
*/
// 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 c485850387..67cc053c71 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.0.11 (4.0)
*/
// 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 5b180ac542..fcf79bb9eb 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.0.11 (4.0)
*/
// 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 b97c267f7e..1f71f16331 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.0.11 (4.0)
*/
// 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 f7bdd10a2a..ccbe3b8307 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.0.11 (4.0)
*/
// 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 20a7994644..fe9ef0b42b 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.0.11 (4.0)
*/
// 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 e15fd7e27b..e0b74f8871 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_paginated_rack_unit_list.go b/model_paginated_rack_unit_list.go
index 6aaf2e9d78..615ed9fd00 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.0.11 (4.0)
*/
// 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 c365786aad..6fff173638 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.0.11 (4.0)
*/
// 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 72c089dfbb..03edc5fd80 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.0.11 (4.0)
*/
// 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 3107d80079..3c7e5da868 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.0.11 (4.0)
*/
// 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 87507a75df..d53b09f4f1 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.0.11 (4.0)
*/
// 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 c22ab93d15..7775a686d6 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.0.11 (4.0)
*/
// 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 b6f02c9060..d269bd85ec 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.0.11 (4.0)
*/
// 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 485e610813..4f3930e1ac 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.0.11 (4.0)
*/
// 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 72fec520fb..1c852690bb 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.0.11 (4.0)
*/
// 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 08b5508bec..926f235dd6 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.0.11 (4.0)
*/
// 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 e86b9abb98..8a147efda2 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.0.11 (4.0)
*/
// 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 ddcd397c90..bab0dfd1ea 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.0.11 (4.0)
*/
// 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 a580aaedaa..fe3aedd256 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_paginated_tag_list.go b/model_paginated_tag_list.go
index 129bb69b60..b4755d740c 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.0.11 (4.0)
*/
// 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 5fcddc5435..efdda497fd 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.0.11 (4.0)
*/
// 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 812dfe3864..9e07148250 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.0.11 (4.0)
*/
// 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 9a4bd2ab94..183125895f 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.0.11 (4.0)
*/
// 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 df1b972fb6..2d2ae6c9c9 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.0.11 (4.0)
*/
// 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 768bdd00e9..321eb79518 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.0.11 (4.0)
*/
// 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 f81a84ee00..90167409f2 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.0.11 (4.0)
*/
// 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 2d6a259134..d17b0002d4 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.0.11 (4.0)
*/
// 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 6971b8d292..87dc01e2b1 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.0.11 (4.0)
*/
// 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 3c5f35c090..bb6d57d6aa 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.0.11 (4.0)
*/
// 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 1a16c146d7..751153ae58 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.0.11 (4.0)
*/
// 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 a4ee1f21d9..d37353de08 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.0.11 (4.0)
*/
// 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 cd2ac49512..21ad94cb8e 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.0.11 (4.0)
*/
// 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 28d8921ca7..d1fe8b2f5c 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.0.11 (4.0)
*/
// 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 c7d824fa8f..c976e4240f 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.0.11 (4.0)
*/
// 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 95d2794d7f..38b9f0bd11 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.0.11 (4.0)
*/
// 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 2428042434..4cf00667ce 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.0.11 (4.0)
*/
// 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 c311ebbe7a..7ae0453ddc 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.0.11 (4.0)
*/
// 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 cc98bc1708..6765acf0e8 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.0.11 (4.0)
*/
// 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 6fb1c17dfc..f08eef403a 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.0.11 (4.0)
*/
// 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 06c4e1b126..103ba874fc 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.0.11 (4.0)
*/
// 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 cb1bfa7039..709f9590e7 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.0.11 (4.0)
*/
// 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 1b27ab6437..ea2e3b5e99 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.0.11 (4.0)
*/
// 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 141b3513fa..72c2ef1b09 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.0.11 (4.0)
*/
// 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 77f3b9cf41..45d39b2592 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.0.11 (4.0)
*/
// 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 f7377564b0..e61cc04596 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_circuit_termination_request.go b/model_patched_circuit_termination_request.go
index 5367122df5..50c28a8bb3 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.0.11 (4.0)
*/
// 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 cfb64cab6f..f0dbb9daac 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.0.11 (4.0)
*/
// 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 10b1fdbac5..905211e2a2 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.0.11 (4.0)
*/
// 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 bcb47d3cdb..1aa6b98e67 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.0.11 (4.0)
*/
// 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 f8665cfe67..c94db55735 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.0.11 (4.0)
*/
// 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 f4db50b416..3f927c9156 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.0.11 (4.0)
*/
// 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 d5baee7b44..eed588ba40 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.0.11 (4.0)
*/
// 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 70f7689543..dbef641432 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.0.11 (4.0)
*/
// 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 19833836fe..7982801a46 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.0.11 (4.0)
*/
// 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 eeef729d4a..cd6f34adf7 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.0.11 (4.0)
*/
// 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 a9acadd794..4509b751da 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.0.11 (4.0)
*/
// 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 0bb253897b..f0d5cae633 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.0.11 (4.0)
*/
// 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 f2ef464b9e..4d7500a25c 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.0.11 (4.0)
*/
// 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 db7c07934f..f04db5f2b9 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.0.11 (4.0)
*/
// 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 de95655e2e..bbe7cdbcba 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.0.11 (4.0)
*/
// 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 1d2151449b..c2f254a891 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.0.11 (4.0)
*/
// 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 *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"`
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
}
diff --git a/model_patched_group_request.go b/model_patched_group_request.go
index 5d42e7f8d0..6adc98ac63 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.0.11 (4.0)
*/
// 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 0544fcc6fb..2a8e96f3d9 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.0.11 (4.0)
*/
// 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 399e6ab592..f6871a87be 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.0.11 (4.0)
*/
// 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 f3abd36d01..beb1fafb11 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.0.11 (4.0)
*/
// 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 070c2170d4..c7a4a5e55e 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.0.11 (4.0)
*/
// 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 73cb0720e5..680da519ca 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.0.11 (4.0)
*/
// 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 7a325529e9..c3f1f40822 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.0.11 (4.0)
*/
// 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 8a6147e440..95073bc6f9 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -19,9 +19,9 @@ 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"`
+ 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 +52,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 +62,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,8 +78,8 @@ 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
}
@@ -116,9 +116,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 +127,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 +143,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)
}
diff --git a/model_patched_module_bay_template_request.go b/model_patched_module_bay_template_request.go
index baeb07d2cb..a2f31ef8df 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -19,7 +19,7 @@ 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 *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
@@ -50,9 +50,9 @@ func NewPatchedModuleBayTemplateRequestWithDefaults() *PatchedModuleBayTemplateR
}
// GetDeviceType returns the DeviceType field value if set, zero value otherwise.
-func (o *PatchedModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest {
+func (o *PatchedModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest {
if o == nil || IsNil(o.DeviceType) {
- var ret DeviceTypeRequest
+ var ret BriefDeviceTypeRequest
return ret
}
return *o.DeviceType
@@ -60,7 +60,7 @@ func (o *PatchedModuleBayTemplateRequest) 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 *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) {
+func (o *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) {
if o == nil || IsNil(o.DeviceType) {
return nil, false
}
@@ -76,8 +76,8 @@ func (o *PatchedModuleBayTemplateRequest) HasDeviceType() bool {
return false
}
-// SetDeviceType gets a reference to the given DeviceTypeRequest and assigns it to the DeviceType field.
-func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) {
+// SetDeviceType gets a reference to the given BriefDeviceTypeRequest and assigns it to the DeviceType field.
+func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) {
o.DeviceType = &v
}
diff --git a/model_patched_object_permission_request.go b/model_patched_object_permission_request.go
index 39a1c0ffd2..afb9ae8c70 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.0.11 (4.0)
*/
// 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 2b69b6bb30..e484d21c7d 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.0.11 (4.0)
*/
// 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 855e8aea4e..36e18fcbf5 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.0.11 (4.0)
*/
// 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 e413eac6c9..18f62c3784 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.0.11 (4.0)
*/
// 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 f25971cb96..56e252741a 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.0.11 (4.0)
*/
// 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 1c4432678d..939c30b257 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.0.11 (4.0)
*/
// 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 c5e404cb38..8276a9c1e8 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.0.11 (4.0)
*/
// 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 6d892aa821..a0b0e31471 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.0.11 (4.0)
*/
// 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 0b99fe5290..84bad44bab 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.0.11 (4.0)
*/
// 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 7352ad89e9..3fdc83f7df 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.0.11 (4.0)
*/
// 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 b2a367b400..7ab1017f50 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.0.11 (4.0)
*/
// 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 0f76328b37..83a451f63d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_tag_request.go b/model_patched_tag_request.go
index df4b1fd5be..ead923c325 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.0.11 (4.0)
*/
// 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 3948518419..129e9f0551 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.0.11 (4.0)
*/
// 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 87277f4960..27333b4b9b 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.0.11 (4.0)
*/
// 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 d01b7dc833..1fbf6d8b19 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.0.11 (4.0)
*/
// 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 b035309876..830d591a23 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.0.11 (4.0)
*/
// 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 17afe0ffad..44f32c6080 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.0.11 (4.0)
*/
// 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 39f5d4933f..daf7adcf48 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_vrf_request.go b/model_patched_vrf_request.go
index 9dfb98881a..84acb1d36c 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.0.11 (4.0)
*/
// 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 5c726471e4..3a3ae425a2 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.0.11 (4.0)
*/
// 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 184b35a71c..6f2d207fbb 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.0.11 (4.0)
*/
// 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 0c3c8d591b..7d55df365a 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.0.11 (4.0)
*/
// 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 158155396e..8bbdece9e2 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.0.11 (4.0)
*/
// 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_cable_request_length_unit.go b/model_patched_writable_cable_request_length_unit.go
deleted file mode 100644
index d7aa10bbea..0000000000
--- a/model_patched_writable_cable_request_length_unit.go
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableCableRequestLengthUnit * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches
-type PatchedWritableCableRequestLengthUnit string
-
-// List of PatchedWritableCableRequest_length_unit
-const (
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_KM PatchedWritableCableRequestLengthUnit = "km"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_M PatchedWritableCableRequestLengthUnit = "m"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_CM PatchedWritableCableRequestLengthUnit = "cm"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_MI PatchedWritableCableRequestLengthUnit = "mi"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_FT PatchedWritableCableRequestLengthUnit = "ft"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_IN PatchedWritableCableRequestLengthUnit = "in"
- PATCHEDWRITABLECABLEREQUESTLENGTHUNIT_EMPTY PatchedWritableCableRequestLengthUnit = ""
-)
-
-// All allowed values of PatchedWritableCableRequestLengthUnit enum
-var AllowedPatchedWritableCableRequestLengthUnitEnumValues = []PatchedWritableCableRequestLengthUnit{
- "km",
- "m",
- "cm",
- "mi",
- "ft",
- "in",
- "",
-}
-
-func (v *PatchedWritableCableRequestLengthUnit) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableCableRequestLengthUnit(value)
- for _, existing := range AllowedPatchedWritableCableRequestLengthUnitEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableCableRequestLengthUnit", value)
-}
-
-// NewPatchedWritableCableRequestLengthUnitFromValue returns a pointer to a valid PatchedWritableCableRequestLengthUnit
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableCableRequestLengthUnitFromValue(v string) (*PatchedWritableCableRequestLengthUnit, error) {
- ev := PatchedWritableCableRequestLengthUnit(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCableRequestLengthUnit: valid values are %v", v, AllowedPatchedWritableCableRequestLengthUnitEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableCableRequestLengthUnit) IsValid() bool {
- for _, existing := range AllowedPatchedWritableCableRequestLengthUnitEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableCableRequest_length_unit value
-func (v PatchedWritableCableRequestLengthUnit) Ptr() *PatchedWritableCableRequestLengthUnit {
- return &v
-}
-
-type NullablePatchedWritableCableRequestLengthUnit struct {
- value *PatchedWritableCableRequestLengthUnit
- isSet bool
-}
-
-func (v NullablePatchedWritableCableRequestLengthUnit) Get() *PatchedWritableCableRequestLengthUnit {
- return v.value
-}
-
-func (v *NullablePatchedWritableCableRequestLengthUnit) Set(val *PatchedWritableCableRequestLengthUnit) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableCableRequestLengthUnit) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableCableRequestLengthUnit) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableCableRequestLengthUnit(val *PatchedWritableCableRequestLengthUnit) *NullablePatchedWritableCableRequestLengthUnit {
- return &NullablePatchedWritableCableRequestLengthUnit{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableCableRequestLengthUnit) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableCableRequestLengthUnit) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_cable_request_status.go b/model_patched_writable_cable_request_status.go
deleted file mode 100644
index e17fd5e32b..0000000000
--- a/model_patched_writable_cable_request_status.go
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableCableRequestStatus * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning
-type PatchedWritableCableRequestStatus string
-
-// List of PatchedWritableCableRequest_status
-const (
- PATCHEDWRITABLECABLEREQUESTSTATUS_CONNECTED PatchedWritableCableRequestStatus = "connected"
- PATCHEDWRITABLECABLEREQUESTSTATUS_PLANNED PatchedWritableCableRequestStatus = "planned"
- PATCHEDWRITABLECABLEREQUESTSTATUS_DECOMMISSIONING PatchedWritableCableRequestStatus = "decommissioning"
-)
-
-// All allowed values of PatchedWritableCableRequestStatus enum
-var AllowedPatchedWritableCableRequestStatusEnumValues = []PatchedWritableCableRequestStatus{
- "connected",
- "planned",
- "decommissioning",
-}
-
-func (v *PatchedWritableCableRequestStatus) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableCableRequestStatus(value)
- for _, existing := range AllowedPatchedWritableCableRequestStatusEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableCableRequestStatus", value)
-}
-
-// NewPatchedWritableCableRequestStatusFromValue returns a pointer to a valid PatchedWritableCableRequestStatus
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableCableRequestStatusFromValue(v string) (*PatchedWritableCableRequestStatus, error) {
- ev := PatchedWritableCableRequestStatus(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCableRequestStatus: valid values are %v", v, AllowedPatchedWritableCableRequestStatusEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableCableRequestStatus) IsValid() bool {
- for _, existing := range AllowedPatchedWritableCableRequestStatusEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableCableRequest_status value
-func (v PatchedWritableCableRequestStatus) Ptr() *PatchedWritableCableRequestStatus {
- return &v
-}
-
-type NullablePatchedWritableCableRequestStatus struct {
- value *PatchedWritableCableRequestStatus
- isSet bool
-}
-
-func (v NullablePatchedWritableCableRequestStatus) Get() *PatchedWritableCableRequestStatus {
- return v.value
-}
-
-func (v *NullablePatchedWritableCableRequestStatus) Set(val *PatchedWritableCableRequestStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableCableRequestStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableCableRequestStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableCableRequestStatus(val *PatchedWritableCableRequestStatus) *NullablePatchedWritableCableRequestStatus {
- return &NullablePatchedWritableCableRequestStatus{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableCableRequestStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableCableRequestStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_cable_request_type.go b/model_patched_writable_cable_request_type.go
deleted file mode 100644
index 7f5e216ebe..0000000000
--- a/model_patched_writable_cable_request_type.go
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableCableRequestType * `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) * `power` - Power
-type PatchedWritableCableRequestType string
-
-// List of PatchedWritableCableRequest_type
-const (
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT3 PatchedWritableCableRequestType = "cat3"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT5 PatchedWritableCableRequestType = "cat5"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT5E PatchedWritableCableRequestType = "cat5e"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT6 PatchedWritableCableRequestType = "cat6"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT6A PatchedWritableCableRequestType = "cat6a"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT7 PatchedWritableCableRequestType = "cat7"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT7A PatchedWritableCableRequestType = "cat7a"
- PATCHEDWRITABLECABLEREQUESTTYPE_CAT8 PatchedWritableCableRequestType = "cat8"
- PATCHEDWRITABLECABLEREQUESTTYPE_DAC_ACTIVE PatchedWritableCableRequestType = "dac-active"
- PATCHEDWRITABLECABLEREQUESTTYPE_DAC_PASSIVE PatchedWritableCableRequestType = "dac-passive"
- PATCHEDWRITABLECABLEREQUESTTYPE_MRJ21_TRUNK PatchedWritableCableRequestType = "mrj21-trunk"
- PATCHEDWRITABLECABLEREQUESTTYPE_COAXIAL PatchedWritableCableRequestType = "coaxial"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF PatchedWritableCableRequestType = "mmf"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM1 PatchedWritableCableRequestType = "mmf-om1"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM2 PatchedWritableCableRequestType = "mmf-om2"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM3 PatchedWritableCableRequestType = "mmf-om3"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM4 PatchedWritableCableRequestType = "mmf-om4"
- PATCHEDWRITABLECABLEREQUESTTYPE_MMF_OM5 PatchedWritableCableRequestType = "mmf-om5"
- PATCHEDWRITABLECABLEREQUESTTYPE_SMF PatchedWritableCableRequestType = "smf"
- PATCHEDWRITABLECABLEREQUESTTYPE_SMF_OS1 PatchedWritableCableRequestType = "smf-os1"
- PATCHEDWRITABLECABLEREQUESTTYPE_SMF_OS2 PatchedWritableCableRequestType = "smf-os2"
- PATCHEDWRITABLECABLEREQUESTTYPE_AOC PatchedWritableCableRequestType = "aoc"
- PATCHEDWRITABLECABLEREQUESTTYPE_POWER PatchedWritableCableRequestType = "power"
- PATCHEDWRITABLECABLEREQUESTTYPE_EMPTY PatchedWritableCableRequestType = ""
-)
-
-// All allowed values of PatchedWritableCableRequestType enum
-var AllowedPatchedWritableCableRequestTypeEnumValues = []PatchedWritableCableRequestType{
- "cat3",
- "cat5",
- "cat5e",
- "cat6",
- "cat6a",
- "cat7",
- "cat7a",
- "cat8",
- "dac-active",
- "dac-passive",
- "mrj21-trunk",
- "coaxial",
- "mmf",
- "mmf-om1",
- "mmf-om2",
- "mmf-om3",
- "mmf-om4",
- "mmf-om5",
- "smf",
- "smf-os1",
- "smf-os2",
- "aoc",
- "power",
- "",
-}
-
-func (v *PatchedWritableCableRequestType) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableCableRequestType(value)
- for _, existing := range AllowedPatchedWritableCableRequestTypeEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableCableRequestType", value)
-}
-
-// NewPatchedWritableCableRequestTypeFromValue returns a pointer to a valid PatchedWritableCableRequestType
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableCableRequestTypeFromValue(v string) (*PatchedWritableCableRequestType, error) {
- ev := PatchedWritableCableRequestType(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCableRequestType: valid values are %v", v, AllowedPatchedWritableCableRequestTypeEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableCableRequestType) IsValid() bool {
- for _, existing := range AllowedPatchedWritableCableRequestTypeEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableCableRequest_type value
-func (v PatchedWritableCableRequestType) Ptr() *PatchedWritableCableRequestType {
- return &v
-}
-
-type NullablePatchedWritableCableRequestType struct {
- value *PatchedWritableCableRequestType
- isSet bool
-}
-
-func (v NullablePatchedWritableCableRequestType) Get() *PatchedWritableCableRequestType {
- return v.value
-}
-
-func (v *NullablePatchedWritableCableRequestType) Set(val *PatchedWritableCableRequestType) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableCableRequestType) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableCableRequestType) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableCableRequestType(val *PatchedWritableCableRequestType) *NullablePatchedWritableCableRequestType {
- return &NullablePatchedWritableCableRequestType{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableCableRequestType) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableCableRequestType) 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 a9b2fa6439..2a8fa55ff8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,14 +20,14 @@ 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"`
@@ -89,9 +89,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 +99,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 +115,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 +132,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 +148,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 +164,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 +174,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 +190,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 +206,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 +222,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 +239,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 +255,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)
}
diff --git a/model_patched_writable_circuit_request_status.go b/model_patched_writable_circuit_request_status.go
deleted file mode 100644
index 6801907f18..0000000000
--- a/model_patched_writable_circuit_request_status.go
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableCircuitRequestStatus * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned
-type PatchedWritableCircuitRequestStatus string
-
-// List of PatchedWritableCircuitRequest_status
-const (
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_PLANNED PatchedWritableCircuitRequestStatus = "planned"
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_PROVISIONING PatchedWritableCircuitRequestStatus = "provisioning"
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_ACTIVE PatchedWritableCircuitRequestStatus = "active"
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_OFFLINE PatchedWritableCircuitRequestStatus = "offline"
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_DEPROVISIONING PatchedWritableCircuitRequestStatus = "deprovisioning"
- PATCHEDWRITABLECIRCUITREQUESTSTATUS_DECOMMISSIONED PatchedWritableCircuitRequestStatus = "decommissioned"
-)
-
-// All allowed values of PatchedWritableCircuitRequestStatus enum
-var AllowedPatchedWritableCircuitRequestStatusEnumValues = []PatchedWritableCircuitRequestStatus{
- "planned",
- "provisioning",
- "active",
- "offline",
- "deprovisioning",
- "decommissioned",
-}
-
-func (v *PatchedWritableCircuitRequestStatus) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableCircuitRequestStatus(value)
- for _, existing := range AllowedPatchedWritableCircuitRequestStatusEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableCircuitRequestStatus", value)
-}
-
-// NewPatchedWritableCircuitRequestStatusFromValue returns a pointer to a valid PatchedWritableCircuitRequestStatus
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableCircuitRequestStatusFromValue(v string) (*PatchedWritableCircuitRequestStatus, error) {
- ev := PatchedWritableCircuitRequestStatus(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableCircuitRequestStatus: valid values are %v", v, AllowedPatchedWritableCircuitRequestStatusEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableCircuitRequestStatus) IsValid() bool {
- for _, existing := range AllowedPatchedWritableCircuitRequestStatusEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableCircuitRequest_status value
-func (v PatchedWritableCircuitRequestStatus) Ptr() *PatchedWritableCircuitRequestStatus {
- return &v
-}
-
-type NullablePatchedWritableCircuitRequestStatus struct {
- value *PatchedWritableCircuitRequestStatus
- isSet bool
-}
-
-func (v NullablePatchedWritableCircuitRequestStatus) Get() *PatchedWritableCircuitRequestStatus {
- return v.value
-}
-
-func (v *NullablePatchedWritableCircuitRequestStatus) Set(val *PatchedWritableCircuitRequestStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableCircuitRequestStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableCircuitRequestStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableCircuitRequestStatus(val *PatchedWritableCircuitRequestStatus) *NullablePatchedWritableCircuitRequestStatus {
- return &NullablePatchedWritableCircuitRequestStatus{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableCircuitRequestStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableCircuitRequestStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_cluster_request.go b/model_patched_writable_cluster_request.go
index 686e115224..13c9ae04cb 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.0.11 (4.0)
*/
// 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_cluster_request_status.go b/model_patched_writable_cluster_request_status.go
deleted file mode 100644
index 190ffc9868..0000000000
--- a/model_patched_writable_cluster_request_status.go
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableClusterRequestStatus * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline
-type PatchedWritableClusterRequestStatus string
-
-// List of PatchedWritableClusterRequest_status
-const (
- PATCHEDWRITABLECLUSTERREQUESTSTATUS_PLANNED PatchedWritableClusterRequestStatus = "planned"
- PATCHEDWRITABLECLUSTERREQUESTSTATUS_STAGING PatchedWritableClusterRequestStatus = "staging"
- PATCHEDWRITABLECLUSTERREQUESTSTATUS_ACTIVE PatchedWritableClusterRequestStatus = "active"
- PATCHEDWRITABLECLUSTERREQUESTSTATUS_DECOMMISSIONING PatchedWritableClusterRequestStatus = "decommissioning"
- PATCHEDWRITABLECLUSTERREQUESTSTATUS_OFFLINE PatchedWritableClusterRequestStatus = "offline"
-)
-
-// All allowed values of PatchedWritableClusterRequestStatus enum
-var AllowedPatchedWritableClusterRequestStatusEnumValues = []PatchedWritableClusterRequestStatus{
- "planned",
- "staging",
- "active",
- "decommissioning",
- "offline",
-}
-
-func (v *PatchedWritableClusterRequestStatus) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableClusterRequestStatus(value)
- for _, existing := range AllowedPatchedWritableClusterRequestStatusEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableClusterRequestStatus", value)
-}
-
-// NewPatchedWritableClusterRequestStatusFromValue returns a pointer to a valid PatchedWritableClusterRequestStatus
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableClusterRequestStatusFromValue(v string) (*PatchedWritableClusterRequestStatus, error) {
- ev := PatchedWritableClusterRequestStatus(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableClusterRequestStatus: valid values are %v", v, AllowedPatchedWritableClusterRequestStatusEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableClusterRequestStatus) IsValid() bool {
- for _, existing := range AllowedPatchedWritableClusterRequestStatusEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableClusterRequest_status value
-func (v PatchedWritableClusterRequestStatus) Ptr() *PatchedWritableClusterRequestStatus {
- return &v
-}
-
-type NullablePatchedWritableClusterRequestStatus struct {
- value *PatchedWritableClusterRequestStatus
- isSet bool
-}
-
-func (v NullablePatchedWritableClusterRequestStatus) Get() *PatchedWritableClusterRequestStatus {
- return v.value
-}
-
-func (v *NullablePatchedWritableClusterRequestStatus) Set(val *PatchedWritableClusterRequestStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableClusterRequestStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableClusterRequestStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableClusterRequestStatus(val *PatchedWritableClusterRequestStatus) *NullablePatchedWritableClusterRequestStatus {
- return &NullablePatchedWritableClusterRequestStatus{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableClusterRequestStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableClusterRequestStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_console_port_request.go b/model_patched_writable_console_port_request.go
index 5e75fe1df9..e6e21d3fa1 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.0.11 (4.0)
*/
// 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 9fb31ae8e3..becf328447 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.0.11 (4.0)
*/
// 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 db1edadc39..5ead1a1bba 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.0.11 (4.0)
*/
// 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 a4c19d0c0e..96e596b942 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.0.11 (4.0)
*/
// 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 c5a84421b1..a98a942e70 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.0.11 (4.0)
*/
// 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 07402cdcd7..3dc2aac07b 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.0.11 (4.0)
*/
// 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 8a792f86be..aa236e4988 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,8 +21,8 @@ var _ MappedNullable = &PatchedWritableContactAssignmentRequest{}
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"`
+ Contact *BriefContactRequest `json:"contact,omitempty"`
+ Role NullableBriefContactRoleRequest `json:"role,omitempty"`
Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"`
Tags []NestedTagRequest `json:"tags,omitempty"`
CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
@@ -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)
}
diff --git a/model_patched_writable_contact_group_request.go b/model_patched_writable_contact_group_request.go
index b7868b9e76..a55e0176a8 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.0.11 (4.0)
*/
// 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 685a24ba2c..65baa7a06a 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.0.11 (4.0)
*/
// 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 05ed85e77b..e147c51dbc 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.0.11 (4.0)
*/
// 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 4e6a76214e..bd2ac9a357 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -47,9 +47,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{}
}
@@ -683,9 +683,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 +694,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 +710,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)
}
diff --git a/model_patched_writable_custom_field_request_filter_logic.go b/model_patched_writable_custom_field_request_filter_logic.go
index 617a068559..a1b001e603 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.0.11 (4.0)
*/
// 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 3efb71f2cf..8457a2a2ef 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.0.11 (4.0)
*/
// 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 2ebd0d168a..b98d6e2e38 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.0.11 (4.0)
*/
// 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 2b26094231..6c23d9d426 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.0.11 (4.0)
*/
// 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 4446f37e84..5dd3fa1498 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_device_type_request.go b/model_patched_writable_device_type_request.go
index e5906960d9..ffa5cae9df 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.0.11 (4.0)
*/
// 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_type_request_weight_unit.go b/model_patched_writable_device_type_request_weight_unit.go
deleted file mode 100644
index 7fcd239e1a..0000000000
--- a/model_patched_writable_device_type_request_weight_unit.go
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableDeviceTypeRequestWeightUnit * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces
-type PatchedWritableDeviceTypeRequestWeightUnit string
-
-// List of PatchedWritableDeviceTypeRequest_weight_unit
-const (
- PATCHEDWRITABLEDEVICETYPEREQUESTWEIGHTUNIT_KG PatchedWritableDeviceTypeRequestWeightUnit = "kg"
- PATCHEDWRITABLEDEVICETYPEREQUESTWEIGHTUNIT_G PatchedWritableDeviceTypeRequestWeightUnit = "g"
- PATCHEDWRITABLEDEVICETYPEREQUESTWEIGHTUNIT_LB PatchedWritableDeviceTypeRequestWeightUnit = "lb"
- PATCHEDWRITABLEDEVICETYPEREQUESTWEIGHTUNIT_OZ PatchedWritableDeviceTypeRequestWeightUnit = "oz"
- PATCHEDWRITABLEDEVICETYPEREQUESTWEIGHTUNIT_EMPTY PatchedWritableDeviceTypeRequestWeightUnit = ""
-)
-
-// All allowed values of PatchedWritableDeviceTypeRequestWeightUnit enum
-var AllowedPatchedWritableDeviceTypeRequestWeightUnitEnumValues = []PatchedWritableDeviceTypeRequestWeightUnit{
- "kg",
- "g",
- "lb",
- "oz",
- "",
-}
-
-func (v *PatchedWritableDeviceTypeRequestWeightUnit) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableDeviceTypeRequestWeightUnit(value)
- for _, existing := range AllowedPatchedWritableDeviceTypeRequestWeightUnitEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableDeviceTypeRequestWeightUnit", value)
-}
-
-// NewPatchedWritableDeviceTypeRequestWeightUnitFromValue returns a pointer to a valid PatchedWritableDeviceTypeRequestWeightUnit
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableDeviceTypeRequestWeightUnitFromValue(v string) (*PatchedWritableDeviceTypeRequestWeightUnit, error) {
- ev := PatchedWritableDeviceTypeRequestWeightUnit(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableDeviceTypeRequestWeightUnit: valid values are %v", v, AllowedPatchedWritableDeviceTypeRequestWeightUnitEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableDeviceTypeRequestWeightUnit) IsValid() bool {
- for _, existing := range AllowedPatchedWritableDeviceTypeRequestWeightUnitEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableDeviceTypeRequest_weight_unit value
-func (v PatchedWritableDeviceTypeRequestWeightUnit) Ptr() *PatchedWritableDeviceTypeRequestWeightUnit {
- return &v
-}
-
-type NullablePatchedWritableDeviceTypeRequestWeightUnit struct {
- value *PatchedWritableDeviceTypeRequestWeightUnit
- isSet bool
-}
-
-func (v NullablePatchedWritableDeviceTypeRequestWeightUnit) Get() *PatchedWritableDeviceTypeRequestWeightUnit {
- return v.value
-}
-
-func (v *NullablePatchedWritableDeviceTypeRequestWeightUnit) Set(val *PatchedWritableDeviceTypeRequestWeightUnit) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableDeviceTypeRequestWeightUnit) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableDeviceTypeRequestWeightUnit) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableDeviceTypeRequestWeightUnit(val *PatchedWritableDeviceTypeRequestWeightUnit) *NullablePatchedWritableDeviceTypeRequestWeightUnit {
- return &NullablePatchedWritableDeviceTypeRequestWeightUnit{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableDeviceTypeRequestWeightUnit) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableDeviceTypeRequestWeightUnit) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_device_with_config_context_request.go b/model_patched_writable_device_with_config_context_request.go
index 2594a9023b..aa015c0f42 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.0.11 (4.0)
*/
// 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 0251a39dc1..db83d5328a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_front_port_request.go b/model_patched_writable_front_port_request.go
index 56a5a766f6..4b74d86cb1 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.0.11 (4.0)
*/
// 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 a7e2d7d33e..f2c6e48aaf 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.0.11 (4.0)
*/
// 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 58f359b1eb..68c1e4f2c0 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.0.11 (4.0)
*/
// 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 16fbd5659f..20649dde65 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.0.11 (4.0)
*/
// 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 2a6c5849cb..4dc7b48818 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.0.11 (4.0)
*/
// 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 6de0b3f452..cfb8253b7f 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.0.11 (4.0)
*/
// 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 98ac12303d..6278439eaa 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.0.11 (4.0)
*/
// 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 89cee30812..9576a9087a 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.0.11 (4.0)
*/
// 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 16c8c59a08..6c7ff5bc75 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.0.11 (4.0)
*/
// 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"`
@@ -46,16 +46,16 @@ type PatchedWritableInterfaceRequest 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{}
}
@@ -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)
}
@@ -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 8417725be5..77295a20ad 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.0.11 (4.0)
*/
// 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 f88d3d2055..066a81e31d 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.0.11 (4.0)
*/
// 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
@@ -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)
}
diff --git a/model_patched_writable_ip_address_request.go b/model_patched_writable_ip_address_request.go
index 8aced88b88..a063b38b17 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.0.11 (4.0)
*/
// 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 c50d402363..3b14a04612 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.0.11 (4.0)
*/
// 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 aa05d1c780..5064622582 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.0.11 (4.0)
*/
// 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 3ae8f8a3b7..685ea4d9ab 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.0.11 (4.0)
*/
// 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 c5cdba089a..afb8365fb5 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.0.11 (4.0)
*/
// 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 6c4c674f77..506d2ddbdf 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.0.11 (4.0)
*/
// 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 8b81531d6f..eb86af8468 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.0.11 (4.0)
*/
// 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 1c0acccc08..46eaf2dd9c 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.0.11 (4.0)
*/
// 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 b79dc65d84..e31940e734 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_journal_entry_request.go b/model_patched_writable_journal_entry_request.go
index 97f19a1e79..b971547968 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.0.11 (4.0)
*/
// 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 0cbb2327b3..e1ef88906f 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.0.11 (4.0)
*/
// 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 338f115dd0..563aed7704 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.0.11 (4.0)
*/
// 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_location_request_status.go b/model_patched_writable_location_request_status.go
deleted file mode 100644
index f311375491..0000000000
--- a/model_patched_writable_location_request_status.go
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableLocationRequestStatus * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired
-type PatchedWritableLocationRequestStatus string
-
-// List of PatchedWritableLocationRequest_status
-const (
- PATCHEDWRITABLELOCATIONREQUESTSTATUS_PLANNED PatchedWritableLocationRequestStatus = "planned"
- PATCHEDWRITABLELOCATIONREQUESTSTATUS_STAGING PatchedWritableLocationRequestStatus = "staging"
- PATCHEDWRITABLELOCATIONREQUESTSTATUS_ACTIVE PatchedWritableLocationRequestStatus = "active"
- PATCHEDWRITABLELOCATIONREQUESTSTATUS_DECOMMISSIONING PatchedWritableLocationRequestStatus = "decommissioning"
- PATCHEDWRITABLELOCATIONREQUESTSTATUS_RETIRED PatchedWritableLocationRequestStatus = "retired"
-)
-
-// All allowed values of PatchedWritableLocationRequestStatus enum
-var AllowedPatchedWritableLocationRequestStatusEnumValues = []PatchedWritableLocationRequestStatus{
- "planned",
- "staging",
- "active",
- "decommissioning",
- "retired",
-}
-
-func (v *PatchedWritableLocationRequestStatus) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableLocationRequestStatus(value)
- for _, existing := range AllowedPatchedWritableLocationRequestStatusEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableLocationRequestStatus", value)
-}
-
-// NewPatchedWritableLocationRequestStatusFromValue returns a pointer to a valid PatchedWritableLocationRequestStatus
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableLocationRequestStatusFromValue(v string) (*PatchedWritableLocationRequestStatus, error) {
- ev := PatchedWritableLocationRequestStatus(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableLocationRequestStatus: valid values are %v", v, AllowedPatchedWritableLocationRequestStatusEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableLocationRequestStatus) IsValid() bool {
- for _, existing := range AllowedPatchedWritableLocationRequestStatusEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableLocationRequest_status value
-func (v PatchedWritableLocationRequestStatus) Ptr() *PatchedWritableLocationRequestStatus {
- return &v
-}
-
-type NullablePatchedWritableLocationRequestStatus struct {
- value *PatchedWritableLocationRequestStatus
- isSet bool
-}
-
-func (v NullablePatchedWritableLocationRequestStatus) Get() *PatchedWritableLocationRequestStatus {
- return v.value
-}
-
-func (v *NullablePatchedWritableLocationRequestStatus) Set(val *PatchedWritableLocationRequestStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableLocationRequestStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableLocationRequestStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableLocationRequestStatus(val *PatchedWritableLocationRequestStatus) *NullablePatchedWritableLocationRequestStatus {
- return &NullablePatchedWritableLocationRequestStatus{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableLocationRequestStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableLocationRequestStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_module_request.go b/model_patched_writable_module_request.go
index 5d7316da71..2edc208ea4 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.0.11 (4.0)
*/
// 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_request_status.go b/model_patched_writable_module_request_status.go
deleted file mode 100644
index 989d8739a3..0000000000
--- a/model_patched_writable_module_request_status.go
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// PatchedWritableModuleRequestStatus * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning
-type PatchedWritableModuleRequestStatus string
-
-// List of PatchedWritableModuleRequest_status
-const (
- PATCHEDWRITABLEMODULEREQUESTSTATUS_OFFLINE PatchedWritableModuleRequestStatus = "offline"
- PATCHEDWRITABLEMODULEREQUESTSTATUS_ACTIVE PatchedWritableModuleRequestStatus = "active"
- PATCHEDWRITABLEMODULEREQUESTSTATUS_PLANNED PatchedWritableModuleRequestStatus = "planned"
- PATCHEDWRITABLEMODULEREQUESTSTATUS_STAGED PatchedWritableModuleRequestStatus = "staged"
- PATCHEDWRITABLEMODULEREQUESTSTATUS_FAILED PatchedWritableModuleRequestStatus = "failed"
- PATCHEDWRITABLEMODULEREQUESTSTATUS_DECOMMISSIONING PatchedWritableModuleRequestStatus = "decommissioning"
-)
-
-// All allowed values of PatchedWritableModuleRequestStatus enum
-var AllowedPatchedWritableModuleRequestStatusEnumValues = []PatchedWritableModuleRequestStatus{
- "offline",
- "active",
- "planned",
- "staged",
- "failed",
- "decommissioning",
-}
-
-func (v *PatchedWritableModuleRequestStatus) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := PatchedWritableModuleRequestStatus(value)
- for _, existing := range AllowedPatchedWritableModuleRequestStatusEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid PatchedWritableModuleRequestStatus", value)
-}
-
-// NewPatchedWritableModuleRequestStatusFromValue returns a pointer to a valid PatchedWritableModuleRequestStatus
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewPatchedWritableModuleRequestStatusFromValue(v string) (*PatchedWritableModuleRequestStatus, error) {
- ev := PatchedWritableModuleRequestStatus(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for PatchedWritableModuleRequestStatus: valid values are %v", v, AllowedPatchedWritableModuleRequestStatusEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v PatchedWritableModuleRequestStatus) IsValid() bool {
- for _, existing := range AllowedPatchedWritableModuleRequestStatusEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to PatchedWritableModuleRequest_status value
-func (v PatchedWritableModuleRequestStatus) Ptr() *PatchedWritableModuleRequestStatus {
- return &v
-}
-
-type NullablePatchedWritableModuleRequestStatus struct {
- value *PatchedWritableModuleRequestStatus
- isSet bool
-}
-
-func (v NullablePatchedWritableModuleRequestStatus) Get() *PatchedWritableModuleRequestStatus {
- return v.value
-}
-
-func (v *NullablePatchedWritableModuleRequestStatus) Set(val *PatchedWritableModuleRequestStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullablePatchedWritableModuleRequestStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullablePatchedWritableModuleRequestStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullablePatchedWritableModuleRequestStatus(val *PatchedWritableModuleRequestStatus) *NullablePatchedWritableModuleRequestStatus {
- return &NullablePatchedWritableModuleRequestStatus{value: val, isSet: true}
-}
-
-func (v NullablePatchedWritableModuleRequestStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullablePatchedWritableModuleRequestStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_patched_writable_module_type_request.go b/model_patched_writable_module_type_request.go
index 284d2cda9a..ea71eb4457 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -19,16 +19,16 @@ 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"`
+ 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 +52,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 +62,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 +78,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
}
@@ -191,9 +191,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 +201,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 +217,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
}
diff --git a/model_patched_writable_power_feed_request.go b/model_patched_writable_power_feed_request.go
index cd730a4d06..e3f7434546 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.0.11 (4.0)
*/
// 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 9a576dfa2f..935f53702c 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.0.11 (4.0)
*/
// 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 e83c0f2fa7..5ef80daf3a 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.0.11 (4.0)
*/
// 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 e8b5b27a3e..5b33a2447f 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.0.11 (4.0)
*/
// 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 6951215c40..58a129eb51 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.0.11 (4.0)
*/
// 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 4a3f01b5d4..26c134d482 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.0.11 (4.0)
*/
// 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 bb994c1906..e7d0b71f9b 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.0.11 (4.0)
*/
// 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 b71ce89bf3..e287d72be0 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_power_outlet_template_request.go b/model_patched_writable_power_outlet_template_request.go
index 665ffab4ec..2e151a24d6 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.0.11 (4.0)
*/
// 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 1ca2917115..c221f39098 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_power_port_request.go b/model_patched_writable_power_port_request.go
index 1df1cacd17..581b3f661d 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.0.11 (4.0)
*/
// 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 fd8a265b04..70969b5509 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_power_port_template_request.go b/model_patched_writable_power_port_template_request.go
index 6598158be9..04a0ed8cfa 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.0.11 (4.0)
*/
// 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 554ee3f097..75875404ee 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_prefix_request.go b/model_patched_writable_prefix_request.go
index 4f5dc38b73..4d01d0d0bd 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.0.11 (4.0)
*/
// 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 ecbeb236f0..547013a2f6 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.0.11 (4.0)
*/
// 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 2b21e78d46..5e98c9615f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,11 +21,11 @@ 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"`
@@ -37,8 +37,8 @@ type PatchedWritableRackRequest struct {
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)
@@ -150,9 +150,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 +160,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 +176,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 +193,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 +209,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 +225,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 +236,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 +252,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 +300,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 +311,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 +327,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)
}
@@ -632,9 +632,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 +642,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 +658,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
}
diff --git a/model_patched_writable_rack_request_outer_unit.go b/model_patched_writable_rack_request_outer_unit.go
index 21a86adeda..746001c7dd 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.0.11 (4.0)
*/
// 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 9dc9df3293..e3eaaa3648 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_rack_request_type.go b/model_patched_writable_rack_request_type.go
index 2e9301b3c3..b4bbd99951 100644
--- a/model_patched_writable_rack_request_type.go
+++ b/model_patched_writable_rack_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.0.11 (4.0)
*/
// 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 19908dc01e..9a572e9cc3 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_patched_writable_rear_port_request.go b/model_patched_writable_rear_port_request.go
index 881056212e..908c7f9457 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.0.11 (4.0)
*/
// 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 5280e4ec8d..b69f5c7660 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.0.11 (4.0)
*/
// 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 f2deb297b8..980d5fdb02 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.0.11 (4.0)
*/
// 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 9f1abb8c1b..dbaf6d1504 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.0.11 (4.0)
*/
// 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 4b7b5d491d..aca72dab1f 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.0.11 (4.0)
*/
// 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 182e8786dd..e8b97ea305 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.0.11 (4.0)
*/
// 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 784b865675..abfea3a7f9 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.0.11 (4.0)
*/
// 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 35523daf2d..77cfadccf4 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.0.11 (4.0)
*/
// 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 86547508dd..8680203102 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.0.11 (4.0)
*/
// 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 cac6687a18..f1ecb24a0f 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.0.11 (4.0)
*/
// 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 54582c03d2..412e0cc398 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.0.11 (4.0)
*/
// 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 b4b020162d..1eda666340 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.0.11 (4.0)
*/
// 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 3619913905..0ff279fd31 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.0.11 (4.0)
*/
// 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 8bc7b5eeab..1ec0986ef4 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.0.11 (4.0)
*/
// 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 f160befac7..3310a8a8f0 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.0.11 (4.0)
*/
// 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 34ba5129c8..38468d3a16 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.0.11 (4.0)
*/
// 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 9bed2f9137..4f2565f346 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.0.11 (4.0)
*/
// 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 e9006bf847..0107566c7b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -19,22 +19,22 @@ 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"`
+ 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 +94,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 +104,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 +120,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 +137,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 +153,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 +169,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 +180,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 +196,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 +212,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 +223,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 +239,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)
}
@@ -255,9 +255,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetDevice() {
}
// 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 +266,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 +282,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 +298,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 +309,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 +325,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 +341,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 +352,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 +368,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 +384,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 +395,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 +411,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 +427,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 +438,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 +454,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 +663,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 +674,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 +690,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)
}
diff --git a/model_patched_writable_vlan_request.go b/model_patched_writable_vlan_request.go
index f341c24258..a7bfc584b7 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.0.11 (4.0)
*/
// 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 74ada78e4b..fb0d513e71 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.0.11 (4.0)
*/
// 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 fd72c0f661..1d248569d5 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.0.11 (4.0)
*/
// 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 1ffc71e4c3..cb57ae8f15 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.0.11 (4.0)
*/
// 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 9619126116..603c1dfd58 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,10 +21,10 @@ 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"`
+ Vlan NullableBriefVLANRequest `json:"vlan,omitempty"`
+ Tenant NullableBriefTenantRequest `json:"tenant,omitempty"`
AuthType *AuthenticationType1 `json:"auth_type,omitempty"`
AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"`
AuthPsk *string `json:"auth_psk,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)
}
diff --git a/model_patched_writable_wireless_lan_request_status.go b/model_patched_writable_wireless_lan_request_status.go
index 2960171ff5..0e0e818cca 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.0.11 (4.0)
*/
// 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 53a6fee89d..eb3c8b5504 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -19,18 +19,18 @@ 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 *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"`
AdditionalProperties map[string]interface{}
}
@@ -54,9 +54,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 +64,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 +80,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 +96,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 +112,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 +150,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 +160,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 +176,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 +193,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 +209,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)
}
diff --git a/model_platform.go b/model_platform.go
index 5ab96ce266..6f6ab1d56a 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.0.11 (4.0)
*/
// 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,20 @@ 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"`
+ 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"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
AdditionalProperties map[string]interface{}
}
@@ -37,13 +44,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, deviceCount int64, virtualmachineCount int64) *Platform {
this := Platform{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
this.Slug = slug
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.DeviceCount = deviceCount
this.VirtualmachineCount = virtualmachineCount
return &this
@@ -177,6 +186,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,6 +304,122 @@ func (o *Platform) SetDescription(v string) {
o.Description = &v
}
+// 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 {
+ 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.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 *Platform) GetLastUpdatedOk() (*time.Time, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.LastUpdated.Get(), o.LastUpdated.IsSet()
+}
+
+// SetLastUpdated sets field value
+func (o *Platform) SetLastUpdated(v time.Time) {
+ o.LastUpdated.Set(&v)
+}
+
// GetDeviceCount returns the DeviceCount field value
func (o *Platform) GetDeviceCount() int64 {
if o == nil {
@@ -272,9 +483,23 @@ func (o Platform) ToMap() (map[string]interface{}, error) {
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
}
+ 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["device_count"] = o.DeviceCount
toSerialize["virtualmachine_count"] = o.VirtualmachineCount
@@ -295,6 +520,8 @@ func (o *Platform) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"device_count",
"virtualmachine_count",
}
@@ -331,7 +558,13 @@ func (o *Platform) UnmarshalJSON(data []byte) (err error) {
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 365ea0c950..174c7079c4 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.0.11 (4.0)
*/
// 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 d946fcb849..b5743682b8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,32 +21,32 @@ 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"`
+ 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 +62,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
@@ -163,9 +163,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 +174,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 +182,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 +198,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 +214,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 +510,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 +523,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 +531,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 +584,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 +622,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 +636,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 +718,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 +729,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 +745,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)
}
@@ -971,9 +977,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
diff --git a/model_power_feed_phase.go b/model_power_feed_phase.go
index 728d75ab99..71ea9fc578 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.0.11 (4.0)
*/
// 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 1e4274876d..8091a75fd7 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.0.11 (4.0)
*/
// 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 51865eb47c..fd0fee4f50 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.0.11 (4.0)
*/
// 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 e0b9ca5753..770e62bee9 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.0.11 (4.0)
*/
// 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 25d308214d..592f7f98dd 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.0.11 (4.0)
*/
// 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 f7a5c92515..9ec1ea2824 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.0.11 (4.0)
*/
// 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 07573618e4..232434fa78 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.0.11 (4.0)
*/
// 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 0e839a1a27..77c5ad397e 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.0.11 (4.0)
*/
// 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 e98943a9f2..b1a8acfaf2 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.0.11 (4.0)
*/
// 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 2072ed336b..716b32efd8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,27 +21,27 @@ 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"`
+ 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 +57,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
@@ -158,9 +158,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 +169,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 +177,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 +193,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 +209,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 +324,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 +335,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 +351,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 +474,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 +487,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 +495,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 +548,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 +586,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 +600,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
@@ -822,9 +828,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
diff --git a/model_power_outlet_feed_leg.go b/model_power_outlet_feed_leg.go
index 95698360a8..42a9653165 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.0.11 (4.0)
*/
// 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 8a906036cb..f65493d905 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.0.11 (4.0)
*/
// 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 bc3abd6e53..03ab6849a6 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.0.11 (4.0)
*/
// 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 122e3eb78d..9055aead7a 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.0.11 (4.0)
*/
// 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 7cb04c40cf..90c0128fcd 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.0.11 (4.0)
*/
// 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 ab5cb9272a..54dd825d11 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_power_outlet_template.go b/model_power_outlet_template.go
index 8d700a1161..1048937f07 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.0.11 (4.0)
*/
// 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 55567b581b..f0d85c7094 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.0.11 (4.0)
*/
// 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 2f39149ab7..6d7df201cf 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.0.11 (4.0)
*/
// 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 4b09dda97c..f881671b90 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_power_panel.go b/model_power_panel.go
index 9548ab75a2..1bcfe4b3f8 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.0.11 (4.0)
*/
// 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,19 @@ 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"`
+ 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 +43,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
}
@@ -125,6 +136,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 +259,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 +379,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 {
@@ -218,11 +444,26 @@ func (o PowerPanel) ToMap() (map[string]interface{}, error) {
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
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 +480,11 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) {
"id",
"url",
"display",
+ "site",
"name",
"powerfeed_count",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -273,9 +517,16 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "id")
delete(additionalProperties, "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 41ab3ae46b..2676f51f40 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.0.11 (4.0)
*/
// 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 bfc69ca0ff..a2d086efd2 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.0.11 (4.0)
*/
// 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,36 @@ 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"`
+ 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 +59,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 +67,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
}
@@ -130,9 +160,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 +171,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 +179,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 +250,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 +443,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 +489,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 +497,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 {
@@ -273,11 +805,45 @@ func (o PowerPort) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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 +864,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",
}
@@ -332,9 +906,25 @@ func (o *PowerPort) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 b699633c58..3244e9611f 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.0.11 (4.0)
*/
// 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 0000000000..55401c7c29
--- /dev/null
+++ b/model_power_port_request_type.go
@@ -0,0 +1,314 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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-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_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-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 2178d92e0f..8869e0f146 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.0.11 (4.0)
*/
// 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 4f2826e7f4..458d58c1a5 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.0.11 (4.0)
*/
// 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 0000000000..24175a177c
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..85a6fb9d4d
--- /dev/null
+++ b/model_power_port_type_label.go
@@ -0,0 +1,312 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// 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_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-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 69448e57b1..b72b7b00ac 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,17 +21,17 @@ 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"`
+ 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
@@ -196,9 +196,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 +207,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 +223,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 +239,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 +250,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 +266,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 +282,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 +293,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 +309,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 +325,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 +336,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 +352,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 +400,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 +411,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 +427,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)
}
diff --git a/model_prefix_request.go b/model_prefix_request.go
index 5634c83a7b..1bbee29df9 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.0.11 (4.0)
*/
// 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 f2406410f9..314c29ae98 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.0.11 (4.0)
*/
// 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 41bac8bf79..aa601327d9 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.0.11 (4.0)
*/
// 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 7e225f7006..077fc55da3 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_provider.go b/model_provider.go
index a368b3c0b1..4ce157a849 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.0.11 (4.0)
*/
// 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
@@ -24,10 +25,17 @@ type Provider struct {
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"`
+ 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 +45,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
}
@@ -176,6 +186,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 +250,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 {
@@ -247,9 +469,26 @@ func (o Provider) ToMap() (map[string]interface{}, error) {
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 +508,8 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"circuit_count",
}
@@ -304,7 +545,14 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) {
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 e1b668c13a..5118338193 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,7 +24,7 @@ type ProviderAccount struct {
Id int32 `json:"id"`
Url string `json:"url"`
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 +42,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
@@ -139,9 +139,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 +150,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 +158,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
}
diff --git a/model_provider_account_request.go b/model_provider_account_request.go
index feca4b6eaa..5da2f4a9e5 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.0.11 (4.0)
*/
// 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 213b6174c2..f1594bb4b8 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.0.11 (4.0)
*/
// 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,18 @@ 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"`
+ 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 +42,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
}
@@ -123,6 +134,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 +182,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 +246,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 {
@@ -192,10 +407,25 @@ func (o ProviderNetwork) ToMap() (map[string]interface{}, error) {
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
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 +442,10 @@ func (o *ProviderNetwork) UnmarshalJSON(data []byte) (err error) {
"id",
"url",
"display",
+ "provider",
"name",
+ "created",
+ "last_updated",
}
allProperties := make(map[string]interface{})
@@ -245,8 +478,15 @@ func (o *ProviderNetwork) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "id")
delete(additionalProperties, "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 05b023aca2..6686109570 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.0.11 (4.0)
*/
// 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 1edfe34ee9..4707fd05f9 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.0.11 (4.0)
*/
// 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 471e264e13..4896734db5 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.0.11 (4.0)
*/
// 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,46 @@ 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"`
+ 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"`
+ Type NullableRackType `json:"type,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"`
+ 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"`
+ PowerfeedCount int64 `json:"powerfeed_count"`
AdditionalProperties map[string]interface{}
}
@@ -35,13 +70,17 @@ 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, deviceCount int64, powerfeedCount int64) *Rack {
this := Rack{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
+ this.Site = site
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.DeviceCount = deviceCount
+ this.PowerfeedCount = powerfeedCount
return &this
}
@@ -149,6 +188,781 @@ 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()
+}
+
+// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *Rack) GetType() RackType {
+ if o == nil || IsNil(o.Type.Get()) {
+ var ret RackType
+ 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 *Rack) GetTypeOk() (*RackType, 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 *Rack) HasType() bool {
+ if o != nil && o.Type.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetType gets a reference to the given NullableRackType and assigns it to the Type field.
+func (o *Rack) SetType(v RackType) {
+ o.Type.Set(&v)
+}
+
+// SetTypeNil sets the value for Type to be an explicit nil
+func (o *Rack) SetTypeNil() {
+ o.Type.Set(nil)
+}
+
+// UnsetType ensures that no value is present for Type, not even an explicit nil
+func (o *Rack) UnsetType() {
+ o.Type.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
+}
+
+// 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.
+// 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.OuterWidth.Get(), o.OuterWidth.IsSet()
+}
+
+// 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
+}
+
+// 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 {
+ 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()
+}
+
+// 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()
+}
+
+// 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.
+// 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.MountingDepth.Get(), o.MountingDepth.IsSet()
+}
+
+// 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()
+}
+
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *Rack) GetDescription() string {
if o == nil || IsNil(o.Description) {
@@ -181,6 +995,154 @@ func (o *Rack) SetDescription(v string) {
o.Description = &v
}
+// 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
func (o *Rack) GetDeviceCount() int64 {
if o == nil {
@@ -205,6 +1167,30 @@ 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.PowerfeedCount
+}
+
+// GetPowerfeedCountOk returns a tuple with the PowerfeedCount field value
+// and a boolean to check if the value has been set.
+func (o *Rack) GetPowerfeedCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PowerfeedCount, true
+}
+
+// SetPowerfeedCount sets field value
+func (o *Rack) SetPowerfeedCount(v int64) {
+ o.PowerfeedCount = v
+}
+
func (o Rack) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -219,10 +1205,80 @@ func (o Rack) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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.Type.IsSet() {
+ toSerialize["type"] = o.Type.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.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["device_count"] = o.DeviceCount
+ toSerialize["powerfeed_count"] = o.PowerfeedCount
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -240,7 +1296,11 @@ func (o *Rack) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "site",
+ "created",
+ "last_updated",
"device_count",
+ "powerfeed_count",
}
allProperties := make(map[string]interface{})
@@ -274,8 +1334,34 @@ func (o *Rack) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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, "type")
+ 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, "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_face.go b/model_rack_face.go
index a0c96cd51a..362f4e203f 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.0.11 (4.0)
*/
// 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 bbb6509414..734aa10754 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_rack_outer_unit.go b/model_rack_outer_unit.go
new file mode 100644
index 0000000000..ad132acc0a
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..4d3b7d2dc1
--- /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.0.11 (4.0)
+*/
+
+// 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 820be5e16b..07da86a100 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,8 +20,39 @@ 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"`
+ Type NullableRackRequestType `json:"type,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"`
+ 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 +62,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 +101,781 @@ 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()
+}
+
+// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
+func (o *RackRequest) GetType() RackRequestType {
+ if o == nil || IsNil(o.Type.Get()) {
+ var ret RackRequestType
+ 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 *RackRequest) GetTypeOk() (*RackRequestType, 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 *RackRequest) HasType() bool {
+ if o != nil && o.Type.IsSet() {
+ return true
+ }
+
+ return false
+}
+
+// SetType gets a reference to the given NullableRackRequestType and assigns it to the Type field.
+func (o *RackRequest) SetType(v RackRequestType) {
+ o.Type.Set(&v)
+}
+
+// SetTypeNil sets the value for Type to be an explicit nil
+func (o *RackRequest) SetTypeNil() {
+ o.Type.Set(nil)
+}
+
+// UnsetType ensures that no value is present for Type, not even an explicit nil
+func (o *RackRequest) UnsetType() {
+ o.Type.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()
+}
+
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *RackRequest) GetDescription() string {
if o == nil || IsNil(o.Description) {
@@ -101,6 +908,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 +1015,76 @@ 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.Type.IsSet() {
+ toSerialize["type"] = o.Type.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.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 +1099,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 +1130,30 @@ 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, "type")
+ 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, "description")
+ delete(additionalProperties, "comments")
+ delete(additionalProperties, "tags")
+ delete(additionalProperties, "custom_fields")
o.AdditionalProperties = additionalProperties
}
diff --git a/model_rack_request_outer_unit.go b/model_rack_request_outer_unit.go
new file mode 100644
index 0000000000..15f9df9219
--- /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.0.11 (4.0)
+*/
+
+// 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_request_type.go b/model_rack_request_type.go
new file mode 100644
index 0000000000..61edbc6eeb
--- /dev/null
+++ b/model_rack_request_type.go
@@ -0,0 +1,122 @@
+/*
+NetBox REST API
+
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+
+API version: 4.0.11 (4.0)
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package netbox
+
+import (
+ "encoding/json"
+ "fmt"
+)
+
+// RackRequestType * `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 RackRequestType string
+
+// List of RackRequest_type
+const (
+ RACKREQUESTTYPE__2_POST_FRAME RackRequestType = "2-post-frame"
+ RACKREQUESTTYPE__4_POST_FRAME RackRequestType = "4-post-frame"
+ RACKREQUESTTYPE__4_POST_CABINET RackRequestType = "4-post-cabinet"
+ RACKREQUESTTYPE_WALL_FRAME RackRequestType = "wall-frame"
+ RACKREQUESTTYPE_WALL_FRAME_VERTICAL RackRequestType = "wall-frame-vertical"
+ RACKREQUESTTYPE_WALL_CABINET RackRequestType = "wall-cabinet"
+ RACKREQUESTTYPE_WALL_CABINET_VERTICAL RackRequestType = "wall-cabinet-vertical"
+ RACKREQUESTTYPE_EMPTY RackRequestType = ""
+)
+
+// All allowed values of RackRequestType enum
+var AllowedRackRequestTypeEnumValues = []RackRequestType{
+ "2-post-frame",
+ "4-post-frame",
+ "4-post-cabinet",
+ "wall-frame",
+ "wall-frame-vertical",
+ "wall-cabinet",
+ "wall-cabinet-vertical",
+ "",
+}
+
+func (v *RackRequestType) UnmarshalJSON(src []byte) error {
+ var value string
+ err := json.Unmarshal(src, &value)
+ if err != nil {
+ return err
+ }
+ enumTypeValue := RackRequestType(value)
+ for _, existing := range AllowedRackRequestTypeEnumValues {
+ if existing == enumTypeValue {
+ *v = enumTypeValue
+ return nil
+ }
+ }
+
+ return fmt.Errorf("%+v is not a valid RackRequestType", value)
+}
+
+// NewRackRequestTypeFromValue returns a pointer to a valid RackRequestType
+// for the value passed as argument, or an error if the value passed is not allowed by the enum
+func NewRackRequestTypeFromValue(v string) (*RackRequestType, error) {
+ ev := RackRequestType(v)
+ if ev.IsValid() {
+ return &ev, nil
+ } else {
+ return nil, fmt.Errorf("invalid value '%v' for RackRequestType: valid values are %v", v, AllowedRackRequestTypeEnumValues)
+ }
+}
+
+// IsValid return true if the value is valid for the enum, false otherwise
+func (v RackRequestType) IsValid() bool {
+ for _, existing := range AllowedRackRequestTypeEnumValues {
+ if existing == v {
+ return true
+ }
+ }
+ return false
+}
+
+// Ptr returns reference to RackRequest_type value
+func (v RackRequestType) Ptr() *RackRequestType {
+ return &v
+}
+
+type NullableRackRequestType struct {
+ value *RackRequestType
+ isSet bool
+}
+
+func (v NullableRackRequestType) Get() *RackRequestType {
+ return v.value
+}
+
+func (v *NullableRackRequestType) Set(val *RackRequestType) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableRackRequestType) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableRackRequestType) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableRackRequestType(val *RackRequestType) *NullableRackRequestType {
+ return &NullableRackRequestType{value: val, isSet: true}
+}
+
+func (v NullableRackRequestType) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableRackRequestType) 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 f4cdb14114..b680eed994 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,12 +24,12 @@ type RackReservation struct {
Id int32 `json:"id"`
Url string `json:"url"`
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 +43,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
@@ -138,9 +138,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 +149,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 +157,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 +238,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 +249,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 +257,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 +273,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 +289,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)
}
diff --git a/model_rack_reservation_request.go b/model_rack_reservation_request.go
index f08054702d..03f753b837 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.0.11 (4.0)
*/
// 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 6f5af14fd1..16f14cad9d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_rack_role_request.go b/model_rack_role_request.go
index f3d72593d4..48caf0019d 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.0.11 (4.0)
*/
// 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 0000000000..f2d2fad620
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..51364a1209
--- /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.0.11 (4.0)
+*/
+
+// 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_l2_vpn_type.go b/model_rack_type.go
similarity index 56%
rename from model_l2_vpn_type.go
rename to model_rack_type.go
index 2d3fba3632..798887e753 100644
--- a/model_l2_vpn_type.go
+++ b/model_rack_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -14,39 +14,39 @@ import (
"encoding/json"
)
-// checks if the L2VPNType type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &L2VPNType{}
+// checks if the RackType type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RackType{}
-// L2VPNType struct for L2VPNType
-type L2VPNType struct {
- Value *L2VPNTypeValue `json:"value,omitempty"`
- Label *L2VPNTypeLabel `json:"label,omitempty"`
+// RackType struct for RackType
+type RackType struct {
+ Value *PatchedWritableRackRequestType `json:"value,omitempty"`
+ Label *RackTypeLabel `json:"label,omitempty"`
AdditionalProperties map[string]interface{}
}
-type _L2VPNType L2VPNType
+type _RackType RackType
-// NewL2VPNType instantiates a new L2VPNType object
+// 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 NewL2VPNType() *L2VPNType {
- this := L2VPNType{}
+func NewRackType() *RackType {
+ this := RackType{}
return &this
}
-// NewL2VPNTypeWithDefaults instantiates a new L2VPNType object
+// 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 NewL2VPNTypeWithDefaults() *L2VPNType {
- this := L2VPNType{}
+func NewRackTypeWithDefaults() *RackType {
+ this := RackType{}
return &this
}
// GetValue returns the Value field value if set, zero value otherwise.
-func (o *L2VPNType) GetValue() L2VPNTypeValue {
+func (o *RackType) GetValue() PatchedWritableRackRequestType {
if o == nil || IsNil(o.Value) {
- var ret L2VPNTypeValue
+ var ret PatchedWritableRackRequestType
return ret
}
return *o.Value
@@ -54,7 +54,7 @@ func (o *L2VPNType) GetValue() L2VPNTypeValue {
// 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 *L2VPNType) GetValueOk() (*L2VPNTypeValue, bool) {
+func (o *RackType) GetValueOk() (*PatchedWritableRackRequestType, bool) {
if o == nil || IsNil(o.Value) {
return nil, false
}
@@ -62,7 +62,7 @@ func (o *L2VPNType) GetValueOk() (*L2VPNTypeValue, bool) {
}
// HasValue returns a boolean if a field has been set.
-func (o *L2VPNType) HasValue() bool {
+func (o *RackType) HasValue() bool {
if o != nil && !IsNil(o.Value) {
return true
}
@@ -70,15 +70,15 @@ func (o *L2VPNType) HasValue() bool {
return false
}
-// SetValue gets a reference to the given L2VPNTypeValue and assigns it to the Value field.
-func (o *L2VPNType) SetValue(v L2VPNTypeValue) {
+// SetValue gets a reference to the given PatchedWritableRackRequestType and assigns it to the Value field.
+func (o *RackType) SetValue(v PatchedWritableRackRequestType) {
o.Value = &v
}
// GetLabel returns the Label field value if set, zero value otherwise.
-func (o *L2VPNType) GetLabel() L2VPNTypeLabel {
+func (o *RackType) GetLabel() RackTypeLabel {
if o == nil || IsNil(o.Label) {
- var ret L2VPNTypeLabel
+ var ret RackTypeLabel
return ret
}
return *o.Label
@@ -86,7 +86,7 @@ func (o *L2VPNType) GetLabel() L2VPNTypeLabel {
// 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 *L2VPNType) GetLabelOk() (*L2VPNTypeLabel, bool) {
+func (o *RackType) GetLabelOk() (*RackTypeLabel, bool) {
if o == nil || IsNil(o.Label) {
return nil, false
}
@@ -94,7 +94,7 @@ func (o *L2VPNType) GetLabelOk() (*L2VPNTypeLabel, bool) {
}
// HasLabel returns a boolean if a field has been set.
-func (o *L2VPNType) HasLabel() bool {
+func (o *RackType) HasLabel() bool {
if o != nil && !IsNil(o.Label) {
return true
}
@@ -102,12 +102,12 @@ func (o *L2VPNType) HasLabel() bool {
return false
}
-// SetLabel gets a reference to the given L2VPNTypeLabel and assigns it to the Label field.
-func (o *L2VPNType) SetLabel(v L2VPNTypeLabel) {
+// SetLabel gets a reference to the given RackTypeLabel and assigns it to the Label field.
+func (o *RackType) SetLabel(v RackTypeLabel) {
o.Label = &v
}
-func (o L2VPNType) MarshalJSON() ([]byte, error) {
+func (o RackType) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -115,7 +115,7 @@ func (o L2VPNType) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o L2VPNType) ToMap() (map[string]interface{}, error) {
+func (o RackType) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Value) {
toSerialize["value"] = o.Value
@@ -131,16 +131,16 @@ func (o L2VPNType) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *L2VPNType) UnmarshalJSON(data []byte) (err error) {
- varL2VPNType := _L2VPNType{}
+func (o *RackType) UnmarshalJSON(data []byte) (err error) {
+ varRackType := _RackType{}
- err = json.Unmarshal(data, &varL2VPNType)
+ err = json.Unmarshal(data, &varRackType)
if err != nil {
return err
}
- *o = L2VPNType(varL2VPNType)
+ *o = RackType(varRackType)
additionalProperties := make(map[string]interface{})
@@ -153,38 +153,38 @@ func (o *L2VPNType) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableL2VPNType struct {
- value *L2VPNType
+type NullableRackType struct {
+ value *RackType
isSet bool
}
-func (v NullableL2VPNType) Get() *L2VPNType {
+func (v NullableRackType) Get() *RackType {
return v.value
}
-func (v *NullableL2VPNType) Set(val *L2VPNType) {
+func (v *NullableRackType) Set(val *RackType) {
v.value = val
v.isSet = true
}
-func (v NullableL2VPNType) IsSet() bool {
+func (v NullableRackType) IsSet() bool {
return v.isSet
}
-func (v *NullableL2VPNType) Unset() {
+func (v *NullableRackType) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableL2VPNType(val *L2VPNType) *NullableL2VPNType {
- return &NullableL2VPNType{value: val, isSet: true}
+func NewNullableRackType(val *RackType) *NullableRackType {
+ return &NullableRackType{value: val, isSet: true}
}
-func (v NullableL2VPNType) MarshalJSON() ([]byte, error) {
+func (v NullableRackType) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableL2VPNType) UnmarshalJSON(src []byte) error {
+func (v *NullableRackType) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
diff --git a/model_rack_type_label.go b/model_rack_type_label.go
new file mode 100644
index 0000000000..26c62bfbfa
--- /dev/null
+++ b/model_rack_type_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.0.11 (4.0)
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package netbox
+
+import (
+ "encoding/json"
+ "fmt"
+)
+
+// RackTypeLabel the model 'RackTypeLabel'
+type RackTypeLabel string
+
+// List of Rack_type_label
+const (
+ RACKTYPELABEL__2_POST_FRAME RackTypeLabel = "2-post frame"
+ RACKTYPELABEL__4_POST_FRAME RackTypeLabel = "4-post frame"
+ RACKTYPELABEL__4_POST_CABINET RackTypeLabel = "4-post cabinet"
+ RACKTYPELABEL_WALL_MOUNTED_FRAME RackTypeLabel = "Wall-mounted frame"
+ RACKTYPELABEL_WALL_MOUNTED_FRAME__VERTICAL RackTypeLabel = "Wall-mounted frame (vertical)"
+ RACKTYPELABEL_WALL_MOUNTED_CABINET RackTypeLabel = "Wall-mounted cabinet"
+ RACKTYPELABEL_WALL_MOUNTED_CABINET__VERTICAL RackTypeLabel = "Wall-mounted cabinet (vertical)"
+)
+
+// All allowed values of RackTypeLabel enum
+var AllowedRackTypeLabelEnumValues = []RackTypeLabel{
+ "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 *RackTypeLabel) UnmarshalJSON(src []byte) error {
+ var value string
+ err := json.Unmarshal(src, &value)
+ if err != nil {
+ return err
+ }
+ enumTypeValue := RackTypeLabel(value)
+ for _, existing := range AllowedRackTypeLabelEnumValues {
+ if existing == enumTypeValue {
+ *v = enumTypeValue
+ return nil
+ }
+ }
+
+ return fmt.Errorf("%+v is not a valid RackTypeLabel", value)
+}
+
+// NewRackTypeLabelFromValue returns a pointer to a valid RackTypeLabel
+// for the value passed as argument, or an error if the value passed is not allowed by the enum
+func NewRackTypeLabelFromValue(v string) (*RackTypeLabel, error) {
+ ev := RackTypeLabel(v)
+ if ev.IsValid() {
+ return &ev, nil
+ } else {
+ return nil, fmt.Errorf("invalid value '%v' for RackTypeLabel: valid values are %v", v, AllowedRackTypeLabelEnumValues)
+ }
+}
+
+// IsValid return true if the value is valid for the enum, false otherwise
+func (v RackTypeLabel) IsValid() bool {
+ for _, existing := range AllowedRackTypeLabelEnumValues {
+ if existing == v {
+ return true
+ }
+ }
+ return false
+}
+
+// Ptr returns reference to Rack_type_label value
+func (v RackTypeLabel) Ptr() *RackTypeLabel {
+ return &v
+}
+
+type NullableRackTypeLabel struct {
+ value *RackTypeLabel
+ isSet bool
+}
+
+func (v NullableRackTypeLabel) Get() *RackTypeLabel {
+ return v.value
+}
+
+func (v *NullableRackTypeLabel) Set(val *RackTypeLabel) {
+ v.value = val
+ v.isSet = true
+}
+
+func (v NullableRackTypeLabel) IsSet() bool {
+ return v.isSet
+}
+
+func (v *NullableRackTypeLabel) Unset() {
+ v.value = nil
+ v.isSet = false
+}
+
+func NewNullableRackTypeLabel(val *RackTypeLabel) *NullableRackTypeLabel {
+ return &NullableRackTypeLabel{value: val, isSet: true}
+}
+
+func (v NullableRackTypeLabel) MarshalJSON() ([]byte, error) {
+ return json.Marshal(v.value)
+}
+
+func (v *NullableRackTypeLabel) 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 6bd4ac7813..773011d7e1 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.0.11 (4.0)
*/
// 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 081988bab3..69356d49ae 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.0.11 (4.0)
*/
// 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 1219f8e2cf..55787c5e9e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_job_status.go b/model_rack_width.go
similarity index 58%
rename from model_job_status.go
rename to model_rack_width.go
index d625ea334a..b98fbe47f7 100644
--- a/model_job_status.go
+++ b/model_rack_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -14,39 +14,39 @@ import (
"encoding/json"
)
-// checks if the JobStatus type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &JobStatus{}
+// checks if the RackWidth type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RackWidth{}
-// JobStatus struct for JobStatus
-type JobStatus struct {
- Value *JobStatusValue `json:"value,omitempty"`
- Label *JobStatusLabel `json:"label,omitempty"`
+// RackWidth struct for RackWidth
+type RackWidth struct {
+ Value *RackWidthValue `json:"value,omitempty"`
+ Label *RackWidthLabel `json:"label,omitempty"`
AdditionalProperties map[string]interface{}
}
-type _JobStatus JobStatus
+type _RackWidth RackWidth
-// NewJobStatus instantiates a new JobStatus object
+// 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 NewJobStatus() *JobStatus {
- this := JobStatus{}
+func NewRackWidth() *RackWidth {
+ this := RackWidth{}
return &this
}
-// NewJobStatusWithDefaults instantiates a new JobStatus object
+// 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 NewJobStatusWithDefaults() *JobStatus {
- this := JobStatus{}
+func NewRackWidthWithDefaults() *RackWidth {
+ this := RackWidth{}
return &this
}
// GetValue returns the Value field value if set, zero value otherwise.
-func (o *JobStatus) GetValue() JobStatusValue {
+func (o *RackWidth) GetValue() RackWidthValue {
if o == nil || IsNil(o.Value) {
- var ret JobStatusValue
+ var ret RackWidthValue
return ret
}
return *o.Value
@@ -54,7 +54,7 @@ func (o *JobStatus) GetValue() JobStatusValue {
// 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 *JobStatus) GetValueOk() (*JobStatusValue, bool) {
+func (o *RackWidth) GetValueOk() (*RackWidthValue, bool) {
if o == nil || IsNil(o.Value) {
return nil, false
}
@@ -62,7 +62,7 @@ func (o *JobStatus) GetValueOk() (*JobStatusValue, bool) {
}
// HasValue returns a boolean if a field has been set.
-func (o *JobStatus) HasValue() bool {
+func (o *RackWidth) HasValue() bool {
if o != nil && !IsNil(o.Value) {
return true
}
@@ -70,15 +70,15 @@ func (o *JobStatus) HasValue() bool {
return false
}
-// SetValue gets a reference to the given JobStatusValue and assigns it to the Value field.
-func (o *JobStatus) SetValue(v JobStatusValue) {
+// 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 *JobStatus) GetLabel() JobStatusLabel {
+func (o *RackWidth) GetLabel() RackWidthLabel {
if o == nil || IsNil(o.Label) {
- var ret JobStatusLabel
+ var ret RackWidthLabel
return ret
}
return *o.Label
@@ -86,7 +86,7 @@ func (o *JobStatus) GetLabel() JobStatusLabel {
// 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 *JobStatus) GetLabelOk() (*JobStatusLabel, bool) {
+func (o *RackWidth) GetLabelOk() (*RackWidthLabel, bool) {
if o == nil || IsNil(o.Label) {
return nil, false
}
@@ -94,7 +94,7 @@ func (o *JobStatus) GetLabelOk() (*JobStatusLabel, bool) {
}
// HasLabel returns a boolean if a field has been set.
-func (o *JobStatus) HasLabel() bool {
+func (o *RackWidth) HasLabel() bool {
if o != nil && !IsNil(o.Label) {
return true
}
@@ -102,12 +102,12 @@ func (o *JobStatus) HasLabel() bool {
return false
}
-// SetLabel gets a reference to the given JobStatusLabel and assigns it to the Label field.
-func (o *JobStatus) SetLabel(v JobStatusLabel) {
+// 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 JobStatus) MarshalJSON() ([]byte, error) {
+func (o RackWidth) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
@@ -115,7 +115,7 @@ func (o JobStatus) MarshalJSON() ([]byte, error) {
return json.Marshal(toSerialize)
}
-func (o JobStatus) ToMap() (map[string]interface{}, error) {
+func (o RackWidth) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Value) {
toSerialize["value"] = o.Value
@@ -131,16 +131,16 @@ func (o JobStatus) ToMap() (map[string]interface{}, error) {
return toSerialize, nil
}
-func (o *JobStatus) UnmarshalJSON(data []byte) (err error) {
- varJobStatus := _JobStatus{}
+func (o *RackWidth) UnmarshalJSON(data []byte) (err error) {
+ varRackWidth := _RackWidth{}
- err = json.Unmarshal(data, &varJobStatus)
+ err = json.Unmarshal(data, &varRackWidth)
if err != nil {
return err
}
- *o = JobStatus(varJobStatus)
+ *o = RackWidth(varRackWidth)
additionalProperties := make(map[string]interface{})
@@ -153,38 +153,38 @@ func (o *JobStatus) UnmarshalJSON(data []byte) (err error) {
return err
}
-type NullableJobStatus struct {
- value *JobStatus
+type NullableRackWidth struct {
+ value *RackWidth
isSet bool
}
-func (v NullableJobStatus) Get() *JobStatus {
+func (v NullableRackWidth) Get() *RackWidth {
return v.value
}
-func (v *NullableJobStatus) Set(val *JobStatus) {
+func (v *NullableRackWidth) Set(val *RackWidth) {
v.value = val
v.isSet = true
}
-func (v NullableJobStatus) IsSet() bool {
+func (v NullableRackWidth) IsSet() bool {
return v.isSet
}
-func (v *NullableJobStatus) Unset() {
+func (v *NullableRackWidth) Unset() {
v.value = nil
v.isSet = false
}
-func NewNullableJobStatus(val *JobStatus) *NullableJobStatus {
- return &NullableJobStatus{value: val, isSet: true}
+func NewNullableRackWidth(val *RackWidth) *NullableRackWidth {
+ return &NullableRackWidth{value: val, isSet: true}
}
-func (v NullableJobStatus) MarshalJSON() ([]byte, error) {
+func (v NullableRackWidth) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
-func (v *NullableJobStatus) UnmarshalJSON(src []byte) error {
+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 0000000000..e4c4fa1106
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..7c4e24b47b
--- /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.0.11 (4.0)
+*/
+
+// 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 874ce1541c..0f93135e3c 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,12 +21,12 @@ 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"`
+ 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 +35,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 +55,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
@@ -154,9 +154,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 +165,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 +173,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 +189,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 +205,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 +429,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 +442,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 +450,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 +503,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.
@@ -703,7 +705,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
}
diff --git a/model_rear_port_request.go b/model_rear_port_request.go
index 0ea93e90ed..dc60cdec3c 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.0.11 (4.0)
*/
// 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 c0fc38788d..379b1cd858 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.0.11 (4.0)
*/
// 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 094c72a2dc..68d5e00f0f 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.0.11 (4.0)
*/
// 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 41939f6356..53b2d21b8f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_region_request.go b/model_region_request.go
index a014b48115..f1ce2d929a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_rir.go b/model_rir.go
index 503050bfc1..1033e67084 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.0.11 (4.0)
*/
// 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,19 @@ 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"`
+ 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 +43,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
}
@@ -175,6 +184,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 +248,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 {
@@ -246,9 +403,20 @@ func (o RIR) ToMap() (map[string]interface{}, error) {
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 +436,8 @@ func (o *RIR) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"aggregate_count",
}
@@ -303,7 +473,12 @@ func (o *RIR) UnmarshalJSON(data []byte) (err error) {
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 c7ddc0294b..ad6610dd92 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.0.11 (4.0)
*/
// 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 41ad3c7c58..c0b98be6be 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.0.11 (4.0)
*/
// 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,19 @@ 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"`
+ 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"`
+ VlanCount int64 `json:"vlan_count"`
AdditionalProperties map[string]interface{}
}
@@ -37,13 +43,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, prefixCount int64, vlanCount int64) *Role {
this := Role{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
this.Slug = slug
+ this.Created = created
+ this.LastUpdated = lastUpdated
this.PrefixCount = prefixCount
this.VlanCount = vlanCount
return &this
@@ -177,6 +185,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,6 +249,122 @@ func (o *Role) SetDescription(v string) {
o.Description = &v
}
+// 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 {
+ 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.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 *Role) GetLastUpdatedOk() (*time.Time, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return o.LastUpdated.Get(), o.LastUpdated.IsSet()
+}
+
+// SetLastUpdated sets field value
+func (o *Role) SetLastUpdated(v time.Time) {
+ o.LastUpdated.Set(&v)
+}
+
// GetPrefixCount returns the PrefixCount field value
func (o *Role) GetPrefixCount() int64 {
if o == nil {
@@ -272,9 +428,20 @@ func (o Role) ToMap() (map[string]interface{}, error) {
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
}
+ 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["prefix_count"] = o.PrefixCount
toSerialize["vlan_count"] = o.VlanCount
@@ -295,6 +462,8 @@ func (o *Role) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"prefix_count",
"vlan_count",
}
@@ -331,7 +500,12 @@ func (o *Role) UnmarshalJSON(data []byte) (err error) {
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 601cac5595..25bfd905d1 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.0.11 (4.0)
*/
// 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 7856b51ca6..dd38b44bcc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -26,7 +26,7 @@ type RouteTarget struct {
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"`
@@ -158,9 +158,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 +169,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 +185,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)
}
diff --git a/model_route_target_request.go b/model_route_target_request.go
index f913d4bdf1..6777895726 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.0.11 (4.0)
*/
// 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 4282ab65ad..79671bf5ec 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_saved_filter_request.go b/model_saved_filter_request.go
index d38d5ce3eb..b8d1a7f656 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.0.11 (4.0)
*/
// 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 19b41f6a59..da8d6b83f7 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.0.11 (4.0)
*/
// 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 301bf4dbb2..cf104551c9 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.0.11 (4.0)
*/
// 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 738094f17b..acf1f69ef4 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,15 +20,15 @@ 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"`
+ 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 +38,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
@@ -157,27 +157,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 +209,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 +220,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 +228,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
}
@@ -292,7 +294,7 @@ func (o Script) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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
}
diff --git a/model_service.go b/model_service.go
index e12f61b56e..971d965f75 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,21 +21,21 @@ 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"`
+ 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{}
}
@@ -138,9 +138,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 +149,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 +165,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 +181,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 +192,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 +208,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)
}
diff --git a/model_service_protocol.go b/model_service_protocol.go
index bdd3078449..b82da980c3 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.0.11 (4.0)
*/
// 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 b210b80a3a..b8a241727a 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.0.11 (4.0)
*/
// 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 9b3bc7f2be..f0aee824ec 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.0.11 (4.0)
*/
// 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 9d80868778..24e482b332 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_service_template_request.go b/model_service_template_request.go
index 39275e46c0..73ed13abfd 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_site.go b/model_site.go
index 1e847b294b..227a3d6a5f 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.0.11 (4.0)
*/
// 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
@@ -24,9 +25,36 @@ type Site struct {
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"`
+ 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"`
+ PrefixCount int64 `json:"prefix_count"`
+ RackCount int64 `json:"rack_count"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
+ VlanCount int64 `json:"vlan_count"`
AdditionalProperties map[string]interface{}
}
@@ -36,13 +64,21 @@ 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, deviceCount int64, prefixCount int64, rackCount int64, virtualmachineCount int64, vlanCount 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.DeviceCount = deviceCount
+ this.PrefixCount = prefixCount
+ this.RackCount = rackCount
+ this.VirtualmachineCount = virtualmachineCount
+ this.VlanCount = vlanCount
return &this
}
@@ -174,6 +210,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 +478,480 @@ 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
+func (o *Site) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *Site) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+func (o *Site) SetDeviceCount(v int64) {
+ o.DeviceCount = v
+}
+
+// GetPrefixCount returns the PrefixCount field value
+func (o *Site) GetPrefixCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.PrefixCount
+}
+
+// GetPrefixCountOk returns a tuple with the PrefixCount field value
+// and a boolean to check if the value has been set.
+func (o *Site) GetPrefixCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PrefixCount, true
+}
+
+// SetPrefixCount sets field value
+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
+func (o *Site) GetVirtualmachineCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VirtualmachineCount
+}
+
+// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value
+// and a boolean to check if the value has been set.
+func (o *Site) GetVirtualmachineCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VirtualmachineCount, true
+}
+
+// SetVirtualmachineCount sets field value
+func (o *Site) SetVirtualmachineCount(v int64) {
+ o.VirtualmachineCount = v
+}
+
+// GetVlanCount returns the VlanCount field value
+func (o *Site) GetVlanCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VlanCount
+}
+
+// GetVlanCountOk returns a tuple with the VlanCount field value
+// and a boolean to check if the value has been set.
+func (o *Site) GetVlanCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VlanCount, true
+}
+
+// SetVlanCount sets field value
+func (o *Site) SetVlanCount(v int64) {
+ o.VlanCount = v
+}
+
func (o Site) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -221,9 +967,59 @@ func (o Site) ToMap() (map[string]interface{}, error) {
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
+ toSerialize["device_count"] = o.DeviceCount
+ toSerialize["prefix_count"] = o.PrefixCount
+ toSerialize["rack_count"] = o.RackCount
+ toSerialize["virtualmachine_count"] = o.VirtualmachineCount
+ toSerialize["vlan_count"] = o.VlanCount
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -242,6 +1038,14 @@ func (o *Site) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
+ "circuit_count",
+ "device_count",
+ "prefix_count",
+ "rack_count",
+ "virtualmachine_count",
+ "vlan_count",
}
allProperties := make(map[string]interface{})
@@ -276,7 +1080,29 @@ func (o *Site) UnmarshalJSON(data []byte) (err error) {
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 36320a38d7..759a9240a8 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_site_group_request.go b/model_site_group_request.go
index 1cd1ab1c56..521276ec8d 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.0.11 (4.0)
*/
// 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 60b8fd8dc9..5bc53337cf 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.0.11 (4.0)
*/
// 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_tag.go b/model_tag.go
index 976b2af1a6..1137739e3a 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_tag_request.go b/model_tag_request.go
index 3e2e1c595d..0f8e139540 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_tenancy_contact_assignments_list_priority_parameter.go b/model_tenancy_contact_assignments_list_priority_parameter.go
index abf291b5b1..db693f3348 100644
--- a/model_tenancy_contact_assignments_list_priority_parameter.go
+++ b/model_tenancy_contact_assignments_list_priority_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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_tenant.go b/model_tenant.go
index 0c4232d933..71d47a409a 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.0.11 (4.0)
*/
// 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,28 @@ 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"`
+ 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"`
+ IpaddressCount int64 `json:"ipaddress_count"`
+ PrefixCount int64 `json:"prefix_count"`
+ RackCount int64 `json:"rack_count"`
+ SiteCount int64 `json:"site_count"`
+ VirtualmachineCount int64 `json:"virtualmachine_count"`
+ VlanCount int64 `json:"vlan_count"`
+ VrfCount int64 `json:"vrf_count"`
+ ClusterCount int64 `json:"cluster_count"`
AdditionalProperties map[string]interface{}
}
@@ -35,13 +52,25 @@ 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, deviceCount int64, ipaddressCount int64, prefixCount int64, rackCount int64, siteCount int64, virtualmachineCount int64, vlanCount 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.DeviceCount = deviceCount
+ this.IpaddressCount = ipaddressCount
+ this.PrefixCount = prefixCount
+ this.RackCount = rackCount
+ this.SiteCount = siteCount
+ this.VirtualmachineCount = virtualmachineCount
+ this.VlanCount = vlanCount
+ this.VrfCount = vrfCount
+ this.ClusterCount = clusterCount
return &this
}
@@ -173,6 +202,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 +277,394 @@ 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
+func (o *Tenant) GetDeviceCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.DeviceCount
+}
+
+// GetDeviceCountOk returns a tuple with the DeviceCount field value
+// and a boolean to check if the value has been set.
+func (o *Tenant) GetDeviceCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.DeviceCount, true
+}
+
+// SetDeviceCount sets field value
+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
+func (o *Tenant) GetPrefixCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.PrefixCount
+}
+
+// GetPrefixCountOk returns a tuple with the PrefixCount field value
+// and a boolean to check if the value has been set.
+func (o *Tenant) GetPrefixCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PrefixCount, true
+}
+
+// SetPrefixCount sets field value
+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
+func (o *Tenant) GetVirtualmachineCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VirtualmachineCount
+}
+
+// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value
+// and a boolean to check if the value has been set.
+func (o *Tenant) GetVirtualmachineCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VirtualmachineCount, true
+}
+
+// SetVirtualmachineCount sets field value
+func (o *Tenant) SetVirtualmachineCount(v int64) {
+ o.VirtualmachineCount = v
+}
+
+// GetVlanCount returns the VlanCount field value
+func (o *Tenant) GetVlanCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.VlanCount
+}
+
+// GetVlanCountOk returns a tuple with the VlanCount field value
+// and a boolean to check if the value has been set.
+func (o *Tenant) GetVlanCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.VlanCount, true
+}
+
+// SetVlanCount sets field value
+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 {
@@ -220,9 +680,33 @@ func (o Tenant) ToMap() (map[string]interface{}, error) {
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
+ toSerialize["device_count"] = o.DeviceCount
+ toSerialize["ipaddress_count"] = o.IpaddressCount
+ toSerialize["prefix_count"] = o.PrefixCount
+ toSerialize["rack_count"] = o.RackCount
+ toSerialize["site_count"] = o.SiteCount
+ toSerialize["virtualmachine_count"] = o.VirtualmachineCount
+ 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 +725,18 @@ func (o *Tenant) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
+ "circuit_count",
+ "device_count",
+ "ipaddress_count",
+ "prefix_count",
+ "rack_count",
+ "site_count",
+ "virtualmachine_count",
+ "vlan_count",
+ "vrf_count",
+ "cluster_count",
}
allProperties := make(map[string]interface{})
@@ -275,7 +771,23 @@ func (o *Tenant) UnmarshalJSON(data []byte) (err error) {
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 ef3aab867f..ae53f8c62d 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_tenant_group_request.go b/model_tenant_group_request.go
index 70e0f8dfcf..67bf900518 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.0.11 (4.0)
*/
// 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 5b7a6cb221..1edf0a9714 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.0.11 (4.0)
*/
// 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 8c028ef173..04a1a8a0bc 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.0.11 (4.0)
*/
// 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 c68e40d672..637d79f5bb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_token.go b/model_token.go
index 017655fd02..7c288e1fea 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,7 +24,7 @@ type Token struct {
Id int32 `json:"id"`
Url string `json:"url"`
Display string `json:"display"`
- User User `json:"user"`
+ User BriefUser `json:"user"`
Created time.Time `json:"created"`
Expires NullableTime `json:"expires,omitempty"`
LastUsed NullableTime `json:"last_used,omitempty"`
@@ -41,7 +41,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
@@ -132,9 +132,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 +143,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 +151,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
}
diff --git a/model_token_provision.go b/model_token_provision.go
index d2058fd4a3..119b624332 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,7 +24,7 @@ type TokenProvision struct {
Id int32 `json:"id"`
Url string `json:"url"`
Display string `json:"display"`
- User User `json:"user"`
+ User BriefUser `json:"user"`
Created time.Time `json:"created"`
Expires NullableTime `json:"expires,omitempty"`
LastUsed time.Time `json:"last_used"`
@@ -41,7 +41,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
@@ -134,9 +134,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 +145,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 +153,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
}
diff --git a/model_token_provision_request.go b/model_token_provision_request.go
index f880694d45..f160676d13 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.0.11 (4.0)
*/
// 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 a472e96504..6c4543befa 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.0.11 (4.0)
*/
// 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 b947b58fc7..c9ca0c5c09 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.0.11 (4.0)
*/
// 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,23 @@ 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"`
+ 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 +47,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
}
@@ -147,6 +165,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 +417,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 {
@@ -193,9 +603,35 @@ func (o Tunnel) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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 +649,11 @@ func (o *Tunnel) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "status",
+ "encapsulation",
+ "created",
+ "last_updated",
+ "terminations_count",
}
allProperties := make(map[string]interface{})
@@ -246,7 +687,19 @@ func (o *Tunnel) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 0000000000..14537fafe3
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..af3928b61f
--- /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.0.11 (4.0)
+*/
+
+// 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 c4ba9d081b..0dde98c538 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_tunnel_group_request.go b/model_tunnel_group_request.go
index f19727186e..2c98c9278c 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.0.11 (4.0)
*/
// 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 c6e7ce5600..73d0451f37 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.0.11 (4.0)
*/
// 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 0000000000..5ced22d468
--- /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.0.11 (4.0)
+*/
+
+// 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 0000000000..a23938dfff
--- /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.0.11 (4.0)
+*/
+
+// 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 014447ce24..be2e2b4ebc 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,12 +24,12 @@ type TunnelTermination struct {
Id int32 `json:"id"`
Url string `json:"url"`
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 +43,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
@@ -139,9 +139,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 +150,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 +158,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 +263,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 +274,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 +290,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)
}
diff --git a/model_tunnel_termination_request.go b/model_tunnel_termination_request.go
index d38e99b538..09b9b94448 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.0.11 (4.0)
*/
// 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 fe1ea1a389..6b0e46a0c2 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.0.11 (4.0)
*/
// 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 f59fb7fd85..fb6d4e129b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_user.go b/model_user.go
index 09bd2a3cd0..fd59714094 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.0.11 (4.0)
*/
// 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
@@ -24,7 +25,18 @@ type User struct {
Url string `json:"url"`
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{}
}
@@ -147,6 +159,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 {
@@ -161,6 +472,33 @@ func (o User) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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
@@ -211,6 +549,15 @@ func (o *User) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 33ff7942b1..887d8a88dd 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.0.11 (4.0)
*/
// 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 c23f982763..4cf433e935 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.0.11 (4.0)
*/
// 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,20 @@ 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"`
+ 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 +44,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
}
@@ -150,6 +161,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 +268,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 +440,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 {
@@ -263,13 +478,28 @@ func (o VirtualChassis) ToMap() (map[string]interface{}, error) {
toSerialize["url"] = o.Url
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 +517,10 @@ func (o *VirtualChassis) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "created",
+ "last_updated",
"member_count",
+ "members",
}
allProperties := make(map[string]interface{})
@@ -321,9 +554,16 @@ func (o *VirtualChassis) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "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 12a6c68c63..802452f77a 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.0.11 (4.0)
*/
// 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 8e7c0ec50b..45c98b7245 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -25,12 +25,12 @@ type VirtualDeviceContext struct {
Url string `json:"url"`
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 +48,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
@@ -168,9 +168,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 +179,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 +187,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 +235,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 +246,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 +262,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 +278,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 +291,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 +299,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 +315,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 +331,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 +347,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 +358,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 +374,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)
}
diff --git a/model_virtual_device_context_request.go b/model_virtual_device_context_request.go
index 64ba644f61..3ce1ea223f 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.0.11 (4.0)
*/
// 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 121a4f6ab1..16b51250c8 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.0.11 (4.0)
*/
// 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 01cf885efd..8c56198eda 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.0.11 (4.0)
*/
// 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 581eae9f10..8017899a2b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,7 +24,7 @@ type VirtualDisk struct {
Id int32 `json:"id"`
Url string `json:"url"`
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 +41,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
@@ -135,9 +135,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 +146,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 +154,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
}
diff --git a/model_virtual_disk_request.go b/model_virtual_disk_request.go
index 1403ba9b13..5aabf25f92 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.0.11 (4.0)
*/
// 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 b51baaf129..a00e746c65 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,26 +21,26 @@ 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"`
+ 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"`
+ 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 +59,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
@@ -179,9 +179,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 +189,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 +205,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 +222,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 +238,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 +254,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 +265,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 +281,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 +297,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 +308,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 +324,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)
}
@@ -340,9 +340,9 @@ func (o *VirtualMachineWithConfigContext) UnsetDevice() {
}
// 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 +351,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 +367,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 +383,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 +394,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 +410,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 +426,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 +437,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 +453,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 +469,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 +482,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 +490,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 +506,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 +522,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 +538,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 +549,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 +565,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 +774,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 +785,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 +801,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)
}
diff --git a/model_virtual_machine_with_config_context_request.go b/model_virtual_machine_with_config_context_request.go
index 7795d684aa..0f13430b76 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,22 +20,22 @@ 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"`
+ 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 +88,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 +98,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 +114,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 +131,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 +147,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 +163,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 +174,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 +190,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 +206,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 +217,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 +233,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)
}
@@ -249,9 +249,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetDevice() {
}
// 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 +260,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 +276,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 +292,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 +303,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 +319,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 +335,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 +346,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 +362,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 +378,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 +389,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 +405,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 +421,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 +432,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 +448,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 +657,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 +668,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 +684,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)
}
diff --git a/model_virtual_machine_with_config_context_status.go b/model_virtual_machine_with_config_context_status.go
deleted file mode 100644
index 6d5d1e923b..0000000000
--- a/model_virtual_machine_with_config_context_status.go
+++ /dev/null
@@ -1,190 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
-)
-
-// checks if the VirtualMachineWithConfigContextStatus type satisfies the MappedNullable interface at compile time
-var _ MappedNullable = &VirtualMachineWithConfigContextStatus{}
-
-// VirtualMachineWithConfigContextStatus struct for VirtualMachineWithConfigContextStatus
-type VirtualMachineWithConfigContextStatus struct {
- Value *PatchedWritableModuleRequestStatus `json:"value,omitempty"`
- Label *VirtualMachineWithConfigContextStatusLabel `json:"label,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _VirtualMachineWithConfigContextStatus VirtualMachineWithConfigContextStatus
-
-// NewVirtualMachineWithConfigContextStatus instantiates a new VirtualMachineWithConfigContextStatus object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewVirtualMachineWithConfigContextStatus() *VirtualMachineWithConfigContextStatus {
- this := VirtualMachineWithConfigContextStatus{}
- return &this
-}
-
-// NewVirtualMachineWithConfigContextStatusWithDefaults instantiates a new VirtualMachineWithConfigContextStatus object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewVirtualMachineWithConfigContextStatusWithDefaults() *VirtualMachineWithConfigContextStatus {
- this := VirtualMachineWithConfigContextStatus{}
- return &this
-}
-
-// GetValue returns the Value field value if set, zero value otherwise.
-func (o *VirtualMachineWithConfigContextStatus) GetValue() PatchedWritableModuleRequestStatus {
- if o == nil || IsNil(o.Value) {
- var ret PatchedWritableModuleRequestStatus
- 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 *VirtualMachineWithConfigContextStatus) GetValueOk() (*PatchedWritableModuleRequestStatus, 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 *VirtualMachineWithConfigContextStatus) HasValue() bool {
- if o != nil && !IsNil(o.Value) {
- return true
- }
-
- return false
-}
-
-// SetValue gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Value field.
-func (o *VirtualMachineWithConfigContextStatus) SetValue(v PatchedWritableModuleRequestStatus) {
- o.Value = &v
-}
-
-// GetLabel returns the Label field value if set, zero value otherwise.
-func (o *VirtualMachineWithConfigContextStatus) GetLabel() VirtualMachineWithConfigContextStatusLabel {
- if o == nil || IsNil(o.Label) {
- var ret VirtualMachineWithConfigContextStatusLabel
- 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 *VirtualMachineWithConfigContextStatus) GetLabelOk() (*VirtualMachineWithConfigContextStatusLabel, 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 *VirtualMachineWithConfigContextStatus) HasLabel() bool {
- if o != nil && !IsNil(o.Label) {
- return true
- }
-
- return false
-}
-
-// SetLabel gets a reference to the given VirtualMachineWithConfigContextStatusLabel and assigns it to the Label field.
-func (o *VirtualMachineWithConfigContextStatus) SetLabel(v VirtualMachineWithConfigContextStatusLabel) {
- o.Label = &v
-}
-
-func (o VirtualMachineWithConfigContextStatus) MarshalJSON() ([]byte, error) {
- toSerialize, err := o.ToMap()
- if err != nil {
- return []byte{}, err
- }
- return json.Marshal(toSerialize)
-}
-
-func (o VirtualMachineWithConfigContextStatus) 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 *VirtualMachineWithConfigContextStatus) UnmarshalJSON(data []byte) (err error) {
- varVirtualMachineWithConfigContextStatus := _VirtualMachineWithConfigContextStatus{}
-
- err = json.Unmarshal(data, &varVirtualMachineWithConfigContextStatus)
-
- if err != nil {
- return err
- }
-
- *o = VirtualMachineWithConfigContextStatus(varVirtualMachineWithConfigContextStatus)
-
- 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 NullableVirtualMachineWithConfigContextStatus struct {
- value *VirtualMachineWithConfigContextStatus
- isSet bool
-}
-
-func (v NullableVirtualMachineWithConfigContextStatus) Get() *VirtualMachineWithConfigContextStatus {
- return v.value
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatus) Set(val *VirtualMachineWithConfigContextStatus) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableVirtualMachineWithConfigContextStatus) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatus) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableVirtualMachineWithConfigContextStatus(val *VirtualMachineWithConfigContextStatus) *NullableVirtualMachineWithConfigContextStatus {
- return &NullableVirtualMachineWithConfigContextStatus{value: val, isSet: true}
-}
-
-func (v NullableVirtualMachineWithConfigContextStatus) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatus) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_virtual_machine_with_config_context_status_label.go b/model_virtual_machine_with_config_context_status_label.go
deleted file mode 100644
index a91af2d260..0000000000
--- a/model_virtual_machine_with_config_context_status_label.go
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// VirtualMachineWithConfigContextStatusLabel the model 'VirtualMachineWithConfigContextStatusLabel'
-type VirtualMachineWithConfigContextStatusLabel string
-
-// List of VirtualMachineWithConfigContext_status_label
-const (
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_OFFLINE VirtualMachineWithConfigContextStatusLabel = "Offline"
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_ACTIVE VirtualMachineWithConfigContextStatusLabel = "Active"
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_PLANNED VirtualMachineWithConfigContextStatusLabel = "Planned"
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_STAGED VirtualMachineWithConfigContextStatusLabel = "Staged"
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_FAILED VirtualMachineWithConfigContextStatusLabel = "Failed"
- VIRTUALMACHINEWITHCONFIGCONTEXTSTATUSLABEL_DECOMMISSIONING VirtualMachineWithConfigContextStatusLabel = "Decommissioning"
-)
-
-// All allowed values of VirtualMachineWithConfigContextStatusLabel enum
-var AllowedVirtualMachineWithConfigContextStatusLabelEnumValues = []VirtualMachineWithConfigContextStatusLabel{
- "Offline",
- "Active",
- "Planned",
- "Staged",
- "Failed",
- "Decommissioning",
-}
-
-func (v *VirtualMachineWithConfigContextStatusLabel) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := VirtualMachineWithConfigContextStatusLabel(value)
- for _, existing := range AllowedVirtualMachineWithConfigContextStatusLabelEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid VirtualMachineWithConfigContextStatusLabel", value)
-}
-
-// NewVirtualMachineWithConfigContextStatusLabelFromValue returns a pointer to a valid VirtualMachineWithConfigContextStatusLabel
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewVirtualMachineWithConfigContextStatusLabelFromValue(v string) (*VirtualMachineWithConfigContextStatusLabel, error) {
- ev := VirtualMachineWithConfigContextStatusLabel(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for VirtualMachineWithConfigContextStatusLabel: valid values are %v", v, AllowedVirtualMachineWithConfigContextStatusLabelEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v VirtualMachineWithConfigContextStatusLabel) IsValid() bool {
- for _, existing := range AllowedVirtualMachineWithConfigContextStatusLabelEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to VirtualMachineWithConfigContext_status_label value
-func (v VirtualMachineWithConfigContextStatusLabel) Ptr() *VirtualMachineWithConfigContextStatusLabel {
- return &v
-}
-
-type NullableVirtualMachineWithConfigContextStatusLabel struct {
- value *VirtualMachineWithConfigContextStatusLabel
- isSet bool
-}
-
-func (v NullableVirtualMachineWithConfigContextStatusLabel) Get() *VirtualMachineWithConfigContextStatusLabel {
- return v.value
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatusLabel) Set(val *VirtualMachineWithConfigContextStatusLabel) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableVirtualMachineWithConfigContextStatusLabel) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatusLabel) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableVirtualMachineWithConfigContextStatusLabel(val *VirtualMachineWithConfigContextStatusLabel) *NullableVirtualMachineWithConfigContextStatusLabel {
- return &NullableVirtualMachineWithConfigContextStatusLabel{value: val, isSet: true}
-}
-
-func (v NullableVirtualMachineWithConfigContextStatusLabel) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableVirtualMachineWithConfigContextStatusLabel) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/model_vlan.go b/model_vlan.go
index 434660f55d..9947198131 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.0.11 (4.0)
*/
// 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,25 @@ 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"`
+ 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"`
AdditionalProperties map[string]interface{}
}
@@ -36,13 +49,17 @@ 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, prefixCount int64) *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
+ this.PrefixCount = prefixCount
return &this
}
@@ -126,6 +143,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 +277,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 +427,204 @@ 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
+func (o *VLAN) GetPrefixCount() int64 {
+ if o == nil {
+ var ret int64
+ return ret
+ }
+
+ return o.PrefixCount
+}
+
+// GetPrefixCountOk returns a tuple with the PrefixCount field value
+// and a boolean to check if the value has been set.
+func (o *VLAN) GetPrefixCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.PrefixCount, true
+}
+
+// SetPrefixCount sets field value
+func (o *VLAN) SetPrefixCount(v int64) {
+ o.PrefixCount = v
+}
+
func (o VLAN) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
@@ -219,11 +638,39 @@ func (o VLAN) ToMap() (map[string]interface{}, error) {
toSerialize["id"] = o.Id
toSerialize["url"] = o.Url
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()
+ toSerialize["prefix_count"] = o.PrefixCount
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
@@ -242,6 +689,10 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) {
"display",
"vid",
"name",
+ "l2vpn_termination",
+ "created",
+ "last_updated",
+ "prefix_count",
}
allProperties := make(map[string]interface{})
@@ -274,9 +725,21 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) {
delete(additionalProperties, "id")
delete(additionalProperties, "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 4ec3a49910..d1cd991bb3 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_vlan_group_request.go b/model_vlan_group_request.go
index fb2c9e458a..6e48df1a7b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_vlan_request.go b/model_vlan_request.go
index af65d4166c..39f1ced6a8 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.0.11 (4.0)
*/
// 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 ebe068fef1..fec6dff7fa 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,28 +21,28 @@ 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"`
+ 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 +52,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
@@ -148,9 +148,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 +159,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 +167,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 +464,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 +475,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 +491,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 +539,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 +550,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 +566,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 +582,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 +595,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 +603,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)
}
diff --git a/model_vm_interface_request.go b/model_vm_interface_request.go
index 17f56f8698..5bc1b4d930 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.0.11 (4.0)
*/
// 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_vrf.go b/model_vrf.go
index 6f16484c97..3370063600 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.0.11 (4.0)
*/
// 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
@@ -25,9 +26,20 @@ type VRF struct {
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"`
AdditionalProperties map[string]interface{}
}
@@ -37,12 +49,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, prefixCount int64) *VRF {
this := VRF{}
this.Id = id
this.Url = url
this.Display = display
this.Name = name
+ this.Created = created
+ this.LastUpdated = lastUpdated
+ this.IpaddressCount = ipaddressCount
this.PrefixCount = prefixCount
return &this
}
@@ -194,6 +209,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,6 +316,242 @@ func (o *VRF) SetDescription(v string) {
o.Description = &v
}
+// 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.IpaddressCount
+}
+
+// GetIpaddressCountOk returns a tuple with the IpaddressCount field value
+// and a boolean to check if the value has been set.
+func (o *VRF) GetIpaddressCountOk() (*int64, bool) {
+ if o == nil {
+ return nil, false
+ }
+ return &o.IpaddressCount, true
+}
+
+// SetIpaddressCount sets field value
+func (o *VRF) SetIpaddressCount(v int64) {
+ o.IpaddressCount = v
+}
+
// GetPrefixCount returns the PrefixCount field value
func (o *VRF) GetPrefixCount() int64 {
if o == nil {
@@ -267,9 +593,33 @@ func (o VRF) 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
+ }
+ toSerialize["created"] = o.Created.Get()
+ toSerialize["last_updated"] = o.LastUpdated.Get()
+ toSerialize["ipaddress_count"] = o.IpaddressCount
toSerialize["prefix_count"] = o.PrefixCount
for key, value := range o.AdditionalProperties {
@@ -288,6 +638,9 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) {
"url",
"display",
"name",
+ "created",
+ "last_updated",
+ "ipaddress_count",
"prefix_count",
}
@@ -323,7 +676,17 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) {
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 16ae86557b..ffb508142e 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.0.11 (4.0)
*/
// 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 598066292e..bcf8f94aea 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_webhook_request.go b/model_webhook_request.go
index 09152c9ce7..8a5ac0f398 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.0.11 (4.0)
*/
// 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 0950f88f11..ccb86de048 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_wireless_lan.go b/model_wireless_lan.go
index 4825664b88..58d6c85b21 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,23 +21,23 @@ 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"`
+ 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{}
}
@@ -195,9 +195,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 +206,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 +222,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 +270,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 +281,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 +297,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 +313,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 +324,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 +340,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)
}
diff --git a/model_wireless_lan_auth_cipher.go b/model_wireless_lan_auth_cipher.go
index 7edf6beb18..d7f90e0b73 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.0.11 (4.0)
*/
// 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 212607db6f..fdf2708b75 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.0.11 (4.0)
*/
// 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 e601548bda..bc15db11aa 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.0.11 (4.0)
*/
// 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 5d67cd3175..9b938a8fe9 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.0.11 (4.0)
*/
// 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 3a804f5bc4..e89f1afa65 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.0.11 (4.0)
*/
// 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 aa1b05122b..cf68c745ea 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.0.11 (4.0)
*/
// 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 ca2ffb94fc..636f75c86e 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.0.11 (4.0)
*/
// 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,19 @@ 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"`
+ 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 +43,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
@@ -177,6 +185,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 +260,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 {
@@ -272,9 +439,20 @@ func (o WirelessLANGroup) ToMap() (map[string]interface{}, error) {
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 +473,8 @@ func (o *WirelessLANGroup) UnmarshalJSON(data []byte) (err error) {
"display",
"name",
"slug",
+ "created",
+ "last_updated",
"wirelesslan_count",
"_depth",
}
@@ -331,7 +511,12 @@ func (o *WirelessLANGroup) UnmarshalJSON(data []byte) (err error) {
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 7063e6d878..e18fc17847 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.0.11 (4.0)
*/
// 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 f2ac3edde1..4ea92b0669 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.0.11 (4.0)
*/
// 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 0b14b4e127..3ad931f36e 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.0.11 (4.0)
*/
// 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 21057de6fb..ff199599e0 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.0.11 (4.0)
*/
// 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 ac9292d675..c3cf79d8ce 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.0.11 (4.0)
*/
// 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 8626318ea7..2fc900f6cb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -24,11 +24,11 @@ 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"`
+ InterfaceA BriefInterface `json:"interface_a"`
+ InterfaceB BriefInterface `json:"interface_b"`
Ssid *string `json:"ssid,omitempty"`
- Status *WirelessLinkStatus `json:"status,omitempty"`
- Tenant NullableTenant `json:"tenant,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"`
@@ -47,7 +47,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
@@ -140,9 +140,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 +151,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 +159,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 +175,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 +183,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 +220,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 +230,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 +246,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 +263,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 +279,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)
}
diff --git a/model_wireless_link_request.go b/model_wireless_link_request.go
index ac8afc3867..2cfab0ced4 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,18 +20,18 @@ 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"`
+ 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 +41,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 +57,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 +68,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 +76,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 +92,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 +100,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 +137,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 +147,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 +163,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 +180,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 +196,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)
}
diff --git a/model_wireless_link_status_label.go b/model_wireless_link_status_label.go
deleted file mode 100644
index b4c304acf8..0000000000
--- a/model_wireless_link_status_label.go
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
-NetBox REST API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 4.0.3 (4.0)
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package netbox
-
-import (
- "encoding/json"
- "fmt"
-)
-
-// WirelessLinkStatusLabel the model 'WirelessLinkStatusLabel'
-type WirelessLinkStatusLabel string
-
-// List of WirelessLink_status_label
-const (
- WIRELESSLINKSTATUSLABEL_CONNECTED WirelessLinkStatusLabel = "Connected"
- WIRELESSLINKSTATUSLABEL_PLANNED WirelessLinkStatusLabel = "Planned"
- WIRELESSLINKSTATUSLABEL_DECOMMISSIONING WirelessLinkStatusLabel = "Decommissioning"
-)
-
-// All allowed values of WirelessLinkStatusLabel enum
-var AllowedWirelessLinkStatusLabelEnumValues = []WirelessLinkStatusLabel{
- "Connected",
- "Planned",
- "Decommissioning",
-}
-
-func (v *WirelessLinkStatusLabel) UnmarshalJSON(src []byte) error {
- var value string
- err := json.Unmarshal(src, &value)
- if err != nil {
- return err
- }
- enumTypeValue := WirelessLinkStatusLabel(value)
- for _, existing := range AllowedWirelessLinkStatusLabelEnumValues {
- if existing == enumTypeValue {
- *v = enumTypeValue
- return nil
- }
- }
-
- return fmt.Errorf("%+v is not a valid WirelessLinkStatusLabel", value)
-}
-
-// NewWirelessLinkStatusLabelFromValue returns a pointer to a valid WirelessLinkStatusLabel
-// for the value passed as argument, or an error if the value passed is not allowed by the enum
-func NewWirelessLinkStatusLabelFromValue(v string) (*WirelessLinkStatusLabel, error) {
- ev := WirelessLinkStatusLabel(v)
- if ev.IsValid() {
- return &ev, nil
- } else {
- return nil, fmt.Errorf("invalid value '%v' for WirelessLinkStatusLabel: valid values are %v", v, AllowedWirelessLinkStatusLabelEnumValues)
- }
-}
-
-// IsValid return true if the value is valid for the enum, false otherwise
-func (v WirelessLinkStatusLabel) IsValid() bool {
- for _, existing := range AllowedWirelessLinkStatusLabelEnumValues {
- if existing == v {
- return true
- }
- }
- return false
-}
-
-// Ptr returns reference to WirelessLink_status_label value
-func (v WirelessLinkStatusLabel) Ptr() *WirelessLinkStatusLabel {
- return &v
-}
-
-type NullableWirelessLinkStatusLabel struct {
- value *WirelessLinkStatusLabel
- isSet bool
-}
-
-func (v NullableWirelessLinkStatusLabel) Get() *WirelessLinkStatusLabel {
- return v.value
-}
-
-func (v *NullableWirelessLinkStatusLabel) Set(val *WirelessLinkStatusLabel) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableWirelessLinkStatusLabel) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableWirelessLinkStatusLabel) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableWirelessLinkStatusLabel(val *WirelessLinkStatusLabel) *NullableWirelessLinkStatusLabel {
- return &NullableWirelessLinkStatusLabel{value: val, isSet: true}
-}
-
-func (v NullableWirelessLinkStatusLabel) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableWirelessLinkStatusLabel) 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 8aa2042e34..9d1d98ad1b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_writable_aggregate_request.go b/model_writable_aggregate_request.go
index b16c5390bd..cf59e1a95c 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.0.11 (4.0)
*/
// 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 7d440df5e1..7aac0e7129 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.0.11 (4.0)
*/
// 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_request.go b/model_writable_circuit_request.go
index 8b3bc60b27..91d4250e8f 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -21,14 +21,14 @@ 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"`
@@ -44,7 +44,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 +85,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 +96,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 +104,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 +120,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 +136,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 +152,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 +163,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 +171,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 +186,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 +202,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 +219,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 +235,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)
}
diff --git a/model_writable_cluster_request.go b/model_writable_cluster_request.go
index 25402473ef..0eb2be5f2c 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.0.11 (4.0)
*/
// 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 60b31d0af0..281084ad15 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.0.11 (4.0)
*/
// 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 afe73d3de3..99b96a24ed 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.0.11 (4.0)
*/
// 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 8f1c21baaf..d0e5991961 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.0.11 (4.0)
*/
// 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 74ef741d93..6ebef98d23 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.0.11 (4.0)
*/
// 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 39fc360da0..eefde35963 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -22,8 +22,8 @@ var _ MappedNullable = &WritableContactAssignmentRequest{}
type WritableContactAssignmentRequest struct {
ObjectType string `json:"object_type"`
ObjectId int64 `json:"object_id"`
- Contact ContactRequest `json:"contact"`
- Role NullableContactRoleRequest `json:"role,omitempty"`
+ Contact BriefContactRequest `json:"contact"`
+ Role NullableBriefContactRoleRequest `json:"role,omitempty"`
Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"`
Tags []NestedTagRequest `json:"tags,omitempty"`
CustomFields map[string]interface{} `json:"custom_fields,omitempty"`
@@ -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)
}
diff --git a/model_writable_contact_group_request.go b/model_writable_contact_group_request.go
index 18c9c5d250..1cf74e9535 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.0.11 (4.0)
*/
// 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 204ccffd13..08dda3a0bf 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.0.11 (4.0)
*/
// 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 5429f4cc5a..ae38c6427b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -48,9 +48,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{}
}
@@ -670,9 +670,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 +681,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 +697,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)
}
diff --git a/model_writable_data_source_request.go b/model_writable_data_source_request.go
index d661bb97cf..1f59024ad1 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_writable_device_type_request.go b/model_writable_device_type_request.go
index 4275e29a1c..e27ca832f0 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.0.11 (4.0)
*/
// 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 ee7fcd1a6b..55c4a632da 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.0.11 (4.0)
*/
// 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 266bff6f0b..d8414204bb 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_writable_front_port_request.go b/model_writable_front_port_request.go
index a8fb95366d..3a45f0940e 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.0.11 (4.0)
*/
// 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 135e41ea93..28952b595b 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.0.11 (4.0)
*/
// 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 d734a972df..a14ebbb660 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.0.11 (4.0)
*/
// 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 1783b8e238..40a70fd229 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.0.11 (4.0)
*/
// 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 0cefa53d8c..8985d29fe1 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.0.11 (4.0)
*/
// 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"`
@@ -47,16 +47,16 @@ type WritableInterfaceRequest 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 _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)
}
@@ -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 a0d61207ca..72bedaa5c8 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.0.11 (4.0)
*/
// 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
@@ -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)
}
diff --git a/model_writable_ip_address_request.go b/model_writable_ip_address_request.go
index 05fae1d609..6e06f19875 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.0.11 (4.0)
*/
// 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 c93135b4cb..722a28e6e9 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.0.11 (4.0)
*/
// 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 d6599e6732..5c0699f73c 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.0.11 (4.0)
*/
// 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 0f60eeb674..d012f204c8 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.0.11 (4.0)
*/
// 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 f04acc1ab2..3711d1ec16 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/model_writable_journal_entry_request.go b/model_writable_journal_entry_request.go
index ab1c91cc27..e9ff5d16de 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.0.11 (4.0)
*/
// 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 64af85b8da..f91985a946 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.0.11 (4.0)
*/
// 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 4ee75bbce5..a0c0b679f9 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.0.11 (4.0)
*/
// 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 83271a51ea..559c27c351 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.0.11 (4.0)
*/
// 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 a321613feb..45d166a69e 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,16 +20,16 @@ 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"`
+ 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 +39,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 +55,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 +66,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 +74,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
}
@@ -178,9 +178,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 +188,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 +204,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
}
diff --git a/model_writable_power_feed_request.go b/model_writable_power_feed_request.go
index 3a6fcef64d..afd3982d68 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.0.11 (4.0)
*/
// 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 024131d9b7..f64eb7cb6b 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.0.11 (4.0)
*/
// 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 d74116d275..61bc3e5682 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.0.11 (4.0)
*/
// 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 1634269d89..9fc85d26c0 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.0.11 (4.0)
*/
// 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 0f35c5336a..2bde4d6d96 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.0.11 (4.0)
*/
// 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 2b7bd6bba7..374ef77fe0 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.0.11 (4.0)
*/
// 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 fd0dcb9245..5fd93e16cf 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -22,11 +22,11 @@ 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"`
@@ -38,8 +38,8 @@ type WritableRackRequest struct {
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)
@@ -62,7 +62,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 +145,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 +156,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 +164,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 +180,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 +196,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 +212,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 +223,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 +239,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 +287,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 +298,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 +314,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)
}
@@ -619,9 +619,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 +629,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 +645,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
}
diff --git a/model_writable_rear_port_request.go b/model_writable_rear_port_request.go
index 0bd5f8acb0..0d1bba70ab 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.0.11 (4.0)
*/
// 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 68e2467e91..d08360a2f3 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.0.11 (4.0)
*/
// 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 10e3c56c26..138946d4c8 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.0.11 (4.0)
*/
// 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 a3150a1280..6365e224cf 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.0.11 (4.0)
*/
// 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 c7008f3ed2..7ac5db824e 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.0.11 (4.0)
*/
// 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 b0c4346c1f..910bd4923e 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.0.11 (4.0)
*/
// 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 2fcc036008..d8fd729c8a 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.0.11 (4.0)
*/
// 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 a8b1c1775f..df34c20f29 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.0.11 (4.0)
*/
// 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 057faf1f70..2174a27213 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.0.11 (4.0)
*/
// 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 ec11b7d2b4..edb6c41b8a 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.0.11 (4.0)
*/
// 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 76b1664be6..851b0875d9 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.0.11 (4.0)
*/
// 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 9c16e0e714..a66e7a964f 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.0.11 (4.0)
*/
// 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 a24bbacab8..1ecb2b7378 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,22 +20,22 @@ 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"`
+ 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 +88,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 +98,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 +114,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 +131,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 +147,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 +163,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 +174,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 +190,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 +206,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 +217,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 +233,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)
}
@@ -249,9 +249,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetDevice() {
}
// 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 +260,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 +276,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 +292,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 +303,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 +319,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 +335,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 +346,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 +362,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 +378,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 +389,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 +405,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 +421,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 +432,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 +448,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 +657,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 +668,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 +684,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)
}
diff --git a/model_writable_vlan_request.go b/model_writable_vlan_request.go
index 047e6f3899..d3b334f1dd 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.0.11 (4.0)
*/
// 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 3c0acb8009..61893889b0 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.0.11 (4.0)
*/
// 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 e64cce0c93..149cefbbe1 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.0.11 (4.0)
*/
// 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 098a33b0b1..8b21921580 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -22,10 +22,10 @@ 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"`
+ Vlan NullableBriefVLANRequest `json:"vlan,omitempty"`
+ Tenant NullableBriefTenantRequest `json:"tenant,omitempty"`
AuthType *AuthenticationType1 `json:"auth_type,omitempty"`
AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"`
AuthPsk *string `json:"auth_psk,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)
}
diff --git a/model_writable_wireless_link_request.go b/model_writable_wireless_link_request.go
index 84ae70e23c..86759bbf21 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -20,18 +20,18 @@ 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 *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"`
AdditionalProperties map[string]interface{}
}
@@ -41,7 +41,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 +57,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 +68,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 +76,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 +92,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 +100,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 +137,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 +147,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 +163,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 +180,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 +196,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)
}
diff --git a/response.go b/response.go
index d10be0f114..f07a38909b 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/utils.go b/utils.go
index 31b2f6c2e5..8b1c71c140 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.0.11 (4.0)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.