From 9ed4488c5b3c0287c521d304f290ce30ef525ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Nie=C3=9F?= Date: Mon, 3 Oct 2022 18:01:24 +0200 Subject: [PATCH] feat: Add function to modify API requests --- go.mod | 2 +- go.sum | 4 +- netbox/resource_netbox_ipam_ip_addresses.go | 101 +-- netbox/resource_netbox_virtualization_vm.go | 92 ++- netbox/util.go | 146 +++- ...uit_terminations_bulk_delete_parameters.go | 8 +- ...cuit_terminations_bulk_delete_responses.go | 32 +- ...inations_bulk_partial_update_parameters.go | 8 +- ...minations_bulk_partial_update_responses.go | 33 +- ...uit_terminations_bulk_update_parameters.go | 8 +- ...cuit_terminations_bulk_update_responses.go | 33 +- ..._circuit_terminations_create_parameters.go | 8 +- ...s_circuit_terminations_create_responses.go | 33 +- ..._circuit_terminations_delete_parameters.go | 8 +- ...s_circuit_terminations_delete_responses.go | 32 +- ...ts_circuit_terminations_list_parameters.go | 8 +- ...its_circuit_terminations_list_responses.go | 36 +- ..._terminations_partial_update_parameters.go | 8 +- ...t_terminations_partial_update_responses.go | 33 +- ...s_circuit_terminations_paths_parameters.go | 8 +- ...ts_circuit_terminations_paths_responses.go | 33 +- ...ts_circuit_terminations_read_parameters.go | 8 +- ...its_circuit_terminations_read_responses.go | 33 +- ..._circuit_terminations_update_parameters.go | 8 +- ...s_circuit_terminations_update_responses.go | 33 +- ...ts_circuit_types_bulk_delete_parameters.go | 8 +- ...its_circuit_types_bulk_delete_responses.go | 32 +- ...it_types_bulk_partial_update_parameters.go | 8 +- ...uit_types_bulk_partial_update_responses.go | 33 +- ...ts_circuit_types_bulk_update_parameters.go | 8 +- ...its_circuit_types_bulk_update_responses.go | 33 +- ...ircuits_circuit_types_create_parameters.go | 8 +- ...circuits_circuit_types_create_responses.go | 33 +- ...ircuits_circuit_types_delete_parameters.go | 8 +- ...circuits_circuit_types_delete_responses.go | 32 +- .../circuits_circuit_types_list_parameters.go | 8 +- .../circuits_circuit_types_list_responses.go | 36 +- ...circuit_types_partial_update_parameters.go | 8 +- ..._circuit_types_partial_update_responses.go | 33 +- .../circuits_circuit_types_read_parameters.go | 8 +- .../circuits_circuit_types_read_responses.go | 33 +- ...ircuits_circuit_types_update_parameters.go | 8 +- ...circuits_circuit_types_update_responses.go | 33 +- ...ircuits_circuits_bulk_delete_parameters.go | 8 +- ...circuits_circuits_bulk_delete_responses.go | 32 +- ...circuits_bulk_partial_update_parameters.go | 8 +- ..._circuits_bulk_partial_update_responses.go | 33 +- ...ircuits_circuits_bulk_update_parameters.go | 8 +- ...circuits_circuits_bulk_update_responses.go | 33 +- .../circuits_circuits_create_parameters.go | 8 +- .../circuits_circuits_create_responses.go | 33 +- .../circuits_circuits_delete_parameters.go | 8 +- .../circuits_circuits_delete_responses.go | 32 +- .../circuits_circuits_list_parameters.go | 8 +- .../circuits_circuits_list_responses.go | 36 +- ...uits_circuits_partial_update_parameters.go | 8 +- ...cuits_circuits_partial_update_responses.go | 33 +- .../circuits_circuits_read_parameters.go | 8 +- .../circuits_circuits_read_responses.go | 33 +- .../circuits_circuits_update_parameters.go | 8 +- .../circuits_circuits_update_responses.go | 33 +- .../netbox/client/circuits/circuits_client.go | 92 +-- ...rovider_networks_bulk_delete_parameters.go | 8 +- ...provider_networks_bulk_delete_responses.go | 32 +- ...networks_bulk_partial_update_parameters.go | 8 +- ..._networks_bulk_partial_update_responses.go | 33 +- ...rovider_networks_bulk_update_parameters.go | 8 +- ...provider_networks_bulk_update_responses.go | 33 +- ...its_provider_networks_create_parameters.go | 8 +- ...uits_provider_networks_create_responses.go | 33 +- ...its_provider_networks_delete_parameters.go | 8 +- ...uits_provider_networks_delete_responses.go | 32 +- ...cuits_provider_networks_list_parameters.go | 8 +- ...rcuits_provider_networks_list_responses.go | 36 +- ...ider_networks_partial_update_parameters.go | 8 +- ...vider_networks_partial_update_responses.go | 33 +- ...cuits_provider_networks_read_parameters.go | 8 +- ...rcuits_provider_networks_read_responses.go | 33 +- ...its_provider_networks_update_parameters.go | 8 +- ...uits_provider_networks_update_responses.go | 33 +- ...rcuits_providers_bulk_delete_parameters.go | 8 +- ...ircuits_providers_bulk_delete_responses.go | 32 +- ...roviders_bulk_partial_update_parameters.go | 8 +- ...providers_bulk_partial_update_responses.go | 33 +- ...rcuits_providers_bulk_update_parameters.go | 8 +- ...ircuits_providers_bulk_update_responses.go | 33 +- .../circuits_providers_create_parameters.go | 8 +- .../circuits_providers_create_responses.go | 33 +- .../circuits_providers_delete_parameters.go | 8 +- .../circuits_providers_delete_responses.go | 32 +- .../circuits_providers_list_parameters.go | 8 +- .../circuits_providers_list_responses.go | 36 +- ...its_providers_partial_update_parameters.go | 8 +- ...uits_providers_partial_update_responses.go | 33 +- .../circuits_providers_read_parameters.go | 8 +- .../circuits_providers_read_responses.go | 33 +- .../circuits_providers_update_parameters.go | 8 +- .../circuits_providers_update_responses.go | 33 +- .../dcim_cables_bulk_delete_parameters.go | 8 +- .../dcim/dcim_cables_bulk_delete_responses.go | 32 +- ...m_cables_bulk_partial_update_parameters.go | 8 +- ...im_cables_bulk_partial_update_responses.go | 33 +- .../dcim_cables_bulk_update_parameters.go | 8 +- .../dcim/dcim_cables_bulk_update_responses.go | 33 +- .../dcim/dcim_cables_create_parameters.go | 8 +- .../dcim/dcim_cables_create_responses.go | 33 +- .../dcim/dcim_cables_delete_parameters.go | 8 +- .../dcim/dcim_cables_delete_responses.go | 32 +- .../dcim/dcim_cables_list_parameters.go | 8 +- .../client/dcim/dcim_cables_list_responses.go | 36 +- .../dcim_cables_partial_update_parameters.go | 8 +- .../dcim_cables_partial_update_responses.go | 33 +- .../dcim/dcim_cables_read_parameters.go | 8 +- .../client/dcim/dcim_cables_read_responses.go | 33 +- .../dcim/dcim_cables_update_parameters.go | 8 +- .../dcim/dcim_cables_update_responses.go | 33 +- .../v3/netbox/client/dcim/dcim_client.go | 725 +++++++++--------- .../dcim_connected_device_list_parameters.go | 8 +- .../dcim_connected_device_list_responses.go | 33 +- ...e_port_templates_bulk_delete_parameters.go | 8 +- ...le_port_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...e_port_templates_bulk_update_parameters.go | 8 +- ...le_port_templates_bulk_update_responses.go | 33 +- ...onsole_port_templates_create_parameters.go | 8 +- ...console_port_templates_create_responses.go | 33 +- ...onsole_port_templates_delete_parameters.go | 8 +- ...console_port_templates_delete_responses.go | 32 +- ..._console_port_templates_list_parameters.go | 8 +- ...m_console_port_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ..._console_port_templates_read_parameters.go | 8 +- ...m_console_port_templates_read_responses.go | 33 +- ...onsole_port_templates_update_parameters.go | 8 +- ...console_port_templates_update_responses.go | 33 +- ...im_console_ports_bulk_delete_parameters.go | 8 +- ...cim_console_ports_bulk_delete_responses.go | 32 +- ...le_ports_bulk_partial_update_parameters.go | 8 +- ...ole_ports_bulk_partial_update_responses.go | 33 +- ...im_console_ports_bulk_update_parameters.go | 8 +- ...cim_console_ports_bulk_update_responses.go | 33 +- .../dcim_console_ports_create_parameters.go | 8 +- .../dcim_console_ports_create_responses.go | 33 +- .../dcim_console_ports_delete_parameters.go | 8 +- .../dcim_console_ports_delete_responses.go | 32 +- .../dcim_console_ports_list_parameters.go | 8 +- .../dcim/dcim_console_ports_list_responses.go | 36 +- ...console_ports_partial_update_parameters.go | 8 +- ..._console_ports_partial_update_responses.go | 33 +- .../dcim_console_ports_read_parameters.go | 8 +- .../dcim/dcim_console_ports_read_responses.go | 33 +- .../dcim_console_ports_trace_parameters.go | 8 +- .../dcim_console_ports_trace_responses.go | 33 +- .../dcim_console_ports_update_parameters.go | 8 +- .../dcim_console_ports_update_responses.go | 33 +- ...r_port_templates_bulk_delete_parameters.go | 8 +- ...er_port_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...r_port_templates_bulk_update_parameters.go | 8 +- ...er_port_templates_bulk_update_responses.go | 33 +- ...server_port_templates_create_parameters.go | 8 +- ..._server_port_templates_create_responses.go | 33 +- ...server_port_templates_delete_parameters.go | 8 +- ..._server_port_templates_delete_responses.go | 32 +- ...e_server_port_templates_list_parameters.go | 8 +- ...le_server_port_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ...e_server_port_templates_read_parameters.go | 8 +- ...le_server_port_templates_read_responses.go | 33 +- ...server_port_templates_update_parameters.go | 8 +- ..._server_port_templates_update_responses.go | 33 +- ...ole_server_ports_bulk_delete_parameters.go | 8 +- ...sole_server_ports_bulk_delete_responses.go | 32 +- ...er_ports_bulk_partial_update_parameters.go | 8 +- ...ver_ports_bulk_partial_update_responses.go | 33 +- ...ole_server_ports_bulk_update_parameters.go | 8 +- ...sole_server_ports_bulk_update_responses.go | 33 +- ..._console_server_ports_create_parameters.go | 8 +- ...m_console_server_ports_create_responses.go | 33 +- ..._console_server_ports_delete_parameters.go | 8 +- ...m_console_server_ports_delete_responses.go | 32 +- ...im_console_server_ports_list_parameters.go | 8 +- ...cim_console_server_ports_list_responses.go | 36 +- ..._server_ports_partial_update_parameters.go | 8 +- ...e_server_ports_partial_update_responses.go | 33 +- ...im_console_server_ports_read_parameters.go | 8 +- ...cim_console_server_ports_read_responses.go | 33 +- ...m_console_server_ports_trace_parameters.go | 8 +- ...im_console_server_ports_trace_responses.go | 33 +- ..._console_server_ports_update_parameters.go | 8 +- ...m_console_server_ports_update_responses.go | 33 +- ...ce_bay_templates_bulk_delete_parameters.go | 8 +- ...ice_bay_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...ce_bay_templates_bulk_update_parameters.go | 8 +- ...ice_bay_templates_bulk_update_responses.go | 33 +- ..._device_bay_templates_create_parameters.go | 8 +- ...m_device_bay_templates_create_responses.go | 33 +- ..._device_bay_templates_delete_parameters.go | 8 +- ...m_device_bay_templates_delete_responses.go | 32 +- ...im_device_bay_templates_list_parameters.go | 8 +- ...cim_device_bay_templates_list_responses.go | 36 +- ...bay_templates_partial_update_parameters.go | 8 +- ..._bay_templates_partial_update_responses.go | 33 +- ...im_device_bay_templates_read_parameters.go | 8 +- ...cim_device_bay_templates_read_responses.go | 33 +- ..._device_bay_templates_update_parameters.go | 8 +- ...m_device_bay_templates_update_responses.go | 33 +- ...dcim_device_bays_bulk_delete_parameters.go | 8 +- .../dcim_device_bays_bulk_delete_responses.go | 32 +- ...ice_bays_bulk_partial_update_parameters.go | 8 +- ...vice_bays_bulk_partial_update_responses.go | 33 +- ...dcim_device_bays_bulk_update_parameters.go | 8 +- .../dcim_device_bays_bulk_update_responses.go | 33 +- .../dcim_device_bays_create_parameters.go | 8 +- .../dcim/dcim_device_bays_create_responses.go | 33 +- .../dcim_device_bays_delete_parameters.go | 8 +- .../dcim/dcim_device_bays_delete_responses.go | 32 +- .../dcim/dcim_device_bays_list_parameters.go | 8 +- .../dcim/dcim_device_bays_list_responses.go | 36 +- ...m_device_bays_partial_update_parameters.go | 8 +- ...im_device_bays_partial_update_responses.go | 33 +- .../dcim/dcim_device_bays_read_parameters.go | 8 +- .../dcim/dcim_device_bays_read_responses.go | 33 +- .../dcim_device_bays_update_parameters.go | 8 +- .../dcim/dcim_device_bays_update_responses.go | 33 +- ...cim_device_roles_bulk_delete_parameters.go | 8 +- ...dcim_device_roles_bulk_delete_responses.go | 32 +- ...ce_roles_bulk_partial_update_parameters.go | 8 +- ...ice_roles_bulk_partial_update_responses.go | 33 +- ...cim_device_roles_bulk_update_parameters.go | 8 +- ...dcim_device_roles_bulk_update_responses.go | 33 +- .../dcim_device_roles_create_parameters.go | 8 +- .../dcim_device_roles_create_responses.go | 33 +- .../dcim_device_roles_delete_parameters.go | 8 +- .../dcim_device_roles_delete_responses.go | 32 +- .../dcim/dcim_device_roles_list_parameters.go | 8 +- .../dcim/dcim_device_roles_list_responses.go | 36 +- ..._device_roles_partial_update_parameters.go | 8 +- ...m_device_roles_partial_update_responses.go | 33 +- .../dcim/dcim_device_roles_read_parameters.go | 8 +- .../dcim/dcim_device_roles_read_responses.go | 33 +- .../dcim_device_roles_update_parameters.go | 8 +- .../dcim_device_roles_update_responses.go | 33 +- ...cim_device_types_bulk_delete_parameters.go | 8 +- ...dcim_device_types_bulk_delete_responses.go | 32 +- ...ce_types_bulk_partial_update_parameters.go | 8 +- ...ice_types_bulk_partial_update_responses.go | 33 +- ...cim_device_types_bulk_update_parameters.go | 8 +- ...dcim_device_types_bulk_update_responses.go | 33 +- .../dcim_device_types_create_parameters.go | 8 +- .../dcim_device_types_create_responses.go | 33 +- .../dcim_device_types_delete_parameters.go | 8 +- .../dcim_device_types_delete_responses.go | 32 +- .../dcim/dcim_device_types_list_parameters.go | 8 +- .../dcim/dcim_device_types_list_responses.go | 36 +- ..._device_types_partial_update_parameters.go | 8 +- ...m_device_types_partial_update_responses.go | 33 +- .../dcim/dcim_device_types_read_parameters.go | 8 +- .../dcim/dcim_device_types_read_responses.go | 33 +- .../dcim_device_types_update_parameters.go | 8 +- .../dcim_device_types_update_responses.go | 33 +- .../dcim_devices_bulk_delete_parameters.go | 8 +- .../dcim_devices_bulk_delete_responses.go | 32 +- ..._devices_bulk_partial_update_parameters.go | 8 +- ...m_devices_bulk_partial_update_responses.go | 33 +- .../dcim_devices_bulk_update_parameters.go | 8 +- .../dcim_devices_bulk_update_responses.go | 33 +- .../dcim/dcim_devices_create_parameters.go | 8 +- .../dcim/dcim_devices_create_responses.go | 33 +- .../dcim/dcim_devices_delete_parameters.go | 8 +- .../dcim/dcim_devices_delete_responses.go | 32 +- .../dcim/dcim_devices_list_parameters.go | 8 +- .../dcim/dcim_devices_list_responses.go | 36 +- .../dcim/dcim_devices_napalm_parameters.go | 8 +- .../dcim/dcim_devices_napalm_responses.go | 33 +- .../dcim_devices_partial_update_parameters.go | 8 +- .../dcim_devices_partial_update_responses.go | 33 +- .../dcim/dcim_devices_read_parameters.go | 8 +- .../dcim/dcim_devices_read_responses.go | 33 +- .../dcim/dcim_devices_update_parameters.go | 8 +- .../dcim/dcim_devices_update_responses.go | 33 +- ...t_port_templates_bulk_delete_parameters.go | 8 +- ...nt_port_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...t_port_templates_bulk_update_parameters.go | 8 +- ...nt_port_templates_bulk_update_responses.go | 33 +- ..._front_port_templates_create_parameters.go | 8 +- ...m_front_port_templates_create_responses.go | 33 +- ..._front_port_templates_delete_parameters.go | 8 +- ...m_front_port_templates_delete_responses.go | 32 +- ...im_front_port_templates_list_parameters.go | 8 +- ...cim_front_port_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ...im_front_port_templates_read_parameters.go | 8 +- ...cim_front_port_templates_read_responses.go | 33 +- ..._front_port_templates_update_parameters.go | 8 +- ...m_front_port_templates_update_responses.go | 33 +- ...dcim_front_ports_bulk_delete_parameters.go | 8 +- .../dcim_front_ports_bulk_delete_responses.go | 32 +- ...nt_ports_bulk_partial_update_parameters.go | 8 +- ...ont_ports_bulk_partial_update_responses.go | 33 +- ...dcim_front_ports_bulk_update_parameters.go | 8 +- .../dcim_front_ports_bulk_update_responses.go | 33 +- .../dcim_front_ports_create_parameters.go | 8 +- .../dcim/dcim_front_ports_create_responses.go | 33 +- .../dcim_front_ports_delete_parameters.go | 8 +- .../dcim/dcim_front_ports_delete_responses.go | 32 +- .../dcim/dcim_front_ports_list_parameters.go | 8 +- .../dcim/dcim_front_ports_list_responses.go | 36 +- ...m_front_ports_partial_update_parameters.go | 8 +- ...im_front_ports_partial_update_responses.go | 33 +- .../dcim/dcim_front_ports_paths_parameters.go | 8 +- .../dcim/dcim_front_ports_paths_responses.go | 33 +- .../dcim/dcim_front_ports_read_parameters.go | 8 +- .../dcim/dcim_front_ports_read_responses.go | 33 +- .../dcim_front_ports_update_parameters.go | 8 +- .../dcim/dcim_front_ports_update_responses.go | 33 +- ...erface_templates_bulk_delete_parameters.go | 8 +- ...terface_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...erface_templates_bulk_update_parameters.go | 8 +- ...terface_templates_bulk_update_responses.go | 33 +- ...m_interface_templates_create_parameters.go | 8 +- ...im_interface_templates_create_responses.go | 33 +- ...m_interface_templates_delete_parameters.go | 8 +- ...im_interface_templates_delete_responses.go | 32 +- ...cim_interface_templates_list_parameters.go | 8 +- ...dcim_interface_templates_list_responses.go | 36 +- ...ace_templates_partial_update_parameters.go | 8 +- ...face_templates_partial_update_responses.go | 33 +- ...cim_interface_templates_read_parameters.go | 8 +- ...dcim_interface_templates_read_responses.go | 33 +- ...m_interface_templates_update_parameters.go | 8 +- ...im_interface_templates_update_responses.go | 33 +- .../dcim_interfaces_bulk_delete_parameters.go | 8 +- .../dcim_interfaces_bulk_delete_responses.go | 32 +- ...terfaces_bulk_partial_update_parameters.go | 8 +- ...nterfaces_bulk_partial_update_responses.go | 33 +- .../dcim_interfaces_bulk_update_parameters.go | 8 +- .../dcim_interfaces_bulk_update_responses.go | 33 +- .../dcim/dcim_interfaces_create_parameters.go | 8 +- .../dcim/dcim_interfaces_create_responses.go | 33 +- .../dcim/dcim_interfaces_delete_parameters.go | 8 +- .../dcim/dcim_interfaces_delete_responses.go | 32 +- .../dcim/dcim_interfaces_list_parameters.go | 8 +- .../dcim/dcim_interfaces_list_responses.go | 36 +- ...im_interfaces_partial_update_parameters.go | 8 +- ...cim_interfaces_partial_update_responses.go | 33 +- .../dcim/dcim_interfaces_read_parameters.go | 8 +- .../dcim/dcim_interfaces_read_responses.go | 33 +- .../dcim/dcim_interfaces_trace_parameters.go | 8 +- .../dcim/dcim_interfaces_trace_responses.go | 33 +- .../dcim/dcim_interfaces_update_parameters.go | 8 +- .../dcim/dcim_interfaces_update_responses.go | 33 +- ...ntory_item_roles_bulk_delete_parameters.go | 8 +- ...entory_item_roles_bulk_delete_responses.go | 32 +- ...em_roles_bulk_partial_update_parameters.go | 8 +- ...tem_roles_bulk_partial_update_responses.go | 33 +- ...ntory_item_roles_bulk_update_parameters.go | 8 +- ...entory_item_roles_bulk_update_responses.go | 33 +- ..._inventory_item_roles_create_parameters.go | 8 +- ...m_inventory_item_roles_create_responses.go | 33 +- ..._inventory_item_roles_delete_parameters.go | 8 +- ...m_inventory_item_roles_delete_responses.go | 32 +- ...im_inventory_item_roles_list_parameters.go | 8 +- ...cim_inventory_item_roles_list_responses.go | 36 +- ...ry_item_roles_partial_update_parameters.go | 8 +- ...ory_item_roles_partial_update_responses.go | 33 +- ...im_inventory_item_roles_read_parameters.go | 8 +- ...cim_inventory_item_roles_read_responses.go | 33 +- ..._inventory_item_roles_update_parameters.go | 8 +- ...m_inventory_item_roles_update_responses.go | 33 +- ...y_item_templates_bulk_delete_parameters.go | 8 +- ...ry_item_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...y_item_templates_bulk_update_parameters.go | 8 +- ...ry_item_templates_bulk_update_responses.go | 33 +- ...entory_item_templates_create_parameters.go | 8 +- ...ventory_item_templates_create_responses.go | 33 +- ...entory_item_templates_delete_parameters.go | 8 +- ...ventory_item_templates_delete_responses.go | 32 +- ...nventory_item_templates_list_parameters.go | 8 +- ...inventory_item_templates_list_responses.go | 36 +- ...tem_templates_partial_update_parameters.go | 8 +- ...item_templates_partial_update_responses.go | 33 +- ...nventory_item_templates_read_parameters.go | 8 +- ...inventory_item_templates_read_responses.go | 33 +- ...entory_item_templates_update_parameters.go | 8 +- ...ventory_item_templates_update_responses.go | 33 +- ..._inventory_items_bulk_delete_parameters.go | 8 +- ...m_inventory_items_bulk_delete_responses.go | 32 +- ...ry_items_bulk_partial_update_parameters.go | 8 +- ...ory_items_bulk_partial_update_responses.go | 33 +- ..._inventory_items_bulk_update_parameters.go | 8 +- ...m_inventory_items_bulk_update_responses.go | 33 +- .../dcim_inventory_items_create_parameters.go | 8 +- .../dcim_inventory_items_create_responses.go | 33 +- .../dcim_inventory_items_delete_parameters.go | 8 +- .../dcim_inventory_items_delete_responses.go | 32 +- .../dcim_inventory_items_list_parameters.go | 8 +- .../dcim_inventory_items_list_responses.go | 36 +- ...ventory_items_partial_update_parameters.go | 8 +- ...nventory_items_partial_update_responses.go | 33 +- .../dcim_inventory_items_read_parameters.go | 8 +- .../dcim_inventory_items_read_responses.go | 33 +- .../dcim_inventory_items_update_parameters.go | 8 +- .../dcim_inventory_items_update_responses.go | 33 +- .../dcim_locations_bulk_delete_parameters.go | 8 +- .../dcim_locations_bulk_delete_responses.go | 32 +- ...ocations_bulk_partial_update_parameters.go | 8 +- ...locations_bulk_partial_update_responses.go | 33 +- .../dcim_locations_bulk_update_parameters.go | 8 +- .../dcim_locations_bulk_update_responses.go | 33 +- .../dcim/dcim_locations_create_parameters.go | 8 +- .../dcim/dcim_locations_create_responses.go | 33 +- .../dcim/dcim_locations_delete_parameters.go | 8 +- .../dcim/dcim_locations_delete_responses.go | 32 +- .../dcim/dcim_locations_list_parameters.go | 8 +- .../dcim/dcim_locations_list_responses.go | 36 +- ...cim_locations_partial_update_parameters.go | 8 +- ...dcim_locations_partial_update_responses.go | 33 +- .../dcim/dcim_locations_read_parameters.go | 8 +- .../dcim/dcim_locations_read_responses.go | 33 +- .../dcim/dcim_locations_update_parameters.go | 8 +- .../dcim/dcim_locations_update_responses.go | 33 +- ...im_manufacturers_bulk_delete_parameters.go | 8 +- ...cim_manufacturers_bulk_delete_responses.go | 32 +- ...acturers_bulk_partial_update_parameters.go | 8 +- ...facturers_bulk_partial_update_responses.go | 33 +- ...im_manufacturers_bulk_update_parameters.go | 8 +- ...cim_manufacturers_bulk_update_responses.go | 33 +- .../dcim_manufacturers_create_parameters.go | 8 +- .../dcim_manufacturers_create_responses.go | 33 +- .../dcim_manufacturers_delete_parameters.go | 8 +- .../dcim_manufacturers_delete_responses.go | 32 +- .../dcim_manufacturers_list_parameters.go | 8 +- .../dcim/dcim_manufacturers_list_responses.go | 36 +- ...manufacturers_partial_update_parameters.go | 8 +- ..._manufacturers_partial_update_responses.go | 33 +- .../dcim_manufacturers_read_parameters.go | 8 +- .../dcim/dcim_manufacturers_read_responses.go | 33 +- .../dcim_manufacturers_update_parameters.go | 8 +- .../dcim_manufacturers_update_responses.go | 33 +- ...le_bay_templates_bulk_delete_parameters.go | 8 +- ...ule_bay_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...le_bay_templates_bulk_update_parameters.go | 8 +- ...ule_bay_templates_bulk_update_responses.go | 33 +- ..._module_bay_templates_create_parameters.go | 8 +- ...m_module_bay_templates_create_responses.go | 33 +- ..._module_bay_templates_delete_parameters.go | 8 +- ...m_module_bay_templates_delete_responses.go | 32 +- ...im_module_bay_templates_list_parameters.go | 8 +- ...cim_module_bay_templates_list_responses.go | 36 +- ...bay_templates_partial_update_parameters.go | 8 +- ..._bay_templates_partial_update_responses.go | 33 +- ...im_module_bay_templates_read_parameters.go | 8 +- ...cim_module_bay_templates_read_responses.go | 33 +- ..._module_bay_templates_update_parameters.go | 8 +- ...m_module_bay_templates_update_responses.go | 33 +- ...dcim_module_bays_bulk_delete_parameters.go | 8 +- .../dcim_module_bays_bulk_delete_responses.go | 32 +- ...ule_bays_bulk_partial_update_parameters.go | 8 +- ...dule_bays_bulk_partial_update_responses.go | 33 +- ...dcim_module_bays_bulk_update_parameters.go | 8 +- .../dcim_module_bays_bulk_update_responses.go | 33 +- .../dcim_module_bays_create_parameters.go | 8 +- .../dcim/dcim_module_bays_create_responses.go | 33 +- .../dcim_module_bays_delete_parameters.go | 8 +- .../dcim/dcim_module_bays_delete_responses.go | 32 +- .../dcim/dcim_module_bays_list_parameters.go | 8 +- .../dcim/dcim_module_bays_list_responses.go | 36 +- ...m_module_bays_partial_update_parameters.go | 8 +- ...im_module_bays_partial_update_responses.go | 33 +- .../dcim/dcim_module_bays_read_parameters.go | 8 +- .../dcim/dcim_module_bays_read_responses.go | 33 +- .../dcim_module_bays_update_parameters.go | 8 +- .../dcim/dcim_module_bays_update_responses.go | 33 +- ...cim_module_types_bulk_delete_parameters.go | 8 +- ...dcim_module_types_bulk_delete_responses.go | 32 +- ...le_types_bulk_partial_update_parameters.go | 8 +- ...ule_types_bulk_partial_update_responses.go | 33 +- ...cim_module_types_bulk_update_parameters.go | 8 +- ...dcim_module_types_bulk_update_responses.go | 33 +- .../dcim_module_types_create_parameters.go | 8 +- .../dcim_module_types_create_responses.go | 33 +- .../dcim_module_types_delete_parameters.go | 8 +- .../dcim_module_types_delete_responses.go | 32 +- .../dcim/dcim_module_types_list_parameters.go | 8 +- .../dcim/dcim_module_types_list_responses.go | 36 +- ..._module_types_partial_update_parameters.go | 8 +- ...m_module_types_partial_update_responses.go | 33 +- .../dcim/dcim_module_types_read_parameters.go | 8 +- .../dcim/dcim_module_types_read_responses.go | 33 +- .../dcim_module_types_update_parameters.go | 8 +- .../dcim_module_types_update_responses.go | 33 +- .../dcim_modules_bulk_delete_parameters.go | 8 +- .../dcim_modules_bulk_delete_responses.go | 32 +- ..._modules_bulk_partial_update_parameters.go | 8 +- ...m_modules_bulk_partial_update_responses.go | 33 +- .../dcim_modules_bulk_update_parameters.go | 8 +- .../dcim_modules_bulk_update_responses.go | 33 +- .../dcim/dcim_modules_create_parameters.go | 8 +- .../dcim/dcim_modules_create_responses.go | 33 +- .../dcim/dcim_modules_delete_parameters.go | 8 +- .../dcim/dcim_modules_delete_responses.go | 32 +- .../dcim/dcim_modules_list_parameters.go | 8 +- .../dcim/dcim_modules_list_responses.go | 36 +- .../dcim_modules_partial_update_parameters.go | 8 +- .../dcim_modules_partial_update_responses.go | 33 +- .../dcim/dcim_modules_read_parameters.go | 8 +- .../dcim/dcim_modules_read_responses.go | 33 +- .../dcim/dcim_modules_update_parameters.go | 8 +- .../dcim/dcim_modules_update_responses.go | 33 +- .../dcim_platforms_bulk_delete_parameters.go | 8 +- .../dcim_platforms_bulk_delete_responses.go | 32 +- ...latforms_bulk_partial_update_parameters.go | 8 +- ...platforms_bulk_partial_update_responses.go | 33 +- .../dcim_platforms_bulk_update_parameters.go | 8 +- .../dcim_platforms_bulk_update_responses.go | 33 +- .../dcim/dcim_platforms_create_parameters.go | 8 +- .../dcim/dcim_platforms_create_responses.go | 33 +- .../dcim/dcim_platforms_delete_parameters.go | 8 +- .../dcim/dcim_platforms_delete_responses.go | 32 +- .../dcim/dcim_platforms_list_parameters.go | 8 +- .../dcim/dcim_platforms_list_responses.go | 36 +- ...cim_platforms_partial_update_parameters.go | 8 +- ...dcim_platforms_partial_update_responses.go | 33 +- .../dcim/dcim_platforms_read_parameters.go | 8 +- .../dcim/dcim_platforms_read_responses.go | 33 +- .../dcim/dcim_platforms_update_parameters.go | 8 +- .../dcim/dcim_platforms_update_responses.go | 33 +- ...dcim_power_feeds_bulk_delete_parameters.go | 8 +- .../dcim_power_feeds_bulk_delete_responses.go | 32 +- ...er_feeds_bulk_partial_update_parameters.go | 8 +- ...wer_feeds_bulk_partial_update_responses.go | 33 +- ...dcim_power_feeds_bulk_update_parameters.go | 8 +- .../dcim_power_feeds_bulk_update_responses.go | 33 +- .../dcim_power_feeds_create_parameters.go | 8 +- .../dcim/dcim_power_feeds_create_responses.go | 33 +- .../dcim_power_feeds_delete_parameters.go | 8 +- .../dcim/dcim_power_feeds_delete_responses.go | 32 +- .../dcim/dcim_power_feeds_list_parameters.go | 8 +- .../dcim/dcim_power_feeds_list_responses.go | 36 +- ...m_power_feeds_partial_update_parameters.go | 8 +- ...im_power_feeds_partial_update_responses.go | 33 +- .../dcim/dcim_power_feeds_read_parameters.go | 8 +- .../dcim/dcim_power_feeds_read_responses.go | 33 +- .../dcim/dcim_power_feeds_trace_parameters.go | 8 +- .../dcim/dcim_power_feeds_trace_responses.go | 33 +- .../dcim_power_feeds_update_parameters.go | 8 +- .../dcim/dcim_power_feeds_update_responses.go | 33 +- ...outlet_templates_bulk_delete_parameters.go | 8 +- ..._outlet_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...outlet_templates_bulk_update_parameters.go | 8 +- ..._outlet_templates_bulk_update_responses.go | 33 +- ...ower_outlet_templates_create_parameters.go | 8 +- ...power_outlet_templates_create_responses.go | 33 +- ...ower_outlet_templates_delete_parameters.go | 8 +- ...power_outlet_templates_delete_responses.go | 32 +- ..._power_outlet_templates_list_parameters.go | 8 +- ...m_power_outlet_templates_list_responses.go | 36 +- ...let_templates_partial_update_parameters.go | 8 +- ...tlet_templates_partial_update_responses.go | 33 +- ..._power_outlet_templates_read_parameters.go | 8 +- ...m_power_outlet_templates_read_responses.go | 33 +- ...ower_outlet_templates_update_parameters.go | 8 +- ...power_outlet_templates_update_responses.go | 33 +- ...im_power_outlets_bulk_delete_parameters.go | 8 +- ...cim_power_outlets_bulk_delete_responses.go | 32 +- ..._outlets_bulk_partial_update_parameters.go | 8 +- ...r_outlets_bulk_partial_update_responses.go | 33 +- ...im_power_outlets_bulk_update_parameters.go | 8 +- ...cim_power_outlets_bulk_update_responses.go | 33 +- .../dcim_power_outlets_create_parameters.go | 8 +- .../dcim_power_outlets_create_responses.go | 33 +- .../dcim_power_outlets_delete_parameters.go | 8 +- .../dcim_power_outlets_delete_responses.go | 32 +- .../dcim_power_outlets_list_parameters.go | 8 +- .../dcim/dcim_power_outlets_list_responses.go | 36 +- ...power_outlets_partial_update_parameters.go | 8 +- ..._power_outlets_partial_update_responses.go | 33 +- .../dcim_power_outlets_read_parameters.go | 8 +- .../dcim/dcim_power_outlets_read_responses.go | 33 +- .../dcim_power_outlets_trace_parameters.go | 8 +- .../dcim_power_outlets_trace_responses.go | 33 +- .../dcim_power_outlets_update_parameters.go | 8 +- .../dcim_power_outlets_update_responses.go | 33 +- ...cim_power_panels_bulk_delete_parameters.go | 8 +- ...dcim_power_panels_bulk_delete_responses.go | 32 +- ...r_panels_bulk_partial_update_parameters.go | 8 +- ...er_panels_bulk_partial_update_responses.go | 33 +- ...cim_power_panels_bulk_update_parameters.go | 8 +- ...dcim_power_panels_bulk_update_responses.go | 33 +- .../dcim_power_panels_create_parameters.go | 8 +- .../dcim_power_panels_create_responses.go | 33 +- .../dcim_power_panels_delete_parameters.go | 8 +- .../dcim_power_panels_delete_responses.go | 32 +- .../dcim/dcim_power_panels_list_parameters.go | 8 +- .../dcim/dcim_power_panels_list_responses.go | 36 +- ..._power_panels_partial_update_parameters.go | 8 +- ...m_power_panels_partial_update_responses.go | 33 +- .../dcim/dcim_power_panels_read_parameters.go | 8 +- .../dcim/dcim_power_panels_read_responses.go | 33 +- .../dcim_power_panels_update_parameters.go | 8 +- .../dcim_power_panels_update_responses.go | 33 +- ...r_port_templates_bulk_delete_parameters.go | 8 +- ...er_port_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...r_port_templates_bulk_update_parameters.go | 8 +- ...er_port_templates_bulk_update_responses.go | 33 +- ..._power_port_templates_create_parameters.go | 8 +- ...m_power_port_templates_create_responses.go | 33 +- ..._power_port_templates_delete_parameters.go | 8 +- ...m_power_port_templates_delete_responses.go | 32 +- ...im_power_port_templates_list_parameters.go | 8 +- ...cim_power_port_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ...im_power_port_templates_read_parameters.go | 8 +- ...cim_power_port_templates_read_responses.go | 33 +- ..._power_port_templates_update_parameters.go | 8 +- ...m_power_port_templates_update_responses.go | 33 +- ...dcim_power_ports_bulk_delete_parameters.go | 8 +- .../dcim_power_ports_bulk_delete_responses.go | 32 +- ...er_ports_bulk_partial_update_parameters.go | 8 +- ...wer_ports_bulk_partial_update_responses.go | 33 +- ...dcim_power_ports_bulk_update_parameters.go | 8 +- .../dcim_power_ports_bulk_update_responses.go | 33 +- .../dcim_power_ports_create_parameters.go | 8 +- .../dcim/dcim_power_ports_create_responses.go | 33 +- .../dcim_power_ports_delete_parameters.go | 8 +- .../dcim/dcim_power_ports_delete_responses.go | 32 +- .../dcim/dcim_power_ports_list_parameters.go | 8 +- .../dcim/dcim_power_ports_list_responses.go | 36 +- ...m_power_ports_partial_update_parameters.go | 8 +- ...im_power_ports_partial_update_responses.go | 33 +- .../dcim/dcim_power_ports_read_parameters.go | 8 +- .../dcim/dcim_power_ports_read_responses.go | 33 +- .../dcim/dcim_power_ports_trace_parameters.go | 8 +- .../dcim/dcim_power_ports_trace_responses.go | 33 +- .../dcim_power_ports_update_parameters.go | 8 +- .../dcim/dcim_power_ports_update_responses.go | 33 +- ...ack_reservations_bulk_delete_parameters.go | 8 +- ...rack_reservations_bulk_delete_responses.go | 32 +- ...rvations_bulk_partial_update_parameters.go | 8 +- ...ervations_bulk_partial_update_responses.go | 33 +- ...ack_reservations_bulk_update_parameters.go | 8 +- ...rack_reservations_bulk_update_responses.go | 33 +- ...cim_rack_reservations_create_parameters.go | 8 +- ...dcim_rack_reservations_create_responses.go | 33 +- ...cim_rack_reservations_delete_parameters.go | 8 +- ...dcim_rack_reservations_delete_responses.go | 32 +- .../dcim_rack_reservations_list_parameters.go | 8 +- .../dcim_rack_reservations_list_responses.go | 36 +- ..._reservations_partial_update_parameters.go | 8 +- ...k_reservations_partial_update_responses.go | 33 +- .../dcim_rack_reservations_read_parameters.go | 8 +- .../dcim_rack_reservations_read_responses.go | 33 +- ...cim_rack_reservations_update_parameters.go | 8 +- ...dcim_rack_reservations_update_responses.go | 33 +- .../dcim_rack_roles_bulk_delete_parameters.go | 8 +- .../dcim_rack_roles_bulk_delete_responses.go | 32 +- ...ck_roles_bulk_partial_update_parameters.go | 8 +- ...ack_roles_bulk_partial_update_responses.go | 33 +- .../dcim_rack_roles_bulk_update_parameters.go | 8 +- .../dcim_rack_roles_bulk_update_responses.go | 33 +- .../dcim/dcim_rack_roles_create_parameters.go | 8 +- .../dcim/dcim_rack_roles_create_responses.go | 33 +- .../dcim/dcim_rack_roles_delete_parameters.go | 8 +- .../dcim/dcim_rack_roles_delete_responses.go | 32 +- .../dcim/dcim_rack_roles_list_parameters.go | 8 +- .../dcim/dcim_rack_roles_list_responses.go | 36 +- ...im_rack_roles_partial_update_parameters.go | 8 +- ...cim_rack_roles_partial_update_responses.go | 33 +- .../dcim/dcim_rack_roles_read_parameters.go | 8 +- .../dcim/dcim_rack_roles_read_responses.go | 33 +- .../dcim/dcim_rack_roles_update_parameters.go | 8 +- .../dcim/dcim_rack_roles_update_responses.go | 33 +- .../dcim/dcim_racks_bulk_delete_parameters.go | 8 +- .../dcim/dcim_racks_bulk_delete_responses.go | 32 +- ...im_racks_bulk_partial_update_parameters.go | 8 +- ...cim_racks_bulk_partial_update_responses.go | 33 +- .../dcim/dcim_racks_bulk_update_parameters.go | 8 +- .../dcim/dcim_racks_bulk_update_responses.go | 33 +- .../dcim/dcim_racks_create_parameters.go | 8 +- .../dcim/dcim_racks_create_responses.go | 33 +- .../dcim/dcim_racks_delete_parameters.go | 8 +- .../dcim/dcim_racks_delete_responses.go | 32 +- .../dcim/dcim_racks_elevation_parameters.go | 8 +- .../dcim/dcim_racks_elevation_responses.go | 33 +- .../client/dcim/dcim_racks_list_parameters.go | 8 +- .../client/dcim/dcim_racks_list_responses.go | 36 +- .../dcim_racks_partial_update_parameters.go | 8 +- .../dcim_racks_partial_update_responses.go | 33 +- .../client/dcim/dcim_racks_read_parameters.go | 8 +- .../client/dcim/dcim_racks_read_responses.go | 33 +- .../dcim/dcim_racks_update_parameters.go | 8 +- .../dcim/dcim_racks_update_responses.go | 33 +- ...r_port_templates_bulk_delete_parameters.go | 8 +- ...ar_port_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...r_port_templates_bulk_update_parameters.go | 8 +- ...ar_port_templates_bulk_update_responses.go | 33 +- ...m_rear_port_templates_create_parameters.go | 8 +- ...im_rear_port_templates_create_responses.go | 33 +- ...m_rear_port_templates_delete_parameters.go | 8 +- ...im_rear_port_templates_delete_responses.go | 32 +- ...cim_rear_port_templates_list_parameters.go | 8 +- ...dcim_rear_port_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ...cim_rear_port_templates_read_parameters.go | 8 +- ...dcim_rear_port_templates_read_responses.go | 33 +- ...m_rear_port_templates_update_parameters.go | 8 +- ...im_rear_port_templates_update_responses.go | 33 +- .../dcim_rear_ports_bulk_delete_parameters.go | 8 +- .../dcim_rear_ports_bulk_delete_responses.go | 32 +- ...ar_ports_bulk_partial_update_parameters.go | 8 +- ...ear_ports_bulk_partial_update_responses.go | 33 +- .../dcim_rear_ports_bulk_update_parameters.go | 8 +- .../dcim_rear_ports_bulk_update_responses.go | 33 +- .../dcim/dcim_rear_ports_create_parameters.go | 8 +- .../dcim/dcim_rear_ports_create_responses.go | 33 +- .../dcim/dcim_rear_ports_delete_parameters.go | 8 +- .../dcim/dcim_rear_ports_delete_responses.go | 32 +- .../dcim/dcim_rear_ports_list_parameters.go | 8 +- .../dcim/dcim_rear_ports_list_responses.go | 36 +- ...im_rear_ports_partial_update_parameters.go | 8 +- ...cim_rear_ports_partial_update_responses.go | 33 +- .../dcim/dcim_rear_ports_paths_parameters.go | 8 +- .../dcim/dcim_rear_ports_paths_responses.go | 33 +- .../dcim/dcim_rear_ports_read_parameters.go | 8 +- .../dcim/dcim_rear_ports_read_responses.go | 33 +- .../dcim/dcim_rear_ports_update_parameters.go | 8 +- .../dcim/dcim_rear_ports_update_responses.go | 33 +- .../dcim_regions_bulk_delete_parameters.go | 8 +- .../dcim_regions_bulk_delete_responses.go | 32 +- ..._regions_bulk_partial_update_parameters.go | 8 +- ...m_regions_bulk_partial_update_responses.go | 33 +- .../dcim_regions_bulk_update_parameters.go | 8 +- .../dcim_regions_bulk_update_responses.go | 33 +- .../dcim/dcim_regions_create_parameters.go | 8 +- .../dcim/dcim_regions_create_responses.go | 33 +- .../dcim/dcim_regions_delete_parameters.go | 8 +- .../dcim/dcim_regions_delete_responses.go | 32 +- .../dcim/dcim_regions_list_parameters.go | 8 +- .../dcim/dcim_regions_list_responses.go | 36 +- .../dcim_regions_partial_update_parameters.go | 8 +- .../dcim_regions_partial_update_responses.go | 33 +- .../dcim/dcim_regions_read_parameters.go | 8 +- .../dcim/dcim_regions_read_responses.go | 33 +- .../dcim/dcim_regions_update_parameters.go | 8 +- .../dcim/dcim_regions_update_responses.go | 33 +- ...dcim_site_groups_bulk_delete_parameters.go | 8 +- .../dcim_site_groups_bulk_delete_responses.go | 32 +- ...e_groups_bulk_partial_update_parameters.go | 8 +- ...te_groups_bulk_partial_update_responses.go | 33 +- ...dcim_site_groups_bulk_update_parameters.go | 8 +- .../dcim_site_groups_bulk_update_responses.go | 33 +- .../dcim_site_groups_create_parameters.go | 8 +- .../dcim/dcim_site_groups_create_responses.go | 33 +- .../dcim_site_groups_delete_parameters.go | 8 +- .../dcim/dcim_site_groups_delete_responses.go | 32 +- .../dcim/dcim_site_groups_list_parameters.go | 8 +- .../dcim/dcim_site_groups_list_responses.go | 36 +- ...m_site_groups_partial_update_parameters.go | 8 +- ...im_site_groups_partial_update_responses.go | 33 +- .../dcim/dcim_site_groups_read_parameters.go | 8 +- .../dcim/dcim_site_groups_read_responses.go | 33 +- .../dcim_site_groups_update_parameters.go | 8 +- .../dcim/dcim_site_groups_update_responses.go | 33 +- .../dcim/dcim_sites_bulk_delete_parameters.go | 8 +- .../dcim/dcim_sites_bulk_delete_responses.go | 32 +- ...im_sites_bulk_partial_update_parameters.go | 8 +- ...cim_sites_bulk_partial_update_responses.go | 33 +- .../dcim/dcim_sites_bulk_update_parameters.go | 8 +- .../dcim/dcim_sites_bulk_update_responses.go | 33 +- .../dcim/dcim_sites_create_parameters.go | 8 +- .../dcim/dcim_sites_create_responses.go | 33 +- .../dcim/dcim_sites_delete_parameters.go | 8 +- .../dcim/dcim_sites_delete_responses.go | 32 +- .../client/dcim/dcim_sites_list_parameters.go | 8 +- .../client/dcim/dcim_sites_list_responses.go | 36 +- .../dcim_sites_partial_update_parameters.go | 8 +- .../dcim_sites_partial_update_responses.go | 33 +- .../client/dcim/dcim_sites_read_parameters.go | 8 +- .../client/dcim/dcim_sites_read_responses.go | 33 +- .../dcim/dcim_sites_update_parameters.go | 8 +- .../dcim/dcim_sites_update_responses.go | 33 +- ..._virtual_chassis_bulk_delete_parameters.go | 8 +- ...m_virtual_chassis_bulk_delete_responses.go | 32 +- ..._chassis_bulk_partial_update_parameters.go | 8 +- ...l_chassis_bulk_partial_update_responses.go | 33 +- ..._virtual_chassis_bulk_update_parameters.go | 8 +- ...m_virtual_chassis_bulk_update_responses.go | 33 +- .../dcim_virtual_chassis_create_parameters.go | 8 +- .../dcim_virtual_chassis_create_responses.go | 33 +- .../dcim_virtual_chassis_delete_parameters.go | 8 +- .../dcim_virtual_chassis_delete_responses.go | 32 +- .../dcim_virtual_chassis_list_parameters.go | 8 +- .../dcim_virtual_chassis_list_responses.go | 36 +- ...rtual_chassis_partial_update_parameters.go | 8 +- ...irtual_chassis_partial_update_responses.go | 33 +- .../dcim_virtual_chassis_read_parameters.go | 8 +- .../dcim_virtual_chassis_read_responses.go | 33 +- .../dcim_virtual_chassis_update_parameters.go | 8 +- .../dcim_virtual_chassis_update_responses.go | 33 +- .../v3/netbox/client/extras/extras_client.go | 166 ++-- ..._config_contexts_bulk_delete_parameters.go | 8 +- ...s_config_contexts_bulk_delete_responses.go | 32 +- ...contexts_bulk_partial_update_parameters.go | 8 +- ..._contexts_bulk_partial_update_responses.go | 33 +- ..._config_contexts_bulk_update_parameters.go | 8 +- ...s_config_contexts_bulk_update_responses.go | 33 +- ...xtras_config_contexts_create_parameters.go | 8 +- ...extras_config_contexts_create_responses.go | 33 +- ...xtras_config_contexts_delete_parameters.go | 8 +- ...extras_config_contexts_delete_responses.go | 32 +- .../extras_config_contexts_list_parameters.go | 8 +- .../extras_config_contexts_list_responses.go | 36 +- ...nfig_contexts_partial_update_parameters.go | 8 +- ...onfig_contexts_partial_update_responses.go | 33 +- .../extras_config_contexts_read_parameters.go | 8 +- .../extras_config_contexts_read_responses.go | 33 +- ...xtras_config_contexts_update_parameters.go | 8 +- ...extras_config_contexts_update_responses.go | 33 +- .../extras_content_types_list_parameters.go | 8 +- .../extras_content_types_list_responses.go | 36 +- .../extras_content_types_read_parameters.go | 8 +- .../extras_content_types_read_responses.go | 33 +- ...as_custom_fields_bulk_delete_parameters.go | 8 +- ...ras_custom_fields_bulk_delete_responses.go | 32 +- ...m_fields_bulk_partial_update_parameters.go | 8 +- ...om_fields_bulk_partial_update_responses.go | 33 +- ...as_custom_fields_bulk_update_parameters.go | 8 +- ...ras_custom_fields_bulk_update_responses.go | 33 +- .../extras_custom_fields_create_parameters.go | 8 +- .../extras_custom_fields_create_responses.go | 33 +- .../extras_custom_fields_delete_parameters.go | 8 +- .../extras_custom_fields_delete_responses.go | 32 +- .../extras_custom_fields_list_parameters.go | 8 +- .../extras_custom_fields_list_responses.go | 36 +- ...custom_fields_partial_update_parameters.go | 8 +- ..._custom_fields_partial_update_responses.go | 33 +- .../extras_custom_fields_read_parameters.go | 8 +- .../extras_custom_fields_read_responses.go | 33 +- .../extras_custom_fields_update_parameters.go | 8 +- .../extras_custom_fields_update_responses.go | 33 +- ...ras_custom_links_bulk_delete_parameters.go | 8 +- ...tras_custom_links_bulk_delete_responses.go | 32 +- ...om_links_bulk_partial_update_parameters.go | 8 +- ...tom_links_bulk_partial_update_responses.go | 33 +- ...ras_custom_links_bulk_update_parameters.go | 8 +- ...tras_custom_links_bulk_update_responses.go | 33 +- .../extras_custom_links_create_parameters.go | 8 +- .../extras_custom_links_create_responses.go | 33 +- .../extras_custom_links_delete_parameters.go | 8 +- .../extras_custom_links_delete_responses.go | 32 +- .../extras_custom_links_list_parameters.go | 8 +- .../extras_custom_links_list_responses.go | 36 +- ..._custom_links_partial_update_parameters.go | 8 +- ...s_custom_links_partial_update_responses.go | 33 +- .../extras_custom_links_read_parameters.go | 8 +- .../extras_custom_links_read_responses.go | 33 +- .../extras_custom_links_update_parameters.go | 8 +- .../extras_custom_links_update_responses.go | 33 +- ...export_templates_bulk_delete_parameters.go | 8 +- ..._export_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...export_templates_bulk_update_parameters.go | 8 +- ..._export_templates_bulk_update_responses.go | 33 +- ...tras_export_templates_create_parameters.go | 8 +- ...xtras_export_templates_create_responses.go | 33 +- ...tras_export_templates_delete_parameters.go | 8 +- ...xtras_export_templates_delete_responses.go | 32 +- ...extras_export_templates_list_parameters.go | 8 +- .../extras_export_templates_list_responses.go | 36 +- ...ort_templates_partial_update_parameters.go | 8 +- ...port_templates_partial_update_responses.go | 33 +- ...extras_export_templates_read_parameters.go | 8 +- .../extras_export_templates_read_responses.go | 33 +- ...tras_export_templates_update_parameters.go | 8 +- ...xtras_export_templates_update_responses.go | 33 +- ...mage_attachments_bulk_delete_parameters.go | 8 +- ...image_attachments_bulk_delete_responses.go | 32 +- ...achments_bulk_partial_update_parameters.go | 8 +- ...tachments_bulk_partial_update_responses.go | 33 +- ...mage_attachments_bulk_update_parameters.go | 8 +- ...image_attachments_bulk_update_responses.go | 33 +- ...ras_image_attachments_create_parameters.go | 8 +- ...tras_image_attachments_create_responses.go | 33 +- ...ras_image_attachments_delete_parameters.go | 8 +- ...tras_image_attachments_delete_responses.go | 32 +- ...xtras_image_attachments_list_parameters.go | 8 +- ...extras_image_attachments_list_responses.go | 36 +- ...e_attachments_partial_update_parameters.go | 8 +- ...ge_attachments_partial_update_responses.go | 33 +- ...xtras_image_attachments_read_parameters.go | 8 +- ...extras_image_attachments_read_responses.go | 33 +- ...ras_image_attachments_update_parameters.go | 8 +- ...tras_image_attachments_update_responses.go | 33 +- .../extras_job_results_list_parameters.go | 8 +- .../extras_job_results_list_responses.go | 36 +- .../extras_job_results_read_parameters.go | 8 +- .../extras_job_results_read_responses.go | 33 +- ..._journal_entries_bulk_delete_parameters.go | 8 +- ...s_journal_entries_bulk_delete_responses.go | 32 +- ..._entries_bulk_partial_update_parameters.go | 8 +- ...l_entries_bulk_partial_update_responses.go | 33 +- ..._journal_entries_bulk_update_parameters.go | 8 +- ...s_journal_entries_bulk_update_responses.go | 33 +- ...xtras_journal_entries_create_parameters.go | 8 +- ...extras_journal_entries_create_responses.go | 33 +- ...xtras_journal_entries_delete_parameters.go | 8 +- ...extras_journal_entries_delete_responses.go | 32 +- .../extras_journal_entries_list_parameters.go | 8 +- .../extras_journal_entries_list_responses.go | 36 +- ...urnal_entries_partial_update_parameters.go | 8 +- ...ournal_entries_partial_update_responses.go | 33 +- .../extras_journal_entries_read_parameters.go | 8 +- .../extras_journal_entries_read_responses.go | 33 +- ...xtras_journal_entries_update_parameters.go | 8 +- ...extras_journal_entries_update_responses.go | 33 +- .../extras_object_changes_list_parameters.go | 8 +- .../extras_object_changes_list_responses.go | 36 +- .../extras_object_changes_read_parameters.go | 8 +- .../extras_object_changes_read_responses.go | 33 +- .../extras/extras_reports_list_parameters.go | 8 +- .../extras/extras_reports_list_responses.go | 32 +- .../extras/extras_reports_read_parameters.go | 8 +- .../extras/extras_reports_read_responses.go | 32 +- .../extras/extras_reports_run_parameters.go | 8 +- .../extras/extras_reports_run_responses.go | 32 +- .../extras/extras_scripts_list_parameters.go | 8 +- .../extras/extras_scripts_list_responses.go | 32 +- .../extras/extras_scripts_read_parameters.go | 8 +- .../extras/extras_scripts_read_responses.go | 32 +- .../extras_tags_bulk_delete_parameters.go | 8 +- .../extras_tags_bulk_delete_responses.go | 32 +- ...ras_tags_bulk_partial_update_parameters.go | 8 +- ...tras_tags_bulk_partial_update_responses.go | 33 +- .../extras_tags_bulk_update_parameters.go | 8 +- .../extras_tags_bulk_update_responses.go | 33 +- .../extras/extras_tags_create_parameters.go | 8 +- .../extras/extras_tags_create_responses.go | 33 +- .../extras/extras_tags_delete_parameters.go | 8 +- .../extras/extras_tags_delete_responses.go | 32 +- .../extras/extras_tags_list_parameters.go | 8 +- .../extras/extras_tags_list_responses.go | 36 +- .../extras_tags_partial_update_parameters.go | 8 +- .../extras_tags_partial_update_responses.go | 33 +- .../extras/extras_tags_read_parameters.go | 8 +- .../extras/extras_tags_read_responses.go | 33 +- .../extras/extras_tags_update_parameters.go | 8 +- .../extras/extras_tags_update_responses.go | 33 +- .../extras_webhooks_bulk_delete_parameters.go | 8 +- .../extras_webhooks_bulk_delete_responses.go | 32 +- ...webhooks_bulk_partial_update_parameters.go | 8 +- ..._webhooks_bulk_partial_update_responses.go | 33 +- .../extras_webhooks_bulk_update_parameters.go | 8 +- .../extras_webhooks_bulk_update_responses.go | 33 +- .../extras_webhooks_create_parameters.go | 8 +- .../extras_webhooks_create_responses.go | 33 +- .../extras_webhooks_delete_parameters.go | 8 +- .../extras_webhooks_delete_responses.go | 32 +- .../extras/extras_webhooks_list_parameters.go | 8 +- .../extras/extras_webhooks_list_responses.go | 36 +- ...tras_webhooks_partial_update_parameters.go | 8 +- ...xtras_webhooks_partial_update_responses.go | 33 +- .../extras/extras_webhooks_read_parameters.go | 8 +- .../extras/extras_webhooks_read_responses.go | 33 +- .../extras_webhooks_update_parameters.go | 8 +- .../extras_webhooks_update_responses.go | 33 +- .../ipam_aggregates_bulk_delete_parameters.go | 8 +- .../ipam_aggregates_bulk_delete_responses.go | 32 +- ...gregates_bulk_partial_update_parameters.go | 8 +- ...ggregates_bulk_partial_update_responses.go | 33 +- .../ipam_aggregates_bulk_update_parameters.go | 8 +- .../ipam_aggregates_bulk_update_responses.go | 33 +- .../ipam/ipam_aggregates_create_parameters.go | 8 +- .../ipam/ipam_aggregates_create_responses.go | 33 +- .../ipam/ipam_aggregates_delete_parameters.go | 8 +- .../ipam/ipam_aggregates_delete_responses.go | 32 +- .../ipam/ipam_aggregates_list_parameters.go | 8 +- .../ipam/ipam_aggregates_list_responses.go | 36 +- ...am_aggregates_partial_update_parameters.go | 8 +- ...pam_aggregates_partial_update_responses.go | 33 +- .../ipam/ipam_aggregates_read_parameters.go | 8 +- .../ipam/ipam_aggregates_read_responses.go | 33 +- .../ipam/ipam_aggregates_update_parameters.go | 8 +- .../ipam/ipam_aggregates_update_responses.go | 33 +- .../ipam/ipam_asns_bulk_delete_parameters.go | 8 +- .../ipam/ipam_asns_bulk_delete_responses.go | 32 +- ...pam_asns_bulk_partial_update_parameters.go | 8 +- ...ipam_asns_bulk_partial_update_responses.go | 33 +- .../ipam/ipam_asns_bulk_update_parameters.go | 8 +- .../ipam/ipam_asns_bulk_update_responses.go | 33 +- .../ipam/ipam_asns_create_parameters.go | 8 +- .../client/ipam/ipam_asns_create_responses.go | 33 +- .../ipam/ipam_asns_delete_parameters.go | 8 +- .../client/ipam/ipam_asns_delete_responses.go | 32 +- .../client/ipam/ipam_asns_list_parameters.go | 8 +- .../client/ipam/ipam_asns_list_responses.go | 36 +- .../ipam_asns_partial_update_parameters.go | 8 +- .../ipam_asns_partial_update_responses.go | 33 +- .../client/ipam/ipam_asns_read_parameters.go | 8 +- .../client/ipam/ipam_asns_read_responses.go | 33 +- .../ipam/ipam_asns_update_parameters.go | 8 +- .../client/ipam/ipam_asns_update_responses.go | 33 +- .../v3/netbox/client/ipam/ipam_client.go | 286 +++---- ...roup_assignments_bulk_delete_parameters.go | 8 +- ...group_assignments_bulk_delete_responses.go | 32 +- ...ignments_bulk_partial_update_parameters.go | 8 +- ...signments_bulk_partial_update_responses.go | 33 +- ...roup_assignments_bulk_update_parameters.go | 8 +- ...group_assignments_bulk_update_responses.go | 33 +- ...hrp_group_assignments_create_parameters.go | 8 +- ...fhrp_group_assignments_create_responses.go | 33 +- ...hrp_group_assignments_delete_parameters.go | 8 +- ...fhrp_group_assignments_delete_responses.go | 32 +- ..._fhrp_group_assignments_list_parameters.go | 8 +- ...m_fhrp_group_assignments_list_responses.go | 36 +- ...p_assignments_partial_update_parameters.go | 8 +- ...up_assignments_partial_update_responses.go | 33 +- ..._fhrp_group_assignments_read_parameters.go | 8 +- ...m_fhrp_group_assignments_read_responses.go | 33 +- ...hrp_group_assignments_update_parameters.go | 8 +- ...fhrp_group_assignments_update_responses.go | 33 +- ...ipam_fhrp_groups_bulk_delete_parameters.go | 8 +- .../ipam_fhrp_groups_bulk_delete_responses.go | 32 +- ...p_groups_bulk_partial_update_parameters.go | 8 +- ...rp_groups_bulk_partial_update_responses.go | 33 +- ...ipam_fhrp_groups_bulk_update_parameters.go | 8 +- .../ipam_fhrp_groups_bulk_update_responses.go | 33 +- .../ipam_fhrp_groups_create_parameters.go | 8 +- .../ipam/ipam_fhrp_groups_create_responses.go | 33 +- .../ipam_fhrp_groups_delete_parameters.go | 8 +- .../ipam/ipam_fhrp_groups_delete_responses.go | 32 +- .../ipam/ipam_fhrp_groups_list_parameters.go | 8 +- .../ipam/ipam_fhrp_groups_list_responses.go | 36 +- ...m_fhrp_groups_partial_update_parameters.go | 8 +- ...am_fhrp_groups_partial_update_responses.go | 33 +- .../ipam/ipam_fhrp_groups_read_parameters.go | 8 +- .../ipam/ipam_fhrp_groups_read_responses.go | 33 +- .../ipam_fhrp_groups_update_parameters.go | 8 +- .../ipam/ipam_fhrp_groups_update_responses.go | 33 +- ...pam_ip_addresses_bulk_delete_parameters.go | 8 +- ...ipam_ip_addresses_bulk_delete_responses.go | 32 +- ...ddresses_bulk_partial_update_parameters.go | 8 +- ...addresses_bulk_partial_update_responses.go | 33 +- ...pam_ip_addresses_bulk_update_parameters.go | 8 +- ...ipam_ip_addresses_bulk_update_responses.go | 33 +- .../ipam_ip_addresses_create_parameters.go | 8 +- .../ipam_ip_addresses_create_responses.go | 33 +- .../ipam_ip_addresses_delete_parameters.go | 8 +- .../ipam_ip_addresses_delete_responses.go | 32 +- .../ipam/ipam_ip_addresses_list_parameters.go | 8 +- .../ipam/ipam_ip_addresses_list_responses.go | 36 +- ..._ip_addresses_partial_update_parameters.go | 8 +- ...m_ip_addresses_partial_update_responses.go | 33 +- .../ipam/ipam_ip_addresses_read_parameters.go | 8 +- .../ipam/ipam_ip_addresses_read_responses.go | 33 +- .../ipam_ip_addresses_update_parameters.go | 8 +- .../ipam_ip_addresses_update_responses.go | 33 +- ..._ranges_available_ips_create_parameters.go | 8 +- ...p_ranges_available_ips_create_responses.go | 33 +- ...ip_ranges_available_ips_list_parameters.go | 8 +- ..._ip_ranges_available_ips_list_responses.go | 33 +- .../ipam_ip_ranges_bulk_delete_parameters.go | 8 +- .../ipam_ip_ranges_bulk_delete_responses.go | 32 +- ...p_ranges_bulk_partial_update_parameters.go | 8 +- ...ip_ranges_bulk_partial_update_responses.go | 33 +- .../ipam_ip_ranges_bulk_update_parameters.go | 8 +- .../ipam_ip_ranges_bulk_update_responses.go | 33 +- .../ipam/ipam_ip_ranges_create_parameters.go | 8 +- .../ipam/ipam_ip_ranges_create_responses.go | 33 +- .../ipam/ipam_ip_ranges_delete_parameters.go | 8 +- .../ipam/ipam_ip_ranges_delete_responses.go | 32 +- .../ipam/ipam_ip_ranges_list_parameters.go | 8 +- .../ipam/ipam_ip_ranges_list_responses.go | 36 +- ...pam_ip_ranges_partial_update_parameters.go | 8 +- ...ipam_ip_ranges_partial_update_responses.go | 33 +- .../ipam/ipam_ip_ranges_read_parameters.go | 8 +- .../ipam/ipam_ip_ranges_read_responses.go | 33 +- .../ipam/ipam_ip_ranges_update_parameters.go | 8 +- .../ipam/ipam_ip_ranges_update_responses.go | 33 +- ...refixes_available_ips_create_parameters.go | 8 +- ...prefixes_available_ips_create_responses.go | 33 +- ..._prefixes_available_ips_list_parameters.go | 8 +- ...m_prefixes_available_ips_list_responses.go | 33 +- ...es_available_prefixes_create_parameters.go | 8 +- ...xes_available_prefixes_create_responses.go | 33 +- ...ixes_available_prefixes_list_parameters.go | 8 +- ...fixes_available_prefixes_list_responses.go | 33 +- .../ipam_prefixes_bulk_delete_parameters.go | 8 +- .../ipam_prefixes_bulk_delete_responses.go | 32 +- ...prefixes_bulk_partial_update_parameters.go | 8 +- ..._prefixes_bulk_partial_update_responses.go | 33 +- .../ipam_prefixes_bulk_update_parameters.go | 8 +- .../ipam_prefixes_bulk_update_responses.go | 33 +- .../ipam/ipam_prefixes_create_parameters.go | 8 +- .../ipam/ipam_prefixes_create_responses.go | 33 +- .../ipam/ipam_prefixes_delete_parameters.go | 8 +- .../ipam/ipam_prefixes_delete_responses.go | 32 +- .../ipam/ipam_prefixes_list_parameters.go | 8 +- .../ipam/ipam_prefixes_list_responses.go | 36 +- ...ipam_prefixes_partial_update_parameters.go | 8 +- .../ipam_prefixes_partial_update_responses.go | 33 +- .../ipam/ipam_prefixes_read_parameters.go | 8 +- .../ipam/ipam_prefixes_read_responses.go | 33 +- .../ipam/ipam_prefixes_update_parameters.go | 8 +- .../ipam/ipam_prefixes_update_responses.go | 33 +- .../ipam/ipam_rirs_bulk_delete_parameters.go | 8 +- .../ipam/ipam_rirs_bulk_delete_responses.go | 32 +- ...pam_rirs_bulk_partial_update_parameters.go | 8 +- ...ipam_rirs_bulk_partial_update_responses.go | 33 +- .../ipam/ipam_rirs_bulk_update_parameters.go | 8 +- .../ipam/ipam_rirs_bulk_update_responses.go | 33 +- .../ipam/ipam_rirs_create_parameters.go | 8 +- .../client/ipam/ipam_rirs_create_responses.go | 33 +- .../ipam/ipam_rirs_delete_parameters.go | 8 +- .../client/ipam/ipam_rirs_delete_responses.go | 32 +- .../client/ipam/ipam_rirs_list_parameters.go | 8 +- .../client/ipam/ipam_rirs_list_responses.go | 36 +- .../ipam_rirs_partial_update_parameters.go | 8 +- .../ipam_rirs_partial_update_responses.go | 33 +- .../client/ipam/ipam_rirs_read_parameters.go | 8 +- .../client/ipam/ipam_rirs_read_responses.go | 33 +- .../ipam/ipam_rirs_update_parameters.go | 8 +- .../client/ipam/ipam_rirs_update_responses.go | 33 +- .../ipam/ipam_roles_bulk_delete_parameters.go | 8 +- .../ipam/ipam_roles_bulk_delete_responses.go | 32 +- ...am_roles_bulk_partial_update_parameters.go | 8 +- ...pam_roles_bulk_partial_update_responses.go | 33 +- .../ipam/ipam_roles_bulk_update_parameters.go | 8 +- .../ipam/ipam_roles_bulk_update_responses.go | 33 +- .../ipam/ipam_roles_create_parameters.go | 8 +- .../ipam/ipam_roles_create_responses.go | 33 +- .../ipam/ipam_roles_delete_parameters.go | 8 +- .../ipam/ipam_roles_delete_responses.go | 32 +- .../client/ipam/ipam_roles_list_parameters.go | 8 +- .../client/ipam/ipam_roles_list_responses.go | 36 +- .../ipam_roles_partial_update_parameters.go | 8 +- .../ipam_roles_partial_update_responses.go | 33 +- .../client/ipam/ipam_roles_read_parameters.go | 8 +- .../client/ipam/ipam_roles_read_responses.go | 33 +- .../ipam/ipam_roles_update_parameters.go | 8 +- .../ipam/ipam_roles_update_responses.go | 33 +- ...am_route_targets_bulk_delete_parameters.go | 8 +- ...pam_route_targets_bulk_delete_responses.go | 32 +- ..._targets_bulk_partial_update_parameters.go | 8 +- ...e_targets_bulk_partial_update_responses.go | 33 +- ...am_route_targets_bulk_update_parameters.go | 8 +- ...pam_route_targets_bulk_update_responses.go | 33 +- .../ipam_route_targets_create_parameters.go | 8 +- .../ipam_route_targets_create_responses.go | 33 +- .../ipam_route_targets_delete_parameters.go | 8 +- .../ipam_route_targets_delete_responses.go | 32 +- .../ipam_route_targets_list_parameters.go | 8 +- .../ipam/ipam_route_targets_list_responses.go | 36 +- ...route_targets_partial_update_parameters.go | 8 +- ..._route_targets_partial_update_responses.go | 33 +- .../ipam_route_targets_read_parameters.go | 8 +- .../ipam/ipam_route_targets_read_responses.go | 33 +- .../ipam_route_targets_update_parameters.go | 8 +- .../ipam_route_targets_update_responses.go | 33 +- ...ervice_templates_bulk_delete_parameters.go | 8 +- ...service_templates_bulk_delete_responses.go | 32 +- ...emplates_bulk_partial_update_parameters.go | 8 +- ...templates_bulk_partial_update_responses.go | 33 +- ...ervice_templates_bulk_update_parameters.go | 8 +- ...service_templates_bulk_update_responses.go | 33 +- ...pam_service_templates_create_parameters.go | 8 +- ...ipam_service_templates_create_responses.go | 33 +- ...pam_service_templates_delete_parameters.go | 8 +- ...ipam_service_templates_delete_responses.go | 32 +- .../ipam_service_templates_list_parameters.go | 8 +- .../ipam_service_templates_list_responses.go | 36 +- ...ice_templates_partial_update_parameters.go | 8 +- ...vice_templates_partial_update_responses.go | 33 +- .../ipam_service_templates_read_parameters.go | 8 +- .../ipam_service_templates_read_responses.go | 33 +- ...pam_service_templates_update_parameters.go | 8 +- ...ipam_service_templates_update_responses.go | 33 +- .../ipam_services_bulk_delete_parameters.go | 8 +- .../ipam_services_bulk_delete_responses.go | 32 +- ...services_bulk_partial_update_parameters.go | 8 +- ..._services_bulk_partial_update_responses.go | 33 +- .../ipam_services_bulk_update_parameters.go | 8 +- .../ipam_services_bulk_update_responses.go | 33 +- .../ipam/ipam_services_create_parameters.go | 8 +- .../ipam/ipam_services_create_responses.go | 33 +- .../ipam/ipam_services_delete_parameters.go | 8 +- .../ipam/ipam_services_delete_responses.go | 32 +- .../ipam/ipam_services_list_parameters.go | 8 +- .../ipam/ipam_services_list_responses.go | 36 +- ...ipam_services_partial_update_parameters.go | 8 +- .../ipam_services_partial_update_responses.go | 33 +- .../ipam/ipam_services_read_parameters.go | 8 +- .../ipam/ipam_services_read_responses.go | 33 +- .../ipam/ipam_services_update_parameters.go | 8 +- .../ipam/ipam_services_update_responses.go | 33 +- ...roups_available_vlans_create_parameters.go | 8 +- ...groups_available_vlans_create_responses.go | 33 +- ..._groups_available_vlans_list_parameters.go | 8 +- ...n_groups_available_vlans_list_responses.go | 33 +- ...ipam_vlan_groups_bulk_delete_parameters.go | 8 +- .../ipam_vlan_groups_bulk_delete_responses.go | 32 +- ...n_groups_bulk_partial_update_parameters.go | 8 +- ...an_groups_bulk_partial_update_responses.go | 33 +- ...ipam_vlan_groups_bulk_update_parameters.go | 8 +- .../ipam_vlan_groups_bulk_update_responses.go | 33 +- .../ipam_vlan_groups_create_parameters.go | 8 +- .../ipam/ipam_vlan_groups_create_responses.go | 33 +- .../ipam_vlan_groups_delete_parameters.go | 8 +- .../ipam/ipam_vlan_groups_delete_responses.go | 32 +- .../ipam/ipam_vlan_groups_list_parameters.go | 8 +- .../ipam/ipam_vlan_groups_list_responses.go | 36 +- ...m_vlan_groups_partial_update_parameters.go | 8 +- ...am_vlan_groups_partial_update_responses.go | 33 +- .../ipam/ipam_vlan_groups_read_parameters.go | 8 +- .../ipam/ipam_vlan_groups_read_responses.go | 33 +- .../ipam_vlan_groups_update_parameters.go | 8 +- .../ipam/ipam_vlan_groups_update_responses.go | 33 +- .../ipam/ipam_vlans_bulk_delete_parameters.go | 8 +- .../ipam/ipam_vlans_bulk_delete_responses.go | 32 +- ...am_vlans_bulk_partial_update_parameters.go | 8 +- ...pam_vlans_bulk_partial_update_responses.go | 33 +- .../ipam/ipam_vlans_bulk_update_parameters.go | 8 +- .../ipam/ipam_vlans_bulk_update_responses.go | 33 +- .../ipam/ipam_vlans_create_parameters.go | 8 +- .../ipam/ipam_vlans_create_responses.go | 33 +- .../ipam/ipam_vlans_delete_parameters.go | 8 +- .../ipam/ipam_vlans_delete_responses.go | 32 +- .../client/ipam/ipam_vlans_list_parameters.go | 8 +- .../client/ipam/ipam_vlans_list_responses.go | 36 +- .../ipam_vlans_partial_update_parameters.go | 8 +- .../ipam_vlans_partial_update_responses.go | 33 +- .../client/ipam/ipam_vlans_read_parameters.go | 8 +- .../client/ipam/ipam_vlans_read_responses.go | 33 +- .../ipam/ipam_vlans_update_parameters.go | 8 +- .../ipam/ipam_vlans_update_responses.go | 33 +- .../ipam/ipam_vrfs_bulk_delete_parameters.go | 8 +- .../ipam/ipam_vrfs_bulk_delete_responses.go | 32 +- ...pam_vrfs_bulk_partial_update_parameters.go | 8 +- ...ipam_vrfs_bulk_partial_update_responses.go | 33 +- .../ipam/ipam_vrfs_bulk_update_parameters.go | 8 +- .../ipam/ipam_vrfs_bulk_update_responses.go | 33 +- .../ipam/ipam_vrfs_create_parameters.go | 8 +- .../client/ipam/ipam_vrfs_create_responses.go | 33 +- .../ipam/ipam_vrfs_delete_parameters.go | 8 +- .../client/ipam/ipam_vrfs_delete_responses.go | 32 +- .../client/ipam/ipam_vrfs_list_parameters.go | 8 +- .../client/ipam/ipam_vrfs_list_responses.go | 36 +- .../ipam_vrfs_partial_update_parameters.go | 8 +- .../ipam_vrfs_partial_update_responses.go | 33 +- .../client/ipam/ipam_vrfs_read_parameters.go | 8 +- .../client/ipam/ipam_vrfs_read_responses.go | 33 +- .../ipam/ipam_vrfs_update_parameters.go | 8 +- .../client/ipam/ipam_vrfs_update_responses.go | 33 +- .../v3/netbox/client/status/status_client.go | 2 +- .../client/status/status_list_parameters.go | 8 +- .../client/status/status_list_responses.go | 32 +- .../netbox/client/tenancy/tenancy_client.go | 108 +-- ...tact_assignments_bulk_delete_parameters.go | 8 +- ...ntact_assignments_bulk_delete_responses.go | 32 +- ...ignments_bulk_partial_update_parameters.go | 8 +- ...signments_bulk_partial_update_responses.go | 33 +- ...tact_assignments_bulk_update_parameters.go | 8 +- ...ntact_assignments_bulk_update_responses.go | 33 +- ...y_contact_assignments_create_parameters.go | 8 +- ...cy_contact_assignments_create_responses.go | 33 +- ...y_contact_assignments_delete_parameters.go | 8 +- ...cy_contact_assignments_delete_responses.go | 32 +- ...ncy_contact_assignments_list_parameters.go | 8 +- ...ancy_contact_assignments_list_responses.go | 36 +- ...t_assignments_partial_update_parameters.go | 8 +- ...ct_assignments_partial_update_responses.go | 33 +- ...ncy_contact_assignments_read_parameters.go | 8 +- ...ancy_contact_assignments_read_responses.go | 33 +- ...y_contact_assignments_update_parameters.go | 8 +- ...cy_contact_assignments_update_responses.go | 33 +- ...y_contact_groups_bulk_delete_parameters.go | 8 +- ...cy_contact_groups_bulk_delete_responses.go | 32 +- ...t_groups_bulk_partial_update_parameters.go | 8 +- ...ct_groups_bulk_partial_update_responses.go | 33 +- ...y_contact_groups_bulk_update_parameters.go | 8 +- ...cy_contact_groups_bulk_update_responses.go | 33 +- ...enancy_contact_groups_create_parameters.go | 8 +- ...tenancy_contact_groups_create_responses.go | 33 +- ...enancy_contact_groups_delete_parameters.go | 8 +- ...tenancy_contact_groups_delete_responses.go | 32 +- .../tenancy_contact_groups_list_parameters.go | 8 +- .../tenancy_contact_groups_list_responses.go | 36 +- ...ontact_groups_partial_update_parameters.go | 8 +- ...contact_groups_partial_update_responses.go | 33 +- .../tenancy_contact_groups_read_parameters.go | 8 +- .../tenancy_contact_groups_read_responses.go | 33 +- ...enancy_contact_groups_update_parameters.go | 8 +- ...tenancy_contact_groups_update_responses.go | 33 +- ...cy_contact_roles_bulk_delete_parameters.go | 8 +- ...ncy_contact_roles_bulk_delete_responses.go | 32 +- ...ct_roles_bulk_partial_update_parameters.go | 8 +- ...act_roles_bulk_partial_update_responses.go | 33 +- ...cy_contact_roles_bulk_update_parameters.go | 8 +- ...ncy_contact_roles_bulk_update_responses.go | 33 +- ...tenancy_contact_roles_create_parameters.go | 8 +- .../tenancy_contact_roles_create_responses.go | 33 +- ...tenancy_contact_roles_delete_parameters.go | 8 +- .../tenancy_contact_roles_delete_responses.go | 32 +- .../tenancy_contact_roles_list_parameters.go | 8 +- .../tenancy_contact_roles_list_responses.go | 36 +- ...contact_roles_partial_update_parameters.go | 8 +- ..._contact_roles_partial_update_responses.go | 33 +- .../tenancy_contact_roles_read_parameters.go | 8 +- .../tenancy_contact_roles_read_responses.go | 33 +- ...tenancy_contact_roles_update_parameters.go | 8 +- .../tenancy_contact_roles_update_responses.go | 33 +- ...tenancy_contacts_bulk_delete_parameters.go | 8 +- .../tenancy_contacts_bulk_delete_responses.go | 32 +- ...contacts_bulk_partial_update_parameters.go | 8 +- ..._contacts_bulk_partial_update_responses.go | 33 +- ...tenancy_contacts_bulk_update_parameters.go | 8 +- .../tenancy_contacts_bulk_update_responses.go | 33 +- .../tenancy_contacts_create_parameters.go | 8 +- .../tenancy_contacts_create_responses.go | 33 +- .../tenancy_contacts_delete_parameters.go | 8 +- .../tenancy_contacts_delete_responses.go | 32 +- .../tenancy_contacts_list_parameters.go | 8 +- .../tenancy_contacts_list_responses.go | 36 +- ...ancy_contacts_partial_update_parameters.go | 8 +- ...nancy_contacts_partial_update_responses.go | 33 +- .../tenancy_contacts_read_parameters.go | 8 +- .../tenancy_contacts_read_responses.go | 33 +- .../tenancy_contacts_update_parameters.go | 8 +- .../tenancy_contacts_update_responses.go | 33 +- ...cy_tenant_groups_bulk_delete_parameters.go | 8 +- ...ncy_tenant_groups_bulk_delete_responses.go | 32 +- ...t_groups_bulk_partial_update_parameters.go | 8 +- ...nt_groups_bulk_partial_update_responses.go | 33 +- ...cy_tenant_groups_bulk_update_parameters.go | 8 +- ...ncy_tenant_groups_bulk_update_responses.go | 33 +- ...tenancy_tenant_groups_create_parameters.go | 8 +- .../tenancy_tenant_groups_create_responses.go | 33 +- ...tenancy_tenant_groups_delete_parameters.go | 8 +- .../tenancy_tenant_groups_delete_responses.go | 32 +- .../tenancy_tenant_groups_list_parameters.go | 8 +- .../tenancy_tenant_groups_list_responses.go | 36 +- ...tenant_groups_partial_update_parameters.go | 8 +- ..._tenant_groups_partial_update_responses.go | 33 +- .../tenancy_tenant_groups_read_parameters.go | 8 +- .../tenancy_tenant_groups_read_responses.go | 33 +- ...tenancy_tenant_groups_update_parameters.go | 8 +- .../tenancy_tenant_groups_update_responses.go | 33 +- .../tenancy_tenants_bulk_delete_parameters.go | 8 +- .../tenancy_tenants_bulk_delete_responses.go | 32 +- ..._tenants_bulk_partial_update_parameters.go | 8 +- ...y_tenants_bulk_partial_update_responses.go | 33 +- .../tenancy_tenants_bulk_update_parameters.go | 8 +- .../tenancy_tenants_bulk_update_responses.go | 33 +- .../tenancy_tenants_create_parameters.go | 8 +- .../tenancy_tenants_create_responses.go | 33 +- .../tenancy_tenants_delete_parameters.go | 8 +- .../tenancy_tenants_delete_responses.go | 32 +- .../tenancy_tenants_list_parameters.go | 8 +- .../tenancy/tenancy_tenants_list_responses.go | 36 +- ...nancy_tenants_partial_update_parameters.go | 8 +- ...enancy_tenants_partial_update_responses.go | 33 +- .../tenancy_tenants_read_parameters.go | 8 +- .../tenancy/tenancy_tenants_read_responses.go | 33 +- .../tenancy_tenants_update_parameters.go | 8 +- .../tenancy_tenants_update_responses.go | 33 +- .../v3/netbox/client/users/users_client.go | 76 +- .../users/users_config_list_parameters.go | 8 +- .../users/users_config_list_responses.go | 32 +- .../users_groups_bulk_delete_parameters.go | 8 +- .../users_groups_bulk_delete_responses.go | 32 +- ...s_groups_bulk_partial_update_parameters.go | 8 +- ...rs_groups_bulk_partial_update_responses.go | 33 +- .../users_groups_bulk_update_parameters.go | 8 +- .../users_groups_bulk_update_responses.go | 33 +- .../users/users_groups_create_parameters.go | 8 +- .../users/users_groups_create_responses.go | 33 +- .../users/users_groups_delete_parameters.go | 8 +- .../users/users_groups_delete_responses.go | 32 +- .../users/users_groups_list_parameters.go | 8 +- .../users/users_groups_list_responses.go | 36 +- .../users_groups_partial_update_parameters.go | 8 +- .../users_groups_partial_update_responses.go | 33 +- .../users/users_groups_read_parameters.go | 8 +- .../users/users_groups_read_responses.go | 33 +- .../users/users_groups_update_parameters.go | 8 +- .../users/users_groups_update_responses.go | 33 +- ...sers_permissions_bulk_delete_parameters.go | 8 +- ...users_permissions_bulk_delete_responses.go | 32 +- ...missions_bulk_partial_update_parameters.go | 8 +- ...rmissions_bulk_partial_update_responses.go | 33 +- ...sers_permissions_bulk_update_parameters.go | 8 +- ...users_permissions_bulk_update_responses.go | 33 +- .../users_permissions_create_parameters.go | 8 +- .../users_permissions_create_responses.go | 33 +- .../users_permissions_delete_parameters.go | 8 +- .../users_permissions_delete_responses.go | 32 +- .../users_permissions_list_parameters.go | 8 +- .../users/users_permissions_list_responses.go | 36 +- ...s_permissions_partial_update_parameters.go | 8 +- ...rs_permissions_partial_update_responses.go | 33 +- .../users_permissions_read_parameters.go | 8 +- .../users/users_permissions_read_responses.go | 33 +- .../users_permissions_update_parameters.go | 8 +- .../users_permissions_update_responses.go | 33 +- .../users_tokens_bulk_delete_parameters.go | 8 +- .../users_tokens_bulk_delete_responses.go | 32 +- ...s_tokens_bulk_partial_update_parameters.go | 8 +- ...rs_tokens_bulk_partial_update_responses.go | 33 +- .../users_tokens_bulk_update_parameters.go | 8 +- .../users_tokens_bulk_update_responses.go | 33 +- .../users/users_tokens_create_parameters.go | 8 +- .../users/users_tokens_create_responses.go | 33 +- .../users/users_tokens_delete_parameters.go | 8 +- .../users/users_tokens_delete_responses.go | 32 +- .../users/users_tokens_list_parameters.go | 8 +- .../users/users_tokens_list_responses.go | 36 +- .../users_tokens_partial_update_parameters.go | 8 +- .../users_tokens_partial_update_responses.go | 33 +- ...sers_tokens_provision_create_parameters.go | 8 +- ...users_tokens_provision_create_responses.go | 32 +- .../users/users_tokens_read_parameters.go | 8 +- .../users/users_tokens_read_responses.go | 33 +- .../users/users_tokens_update_parameters.go | 8 +- .../users/users_tokens_update_responses.go | 33 +- .../users_users_bulk_delete_parameters.go | 8 +- .../users_users_bulk_delete_responses.go | 32 +- ...rs_users_bulk_partial_update_parameters.go | 8 +- ...ers_users_bulk_partial_update_responses.go | 33 +- .../users_users_bulk_update_parameters.go | 8 +- .../users_users_bulk_update_responses.go | 33 +- .../users/users_users_create_parameters.go | 8 +- .../users/users_users_create_responses.go | 33 +- .../users/users_users_delete_parameters.go | 8 +- .../users/users_users_delete_responses.go | 32 +- .../users/users_users_list_parameters.go | 8 +- .../users/users_users_list_responses.go | 36 +- .../users_users_partial_update_parameters.go | 8 +- .../users_users_partial_update_responses.go | 33 +- .../users/users_users_read_parameters.go | 8 +- .../users/users_users_read_responses.go | 33 +- .../users/users_users_update_parameters.go | 8 +- .../users/users_users_update_responses.go | 33 +- .../virtualization/virtualization_client.go | 90 +-- ...n_cluster_groups_bulk_delete_parameters.go | 8 +- ...on_cluster_groups_bulk_delete_responses.go | 32 +- ...r_groups_bulk_partial_update_parameters.go | 8 +- ...er_groups_bulk_partial_update_responses.go | 33 +- ...n_cluster_groups_bulk_update_parameters.go | 8 +- ...on_cluster_groups_bulk_update_responses.go | 33 +- ...zation_cluster_groups_create_parameters.go | 8 +- ...ization_cluster_groups_create_responses.go | 33 +- ...zation_cluster_groups_delete_parameters.go | 8 +- ...ization_cluster_groups_delete_responses.go | 32 +- ...lization_cluster_groups_list_parameters.go | 8 +- ...alization_cluster_groups_list_responses.go | 36 +- ...luster_groups_partial_update_parameters.go | 8 +- ...cluster_groups_partial_update_responses.go | 33 +- ...lization_cluster_groups_read_parameters.go | 8 +- ...alization_cluster_groups_read_responses.go | 33 +- ...zation_cluster_groups_update_parameters.go | 8 +- ...ization_cluster_groups_update_responses.go | 33 +- ...on_cluster_types_bulk_delete_parameters.go | 8 +- ...ion_cluster_types_bulk_delete_responses.go | 32 +- ...er_types_bulk_partial_update_parameters.go | 8 +- ...ter_types_bulk_partial_update_responses.go | 33 +- ...on_cluster_types_bulk_update_parameters.go | 8 +- ...ion_cluster_types_bulk_update_responses.go | 33 +- ...ization_cluster_types_create_parameters.go | 8 +- ...lization_cluster_types_create_responses.go | 33 +- ...ization_cluster_types_delete_parameters.go | 8 +- ...lization_cluster_types_delete_responses.go | 32 +- ...alization_cluster_types_list_parameters.go | 8 +- ...ualization_cluster_types_list_responses.go | 36 +- ...cluster_types_partial_update_parameters.go | 8 +- ..._cluster_types_partial_update_responses.go | 33 +- ...alization_cluster_types_read_parameters.go | 8 +- ...ualization_cluster_types_read_responses.go | 33 +- ...ization_cluster_types_update_parameters.go | 8 +- ...lization_cluster_types_update_responses.go | 33 +- ...ization_clusters_bulk_delete_parameters.go | 8 +- ...lization_clusters_bulk_delete_responses.go | 32 +- ...clusters_bulk_partial_update_parameters.go | 8 +- ..._clusters_bulk_partial_update_responses.go | 33 +- ...ization_clusters_bulk_update_parameters.go | 8 +- ...lization_clusters_bulk_update_responses.go | 33 +- ...rtualization_clusters_create_parameters.go | 8 +- ...irtualization_clusters_create_responses.go | 33 +- ...rtualization_clusters_delete_parameters.go | 8 +- ...irtualization_clusters_delete_responses.go | 32 +- ...virtualization_clusters_list_parameters.go | 8 +- .../virtualization_clusters_list_responses.go | 36 +- ...tion_clusters_partial_update_parameters.go | 8 +- ...ation_clusters_partial_update_responses.go | 33 +- ...virtualization_clusters_read_parameters.go | 8 +- .../virtualization_clusters_read_responses.go | 33 +- ...rtualization_clusters_update_parameters.go | 8 +- ...irtualization_clusters_update_responses.go | 33 +- ...ation_interfaces_bulk_delete_parameters.go | 8 +- ...zation_interfaces_bulk_delete_responses.go | 32 +- ...terfaces_bulk_partial_update_parameters.go | 8 +- ...nterfaces_bulk_partial_update_responses.go | 33 +- ...ation_interfaces_bulk_update_parameters.go | 8 +- ...zation_interfaces_bulk_update_responses.go | 33 +- ...ualization_interfaces_create_parameters.go | 8 +- ...tualization_interfaces_create_responses.go | 33 +- ...ualization_interfaces_delete_parameters.go | 8 +- ...tualization_interfaces_delete_responses.go | 32 +- ...rtualization_interfaces_list_parameters.go | 8 +- ...irtualization_interfaces_list_responses.go | 36 +- ...on_interfaces_partial_update_parameters.go | 8 +- ...ion_interfaces_partial_update_responses.go | 33 +- ...rtualization_interfaces_read_parameters.go | 8 +- ...irtualization_interfaces_read_responses.go | 33 +- ...ualization_interfaces_update_parameters.go | 8 +- ...tualization_interfaces_update_responses.go | 33 +- ...virtual_machines_bulk_delete_parameters.go | 8 +- ..._virtual_machines_bulk_delete_responses.go | 32 +- ...machines_bulk_partial_update_parameters.go | 8 +- ..._machines_bulk_partial_update_responses.go | 33 +- ...virtual_machines_bulk_update_parameters.go | 8 +- ..._virtual_machines_bulk_update_responses.go | 33 +- ...tion_virtual_machines_create_parameters.go | 8 +- ...ation_virtual_machines_create_responses.go | 33 +- ...tion_virtual_machines_delete_parameters.go | 8 +- ...ation_virtual_machines_delete_responses.go | 32 +- ...zation_virtual_machines_list_parameters.go | 8 +- ...ization_virtual_machines_list_responses.go | 36 +- ...tual_machines_partial_update_parameters.go | 8 +- ...rtual_machines_partial_update_responses.go | 33 +- ...zation_virtual_machines_read_parameters.go | 8 +- ...ization_virtual_machines_read_responses.go | 33 +- ...tion_virtual_machines_update_parameters.go | 8 +- ...ation_virtual_machines_update_responses.go | 33 +- .../netbox/client/wireless/wireless_client.go | 54 +- ...eless_lan_groups_bulk_delete_parameters.go | 8 +- ...reless_lan_groups_bulk_delete_responses.go | 32 +- ...n_groups_bulk_partial_update_parameters.go | 8 +- ...an_groups_bulk_partial_update_responses.go | 33 +- ...eless_lan_groups_bulk_update_parameters.go | 8 +- ...reless_lan_groups_bulk_update_responses.go | 33 +- ...s_wireless_lan_groups_create_parameters.go | 8 +- ...ss_wireless_lan_groups_create_responses.go | 33 +- ...s_wireless_lan_groups_delete_parameters.go | 8 +- ...ss_wireless_lan_groups_delete_responses.go | 32 +- ...ess_wireless_lan_groups_list_parameters.go | 8 +- ...less_wireless_lan_groups_list_responses.go | 36 +- ...ss_lan_groups_partial_update_parameters.go | 8 +- ...ess_lan_groups_partial_update_responses.go | 33 +- ...ess_wireless_lan_groups_read_parameters.go | 8 +- ...less_wireless_lan_groups_read_responses.go | 33 +- ...s_wireless_lan_groups_update_parameters.go | 8 +- ...ss_wireless_lan_groups_update_responses.go | 33 +- ...ss_wireless_lans_bulk_delete_parameters.go | 8 +- ...ess_wireless_lans_bulk_delete_responses.go | 32 +- ...ess_lans_bulk_partial_update_parameters.go | 8 +- ...less_lans_bulk_partial_update_responses.go | 33 +- ...ss_wireless_lans_bulk_update_parameters.go | 8 +- ...ess_wireless_lans_bulk_update_responses.go | 33 +- ...ireless_wireless_lans_create_parameters.go | 8 +- ...wireless_wireless_lans_create_responses.go | 33 +- ...ireless_wireless_lans_delete_parameters.go | 8 +- ...wireless_wireless_lans_delete_responses.go | 32 +- .../wireless_wireless_lans_list_parameters.go | 8 +- .../wireless_wireless_lans_list_responses.go | 36 +- ...wireless_lans_partial_update_parameters.go | 8 +- ..._wireless_lans_partial_update_responses.go | 33 +- .../wireless_wireless_lans_read_parameters.go | 8 +- .../wireless_wireless_lans_read_responses.go | 33 +- ...ireless_wireless_lans_update_parameters.go | 8 +- ...wireless_wireless_lans_update_responses.go | 33 +- ...s_wireless_links_bulk_delete_parameters.go | 8 +- ...ss_wireless_links_bulk_delete_responses.go | 32 +- ...ss_links_bulk_partial_update_parameters.go | 8 +- ...ess_links_bulk_partial_update_responses.go | 33 +- ...s_wireless_links_bulk_update_parameters.go | 8 +- ...ss_wireless_links_bulk_update_responses.go | 33 +- ...reless_wireless_links_create_parameters.go | 8 +- ...ireless_wireless_links_create_responses.go | 33 +- ...reless_wireless_links_delete_parameters.go | 8 +- ...ireless_wireless_links_delete_responses.go | 32 +- ...wireless_wireless_links_list_parameters.go | 8 +- .../wireless_wireless_links_list_responses.go | 36 +- ...ireless_links_partial_update_parameters.go | 8 +- ...wireless_links_partial_update_responses.go | 33 +- ...wireless_wireless_links_read_parameters.go | 8 +- .../wireless_wireless_links_read_responses.go | 33 +- ...reless_wireless_links_update_parameters.go | 8 +- ...ireless_wireless_links_update_responses.go | 33 +- .../writable_device_with_config_context.go | 4 +- ...ble_virtual_machine_with_config_context.go | 4 +- vendor/modules.txt | 2 +- 1615 files changed, 30571 insertions(+), 4228 deletions(-) diff --git a/go.mod b/go.mod index 26d855e43..da7fb0a71 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-openapi/strfmt v0.21.3 github.com/hashicorp/terraform-plugin-docs v0.10.1 github.com/hashicorp/terraform-plugin-sdk/v2 v2.21.0 - github.com/smutel/go-netbox/v3 v3.2.2 + github.com/smutel/go-netbox/v3 v3.2.3 ) require ( diff --git a/go.sum b/go.sum index 698342cf5..3399bd108 100644 --- a/go.sum +++ b/go.sum @@ -286,8 +286,8 @@ github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/smutel/go-netbox/v3 v3.2.2 h1:iFHaPBsrd7/j5zL/tM1A02+5bgxM4igk6OwSz5YjvVY= -github.com/smutel/go-netbox/v3 v3.2.2/go.mod h1:JhFZZHyBu2ePquMEakDmlcCnPzHF4/Ji8wq6cwlCtio= +github.com/smutel/go-netbox/v3 v3.2.3 h1:kO8MfXFE+DlKI07miYoqZ+/2Mk3lJbBGsEz2T1sOfIw= +github.com/smutel/go-netbox/v3 v3.2.3/go.mod h1:JhFZZHyBu2ePquMEakDmlcCnPzHF4/Ji8wq6cwlCtio= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= diff --git a/netbox/resource_netbox_ipam_ip_addresses.go b/netbox/resource_netbox_ipam_ip_addresses.go index c496e0242..0da94a37e 100644 --- a/netbox/resource_netbox_ipam_ip_addresses.go +++ b/netbox/resource_netbox_ipam_ip_addresses.go @@ -116,7 +116,6 @@ func resourceNetboxIpamIPAddresses() *schema.Resource { Type: schema.TypeBool, Optional: true, Default: false, - ForceNew: true, Description: "Set this resource as primary IPv4 (false by default).", }, "role": { @@ -204,7 +203,6 @@ func resourceNetboxIpamIPAddressesCreate(ctx context.Context, d *schema.Resource natInsideID := int64(d.Get("nat_inside_id").(int)) objectID := int64(d.Get("object_id").(int)) objectType := d.Get("object_type").(string) - primaryIP4 := d.Get("primary_ip4").(bool) role := d.Get("role").(string) status := d.Get("status").(string) tags := d.Get("tag").(*schema.Set).List() @@ -225,17 +223,6 @@ func resourceNetboxIpamIPAddressesCreate(ctx context.Context, d *schema.Resource newResource.NatInside = &natInsideID } - var info InfosForPrimary - if primaryIP4 && objectID != 0 { - if objectType == VMInterfaceType { - var err error - info, err = getInfoForPrimary(m, objectID) - if err != nil { - return diag.FromErr(err) - } - } - } - if objectID != 0 { newResource.AssignedObjectID = &objectID newResource.AssignedObjectType = &objectType @@ -268,9 +255,15 @@ func resourceNetboxIpamIPAddressesCreate(ctx context.Context, d *schema.Resource } d.SetId(strconv.FormatInt(*addressid, 10)) - err := updatePrimaryStatus(client, info, *addressid) - if err != nil { - return diag.FromErr(err) + if primaryIP := d.Get("primary_ip4").(bool); primaryIP { + vmID, err := getVMIDForInterface(client, objectID) + if err != nil { + return diag.FromErr(err) + } + err = updatePrimaryStatus(client, vmID, *addressid, primaryIP) + if err != nil { + return diag.FromErr(err) + } } return resourceNetboxIpamIPAddressesRead(ctx, d, m) @@ -336,36 +329,15 @@ func resourceNetboxIpamIPAddressesRead(ctx context.Context, d *schema.ResourceDa return diag.FromErr(err) } - var assignedObjectID *int64 - assignedObjectID = nil - if resource.AssignedObjectID != nil { - assignedObjectID = resource.AssignedObjectID - - var info InfosForPrimary - if *resource.AssignedObjectID != 0 { - if *resource.AssignedObjectType == VMInterfaceType { - var err error - info, err = getInfoForPrimary(m, *resource.AssignedObjectID) - if err != nil { - return diag.FromErr(err) - } - - if info.vmPrimaryIP4ID == resource.ID { - if err = d.Set("primary_ip4", true); err != nil { - return diag.FromErr(err) - } - } else { - if err = d.Set("primary_ip4", false); err != nil { - return diag.FromErr(err) - } - } - } - } - } else if err = d.Set("primary_ip4", false); err != nil { + isPrimary, err := isprimary(m, resource.AssignedObjectID, resource.ID, (*resource.Family.Value == 4)) + if err != nil { + return diag.FromErr(err) + } + if err = d.Set("primary_ip4", isPrimary); err != nil { return diag.FromErr(err) } - if err = d.Set("object_id", assignedObjectID); err != nil { + if err = d.Set("object_id", resource.AssignedObjectID); err != nil { return diag.FromErr(err) } @@ -526,36 +498,19 @@ func resourceNetboxIpamIPAddressesUpdate(ctx context.Context, d *schema.Resource return diag.FromErr(err) } - /* - * if primary_ip4 || d.HasChange("primary_ip4") { - * var info InfosForPrimary - * objectID := int64(d.Get("object_id").(int)) - * objectType := d.Get("object_type").(string) - * isPrimary := d.Get("primary_ip4").(bool) - * if objectID != 0 { - * if objectType == VMInterfaceType { - * var err error - * info, err = getInfoForPrimary(m, objectID) - * if err != nil { - * return diag.FromErr(err) - * } - * } - * } - * - * var ipID int64 - * ipID = 0 - * if isPrimary { - * ipID, err = strconv.ParseInt(d.Id(), 10, 64) - * if err != nil { - * return diag.Errorf("Unable to convert ID into int64") - * } - * } - * err = updatePrimaryStatus(client, info, ipID) - * if err != nil { - * return diag.FromErr(err) - * } - * } - */ + if (d.HasChange("object_id") && d.Get("primary_ip4").(bool)) || + (!d.HasChange("object_id") && d.HasChange("primary_ip4")) || + (d.HasChange("primary_ip4") && d.Get("primary_ip4").(bool)) { + objectID := int64(d.Get("object_id").(int)) + vmID, err := getVMIDForInterface(client, objectID) + if err != nil { + return diag.FromErr(err) + } + err = updatePrimaryStatus(client, vmID, resourceID, d.Get("primary_ip4").(bool)) + if err != nil { + return diag.FromErr(err) + } + } return resourceNetboxIpamIPAddressesRead(ctx, d, m) } diff --git a/netbox/resource_netbox_virtualization_vm.go b/netbox/resource_netbox_virtualization_vm.go index 7625661f4..537171924 100644 --- a/netbox/resource_netbox_virtualization_vm.go +++ b/netbox/resource_netbox_virtualization_vm.go @@ -6,7 +6,6 @@ import ( "fmt" "regexp" "strconv" - "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -32,6 +31,7 @@ func resourceNetboxVirtualizationVM() *schema.Resource { "cluster_id": { Type: schema.TypeInt, Required: true, + Default: nil, Description: "ID of the cluster which host this VM (virtualization module).", }, "comments": { @@ -74,7 +74,7 @@ func resourceNetboxVirtualizationVM() *schema.Resource { "disk": { Type: schema.TypeInt, Optional: true, - Default: 0, + Default: nil, Description: "The size in GB of the disk for this VM (virtualization module).", }, "local_context_data": { @@ -85,7 +85,7 @@ func resourceNetboxVirtualizationVM() *schema.Resource { "memory": { Type: schema.TypeInt, Optional: true, - Default: 0, + Default: nil, Description: "The size in MB of the memory of this VM (virtualization module).", }, "name": { @@ -97,13 +97,13 @@ func resourceNetboxVirtualizationVM() *schema.Resource { "platform_id": { Type: schema.TypeInt, Optional: true, - Default: 0, + Default: nil, Description: "ID of the platform for this VM (virtualization module).", }, "role_id": { Type: schema.TypeInt, Optional: true, - Default: 0, + Default: nil, Description: "ID of the role for this VM (virtualization module).", }, "status": { @@ -136,11 +136,13 @@ func resourceNetboxVirtualizationVM() *schema.Resource { "tenant_id": { Type: schema.TypeInt, Optional: true, + Default: nil, Description: "ID of the tenant where this VM (virtualization module) is attached.", }, "vcpus": { Type: schema.TypeString, Optional: true, + Default: nil, ValidateFunc: validation.StringMatch( regexp.MustCompile("^[0-9]+((.[0-9]){0,1}[0-9]{0,1})$"), "Must be like ^[0-9]+((.[0-9]){0,1}[0-9]{0,1})$"), @@ -355,19 +357,34 @@ func resourceNetboxVirtualizationVMRead(ctx context.Context, d *schema.ResourceD func resourceNetboxVirtualizationVMUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { client := m.(*netboxclient.NetBoxAPI) + dropFields := []string{ + "created", + "last_updated", + } + emptyFields := make(map[string]interface{}) + params := &models.WritableVirtualMachineWithConfigContext{} // Required parameters - name := d.Get("name").(string) - params.Name = &name - clusterID := int64(d.Get("cluster_id").(int)) - params.Cluster = &clusterID + if d.HasChange("name") { + name := d.Get("name").(string) + params.Name = &name + } else { + dropFields = append(dropFields, "name") + } + if d.HasChange("cluster_id") { + clusterID := int64(d.Get("cluster_id").(int)) + params.Cluster = &clusterID + } else { + dropFields = append(dropFields, "cluster") + } if d.HasChange("comments") { - if comments, exist := d.GetOk("comments"); exist { + comments := d.Get("comments") + if comments != "" { params.Comments = comments.(string) } else { - params.Comments = " " + emptyFields["comments"] = "" } } @@ -379,7 +396,11 @@ func resourceNetboxVirtualizationVMUpdate(ctx context.Context, d *schema.Resourc if d.HasChange("disk") { disk := int64(d.Get("disk").(int)) - params.Disk = &disk + if disk != 0 { + params.Disk = &disk + } else { + emptyFields["disk"] = nil + } } if d.HasChange("local_context_data") { @@ -395,17 +416,29 @@ func resourceNetboxVirtualizationVMUpdate(ctx context.Context, d *schema.Resourc if d.HasChange("memory") { memory := int64(d.Get("memory").(int)) - params.Memory = &memory + if memory != 0 { + params.Memory = &memory + } else { + emptyFields["memory"] = nil + } } if d.HasChange("platform_id") { platformID := int64(d.Get("platform_id").(int)) - params.Platform = &platformID + if platformID != 0 { + params.Platform = &platformID + } else { + emptyFields["platform"] = nil + } } if d.HasChange("role_id") { roleID := int64(d.Get("role_id").(int)) - params.Role = &roleID + if roleID != 0 { + params.Role = &roleID + } else { + emptyFields["role"] = nil + } } if d.HasChange("status") { @@ -413,23 +446,30 @@ func resourceNetboxVirtualizationVMUpdate(ctx context.Context, d *schema.Resourc params.Status = status } - tags := d.Get("tag").(*schema.Set).List() - params.Tags = convertTagsToNestedTags(tags) + if d.HasChange("tag") { + tags := d.Get("tag").(*schema.Set).List() + params.Tags = convertTagsToNestedTags(tags) + } else { + dropFields = append(dropFields, "tags") + } if d.HasChange("tenant_id") { tenantID := int64(d.Get("tenant_id").(int)) - params.Tenant = &tenantID + if tenantID != 0 { + params.Tenant = &tenantID + } else { + emptyFields["tenant"] = nil + } } - if _, ok := d.GetOk("vcpus"); d.HasChange("vcpus") && ok { + if d.HasChange("vcpus") { vcpus := d.Get("vcpus").(string) - - if !strings.Contains(vcpus, ".") { - vcpus = vcpus + ".00" + if vcpus != "" { + vcpusFloat, _ := strconv.ParseFloat(vcpus, 32) + params.Vcpus = &vcpusFloat + } else { + emptyFields["vcpus"] = nil } - - vcpusFloat, _ := strconv.ParseFloat(vcpus, 32) - params.Vcpus = &vcpusFloat } resource := virtualization.NewVirtualizationVirtualMachinesPartialUpdateParams().WithData(params) @@ -442,7 +482,7 @@ func resourceNetboxVirtualizationVMUpdate(ctx context.Context, d *schema.Resourc resource.SetID(resourceID) _, err = client.Virtualization.VirtualizationVirtualMachinesPartialUpdate( - resource, nil) + resource, nil, newRequestModifierOperation(emptyFields, dropFields)) if err != nil { return diag.FromErr(err) } diff --git a/netbox/util.go b/netbox/util.go index fac5f1ad0..1e52ebe14 100644 --- a/netbox/util.go +++ b/netbox/util.go @@ -1,12 +1,14 @@ package netbox import ( + "encoding/json" "fmt" "regexp" "sort" "strconv" "strings" + "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" netboxclient "github.com/smutel/go-netbox/v3/netbox/client" "github.com/smutel/go-netbox/v3/netbox/client/ipam" @@ -14,15 +16,6 @@ import ( "github.com/smutel/go-netbox/v3/netbox/models" ) -// InfosForPrimary is used to store info about primary IP -type InfosForPrimary struct { - vmID int64 - vmName string - vmClusterID int64 - vmPrimaryIP4ID int64 - vmTags []*models.NestedTag -} - // Type of vm interface in Netbox const VMInterfaceType string = "virtualization.vminterface" @@ -84,22 +77,48 @@ func convertNestedTagsToTags(tags []*models.NestedTag) []map[string]string { return tfTags } -func getInfoForPrimary(m interface{}, objectID int64) (InfosForPrimary, error) { +func getVMIDForInterface(m interface{}, objectID int64) (int64, error) { client := m.(*netboxclient.NetBoxAPI) objectIDStr := fmt.Sprintf("%d", objectID) - info := InfosForPrimary{} paramsInterface := virtualization.NewVirtualizationInterfacesListParams().WithID( &objectIDStr) interfaces, err := client.Virtualization.VirtualizationInterfacesList( paramsInterface, nil) if err != nil { - return info, err + return 0, err } for _, i := range interfaces.Payload.Results { if i.ID == objectID { + if i.VirtualMachine != nil { + return i.VirtualMachine.ID, nil + } + } + } + return 0, fmt.Errorf("virtual machine not found") +} + +func isprimary(m interface{}, objectID *int64, ipID int64, ip4 bool) (bool, error) { + client := m.(*netboxclient.NetBoxAPI) + + if objectID == nil { + return false, nil + } + + objectIDStr := strconv.FormatInt(*objectID, 10) + paramsInterface := virtualization.NewVirtualizationInterfacesListParams().WithID( + &objectIDStr) + interfaces, err := client.Virtualization.VirtualizationInterfacesList( + paramsInterface, nil) + + if err != nil { + return false, err + } + + for _, i := range interfaces.Payload.Results { + if i.ID == *objectID { if i.VirtualMachine != nil { vmIDStr := fmt.Sprintf("%d", i.VirtualMachine.ID) paramsVM := virtualization.NewVirtualizationVirtualMachinesListParams().WithID(&vmIDStr) @@ -107,52 +126,57 @@ func getInfoForPrimary(m interface{}, objectID int64) (InfosForPrimary, error) { paramsVM, nil) if err != nil { - return info, err + return false, err } if *vms.Payload.Count != 1 { - return info, fmt.Errorf("Cannot set an interface as primary when " + + return false, fmt.Errorf("Cannot set an interface as primary when " + "the interface is not attached to a VM.") } - info.vmID = i.VirtualMachine.ID - info.vmName = *vms.Payload.Results[0].Name - info.vmClusterID = vms.Payload.Results[0].Cluster.ID - info.vmTags = vms.Payload.Results[0].Tags - - if vms.Payload.Results[0].PrimaryIp4 != nil { - info.vmPrimaryIP4ID = vms.Payload.Results[0].PrimaryIp4.ID + if ip4 && vms.Payload.Results[0].PrimaryIp4 != nil { + return vms.Payload.Results[0].PrimaryIp4.ID == ipID, nil + } else if !ip4 && vms.Payload.Results[0].PrimaryIp6 != nil { + return vms.Payload.Results[0].PrimaryIp6.ID == ipID, nil } else { - info.vmPrimaryIP4ID = 0 + return false, nil } } else { - return info, fmt.Errorf("Cannot set an interface as primary when the " + + return false, fmt.Errorf("Cannot set an interface as primary when the " + "interface is not attached to a VM.") } } } - return info, nil + return false, nil } -func updatePrimaryStatus(m interface{}, info InfosForPrimary, id int64) error { +func updatePrimaryStatus(m interface{}, vmid, ipid int64, primary bool) error { client := m.(*netboxclient.NetBoxAPI) - if info.vmName != "" { - params := &models.WritableVirtualMachineWithConfigContext{} - params.Name = &info.vmName - params.Cluster = &info.vmClusterID - params.PrimaryIp4 = &id - params.Tags = purgeNestedTagsToNestedTags(info.vmTags) - vm := virtualization.NewVirtualizationVirtualMachinesPartialUpdateParams().WithData(params) - vm.SetID(info.vmID) - _, err := client.Virtualization.VirtualizationVirtualMachinesPartialUpdate( - vm, nil) - if err != nil { - return err - } + emptyFields := make(map[string]interface{}) + dropFields := []string{ + "created", + "last_updated", + "name", + "cluster", + "tags", } + params := &models.WritableVirtualMachineWithConfigContext{} + if primary { + params.PrimaryIp4 = &ipid + } else { + params.PrimaryIp4 = nil + emptyFields["primary_ip4"] = nil + } + vm := virtualization.NewVirtualizationVirtualMachinesPartialUpdateParams().WithData(params) + vm.SetID(vmid) + _, err := client.Virtualization.VirtualizationVirtualMachinesPartialUpdate( + vm, nil, newRequestModifierOperation(emptyFields, dropFields)) + if err != nil { + return err + } return nil } @@ -309,3 +333,49 @@ func getNewAvailablePrefix(client *netboxclient.NetBoxAPI, id int64, length int6 } return list.Payload[0], nil } + +type requestModifier struct { + origwriter runtime.ClientRequestWriter + overwritefields map[string]interface{} + dropfields []string +} + +func (o requestModifier) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { + err := o.origwriter.WriteToRequest(r, reg) + if err != nil { + return err + } + + jsonString, err := json.Marshal(r.GetBodyParam()) + if err != nil { + return err + } + + var objmap map[string]interface{} + err = json.Unmarshal(jsonString, &objmap) + if err != nil { + return err + } + for _, k := range o.dropfields { + delete(objmap, k) + } + for k, v := range o.overwritefields { + objmap[k] = v + } + + err = r.SetBodyParam(objmap) + return err +} + +func newRequestModifierOperation(empty map[string]interface{}, drop []string) func(*runtime.ClientOperation) { + return func(op *runtime.ClientOperation) { + if len(empty) > 0 || len(drop) > 0 { + tmp := requestModifier{ + origwriter: op.Params, + overwritefields: empty, + dropfields: drop, + } + op.Params = tmp + } + } +} diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_parameters.go index 99f0e9211..8e23514f5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewCircuitsCircuitTerminationsBulkDeleteParamsWithHTTPClient(client *http.C } } -/* CircuitsCircuitTerminationsBulkDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations bulk delete operation. +/* +CircuitsCircuitTerminationsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations bulk delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_responses.go index 58194ee87..d27298c74 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitTerminationsBulkDeleteNoContent() *CircuitsCircuitTermina return &CircuitsCircuitTerminationsBulkDeleteNoContent{} } -/* CircuitsCircuitTerminationsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitTerminationsBulkDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitTerminationsBulkDeleteNoContent circuits circuit terminations bulk delete no content */ type CircuitsCircuitTerminationsBulkDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuit terminations bulk delete no content response has a 2xx status code +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations bulk delete no content response has a 3xx status code +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations bulk delete no content response has a 4xx status code +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations bulk delete no content response has a 5xx status code +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations bulk delete no content response a status code equal to that given +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkDeleteNoContent ", 204) } +func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkDeleteNoContent ", 204) +} + func (o *CircuitsCircuitTerminationsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_parameters.go index 8739a57ef..e2c5501b1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTerminationsBulkPartialUpdateParamsWithHTTPClient(client } } -/* CircuitsCircuitTerminationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations bulk partial update operation. +/* +CircuitsCircuitTerminationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations bulk partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_responses.go index 29b2d789f..9ddd48055 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsBulkPartialUpdateOK() *CircuitsCircuitTermina return &CircuitsCircuitTerminationsBulkPartialUpdateOK{} } -/* CircuitsCircuitTerminationsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsBulkPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsBulkPartialUpdateOK circuits circuit terminations bulk partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsBulkPartialUpdateOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations bulk partial update o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations bulk partial update o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations bulk partial update o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations bulk partial update o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations bulk partial update o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsBulkPartialUpdateOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_parameters.go index 87293e578..0987c94ee 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTerminationsBulkUpdateParamsWithHTTPClient(client *http.C } } -/* CircuitsCircuitTerminationsBulkUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations bulk update operation. +/* +CircuitsCircuitTerminationsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations bulk update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_responses.go index 69d69b6a2..19f5557a9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsBulkUpdateOK() *CircuitsCircuitTerminationsBu return &CircuitsCircuitTerminationsBulkUpdateOK{} } -/* CircuitsCircuitTerminationsBulkUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsBulkUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsBulkUpdateOK circuits circuit terminations bulk update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsBulkUpdateOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations bulk update o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations bulk update o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations bulk update o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations bulk update o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations bulk update o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsBulkUpdateOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_parameters.go index c348ef79d..b071fb696 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTerminationsCreateParamsWithHTTPClient(client *http.Clien } } -/* CircuitsCircuitTerminationsCreateParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations create operation. +/* +CircuitsCircuitTerminationsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations create operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_responses.go index f8724e6ec..53268eb85 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_create_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsCreateCreated() *CircuitsCircuitTerminationsC return &CircuitsCircuitTerminationsCreateCreated{} } -/* CircuitsCircuitTerminationsCreateCreated describes a response with status code 201, with default header values. +/* +CircuitsCircuitTerminationsCreateCreated describes a response with status code 201, with default header values. CircuitsCircuitTerminationsCreateCreated circuits circuit terminations create created */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsCreateCreated struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations create created response has a 2xx status code +func (o *CircuitsCircuitTerminationsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations create created response has a 3xx status code +func (o *CircuitsCircuitTerminationsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations create created response has a 4xx status code +func (o *CircuitsCircuitTerminationsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations create created response has a 5xx status code +func (o *CircuitsCircuitTerminationsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations create created response a status code equal to that given +func (o *CircuitsCircuitTerminationsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *CircuitsCircuitTerminationsCreateCreated) Error() string { return fmt.Sprintf("[POST /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsCreateCreated %+v", 201, o.Payload) } + +func (o *CircuitsCircuitTerminationsCreateCreated) String() string { + return fmt.Sprintf("[POST /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsCreateCreated %+v", 201, o.Payload) +} + func (o *CircuitsCircuitTerminationsCreateCreated) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_parameters.go index e3701f605..fa7f8d88b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTerminationsDeleteParamsWithHTTPClient(client *http.Clien } } -/* CircuitsCircuitTerminationsDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations delete operation. +/* +CircuitsCircuitTerminationsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_responses.go index a9b4b6605..1afc81a77 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitTerminationsDeleteNoContent() *CircuitsCircuitTermination return &CircuitsCircuitTerminationsDeleteNoContent{} } -/* CircuitsCircuitTerminationsDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitTerminationsDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitTerminationsDeleteNoContent circuits circuit terminations delete no content */ type CircuitsCircuitTerminationsDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuit terminations delete no content response has a 2xx status code +func (o *CircuitsCircuitTerminationsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations delete no content response has a 3xx status code +func (o *CircuitsCircuitTerminationsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations delete no content response has a 4xx status code +func (o *CircuitsCircuitTerminationsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations delete no content response has a 5xx status code +func (o *CircuitsCircuitTerminationsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations delete no content response a status code equal to that given +func (o *CircuitsCircuitTerminationsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitTerminationsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsDeleteNoContent ", 204) } +func (o *CircuitsCircuitTerminationsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsDeleteNoContent ", 204) +} + func (o *CircuitsCircuitTerminationsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_parameters.go index c9071aae6..75ffe396d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTerminationsListParamsWithHTTPClient(client *http.Client) } } -/* CircuitsCircuitTerminationsListParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations list operation. +/* +CircuitsCircuitTerminationsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations list operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_responses.go index bd2d5d3aa..e81a2be8c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_list_responses.go @@ -59,7 +59,8 @@ func NewCircuitsCircuitTerminationsListOK() *CircuitsCircuitTerminationsListOK { return &CircuitsCircuitTerminationsListOK{} } -/* CircuitsCircuitTerminationsListOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsListOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsListOK circuits circuit terminations list o k */ @@ -67,9 +68,39 @@ type CircuitsCircuitTerminationsListOK struct { Payload *CircuitsCircuitTerminationsListOKBody } +// IsSuccess returns true when this circuits circuit terminations list o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations list o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations list o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations list o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations list o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsListOK) Error() string { return fmt.Sprintf("[GET /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsListOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsListOK) String() string { + return fmt.Sprintf("[GET /circuits/circuit-terminations/][%d] circuitsCircuitTerminationsListOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsListOK) GetPayload() *CircuitsCircuitTerminationsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *CircuitsCircuitTerminationsListOK) readResponse(response runtime.Client return nil } -/*CircuitsCircuitTerminationsListOKBody circuits circuit terminations list o k body +/* +CircuitsCircuitTerminationsListOKBody circuits circuit terminations list o k body swagger:model CircuitsCircuitTerminationsListOKBody */ type CircuitsCircuitTerminationsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_parameters.go index d6b1baf5a..aff80c342 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitTerminationsPartialUpdateParamsWithHTTPClient(client *htt } } -/* CircuitsCircuitTerminationsPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations partial update operation. +/* +CircuitsCircuitTerminationsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_responses.go index fbbaad806..e95b35827 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsPartialUpdateOK() *CircuitsCircuitTermination return &CircuitsCircuitTerminationsPartialUpdateOK{} } -/* CircuitsCircuitTerminationsPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsPartialUpdateOK circuits circuit terminations partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsPartialUpdateOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations partial update o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations partial update o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations partial update o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations partial update o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations partial update o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsPartialUpdateOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_parameters.go index 1f789d6ac..c90ed2aa1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTerminationsPathsParamsWithHTTPClient(client *http.Client } } -/* CircuitsCircuitTerminationsPathsParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations paths operation. +/* +CircuitsCircuitTerminationsPathsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations paths operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsPathsParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_responses.go index e44ed0127..5fe704d2f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_paths_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsPathsOK() *CircuitsCircuitTerminationsPathsOK return &CircuitsCircuitTerminationsPathsOK{} } -/* CircuitsCircuitTerminationsPathsOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsPathsOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsPathsOK circuits circuit terminations paths o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsPathsOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations paths o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsPathsOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations paths o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsPathsOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations paths o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsPathsOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations paths o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsPathsOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations paths o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsPathsOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsPathsOK) Error() string { return fmt.Sprintf("[GET /circuits/circuit-terminations/{id}/paths/][%d] circuitsCircuitTerminationsPathsOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsPathsOK) String() string { + return fmt.Sprintf("[GET /circuits/circuit-terminations/{id}/paths/][%d] circuitsCircuitTerminationsPathsOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsPathsOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_parameters.go index 6302486fc..cd335b6cf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTerminationsReadParamsWithHTTPClient(client *http.Client) } } -/* CircuitsCircuitTerminationsReadParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations read operation. +/* +CircuitsCircuitTerminationsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations read operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_responses.go index 05ac2fcb1..4ca120cec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_read_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsReadOK() *CircuitsCircuitTerminationsReadOK { return &CircuitsCircuitTerminationsReadOK{} } -/* CircuitsCircuitTerminationsReadOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsReadOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsReadOK circuits circuit terminations read o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsReadOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations read o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations read o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations read o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations read o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations read o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsReadOK) Error() string { return fmt.Sprintf("[GET /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsReadOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsReadOK) String() string { + return fmt.Sprintf("[GET /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsReadOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsReadOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_parameters.go index a91ffd756..32b965ec9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitTerminationsUpdateParamsWithHTTPClient(client *http.Clien } } -/* CircuitsCircuitTerminationsUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit terminations update operation. +/* +CircuitsCircuitTerminationsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit terminations update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTerminationsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_responses.go index 4ec83d6e1..58629b912 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_terminations_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTerminationsUpdateOK() *CircuitsCircuitTerminationsUpdate return &CircuitsCircuitTerminationsUpdateOK{} } -/* CircuitsCircuitTerminationsUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTerminationsUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTerminationsUpdateOK circuits circuit terminations update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTerminationsUpdateOK struct { Payload *models.CircuitTermination } +// IsSuccess returns true when this circuits circuit terminations update o k response has a 2xx status code +func (o *CircuitsCircuitTerminationsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit terminations update o k response has a 3xx status code +func (o *CircuitsCircuitTerminationsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit terminations update o k response has a 4xx status code +func (o *CircuitsCircuitTerminationsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit terminations update o k response has a 5xx status code +func (o *CircuitsCircuitTerminationsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit terminations update o k response a status code equal to that given +func (o *CircuitsCircuitTerminationsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTerminationsUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTerminationsUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuit-terminations/{id}/][%d] circuitsCircuitTerminationsUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTerminationsUpdateOK) GetPayload() *models.CircuitTermination { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_parameters.go index 4acfc053a..95e8bbacc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewCircuitsCircuitTypesBulkDeleteParamsWithHTTPClient(client *http.Client) } } -/* CircuitsCircuitTypesBulkDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuit types bulk delete operation. +/* +CircuitsCircuitTypesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types bulk delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_responses.go index 5767ba5f4..5ad6e42b7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitTypesBulkDeleteNoContent() *CircuitsCircuitTypesBulkDelet return &CircuitsCircuitTypesBulkDeleteNoContent{} } -/* CircuitsCircuitTypesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitTypesBulkDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitTypesBulkDeleteNoContent circuits circuit types bulk delete no content */ type CircuitsCircuitTypesBulkDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuit types bulk delete no content response has a 2xx status code +func (o *CircuitsCircuitTypesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types bulk delete no content response has a 3xx status code +func (o *CircuitsCircuitTypesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types bulk delete no content response has a 4xx status code +func (o *CircuitsCircuitTypesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types bulk delete no content response has a 5xx status code +func (o *CircuitsCircuitTypesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types bulk delete no content response a status code equal to that given +func (o *CircuitsCircuitTypesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitTypesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuit-types/][%d] circuitsCircuitTypesBulkDeleteNoContent ", 204) } +func (o *CircuitsCircuitTypesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuit-types/][%d] circuitsCircuitTypesBulkDeleteNoContent ", 204) +} + func (o *CircuitsCircuitTypesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_parameters.go index 187e2892d..e28a3815c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTypesBulkPartialUpdateParamsWithHTTPClient(client *http.C } } -/* CircuitsCircuitTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit types bulk partial update operation. +/* +CircuitsCircuitTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types bulk partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_responses.go index 20ee89cd9..359755fd5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesBulkPartialUpdateOK() *CircuitsCircuitTypesBulkParti return &CircuitsCircuitTypesBulkPartialUpdateOK{} } -/* CircuitsCircuitTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTypesBulkPartialUpdateOK circuits circuit types bulk partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesBulkPartialUpdateOK struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types bulk partial update o k response has a 2xx status code +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types bulk partial update o k response has a 3xx status code +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types bulk partial update o k response has a 4xx status code +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types bulk partial update o k response has a 5xx status code +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types bulk partial update o k response a status code equal to that given +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuit-types/][%d] circuitsCircuitTypesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuit-types/][%d] circuitsCircuitTypesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesBulkPartialUpdateOK) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_parameters.go index 7bb1e71da..09ee81ee8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTypesBulkUpdateParamsWithHTTPClient(client *http.Client) } } -/* CircuitsCircuitTypesBulkUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit types bulk update operation. +/* +CircuitsCircuitTypesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types bulk update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_responses.go index a30ea66d7..ee57f2a83 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesBulkUpdateOK() *CircuitsCircuitTypesBulkUpdateOK { return &CircuitsCircuitTypesBulkUpdateOK{} } -/* CircuitsCircuitTypesBulkUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesBulkUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTypesBulkUpdateOK circuits circuit types bulk update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesBulkUpdateOK struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types bulk update o k response has a 2xx status code +func (o *CircuitsCircuitTypesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types bulk update o k response has a 3xx status code +func (o *CircuitsCircuitTypesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types bulk update o k response has a 4xx status code +func (o *CircuitsCircuitTypesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types bulk update o k response has a 5xx status code +func (o *CircuitsCircuitTypesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types bulk update o k response a status code equal to that given +func (o *CircuitsCircuitTypesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuit-types/][%d] circuitsCircuitTypesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuit-types/][%d] circuitsCircuitTypesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesBulkUpdateOK) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_parameters.go index 671cb6f03..06dd2eb93 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitTypesCreateParamsWithHTTPClient(client *http.Client) *Cir } } -/* CircuitsCircuitTypesCreateParams contains all the parameters to send to the API endpoint - for the circuits circuit types create operation. +/* +CircuitsCircuitTypesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types create operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_responses.go index aee02216e..1407393ad 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_create_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesCreateCreated() *CircuitsCircuitTypesCreateCreated { return &CircuitsCircuitTypesCreateCreated{} } -/* CircuitsCircuitTypesCreateCreated describes a response with status code 201, with default header values. +/* +CircuitsCircuitTypesCreateCreated describes a response with status code 201, with default header values. CircuitsCircuitTypesCreateCreated circuits circuit types create created */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesCreateCreated struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types create created response has a 2xx status code +func (o *CircuitsCircuitTypesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types create created response has a 3xx status code +func (o *CircuitsCircuitTypesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types create created response has a 4xx status code +func (o *CircuitsCircuitTypesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types create created response has a 5xx status code +func (o *CircuitsCircuitTypesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types create created response a status code equal to that given +func (o *CircuitsCircuitTypesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *CircuitsCircuitTypesCreateCreated) Error() string { return fmt.Sprintf("[POST /circuits/circuit-types/][%d] circuitsCircuitTypesCreateCreated %+v", 201, o.Payload) } + +func (o *CircuitsCircuitTypesCreateCreated) String() string { + return fmt.Sprintf("[POST /circuits/circuit-types/][%d] circuitsCircuitTypesCreateCreated %+v", 201, o.Payload) +} + func (o *CircuitsCircuitTypesCreateCreated) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_parameters.go index 670c06ba9..5511395c9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTypesDeleteParamsWithHTTPClient(client *http.Client) *Cir } } -/* CircuitsCircuitTypesDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuit types delete operation. +/* +CircuitsCircuitTypesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_responses.go index ca0a8bb7b..9ec0719fc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitTypesDeleteNoContent() *CircuitsCircuitTypesDeleteNoConte return &CircuitsCircuitTypesDeleteNoContent{} } -/* CircuitsCircuitTypesDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitTypesDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitTypesDeleteNoContent circuits circuit types delete no content */ type CircuitsCircuitTypesDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuit types delete no content response has a 2xx status code +func (o *CircuitsCircuitTypesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types delete no content response has a 3xx status code +func (o *CircuitsCircuitTypesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types delete no content response has a 4xx status code +func (o *CircuitsCircuitTypesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types delete no content response has a 5xx status code +func (o *CircuitsCircuitTypesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types delete no content response a status code equal to that given +func (o *CircuitsCircuitTypesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitTypesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesDeleteNoContent ", 204) } +func (o *CircuitsCircuitTypesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesDeleteNoContent ", 204) +} + func (o *CircuitsCircuitTypesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_parameters.go index 593e1ff10..432e8d651 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTypesListParamsWithHTTPClient(client *http.Client) *Circu } } -/* CircuitsCircuitTypesListParams contains all the parameters to send to the API endpoint - for the circuits circuit types list operation. +/* +CircuitsCircuitTypesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types list operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_responses.go index 4976d868a..43ff7ed30 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_list_responses.go @@ -59,7 +59,8 @@ func NewCircuitsCircuitTypesListOK() *CircuitsCircuitTypesListOK { return &CircuitsCircuitTypesListOK{} } -/* CircuitsCircuitTypesListOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesListOK describes a response with status code 200, with default header values. CircuitsCircuitTypesListOK circuits circuit types list o k */ @@ -67,9 +68,39 @@ type CircuitsCircuitTypesListOK struct { Payload *CircuitsCircuitTypesListOKBody } +// IsSuccess returns true when this circuits circuit types list o k response has a 2xx status code +func (o *CircuitsCircuitTypesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types list o k response has a 3xx status code +func (o *CircuitsCircuitTypesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types list o k response has a 4xx status code +func (o *CircuitsCircuitTypesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types list o k response has a 5xx status code +func (o *CircuitsCircuitTypesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types list o k response a status code equal to that given +func (o *CircuitsCircuitTypesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesListOK) Error() string { return fmt.Sprintf("[GET /circuits/circuit-types/][%d] circuitsCircuitTypesListOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesListOK) String() string { + return fmt.Sprintf("[GET /circuits/circuit-types/][%d] circuitsCircuitTypesListOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesListOK) GetPayload() *CircuitsCircuitTypesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *CircuitsCircuitTypesListOK) readResponse(response runtime.ClientRespons return nil } -/*CircuitsCircuitTypesListOKBody circuits circuit types list o k body +/* +CircuitsCircuitTypesListOKBody circuits circuit types list o k body swagger:model CircuitsCircuitTypesListOKBody */ type CircuitsCircuitTypesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_parameters.go index aa5144e6d..8a362ea96 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitTypesPartialUpdateParamsWithHTTPClient(client *http.Clien } } -/* CircuitsCircuitTypesPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit types partial update operation. +/* +CircuitsCircuitTypesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_responses.go index a7f582c5e..e7b6cdee1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesPartialUpdateOK() *CircuitsCircuitTypesPartialUpdate return &CircuitsCircuitTypesPartialUpdateOK{} } -/* CircuitsCircuitTypesPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTypesPartialUpdateOK circuits circuit types partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesPartialUpdateOK struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types partial update o k response has a 2xx status code +func (o *CircuitsCircuitTypesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types partial update o k response has a 3xx status code +func (o *CircuitsCircuitTypesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types partial update o k response has a 4xx status code +func (o *CircuitsCircuitTypesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types partial update o k response has a 5xx status code +func (o *CircuitsCircuitTypesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types partial update o k response a status code equal to that given +func (o *CircuitsCircuitTypesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesPartialUpdateOK) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_parameters.go index 67e8d5ea1..9b87d2f36 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitTypesReadParamsWithHTTPClient(client *http.Client) *Circu } } -/* CircuitsCircuitTypesReadParams contains all the parameters to send to the API endpoint - for the circuits circuit types read operation. +/* +CircuitsCircuitTypesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types read operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_responses.go index b449a178e..9ae021d7c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_read_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesReadOK() *CircuitsCircuitTypesReadOK { return &CircuitsCircuitTypesReadOK{} } -/* CircuitsCircuitTypesReadOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesReadOK describes a response with status code 200, with default header values. CircuitsCircuitTypesReadOK circuits circuit types read o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesReadOK struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types read o k response has a 2xx status code +func (o *CircuitsCircuitTypesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types read o k response has a 3xx status code +func (o *CircuitsCircuitTypesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types read o k response has a 4xx status code +func (o *CircuitsCircuitTypesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types read o k response has a 5xx status code +func (o *CircuitsCircuitTypesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types read o k response a status code equal to that given +func (o *CircuitsCircuitTypesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesReadOK) Error() string { return fmt.Sprintf("[GET /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesReadOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesReadOK) String() string { + return fmt.Sprintf("[GET /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesReadOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesReadOK) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_parameters.go index 1c8ea4080..c033e3f48 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitTypesUpdateParamsWithHTTPClient(client *http.Client) *Cir } } -/* CircuitsCircuitTypesUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuit types update operation. +/* +CircuitsCircuitTypesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuit types update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitTypesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_responses.go index 3e533dfc5..ba33347ae 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuit_types_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitTypesUpdateOK() *CircuitsCircuitTypesUpdateOK { return &CircuitsCircuitTypesUpdateOK{} } -/* CircuitsCircuitTypesUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitTypesUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitTypesUpdateOK circuits circuit types update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitTypesUpdateOK struct { Payload *models.CircuitType } +// IsSuccess returns true when this circuits circuit types update o k response has a 2xx status code +func (o *CircuitsCircuitTypesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuit types update o k response has a 3xx status code +func (o *CircuitsCircuitTypesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuit types update o k response has a 4xx status code +func (o *CircuitsCircuitTypesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuit types update o k response has a 5xx status code +func (o *CircuitsCircuitTypesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuit types update o k response a status code equal to that given +func (o *CircuitsCircuitTypesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitTypesUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitTypesUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuit-types/{id}/][%d] circuitsCircuitTypesUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitTypesUpdateOK) GetPayload() *models.CircuitType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_parameters.go index efd6e9928..2edbea97b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewCircuitsCircuitsBulkDeleteParamsWithHTTPClient(client *http.Client) *Cir } } -/* CircuitsCircuitsBulkDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuits bulk delete operation. +/* +CircuitsCircuitsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits bulk delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_responses.go index 661ff054d..73987a77c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitsBulkDeleteNoContent() *CircuitsCircuitsBulkDeleteNoConte return &CircuitsCircuitsBulkDeleteNoContent{} } -/* CircuitsCircuitsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitsBulkDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitsBulkDeleteNoContent circuits circuits bulk delete no content */ type CircuitsCircuitsBulkDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuits bulk delete no content response has a 2xx status code +func (o *CircuitsCircuitsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits bulk delete no content response has a 3xx status code +func (o *CircuitsCircuitsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits bulk delete no content response has a 4xx status code +func (o *CircuitsCircuitsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits bulk delete no content response has a 5xx status code +func (o *CircuitsCircuitsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits bulk delete no content response a status code equal to that given +func (o *CircuitsCircuitsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuits/][%d] circuitsCircuitsBulkDeleteNoContent ", 204) } +func (o *CircuitsCircuitsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuits/][%d] circuitsCircuitsBulkDeleteNoContent ", 204) +} + func (o *CircuitsCircuitsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_parameters.go index 76b4a2298..c27b052d3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitsBulkPartialUpdateParamsWithHTTPClient(client *http.Clien } } -/* CircuitsCircuitsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuits bulk partial update operation. +/* +CircuitsCircuitsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits bulk partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_responses.go index d727d5a25..395eb2210 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsBulkPartialUpdateOK() *CircuitsCircuitsBulkPartialUpdate return &CircuitsCircuitsBulkPartialUpdateOK{} } -/* CircuitsCircuitsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsBulkPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitsBulkPartialUpdateOK circuits circuits bulk partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitsBulkPartialUpdateOK struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits bulk partial update o k response has a 2xx status code +func (o *CircuitsCircuitsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits bulk partial update o k response has a 3xx status code +func (o *CircuitsCircuitsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits bulk partial update o k response has a 4xx status code +func (o *CircuitsCircuitsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits bulk partial update o k response has a 5xx status code +func (o *CircuitsCircuitsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits bulk partial update o k response a status code equal to that given +func (o *CircuitsCircuitsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuits/][%d] circuitsCircuitsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuits/][%d] circuitsCircuitsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsBulkPartialUpdateOK) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_parameters.go index 7cc064d21..50b3a20fb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitsBulkUpdateParamsWithHTTPClient(client *http.Client) *Cir } } -/* CircuitsCircuitsBulkUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuits bulk update operation. +/* +CircuitsCircuitsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits bulk update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_responses.go index 5b57ca36d..6dc2bdb91 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsBulkUpdateOK() *CircuitsCircuitsBulkUpdateOK { return &CircuitsCircuitsBulkUpdateOK{} } -/* CircuitsCircuitsBulkUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsBulkUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitsBulkUpdateOK circuits circuits bulk update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitsBulkUpdateOK struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits bulk update o k response has a 2xx status code +func (o *CircuitsCircuitsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits bulk update o k response has a 3xx status code +func (o *CircuitsCircuitsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits bulk update o k response has a 4xx status code +func (o *CircuitsCircuitsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits bulk update o k response has a 5xx status code +func (o *CircuitsCircuitsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits bulk update o k response a status code equal to that given +func (o *CircuitsCircuitsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuits/][%d] circuitsCircuitsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuits/][%d] circuitsCircuitsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsBulkUpdateOK) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_parameters.go index 290cec9e6..bf03c53c3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsCircuitsCreateParamsWithHTTPClient(client *http.Client) *Circuit } } -/* CircuitsCircuitsCreateParams contains all the parameters to send to the API endpoint - for the circuits circuits create operation. +/* +CircuitsCircuitsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits create operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_responses.go index 20adbde25..038300819 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_create_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsCreateCreated() *CircuitsCircuitsCreateCreated { return &CircuitsCircuitsCreateCreated{} } -/* CircuitsCircuitsCreateCreated describes a response with status code 201, with default header values. +/* +CircuitsCircuitsCreateCreated describes a response with status code 201, with default header values. CircuitsCircuitsCreateCreated circuits circuits create created */ @@ -62,9 +63,39 @@ type CircuitsCircuitsCreateCreated struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits create created response has a 2xx status code +func (o *CircuitsCircuitsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits create created response has a 3xx status code +func (o *CircuitsCircuitsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits create created response has a 4xx status code +func (o *CircuitsCircuitsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits create created response has a 5xx status code +func (o *CircuitsCircuitsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits create created response a status code equal to that given +func (o *CircuitsCircuitsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *CircuitsCircuitsCreateCreated) Error() string { return fmt.Sprintf("[POST /circuits/circuits/][%d] circuitsCircuitsCreateCreated %+v", 201, o.Payload) } + +func (o *CircuitsCircuitsCreateCreated) String() string { + return fmt.Sprintf("[POST /circuits/circuits/][%d] circuitsCircuitsCreateCreated %+v", 201, o.Payload) +} + func (o *CircuitsCircuitsCreateCreated) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_parameters.go index 12146bc5f..c5e1e89ea 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitsDeleteParamsWithHTTPClient(client *http.Client) *Circuit } } -/* CircuitsCircuitsDeleteParams contains all the parameters to send to the API endpoint - for the circuits circuits delete operation. +/* +CircuitsCircuitsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits delete operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_responses.go index eb6333617..04bf44cd6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsCircuitsDeleteNoContent() *CircuitsCircuitsDeleteNoContent { return &CircuitsCircuitsDeleteNoContent{} } -/* CircuitsCircuitsDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsCircuitsDeleteNoContent describes a response with status code 204, with default header values. CircuitsCircuitsDeleteNoContent circuits circuits delete no content */ type CircuitsCircuitsDeleteNoContent struct { } +// IsSuccess returns true when this circuits circuits delete no content response has a 2xx status code +func (o *CircuitsCircuitsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits delete no content response has a 3xx status code +func (o *CircuitsCircuitsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits delete no content response has a 4xx status code +func (o *CircuitsCircuitsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits delete no content response has a 5xx status code +func (o *CircuitsCircuitsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits delete no content response a status code equal to that given +func (o *CircuitsCircuitsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsCircuitsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/circuits/{id}/][%d] circuitsCircuitsDeleteNoContent ", 204) } +func (o *CircuitsCircuitsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/circuits/{id}/][%d] circuitsCircuitsDeleteNoContent ", 204) +} + func (o *CircuitsCircuitsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_parameters.go index c441ceb7b..f165db74a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitsListParamsWithHTTPClient(client *http.Client) *CircuitsC } } -/* CircuitsCircuitsListParams contains all the parameters to send to the API endpoint - for the circuits circuits list operation. +/* +CircuitsCircuitsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits list operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_responses.go index b20497ef0..16e1ecfeb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_list_responses.go @@ -59,7 +59,8 @@ func NewCircuitsCircuitsListOK() *CircuitsCircuitsListOK { return &CircuitsCircuitsListOK{} } -/* CircuitsCircuitsListOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsListOK describes a response with status code 200, with default header values. CircuitsCircuitsListOK circuits circuits list o k */ @@ -67,9 +68,39 @@ type CircuitsCircuitsListOK struct { Payload *CircuitsCircuitsListOKBody } +// IsSuccess returns true when this circuits circuits list o k response has a 2xx status code +func (o *CircuitsCircuitsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits list o k response has a 3xx status code +func (o *CircuitsCircuitsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits list o k response has a 4xx status code +func (o *CircuitsCircuitsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits list o k response has a 5xx status code +func (o *CircuitsCircuitsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits list o k response a status code equal to that given +func (o *CircuitsCircuitsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsListOK) Error() string { return fmt.Sprintf("[GET /circuits/circuits/][%d] circuitsCircuitsListOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsListOK) String() string { + return fmt.Sprintf("[GET /circuits/circuits/][%d] circuitsCircuitsListOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsListOK) GetPayload() *CircuitsCircuitsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *CircuitsCircuitsListOK) readResponse(response runtime.ClientResponse, c return nil } -/*CircuitsCircuitsListOKBody circuits circuits list o k body +/* +CircuitsCircuitsListOKBody circuits circuits list o k body swagger:model CircuitsCircuitsListOKBody */ type CircuitsCircuitsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_parameters.go index 43f090ab5..73018b6d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitsPartialUpdateParamsWithHTTPClient(client *http.Client) * } } -/* CircuitsCircuitsPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuits partial update operation. +/* +CircuitsCircuitsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits partial update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_responses.go index f02e04182..e1f5ad874 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsPartialUpdateOK() *CircuitsCircuitsPartialUpdateOK { return &CircuitsCircuitsPartialUpdateOK{} } -/* CircuitsCircuitsPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsPartialUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitsPartialUpdateOK circuits circuits partial update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitsPartialUpdateOK struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits partial update o k response has a 2xx status code +func (o *CircuitsCircuitsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits partial update o k response has a 3xx status code +func (o *CircuitsCircuitsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits partial update o k response has a 4xx status code +func (o *CircuitsCircuitsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits partial update o k response has a 5xx status code +func (o *CircuitsCircuitsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits partial update o k response a status code equal to that given +func (o *CircuitsCircuitsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/circuits/{id}/][%d] circuitsCircuitsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/circuits/{id}/][%d] circuitsCircuitsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsPartialUpdateOK) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_parameters.go index 66d56d609..db2ce5ded 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsCircuitsReadParamsWithHTTPClient(client *http.Client) *CircuitsC } } -/* CircuitsCircuitsReadParams contains all the parameters to send to the API endpoint - for the circuits circuits read operation. +/* +CircuitsCircuitsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits read operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_responses.go index c5895d077..63f3b1ad8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_read_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsReadOK() *CircuitsCircuitsReadOK { return &CircuitsCircuitsReadOK{} } -/* CircuitsCircuitsReadOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsReadOK describes a response with status code 200, with default header values. CircuitsCircuitsReadOK circuits circuits read o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitsReadOK struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits read o k response has a 2xx status code +func (o *CircuitsCircuitsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits read o k response has a 3xx status code +func (o *CircuitsCircuitsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits read o k response has a 4xx status code +func (o *CircuitsCircuitsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits read o k response has a 5xx status code +func (o *CircuitsCircuitsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits read o k response a status code equal to that given +func (o *CircuitsCircuitsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsReadOK) Error() string { return fmt.Sprintf("[GET /circuits/circuits/{id}/][%d] circuitsCircuitsReadOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsReadOK) String() string { + return fmt.Sprintf("[GET /circuits/circuits/{id}/][%d] circuitsCircuitsReadOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsReadOK) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_parameters.go index 205f4f816..9f5692e61 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsCircuitsUpdateParamsWithHTTPClient(client *http.Client) *Circuit } } -/* CircuitsCircuitsUpdateParams contains all the parameters to send to the API endpoint - for the circuits circuits update operation. +/* +CircuitsCircuitsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits circuits update operation. + + Typically these are written to a http.Request. */ type CircuitsCircuitsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_responses.go index 244458ebe..e123860a0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_circuits_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsCircuitsUpdateOK() *CircuitsCircuitsUpdateOK { return &CircuitsCircuitsUpdateOK{} } -/* CircuitsCircuitsUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsCircuitsUpdateOK describes a response with status code 200, with default header values. CircuitsCircuitsUpdateOK circuits circuits update o k */ @@ -62,9 +63,39 @@ type CircuitsCircuitsUpdateOK struct { Payload *models.Circuit } +// IsSuccess returns true when this circuits circuits update o k response has a 2xx status code +func (o *CircuitsCircuitsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits circuits update o k response has a 3xx status code +func (o *CircuitsCircuitsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits circuits update o k response has a 4xx status code +func (o *CircuitsCircuitsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits circuits update o k response has a 5xx status code +func (o *CircuitsCircuitsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits circuits update o k response a status code equal to that given +func (o *CircuitsCircuitsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsCircuitsUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/circuits/{id}/][%d] circuitsCircuitsUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsCircuitsUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/circuits/{id}/][%d] circuitsCircuitsUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsCircuitsUpdateOK) GetPayload() *models.Circuit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_client.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_client.go index b8f65fc71..9d0a36a70 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_client.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_client.go @@ -141,7 +141,7 @@ type ClientService interface { } /* - CircuitsCircuitTerminationsBulkDelete circuits circuit terminations bulk delete API +CircuitsCircuitTerminationsBulkDelete circuits circuit terminations bulk delete API */ func (a *Client) CircuitsCircuitTerminationsBulkDelete(params *CircuitsCircuitTerminationsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -180,7 +180,7 @@ func (a *Client) CircuitsCircuitTerminationsBulkDelete(params *CircuitsCircuitTe } /* - CircuitsCircuitTerminationsBulkPartialUpdate circuits circuit terminations bulk partial update API +CircuitsCircuitTerminationsBulkPartialUpdate circuits circuit terminations bulk partial update API */ func (a *Client) CircuitsCircuitTerminationsBulkPartialUpdate(params *CircuitsCircuitTerminationsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -219,7 +219,7 @@ func (a *Client) CircuitsCircuitTerminationsBulkPartialUpdate(params *CircuitsCi } /* - CircuitsCircuitTerminationsBulkUpdate circuits circuit terminations bulk update API +CircuitsCircuitTerminationsBulkUpdate circuits circuit terminations bulk update API */ func (a *Client) CircuitsCircuitTerminationsBulkUpdate(params *CircuitsCircuitTerminationsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -258,7 +258,7 @@ func (a *Client) CircuitsCircuitTerminationsBulkUpdate(params *CircuitsCircuitTe } /* - CircuitsCircuitTerminationsCreate circuits circuit terminations create API +CircuitsCircuitTerminationsCreate circuits circuit terminations create API */ func (a *Client) CircuitsCircuitTerminationsCreate(params *CircuitsCircuitTerminationsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsCreateCreated, error) { // TODO: Validate the params before sending @@ -297,7 +297,7 @@ func (a *Client) CircuitsCircuitTerminationsCreate(params *CircuitsCircuitTermin } /* - CircuitsCircuitTerminationsDelete circuits circuit terminations delete API +CircuitsCircuitTerminationsDelete circuits circuit terminations delete API */ func (a *Client) CircuitsCircuitTerminationsDelete(params *CircuitsCircuitTerminationsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -336,7 +336,7 @@ func (a *Client) CircuitsCircuitTerminationsDelete(params *CircuitsCircuitTermin } /* - CircuitsCircuitTerminationsList Overrides ListModelMixin to allow processing ExportTemplates. +CircuitsCircuitTerminationsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) CircuitsCircuitTerminationsList(params *CircuitsCircuitTerminationsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsListOK, error) { // TODO: Validate the params before sending @@ -375,7 +375,7 @@ func (a *Client) CircuitsCircuitTerminationsList(params *CircuitsCircuitTerminat } /* - CircuitsCircuitTerminationsPartialUpdate circuits circuit terminations partial update API +CircuitsCircuitTerminationsPartialUpdate circuits circuit terminations partial update API */ func (a *Client) CircuitsCircuitTerminationsPartialUpdate(params *CircuitsCircuitTerminationsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -414,7 +414,7 @@ func (a *Client) CircuitsCircuitTerminationsPartialUpdate(params *CircuitsCircui } /* - CircuitsCircuitTerminationsPaths Return all CablePaths which traverse a given pass-through port. +CircuitsCircuitTerminationsPaths Return all CablePaths which traverse a given pass-through port. */ func (a *Client) CircuitsCircuitTerminationsPaths(params *CircuitsCircuitTerminationsPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsPathsOK, error) { // TODO: Validate the params before sending @@ -453,7 +453,7 @@ func (a *Client) CircuitsCircuitTerminationsPaths(params *CircuitsCircuitTermina } /* - CircuitsCircuitTerminationsRead circuits circuit terminations read API +CircuitsCircuitTerminationsRead circuits circuit terminations read API */ func (a *Client) CircuitsCircuitTerminationsRead(params *CircuitsCircuitTerminationsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsReadOK, error) { // TODO: Validate the params before sending @@ -492,7 +492,7 @@ func (a *Client) CircuitsCircuitTerminationsRead(params *CircuitsCircuitTerminat } /* - CircuitsCircuitTerminationsUpdate circuits circuit terminations update API +CircuitsCircuitTerminationsUpdate circuits circuit terminations update API */ func (a *Client) CircuitsCircuitTerminationsUpdate(params *CircuitsCircuitTerminationsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTerminationsUpdateOK, error) { // TODO: Validate the params before sending @@ -531,7 +531,7 @@ func (a *Client) CircuitsCircuitTerminationsUpdate(params *CircuitsCircuitTermin } /* - CircuitsCircuitTypesBulkDelete circuits circuit types bulk delete API +CircuitsCircuitTypesBulkDelete circuits circuit types bulk delete API */ func (a *Client) CircuitsCircuitTypesBulkDelete(params *CircuitsCircuitTypesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -570,7 +570,7 @@ func (a *Client) CircuitsCircuitTypesBulkDelete(params *CircuitsCircuitTypesBulk } /* - CircuitsCircuitTypesBulkPartialUpdate circuits circuit types bulk partial update API +CircuitsCircuitTypesBulkPartialUpdate circuits circuit types bulk partial update API */ func (a *Client) CircuitsCircuitTypesBulkPartialUpdate(params *CircuitsCircuitTypesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -609,7 +609,7 @@ func (a *Client) CircuitsCircuitTypesBulkPartialUpdate(params *CircuitsCircuitTy } /* - CircuitsCircuitTypesBulkUpdate circuits circuit types bulk update API +CircuitsCircuitTypesBulkUpdate circuits circuit types bulk update API */ func (a *Client) CircuitsCircuitTypesBulkUpdate(params *CircuitsCircuitTypesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -648,7 +648,7 @@ func (a *Client) CircuitsCircuitTypesBulkUpdate(params *CircuitsCircuitTypesBulk } /* - CircuitsCircuitTypesCreate circuits circuit types create API +CircuitsCircuitTypesCreate circuits circuit types create API */ func (a *Client) CircuitsCircuitTypesCreate(params *CircuitsCircuitTypesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesCreateCreated, error) { // TODO: Validate the params before sending @@ -687,7 +687,7 @@ func (a *Client) CircuitsCircuitTypesCreate(params *CircuitsCircuitTypesCreatePa } /* - CircuitsCircuitTypesDelete circuits circuit types delete API +CircuitsCircuitTypesDelete circuits circuit types delete API */ func (a *Client) CircuitsCircuitTypesDelete(params *CircuitsCircuitTypesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -726,7 +726,7 @@ func (a *Client) CircuitsCircuitTypesDelete(params *CircuitsCircuitTypesDeletePa } /* - CircuitsCircuitTypesList Overrides ListModelMixin to allow processing ExportTemplates. +CircuitsCircuitTypesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) CircuitsCircuitTypesList(params *CircuitsCircuitTypesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesListOK, error) { // TODO: Validate the params before sending @@ -765,7 +765,7 @@ func (a *Client) CircuitsCircuitTypesList(params *CircuitsCircuitTypesListParams } /* - CircuitsCircuitTypesPartialUpdate circuits circuit types partial update API +CircuitsCircuitTypesPartialUpdate circuits circuit types partial update API */ func (a *Client) CircuitsCircuitTypesPartialUpdate(params *CircuitsCircuitTypesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -804,7 +804,7 @@ func (a *Client) CircuitsCircuitTypesPartialUpdate(params *CircuitsCircuitTypesP } /* - CircuitsCircuitTypesRead circuits circuit types read API +CircuitsCircuitTypesRead circuits circuit types read API */ func (a *Client) CircuitsCircuitTypesRead(params *CircuitsCircuitTypesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesReadOK, error) { // TODO: Validate the params before sending @@ -843,7 +843,7 @@ func (a *Client) CircuitsCircuitTypesRead(params *CircuitsCircuitTypesReadParams } /* - CircuitsCircuitTypesUpdate circuits circuit types update API +CircuitsCircuitTypesUpdate circuits circuit types update API */ func (a *Client) CircuitsCircuitTypesUpdate(params *CircuitsCircuitTypesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitTypesUpdateOK, error) { // TODO: Validate the params before sending @@ -882,7 +882,7 @@ func (a *Client) CircuitsCircuitTypesUpdate(params *CircuitsCircuitTypesUpdatePa } /* - CircuitsCircuitsBulkDelete circuits circuits bulk delete API +CircuitsCircuitsBulkDelete circuits circuits bulk delete API */ func (a *Client) CircuitsCircuitsBulkDelete(params *CircuitsCircuitsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -921,7 +921,7 @@ func (a *Client) CircuitsCircuitsBulkDelete(params *CircuitsCircuitsBulkDeletePa } /* - CircuitsCircuitsBulkPartialUpdate circuits circuits bulk partial update API +CircuitsCircuitsBulkPartialUpdate circuits circuits bulk partial update API */ func (a *Client) CircuitsCircuitsBulkPartialUpdate(params *CircuitsCircuitsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -960,7 +960,7 @@ func (a *Client) CircuitsCircuitsBulkPartialUpdate(params *CircuitsCircuitsBulkP } /* - CircuitsCircuitsBulkUpdate circuits circuits bulk update API +CircuitsCircuitsBulkUpdate circuits circuits bulk update API */ func (a *Client) CircuitsCircuitsBulkUpdate(params *CircuitsCircuitsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -999,7 +999,7 @@ func (a *Client) CircuitsCircuitsBulkUpdate(params *CircuitsCircuitsBulkUpdatePa } /* - CircuitsCircuitsCreate circuits circuits create API +CircuitsCircuitsCreate circuits circuits create API */ func (a *Client) CircuitsCircuitsCreate(params *CircuitsCircuitsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsCreateCreated, error) { // TODO: Validate the params before sending @@ -1038,7 +1038,7 @@ func (a *Client) CircuitsCircuitsCreate(params *CircuitsCircuitsCreateParams, au } /* - CircuitsCircuitsDelete circuits circuits delete API +CircuitsCircuitsDelete circuits circuits delete API */ func (a *Client) CircuitsCircuitsDelete(params *CircuitsCircuitsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1077,7 +1077,7 @@ func (a *Client) CircuitsCircuitsDelete(params *CircuitsCircuitsDeleteParams, au } /* - CircuitsCircuitsList Overrides ListModelMixin to allow processing ExportTemplates. +CircuitsCircuitsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) CircuitsCircuitsList(params *CircuitsCircuitsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsListOK, error) { // TODO: Validate the params before sending @@ -1116,7 +1116,7 @@ func (a *Client) CircuitsCircuitsList(params *CircuitsCircuitsListParams, authIn } /* - CircuitsCircuitsPartialUpdate circuits circuits partial update API +CircuitsCircuitsPartialUpdate circuits circuits partial update API */ func (a *Client) CircuitsCircuitsPartialUpdate(params *CircuitsCircuitsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1155,7 +1155,7 @@ func (a *Client) CircuitsCircuitsPartialUpdate(params *CircuitsCircuitsPartialUp } /* - CircuitsCircuitsRead circuits circuits read API +CircuitsCircuitsRead circuits circuits read API */ func (a *Client) CircuitsCircuitsRead(params *CircuitsCircuitsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsReadOK, error) { // TODO: Validate the params before sending @@ -1194,7 +1194,7 @@ func (a *Client) CircuitsCircuitsRead(params *CircuitsCircuitsReadParams, authIn } /* - CircuitsCircuitsUpdate circuits circuits update API +CircuitsCircuitsUpdate circuits circuits update API */ func (a *Client) CircuitsCircuitsUpdate(params *CircuitsCircuitsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsCircuitsUpdateOK, error) { // TODO: Validate the params before sending @@ -1233,7 +1233,7 @@ func (a *Client) CircuitsCircuitsUpdate(params *CircuitsCircuitsUpdateParams, au } /* - CircuitsProviderNetworksBulkDelete circuits provider networks bulk delete API +CircuitsProviderNetworksBulkDelete circuits provider networks bulk delete API */ func (a *Client) CircuitsProviderNetworksBulkDelete(params *CircuitsProviderNetworksBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1272,7 +1272,7 @@ func (a *Client) CircuitsProviderNetworksBulkDelete(params *CircuitsProviderNetw } /* - CircuitsProviderNetworksBulkPartialUpdate circuits provider networks bulk partial update API +CircuitsProviderNetworksBulkPartialUpdate circuits provider networks bulk partial update API */ func (a *Client) CircuitsProviderNetworksBulkPartialUpdate(params *CircuitsProviderNetworksBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1311,7 +1311,7 @@ func (a *Client) CircuitsProviderNetworksBulkPartialUpdate(params *CircuitsProvi } /* - CircuitsProviderNetworksBulkUpdate circuits provider networks bulk update API +CircuitsProviderNetworksBulkUpdate circuits provider networks bulk update API */ func (a *Client) CircuitsProviderNetworksBulkUpdate(params *CircuitsProviderNetworksBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1350,7 +1350,7 @@ func (a *Client) CircuitsProviderNetworksBulkUpdate(params *CircuitsProviderNetw } /* - CircuitsProviderNetworksCreate circuits provider networks create API +CircuitsProviderNetworksCreate circuits provider networks create API */ func (a *Client) CircuitsProviderNetworksCreate(params *CircuitsProviderNetworksCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksCreateCreated, error) { // TODO: Validate the params before sending @@ -1389,7 +1389,7 @@ func (a *Client) CircuitsProviderNetworksCreate(params *CircuitsProviderNetworks } /* - CircuitsProviderNetworksDelete circuits provider networks delete API +CircuitsProviderNetworksDelete circuits provider networks delete API */ func (a *Client) CircuitsProviderNetworksDelete(params *CircuitsProviderNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1428,7 +1428,7 @@ func (a *Client) CircuitsProviderNetworksDelete(params *CircuitsProviderNetworks } /* - CircuitsProviderNetworksList Overrides ListModelMixin to allow processing ExportTemplates. +CircuitsProviderNetworksList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) CircuitsProviderNetworksList(params *CircuitsProviderNetworksListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksListOK, error) { // TODO: Validate the params before sending @@ -1467,7 +1467,7 @@ func (a *Client) CircuitsProviderNetworksList(params *CircuitsProviderNetworksLi } /* - CircuitsProviderNetworksPartialUpdate circuits provider networks partial update API +CircuitsProviderNetworksPartialUpdate circuits provider networks partial update API */ func (a *Client) CircuitsProviderNetworksPartialUpdate(params *CircuitsProviderNetworksPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1506,7 +1506,7 @@ func (a *Client) CircuitsProviderNetworksPartialUpdate(params *CircuitsProviderN } /* - CircuitsProviderNetworksRead circuits provider networks read API +CircuitsProviderNetworksRead circuits provider networks read API */ func (a *Client) CircuitsProviderNetworksRead(params *CircuitsProviderNetworksReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksReadOK, error) { // TODO: Validate the params before sending @@ -1545,7 +1545,7 @@ func (a *Client) CircuitsProviderNetworksRead(params *CircuitsProviderNetworksRe } /* - CircuitsProviderNetworksUpdate circuits provider networks update API +CircuitsProviderNetworksUpdate circuits provider networks update API */ func (a *Client) CircuitsProviderNetworksUpdate(params *CircuitsProviderNetworksUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProviderNetworksUpdateOK, error) { // TODO: Validate the params before sending @@ -1584,7 +1584,7 @@ func (a *Client) CircuitsProviderNetworksUpdate(params *CircuitsProviderNetworks } /* - CircuitsProvidersBulkDelete circuits providers bulk delete API +CircuitsProvidersBulkDelete circuits providers bulk delete API */ func (a *Client) CircuitsProvidersBulkDelete(params *CircuitsProvidersBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1623,7 +1623,7 @@ func (a *Client) CircuitsProvidersBulkDelete(params *CircuitsProvidersBulkDelete } /* - CircuitsProvidersBulkPartialUpdate circuits providers bulk partial update API +CircuitsProvidersBulkPartialUpdate circuits providers bulk partial update API */ func (a *Client) CircuitsProvidersBulkPartialUpdate(params *CircuitsProvidersBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1662,7 +1662,7 @@ func (a *Client) CircuitsProvidersBulkPartialUpdate(params *CircuitsProvidersBul } /* - CircuitsProvidersBulkUpdate circuits providers bulk update API +CircuitsProvidersBulkUpdate circuits providers bulk update API */ func (a *Client) CircuitsProvidersBulkUpdate(params *CircuitsProvidersBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1701,7 +1701,7 @@ func (a *Client) CircuitsProvidersBulkUpdate(params *CircuitsProvidersBulkUpdate } /* - CircuitsProvidersCreate circuits providers create API +CircuitsProvidersCreate circuits providers create API */ func (a *Client) CircuitsProvidersCreate(params *CircuitsProvidersCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersCreateCreated, error) { // TODO: Validate the params before sending @@ -1740,7 +1740,7 @@ func (a *Client) CircuitsProvidersCreate(params *CircuitsProvidersCreateParams, } /* - CircuitsProvidersDelete circuits providers delete API +CircuitsProvidersDelete circuits providers delete API */ func (a *Client) CircuitsProvidersDelete(params *CircuitsProvidersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1779,7 +1779,7 @@ func (a *Client) CircuitsProvidersDelete(params *CircuitsProvidersDeleteParams, } /* - CircuitsProvidersList Overrides ListModelMixin to allow processing ExportTemplates. +CircuitsProvidersList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) CircuitsProvidersList(params *CircuitsProvidersListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersListOK, error) { // TODO: Validate the params before sending @@ -1818,7 +1818,7 @@ func (a *Client) CircuitsProvidersList(params *CircuitsProvidersListParams, auth } /* - CircuitsProvidersPartialUpdate circuits providers partial update API +CircuitsProvidersPartialUpdate circuits providers partial update API */ func (a *Client) CircuitsProvidersPartialUpdate(params *CircuitsProvidersPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1857,7 +1857,7 @@ func (a *Client) CircuitsProvidersPartialUpdate(params *CircuitsProvidersPartial } /* - CircuitsProvidersRead circuits providers read API +CircuitsProvidersRead circuits providers read API */ func (a *Client) CircuitsProvidersRead(params *CircuitsProvidersReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersReadOK, error) { // TODO: Validate the params before sending @@ -1896,7 +1896,7 @@ func (a *Client) CircuitsProvidersRead(params *CircuitsProvidersReadParams, auth } /* - CircuitsProvidersUpdate circuits providers update API +CircuitsProvidersUpdate circuits providers update API */ func (a *Client) CircuitsProvidersUpdate(params *CircuitsProvidersUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CircuitsProvidersUpdateOK, error) { // TODO: Validate the params before sending diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_parameters.go index 3d18fc5cf..d6563c66d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewCircuitsProviderNetworksBulkDeleteParamsWithHTTPClient(client *http.Clie } } -/* CircuitsProviderNetworksBulkDeleteParams contains all the parameters to send to the API endpoint - for the circuits provider networks bulk delete operation. +/* +CircuitsProviderNetworksBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks bulk delete operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_responses.go index 948979922..4e876a45f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsProviderNetworksBulkDeleteNoContent() *CircuitsProviderNetworksB return &CircuitsProviderNetworksBulkDeleteNoContent{} } -/* CircuitsProviderNetworksBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsProviderNetworksBulkDeleteNoContent describes a response with status code 204, with default header values. CircuitsProviderNetworksBulkDeleteNoContent circuits provider networks bulk delete no content */ type CircuitsProviderNetworksBulkDeleteNoContent struct { } +// IsSuccess returns true when this circuits provider networks bulk delete no content response has a 2xx status code +func (o *CircuitsProviderNetworksBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks bulk delete no content response has a 3xx status code +func (o *CircuitsProviderNetworksBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks bulk delete no content response has a 4xx status code +func (o *CircuitsProviderNetworksBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks bulk delete no content response has a 5xx status code +func (o *CircuitsProviderNetworksBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks bulk delete no content response a status code equal to that given +func (o *CircuitsProviderNetworksBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsProviderNetworksBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/provider-networks/][%d] circuitsProviderNetworksBulkDeleteNoContent ", 204) } +func (o *CircuitsProviderNetworksBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/provider-networks/][%d] circuitsProviderNetworksBulkDeleteNoContent ", 204) +} + func (o *CircuitsProviderNetworksBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_parameters.go index 1b7952048..eec8d5229 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProviderNetworksBulkPartialUpdateParamsWithHTTPClient(client *ht } } -/* CircuitsProviderNetworksBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits provider networks bulk partial update operation. +/* +CircuitsProviderNetworksBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks bulk partial update operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_responses.go index 4cb8c7536..2347bbfb3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksBulkPartialUpdateOK() *CircuitsProviderNetworksB return &CircuitsProviderNetworksBulkPartialUpdateOK{} } -/* CircuitsProviderNetworksBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksBulkPartialUpdateOK describes a response with status code 200, with default header values. CircuitsProviderNetworksBulkPartialUpdateOK circuits provider networks bulk partial update o k */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksBulkPartialUpdateOK struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks bulk partial update o k response has a 2xx status code +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks bulk partial update o k response has a 3xx status code +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks bulk partial update o k response has a 4xx status code +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks bulk partial update o k response has a 5xx status code +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks bulk partial update o k response a status code equal to that given +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/provider-networks/][%d] circuitsProviderNetworksBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/provider-networks/][%d] circuitsProviderNetworksBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksBulkPartialUpdateOK) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_parameters.go index cb0456142..f20eeba25 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProviderNetworksBulkUpdateParamsWithHTTPClient(client *http.Clie } } -/* CircuitsProviderNetworksBulkUpdateParams contains all the parameters to send to the API endpoint - for the circuits provider networks bulk update operation. +/* +CircuitsProviderNetworksBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks bulk update operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_responses.go index 04672855d..a051394b5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksBulkUpdateOK() *CircuitsProviderNetworksBulkUpda return &CircuitsProviderNetworksBulkUpdateOK{} } -/* CircuitsProviderNetworksBulkUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksBulkUpdateOK describes a response with status code 200, with default header values. CircuitsProviderNetworksBulkUpdateOK circuits provider networks bulk update o k */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksBulkUpdateOK struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks bulk update o k response has a 2xx status code +func (o *CircuitsProviderNetworksBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks bulk update o k response has a 3xx status code +func (o *CircuitsProviderNetworksBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks bulk update o k response has a 4xx status code +func (o *CircuitsProviderNetworksBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks bulk update o k response has a 5xx status code +func (o *CircuitsProviderNetworksBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks bulk update o k response a status code equal to that given +func (o *CircuitsProviderNetworksBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/provider-networks/][%d] circuitsProviderNetworksBulkUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/provider-networks/][%d] circuitsProviderNetworksBulkUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksBulkUpdateOK) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_parameters.go index 0b1c02577..42adc0ebe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProviderNetworksCreateParamsWithHTTPClient(client *http.Client) } } -/* CircuitsProviderNetworksCreateParams contains all the parameters to send to the API endpoint - for the circuits provider networks create operation. +/* +CircuitsProviderNetworksCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks create operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_responses.go index 777303446..68d949d02 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_create_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksCreateCreated() *CircuitsProviderNetworksCreateC return &CircuitsProviderNetworksCreateCreated{} } -/* CircuitsProviderNetworksCreateCreated describes a response with status code 201, with default header values. +/* +CircuitsProviderNetworksCreateCreated describes a response with status code 201, with default header values. CircuitsProviderNetworksCreateCreated circuits provider networks create created */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksCreateCreated struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks create created response has a 2xx status code +func (o *CircuitsProviderNetworksCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks create created response has a 3xx status code +func (o *CircuitsProviderNetworksCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks create created response has a 4xx status code +func (o *CircuitsProviderNetworksCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks create created response has a 5xx status code +func (o *CircuitsProviderNetworksCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks create created response a status code equal to that given +func (o *CircuitsProviderNetworksCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *CircuitsProviderNetworksCreateCreated) Error() string { return fmt.Sprintf("[POST /circuits/provider-networks/][%d] circuitsProviderNetworksCreateCreated %+v", 201, o.Payload) } + +func (o *CircuitsProviderNetworksCreateCreated) String() string { + return fmt.Sprintf("[POST /circuits/provider-networks/][%d] circuitsProviderNetworksCreateCreated %+v", 201, o.Payload) +} + func (o *CircuitsProviderNetworksCreateCreated) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_parameters.go index af8f74b9e..d86a0c5ce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProviderNetworksDeleteParamsWithHTTPClient(client *http.Client) } } -/* CircuitsProviderNetworksDeleteParams contains all the parameters to send to the API endpoint - for the circuits provider networks delete operation. +/* +CircuitsProviderNetworksDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks delete operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_responses.go index 859ab4250..229441510 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsProviderNetworksDeleteNoContent() *CircuitsProviderNetworksDelet return &CircuitsProviderNetworksDeleteNoContent{} } -/* CircuitsProviderNetworksDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsProviderNetworksDeleteNoContent describes a response with status code 204, with default header values. CircuitsProviderNetworksDeleteNoContent circuits provider networks delete no content */ type CircuitsProviderNetworksDeleteNoContent struct { } +// IsSuccess returns true when this circuits provider networks delete no content response has a 2xx status code +func (o *CircuitsProviderNetworksDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks delete no content response has a 3xx status code +func (o *CircuitsProviderNetworksDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks delete no content response has a 4xx status code +func (o *CircuitsProviderNetworksDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks delete no content response has a 5xx status code +func (o *CircuitsProviderNetworksDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks delete no content response a status code equal to that given +func (o *CircuitsProviderNetworksDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsProviderNetworksDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksDeleteNoContent ", 204) } +func (o *CircuitsProviderNetworksDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksDeleteNoContent ", 204) +} + func (o *CircuitsProviderNetworksDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_parameters.go index 598b612be..7fad92208 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProviderNetworksListParamsWithHTTPClient(client *http.Client) *C } } -/* CircuitsProviderNetworksListParams contains all the parameters to send to the API endpoint - for the circuits provider networks list operation. +/* +CircuitsProviderNetworksListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks list operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_responses.go index 599d17eed..2e4dc7a82 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_list_responses.go @@ -59,7 +59,8 @@ func NewCircuitsProviderNetworksListOK() *CircuitsProviderNetworksListOK { return &CircuitsProviderNetworksListOK{} } -/* CircuitsProviderNetworksListOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksListOK describes a response with status code 200, with default header values. CircuitsProviderNetworksListOK circuits provider networks list o k */ @@ -67,9 +68,39 @@ type CircuitsProviderNetworksListOK struct { Payload *CircuitsProviderNetworksListOKBody } +// IsSuccess returns true when this circuits provider networks list o k response has a 2xx status code +func (o *CircuitsProviderNetworksListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks list o k response has a 3xx status code +func (o *CircuitsProviderNetworksListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks list o k response has a 4xx status code +func (o *CircuitsProviderNetworksListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks list o k response has a 5xx status code +func (o *CircuitsProviderNetworksListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks list o k response a status code equal to that given +func (o *CircuitsProviderNetworksListOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksListOK) Error() string { return fmt.Sprintf("[GET /circuits/provider-networks/][%d] circuitsProviderNetworksListOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksListOK) String() string { + return fmt.Sprintf("[GET /circuits/provider-networks/][%d] circuitsProviderNetworksListOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksListOK) GetPayload() *CircuitsProviderNetworksListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *CircuitsProviderNetworksListOK) readResponse(response runtime.ClientRes return nil } -/*CircuitsProviderNetworksListOKBody circuits provider networks list o k body +/* +CircuitsProviderNetworksListOKBody circuits provider networks list o k body swagger:model CircuitsProviderNetworksListOKBody */ type CircuitsProviderNetworksListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_parameters.go index d9fe5a3c1..bdd02de7a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsProviderNetworksPartialUpdateParamsWithHTTPClient(client *http.C } } -/* CircuitsProviderNetworksPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits provider networks partial update operation. +/* +CircuitsProviderNetworksPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks partial update operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_responses.go index da8425c29..6e0427f10 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksPartialUpdateOK() *CircuitsProviderNetworksParti return &CircuitsProviderNetworksPartialUpdateOK{} } -/* CircuitsProviderNetworksPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksPartialUpdateOK describes a response with status code 200, with default header values. CircuitsProviderNetworksPartialUpdateOK circuits provider networks partial update o k */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksPartialUpdateOK struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks partial update o k response has a 2xx status code +func (o *CircuitsProviderNetworksPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks partial update o k response has a 3xx status code +func (o *CircuitsProviderNetworksPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks partial update o k response has a 4xx status code +func (o *CircuitsProviderNetworksPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks partial update o k response has a 5xx status code +func (o *CircuitsProviderNetworksPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks partial update o k response a status code equal to that given +func (o *CircuitsProviderNetworksPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksPartialUpdateOK) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_parameters.go index ddaf258fe..a03fe00ab 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProviderNetworksReadParamsWithHTTPClient(client *http.Client) *C } } -/* CircuitsProviderNetworksReadParams contains all the parameters to send to the API endpoint - for the circuits provider networks read operation. +/* +CircuitsProviderNetworksReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks read operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_responses.go index 5725eb22d..e78adc696 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_read_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksReadOK() *CircuitsProviderNetworksReadOK { return &CircuitsProviderNetworksReadOK{} } -/* CircuitsProviderNetworksReadOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksReadOK describes a response with status code 200, with default header values. CircuitsProviderNetworksReadOK circuits provider networks read o k */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksReadOK struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks read o k response has a 2xx status code +func (o *CircuitsProviderNetworksReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks read o k response has a 3xx status code +func (o *CircuitsProviderNetworksReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks read o k response has a 4xx status code +func (o *CircuitsProviderNetworksReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks read o k response has a 5xx status code +func (o *CircuitsProviderNetworksReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks read o k response a status code equal to that given +func (o *CircuitsProviderNetworksReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksReadOK) Error() string { return fmt.Sprintf("[GET /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksReadOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksReadOK) String() string { + return fmt.Sprintf("[GET /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksReadOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksReadOK) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_parameters.go index ab7dfc35b..4cde89534 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsProviderNetworksUpdateParamsWithHTTPClient(client *http.Client) } } -/* CircuitsProviderNetworksUpdateParams contains all the parameters to send to the API endpoint - for the circuits provider networks update operation. +/* +CircuitsProviderNetworksUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits provider networks update operation. + + Typically these are written to a http.Request. */ type CircuitsProviderNetworksUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_responses.go index 44b644328..00e127a37 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_provider_networks_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProviderNetworksUpdateOK() *CircuitsProviderNetworksUpdateOK { return &CircuitsProviderNetworksUpdateOK{} } -/* CircuitsProviderNetworksUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProviderNetworksUpdateOK describes a response with status code 200, with default header values. CircuitsProviderNetworksUpdateOK circuits provider networks update o k */ @@ -62,9 +63,39 @@ type CircuitsProviderNetworksUpdateOK struct { Payload *models.ProviderNetwork } +// IsSuccess returns true when this circuits provider networks update o k response has a 2xx status code +func (o *CircuitsProviderNetworksUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits provider networks update o k response has a 3xx status code +func (o *CircuitsProviderNetworksUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits provider networks update o k response has a 4xx status code +func (o *CircuitsProviderNetworksUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits provider networks update o k response has a 5xx status code +func (o *CircuitsProviderNetworksUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits provider networks update o k response a status code equal to that given +func (o *CircuitsProviderNetworksUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProviderNetworksUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProviderNetworksUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/provider-networks/{id}/][%d] circuitsProviderNetworksUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProviderNetworksUpdateOK) GetPayload() *models.ProviderNetwork { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_parameters.go index adc643786..c24b91e38 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewCircuitsProvidersBulkDeleteParamsWithHTTPClient(client *http.Client) *Ci } } -/* CircuitsProvidersBulkDeleteParams contains all the parameters to send to the API endpoint - for the circuits providers bulk delete operation. +/* +CircuitsProvidersBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers bulk delete operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_responses.go index 81bb9c9e3..dbb78f0f8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsProvidersBulkDeleteNoContent() *CircuitsProvidersBulkDeleteNoCon return &CircuitsProvidersBulkDeleteNoContent{} } -/* CircuitsProvidersBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsProvidersBulkDeleteNoContent describes a response with status code 204, with default header values. CircuitsProvidersBulkDeleteNoContent circuits providers bulk delete no content */ type CircuitsProvidersBulkDeleteNoContent struct { } +// IsSuccess returns true when this circuits providers bulk delete no content response has a 2xx status code +func (o *CircuitsProvidersBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers bulk delete no content response has a 3xx status code +func (o *CircuitsProvidersBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers bulk delete no content response has a 4xx status code +func (o *CircuitsProvidersBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers bulk delete no content response has a 5xx status code +func (o *CircuitsProvidersBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers bulk delete no content response a status code equal to that given +func (o *CircuitsProvidersBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsProvidersBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/providers/][%d] circuitsProvidersBulkDeleteNoContent ", 204) } +func (o *CircuitsProvidersBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/providers/][%d] circuitsProvidersBulkDeleteNoContent ", 204) +} + func (o *CircuitsProvidersBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_parameters.go index 375c56265..2917d205a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProvidersBulkPartialUpdateParamsWithHTTPClient(client *http.Clie } } -/* CircuitsProvidersBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits providers bulk partial update operation. +/* +CircuitsProvidersBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers bulk partial update operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_responses.go index 49ca313a1..64073d05b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersBulkPartialUpdateOK() *CircuitsProvidersBulkPartialUpda return &CircuitsProvidersBulkPartialUpdateOK{} } -/* CircuitsProvidersBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersBulkPartialUpdateOK describes a response with status code 200, with default header values. CircuitsProvidersBulkPartialUpdateOK circuits providers bulk partial update o k */ @@ -62,9 +63,39 @@ type CircuitsProvidersBulkPartialUpdateOK struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers bulk partial update o k response has a 2xx status code +func (o *CircuitsProvidersBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers bulk partial update o k response has a 3xx status code +func (o *CircuitsProvidersBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers bulk partial update o k response has a 4xx status code +func (o *CircuitsProvidersBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers bulk partial update o k response has a 5xx status code +func (o *CircuitsProvidersBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers bulk partial update o k response a status code equal to that given +func (o *CircuitsProvidersBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/providers/][%d] circuitsProvidersBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/providers/][%d] circuitsProvidersBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersBulkPartialUpdateOK) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_parameters.go index 7f4e10843..d8ddc22c7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProvidersBulkUpdateParamsWithHTTPClient(client *http.Client) *Ci } } -/* CircuitsProvidersBulkUpdateParams contains all the parameters to send to the API endpoint - for the circuits providers bulk update operation. +/* +CircuitsProvidersBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers bulk update operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_responses.go index 862ec9102..fe4cf2206 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersBulkUpdateOK() *CircuitsProvidersBulkUpdateOK { return &CircuitsProvidersBulkUpdateOK{} } -/* CircuitsProvidersBulkUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersBulkUpdateOK describes a response with status code 200, with default header values. CircuitsProvidersBulkUpdateOK circuits providers bulk update o k */ @@ -62,9 +63,39 @@ type CircuitsProvidersBulkUpdateOK struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers bulk update o k response has a 2xx status code +func (o *CircuitsProvidersBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers bulk update o k response has a 3xx status code +func (o *CircuitsProvidersBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers bulk update o k response has a 4xx status code +func (o *CircuitsProvidersBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers bulk update o k response has a 5xx status code +func (o *CircuitsProvidersBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers bulk update o k response a status code equal to that given +func (o *CircuitsProvidersBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/providers/][%d] circuitsProvidersBulkUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/providers/][%d] circuitsProvidersBulkUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersBulkUpdateOK) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_parameters.go index 818d6b5f4..bfd5e7868 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_parameters.go @@ -69,10 +69,12 @@ func NewCircuitsProvidersCreateParamsWithHTTPClient(client *http.Client) *Circui } } -/* CircuitsProvidersCreateParams contains all the parameters to send to the API endpoint - for the circuits providers create operation. +/* +CircuitsProvidersCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers create operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_responses.go index ab9f522e1..38c0bf032 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_create_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersCreateCreated() *CircuitsProvidersCreateCreated { return &CircuitsProvidersCreateCreated{} } -/* CircuitsProvidersCreateCreated describes a response with status code 201, with default header values. +/* +CircuitsProvidersCreateCreated describes a response with status code 201, with default header values. CircuitsProvidersCreateCreated circuits providers create created */ @@ -62,9 +63,39 @@ type CircuitsProvidersCreateCreated struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers create created response has a 2xx status code +func (o *CircuitsProvidersCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers create created response has a 3xx status code +func (o *CircuitsProvidersCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers create created response has a 4xx status code +func (o *CircuitsProvidersCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers create created response has a 5xx status code +func (o *CircuitsProvidersCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers create created response a status code equal to that given +func (o *CircuitsProvidersCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *CircuitsProvidersCreateCreated) Error() string { return fmt.Sprintf("[POST /circuits/providers/][%d] circuitsProvidersCreateCreated %+v", 201, o.Payload) } + +func (o *CircuitsProvidersCreateCreated) String() string { + return fmt.Sprintf("[POST /circuits/providers/][%d] circuitsProvidersCreateCreated %+v", 201, o.Payload) +} + func (o *CircuitsProvidersCreateCreated) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_parameters.go index 6643c6c94..ffd7b6b43 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProvidersDeleteParamsWithHTTPClient(client *http.Client) *Circui } } -/* CircuitsProvidersDeleteParams contains all the parameters to send to the API endpoint - for the circuits providers delete operation. +/* +CircuitsProvidersDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers delete operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_responses.go index 7d76af769..bcba88597 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_delete_responses.go @@ -51,17 +51,47 @@ func NewCircuitsProvidersDeleteNoContent() *CircuitsProvidersDeleteNoContent { return &CircuitsProvidersDeleteNoContent{} } -/* CircuitsProvidersDeleteNoContent describes a response with status code 204, with default header values. +/* +CircuitsProvidersDeleteNoContent describes a response with status code 204, with default header values. CircuitsProvidersDeleteNoContent circuits providers delete no content */ type CircuitsProvidersDeleteNoContent struct { } +// IsSuccess returns true when this circuits providers delete no content response has a 2xx status code +func (o *CircuitsProvidersDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers delete no content response has a 3xx status code +func (o *CircuitsProvidersDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers delete no content response has a 4xx status code +func (o *CircuitsProvidersDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers delete no content response has a 5xx status code +func (o *CircuitsProvidersDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers delete no content response a status code equal to that given +func (o *CircuitsProvidersDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *CircuitsProvidersDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /circuits/providers/{id}/][%d] circuitsProvidersDeleteNoContent ", 204) } +func (o *CircuitsProvidersDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /circuits/providers/{id}/][%d] circuitsProvidersDeleteNoContent ", 204) +} + func (o *CircuitsProvidersDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_parameters.go index c6155d1fd..0c5572fdb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProvidersListParamsWithHTTPClient(client *http.Client) *Circuits } } -/* CircuitsProvidersListParams contains all the parameters to send to the API endpoint - for the circuits providers list operation. +/* +CircuitsProvidersListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers list operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_responses.go index eaaec2555..8e127a7f2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_list_responses.go @@ -59,7 +59,8 @@ func NewCircuitsProvidersListOK() *CircuitsProvidersListOK { return &CircuitsProvidersListOK{} } -/* CircuitsProvidersListOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersListOK describes a response with status code 200, with default header values. CircuitsProvidersListOK circuits providers list o k */ @@ -67,9 +68,39 @@ type CircuitsProvidersListOK struct { Payload *CircuitsProvidersListOKBody } +// IsSuccess returns true when this circuits providers list o k response has a 2xx status code +func (o *CircuitsProvidersListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers list o k response has a 3xx status code +func (o *CircuitsProvidersListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers list o k response has a 4xx status code +func (o *CircuitsProvidersListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers list o k response has a 5xx status code +func (o *CircuitsProvidersListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers list o k response a status code equal to that given +func (o *CircuitsProvidersListOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersListOK) Error() string { return fmt.Sprintf("[GET /circuits/providers/][%d] circuitsProvidersListOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersListOK) String() string { + return fmt.Sprintf("[GET /circuits/providers/][%d] circuitsProvidersListOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersListOK) GetPayload() *CircuitsProvidersListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *CircuitsProvidersListOK) readResponse(response runtime.ClientResponse, return nil } -/*CircuitsProvidersListOKBody circuits providers list o k body +/* +CircuitsProvidersListOKBody circuits providers list o k body swagger:model CircuitsProvidersListOKBody */ type CircuitsProvidersListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_parameters.go index 7e246dcf4..b55fdf197 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsProvidersPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* CircuitsProvidersPartialUpdateParams contains all the parameters to send to the API endpoint - for the circuits providers partial update operation. +/* +CircuitsProvidersPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers partial update operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_responses.go index 6cbb4e608..02ecc114f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_partial_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersPartialUpdateOK() *CircuitsProvidersPartialUpdateOK { return &CircuitsProvidersPartialUpdateOK{} } -/* CircuitsProvidersPartialUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersPartialUpdateOK describes a response with status code 200, with default header values. CircuitsProvidersPartialUpdateOK circuits providers partial update o k */ @@ -62,9 +63,39 @@ type CircuitsProvidersPartialUpdateOK struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers partial update o k response has a 2xx status code +func (o *CircuitsProvidersPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers partial update o k response has a 3xx status code +func (o *CircuitsProvidersPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers partial update o k response has a 4xx status code +func (o *CircuitsProvidersPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers partial update o k response has a 5xx status code +func (o *CircuitsProvidersPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers partial update o k response a status code equal to that given +func (o *CircuitsProvidersPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /circuits/providers/{id}/][%d] circuitsProvidersPartialUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /circuits/providers/{id}/][%d] circuitsProvidersPartialUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersPartialUpdateOK) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_parameters.go index 06c107835..ee847aca8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_parameters.go @@ -68,10 +68,12 @@ func NewCircuitsProvidersReadParamsWithHTTPClient(client *http.Client) *Circuits } } -/* CircuitsProvidersReadParams contains all the parameters to send to the API endpoint - for the circuits providers read operation. +/* +CircuitsProvidersReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers read operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_responses.go index 607d2436e..424cd87bd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_read_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersReadOK() *CircuitsProvidersReadOK { return &CircuitsProvidersReadOK{} } -/* CircuitsProvidersReadOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersReadOK describes a response with status code 200, with default header values. CircuitsProvidersReadOK circuits providers read o k */ @@ -62,9 +63,39 @@ type CircuitsProvidersReadOK struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers read o k response has a 2xx status code +func (o *CircuitsProvidersReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers read o k response has a 3xx status code +func (o *CircuitsProvidersReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers read o k response has a 4xx status code +func (o *CircuitsProvidersReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers read o k response has a 5xx status code +func (o *CircuitsProvidersReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers read o k response a status code equal to that given +func (o *CircuitsProvidersReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersReadOK) Error() string { return fmt.Sprintf("[GET /circuits/providers/{id}/][%d] circuitsProvidersReadOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersReadOK) String() string { + return fmt.Sprintf("[GET /circuits/providers/{id}/][%d] circuitsProvidersReadOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersReadOK) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_parameters.go index 1ea37ca90..39d4748e0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_parameters.go @@ -70,10 +70,12 @@ func NewCircuitsProvidersUpdateParamsWithHTTPClient(client *http.Client) *Circui } } -/* CircuitsProvidersUpdateParams contains all the parameters to send to the API endpoint - for the circuits providers update operation. +/* +CircuitsProvidersUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the circuits providers update operation. + + Typically these are written to a http.Request. */ type CircuitsProvidersUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_responses.go index af88fb520..17f16b7fb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/circuits/circuits_providers_update_responses.go @@ -54,7 +54,8 @@ func NewCircuitsProvidersUpdateOK() *CircuitsProvidersUpdateOK { return &CircuitsProvidersUpdateOK{} } -/* CircuitsProvidersUpdateOK describes a response with status code 200, with default header values. +/* +CircuitsProvidersUpdateOK describes a response with status code 200, with default header values. CircuitsProvidersUpdateOK circuits providers update o k */ @@ -62,9 +63,39 @@ type CircuitsProvidersUpdateOK struct { Payload *models.Provider } +// IsSuccess returns true when this circuits providers update o k response has a 2xx status code +func (o *CircuitsProvidersUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this circuits providers update o k response has a 3xx status code +func (o *CircuitsProvidersUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this circuits providers update o k response has a 4xx status code +func (o *CircuitsProvidersUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this circuits providers update o k response has a 5xx status code +func (o *CircuitsProvidersUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this circuits providers update o k response a status code equal to that given +func (o *CircuitsProvidersUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *CircuitsProvidersUpdateOK) Error() string { return fmt.Sprintf("[PUT /circuits/providers/{id}/][%d] circuitsProvidersUpdateOK %+v", 200, o.Payload) } + +func (o *CircuitsProvidersUpdateOK) String() string { + return fmt.Sprintf("[PUT /circuits/providers/{id}/][%d] circuitsProvidersUpdateOK %+v", 200, o.Payload) +} + func (o *CircuitsProvidersUpdateOK) GetPayload() *models.Provider { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_parameters.go index b472b6021..dc4e13afb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimCablesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimCable } } -/* DcimCablesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim cables bulk delete operation. +/* +DcimCablesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables bulk delete operation. + + Typically these are written to a http.Request. */ type DcimCablesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_responses.go index c6f3e9d49..59d647244 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimCablesBulkDeleteNoContent() *DcimCablesBulkDeleteNoContent { return &DcimCablesBulkDeleteNoContent{} } -/* DcimCablesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimCablesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimCablesBulkDeleteNoContent dcim cables bulk delete no content */ type DcimCablesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim cables bulk delete no content response has a 2xx status code +func (o *DcimCablesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables bulk delete no content response has a 3xx status code +func (o *DcimCablesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables bulk delete no content response has a 4xx status code +func (o *DcimCablesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables bulk delete no content response has a 5xx status code +func (o *DcimCablesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables bulk delete no content response a status code equal to that given +func (o *DcimCablesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimCablesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/cables/][%d] dcimCablesBulkDeleteNoContent ", 204) } +func (o *DcimCablesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/cables/][%d] dcimCablesBulkDeleteNoContent ", 204) +} + func (o *DcimCablesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_parameters.go index 84702083c..3bf462a2e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimCablesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimCablesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim cables bulk partial update operation. +/* +DcimCablesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimCablesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_responses.go index a7bf4cbf4..4206495d7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesBulkPartialUpdateOK() *DcimCablesBulkPartialUpdateOK { return &DcimCablesBulkPartialUpdateOK{} } -/* DcimCablesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimCablesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimCablesBulkPartialUpdateOK dcim cables bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimCablesBulkPartialUpdateOK struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables bulk partial update o k response has a 2xx status code +func (o *DcimCablesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables bulk partial update o k response has a 3xx status code +func (o *DcimCablesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables bulk partial update o k response has a 4xx status code +func (o *DcimCablesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables bulk partial update o k response has a 5xx status code +func (o *DcimCablesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables bulk partial update o k response a status code equal to that given +func (o *DcimCablesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/cables/][%d] dcimCablesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimCablesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/cables/][%d] dcimCablesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimCablesBulkPartialUpdateOK) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_parameters.go index 7f7db5a3a..03da989c6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimCablesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimCable } } -/* DcimCablesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim cables bulk update operation. +/* +DcimCablesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables bulk update operation. + + Typically these are written to a http.Request. */ type DcimCablesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_responses.go index a7c429e0e..67de92c57 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesBulkUpdateOK() *DcimCablesBulkUpdateOK { return &DcimCablesBulkUpdateOK{} } -/* DcimCablesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimCablesBulkUpdateOK describes a response with status code 200, with default header values. DcimCablesBulkUpdateOK dcim cables bulk update o k */ @@ -62,9 +63,39 @@ type DcimCablesBulkUpdateOK struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables bulk update o k response has a 2xx status code +func (o *DcimCablesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables bulk update o k response has a 3xx status code +func (o *DcimCablesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables bulk update o k response has a 4xx status code +func (o *DcimCablesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables bulk update o k response has a 5xx status code +func (o *DcimCablesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables bulk update o k response a status code equal to that given +func (o *DcimCablesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/cables/][%d] dcimCablesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimCablesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/cables/][%d] dcimCablesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimCablesBulkUpdateOK) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_parameters.go index 4ca8e7212..296439b99 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimCablesCreateParamsWithHTTPClient(client *http.Client) *DcimCablesCre } } -/* DcimCablesCreateParams contains all the parameters to send to the API endpoint - for the dcim cables create operation. +/* +DcimCablesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables create operation. + + Typically these are written to a http.Request. */ type DcimCablesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_responses.go index 71d57a93a..e64ad2d31 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_create_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesCreateCreated() *DcimCablesCreateCreated { return &DcimCablesCreateCreated{} } -/* DcimCablesCreateCreated describes a response with status code 201, with default header values. +/* +DcimCablesCreateCreated describes a response with status code 201, with default header values. DcimCablesCreateCreated dcim cables create created */ @@ -62,9 +63,39 @@ type DcimCablesCreateCreated struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables create created response has a 2xx status code +func (o *DcimCablesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables create created response has a 3xx status code +func (o *DcimCablesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables create created response has a 4xx status code +func (o *DcimCablesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables create created response has a 5xx status code +func (o *DcimCablesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables create created response a status code equal to that given +func (o *DcimCablesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimCablesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/cables/][%d] dcimCablesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimCablesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/cables/][%d] dcimCablesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimCablesCreateCreated) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_parameters.go index 1593ff937..9283b9ce4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimCablesDeleteParamsWithHTTPClient(client *http.Client) *DcimCablesDel } } -/* DcimCablesDeleteParams contains all the parameters to send to the API endpoint - for the dcim cables delete operation. +/* +DcimCablesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables delete operation. + + Typically these are written to a http.Request. */ type DcimCablesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_responses.go index 7c1d31481..f0bfb3b80 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimCablesDeleteNoContent() *DcimCablesDeleteNoContent { return &DcimCablesDeleteNoContent{} } -/* DcimCablesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimCablesDeleteNoContent describes a response with status code 204, with default header values. DcimCablesDeleteNoContent dcim cables delete no content */ type DcimCablesDeleteNoContent struct { } +// IsSuccess returns true when this dcim cables delete no content response has a 2xx status code +func (o *DcimCablesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables delete no content response has a 3xx status code +func (o *DcimCablesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables delete no content response has a 4xx status code +func (o *DcimCablesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables delete no content response has a 5xx status code +func (o *DcimCablesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables delete no content response a status code equal to that given +func (o *DcimCablesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimCablesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/cables/{id}/][%d] dcimCablesDeleteNoContent ", 204) } +func (o *DcimCablesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/cables/{id}/][%d] dcimCablesDeleteNoContent ", 204) +} + func (o *DcimCablesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_parameters.go index a235494cb..a44bc8e06 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimCablesListParamsWithHTTPClient(client *http.Client) *DcimCablesListP } } -/* DcimCablesListParams contains all the parameters to send to the API endpoint - for the dcim cables list operation. +/* +DcimCablesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables list operation. + + Typically these are written to a http.Request. */ type DcimCablesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_responses.go index c81979701..410555f9a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_list_responses.go @@ -59,7 +59,8 @@ func NewDcimCablesListOK() *DcimCablesListOK { return &DcimCablesListOK{} } -/* DcimCablesListOK describes a response with status code 200, with default header values. +/* +DcimCablesListOK describes a response with status code 200, with default header values. DcimCablesListOK dcim cables list o k */ @@ -67,9 +68,39 @@ type DcimCablesListOK struct { Payload *DcimCablesListOKBody } +// IsSuccess returns true when this dcim cables list o k response has a 2xx status code +func (o *DcimCablesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables list o k response has a 3xx status code +func (o *DcimCablesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables list o k response has a 4xx status code +func (o *DcimCablesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables list o k response has a 5xx status code +func (o *DcimCablesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables list o k response a status code equal to that given +func (o *DcimCablesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesListOK) Error() string { return fmt.Sprintf("[GET /dcim/cables/][%d] dcimCablesListOK %+v", 200, o.Payload) } + +func (o *DcimCablesListOK) String() string { + return fmt.Sprintf("[GET /dcim/cables/][%d] dcimCablesListOK %+v", 200, o.Payload) +} + func (o *DcimCablesListOK) GetPayload() *DcimCablesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimCablesListOK) readResponse(response runtime.ClientResponse, consume return nil } -/*DcimCablesListOKBody dcim cables list o k body +/* +DcimCablesListOKBody dcim cables list o k body swagger:model DcimCablesListOKBody */ type DcimCablesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_parameters.go index dbb2508c9..ae510cbc8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimCablesPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimCa } } -/* DcimCablesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim cables partial update operation. +/* +DcimCablesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables partial update operation. + + Typically these are written to a http.Request. */ type DcimCablesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_responses.go index 805511c30..548d5c5d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesPartialUpdateOK() *DcimCablesPartialUpdateOK { return &DcimCablesPartialUpdateOK{} } -/* DcimCablesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimCablesPartialUpdateOK describes a response with status code 200, with default header values. DcimCablesPartialUpdateOK dcim cables partial update o k */ @@ -62,9 +63,39 @@ type DcimCablesPartialUpdateOK struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables partial update o k response has a 2xx status code +func (o *DcimCablesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables partial update o k response has a 3xx status code +func (o *DcimCablesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables partial update o k response has a 4xx status code +func (o *DcimCablesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables partial update o k response has a 5xx status code +func (o *DcimCablesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables partial update o k response a status code equal to that given +func (o *DcimCablesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/cables/{id}/][%d] dcimCablesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimCablesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/cables/{id}/][%d] dcimCablesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimCablesPartialUpdateOK) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_parameters.go index c1cecb5e2..834b2b393 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimCablesReadParamsWithHTTPClient(client *http.Client) *DcimCablesReadP } } -/* DcimCablesReadParams contains all the parameters to send to the API endpoint - for the dcim cables read operation. +/* +DcimCablesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables read operation. + + Typically these are written to a http.Request. */ type DcimCablesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_responses.go index a8e3ef8f2..1acc9eb7b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_read_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesReadOK() *DcimCablesReadOK { return &DcimCablesReadOK{} } -/* DcimCablesReadOK describes a response with status code 200, with default header values. +/* +DcimCablesReadOK describes a response with status code 200, with default header values. DcimCablesReadOK dcim cables read o k */ @@ -62,9 +63,39 @@ type DcimCablesReadOK struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables read o k response has a 2xx status code +func (o *DcimCablesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables read o k response has a 3xx status code +func (o *DcimCablesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables read o k response has a 4xx status code +func (o *DcimCablesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables read o k response has a 5xx status code +func (o *DcimCablesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables read o k response a status code equal to that given +func (o *DcimCablesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/cables/{id}/][%d] dcimCablesReadOK %+v", 200, o.Payload) } + +func (o *DcimCablesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/cables/{id}/][%d] dcimCablesReadOK %+v", 200, o.Payload) +} + func (o *DcimCablesReadOK) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_parameters.go index ee858c4bb..b1fc0918b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimCablesUpdateParamsWithHTTPClient(client *http.Client) *DcimCablesUpd } } -/* DcimCablesUpdateParams contains all the parameters to send to the API endpoint - for the dcim cables update operation. +/* +DcimCablesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim cables update operation. + + Typically these are written to a http.Request. */ type DcimCablesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_responses.go index 2ba1c51a3..7f8cf7542 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_cables_update_responses.go @@ -54,7 +54,8 @@ func NewDcimCablesUpdateOK() *DcimCablesUpdateOK { return &DcimCablesUpdateOK{} } -/* DcimCablesUpdateOK describes a response with status code 200, with default header values. +/* +DcimCablesUpdateOK describes a response with status code 200, with default header values. DcimCablesUpdateOK dcim cables update o k */ @@ -62,9 +63,39 @@ type DcimCablesUpdateOK struct { Payload *models.Cable } +// IsSuccess returns true when this dcim cables update o k response has a 2xx status code +func (o *DcimCablesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim cables update o k response has a 3xx status code +func (o *DcimCablesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim cables update o k response has a 4xx status code +func (o *DcimCablesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim cables update o k response has a 5xx status code +func (o *DcimCablesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim cables update o k response a status code equal to that given +func (o *DcimCablesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimCablesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/cables/{id}/][%d] dcimCablesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimCablesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/cables/{id}/][%d] dcimCablesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimCablesUpdateOK) GetPayload() *models.Cable { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_client.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_client.go index f2bf30e30..af09f62d7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_client.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_client.go @@ -773,7 +773,7 @@ type ClientService interface { } /* - DcimCablesBulkDelete dcim cables bulk delete API +DcimCablesBulkDelete dcim cables bulk delete API */ func (a *Client) DcimCablesBulkDelete(params *DcimCablesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -812,7 +812,7 @@ func (a *Client) DcimCablesBulkDelete(params *DcimCablesBulkDeleteParams, authIn } /* - DcimCablesBulkPartialUpdate dcim cables bulk partial update API +DcimCablesBulkPartialUpdate dcim cables bulk partial update API */ func (a *Client) DcimCablesBulkPartialUpdate(params *DcimCablesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -851,7 +851,7 @@ func (a *Client) DcimCablesBulkPartialUpdate(params *DcimCablesBulkPartialUpdate } /* - DcimCablesBulkUpdate dcim cables bulk update API +DcimCablesBulkUpdate dcim cables bulk update API */ func (a *Client) DcimCablesBulkUpdate(params *DcimCablesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -890,7 +890,7 @@ func (a *Client) DcimCablesBulkUpdate(params *DcimCablesBulkUpdateParams, authIn } /* - DcimCablesCreate dcim cables create API +DcimCablesCreate dcim cables create API */ func (a *Client) DcimCablesCreate(params *DcimCablesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesCreateCreated, error) { // TODO: Validate the params before sending @@ -929,7 +929,7 @@ func (a *Client) DcimCablesCreate(params *DcimCablesCreateParams, authInfo runti } /* - DcimCablesDelete dcim cables delete API +DcimCablesDelete dcim cables delete API */ func (a *Client) DcimCablesDelete(params *DcimCablesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -968,7 +968,7 @@ func (a *Client) DcimCablesDelete(params *DcimCablesDeleteParams, authInfo runti } /* - DcimCablesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimCablesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimCablesList(params *DcimCablesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesListOK, error) { // TODO: Validate the params before sending @@ -1007,7 +1007,7 @@ func (a *Client) DcimCablesList(params *DcimCablesListParams, authInfo runtime.C } /* - DcimCablesPartialUpdate dcim cables partial update API +DcimCablesPartialUpdate dcim cables partial update API */ func (a *Client) DcimCablesPartialUpdate(params *DcimCablesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1046,7 +1046,7 @@ func (a *Client) DcimCablesPartialUpdate(params *DcimCablesPartialUpdateParams, } /* - DcimCablesRead dcim cables read API +DcimCablesRead dcim cables read API */ func (a *Client) DcimCablesRead(params *DcimCablesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesReadOK, error) { // TODO: Validate the params before sending @@ -1085,7 +1085,7 @@ func (a *Client) DcimCablesRead(params *DcimCablesReadParams, authInfo runtime.C } /* - DcimCablesUpdate dcim cables update API +DcimCablesUpdate dcim cables update API */ func (a *Client) DcimCablesUpdate(params *DcimCablesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimCablesUpdateOK, error) { // TODO: Validate the params before sending @@ -1124,7 +1124,8 @@ func (a *Client) DcimCablesUpdate(params *DcimCablesUpdateParams, authInfo runti } /* - DcimConnectedDeviceList This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer + DcimConnectedDeviceList This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer + interface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors via a protocol such as LLDP. Two query parameters must be included in the request: @@ -1168,7 +1169,7 @@ func (a *Client) DcimConnectedDeviceList(params *DcimConnectedDeviceListParams, } /* - DcimConsolePortTemplatesBulkDelete dcim console port templates bulk delete API +DcimConsolePortTemplatesBulkDelete dcim console port templates bulk delete API */ func (a *Client) DcimConsolePortTemplatesBulkDelete(params *DcimConsolePortTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1207,7 +1208,7 @@ func (a *Client) DcimConsolePortTemplatesBulkDelete(params *DcimConsolePortTempl } /* - DcimConsolePortTemplatesBulkPartialUpdate dcim console port templates bulk partial update API +DcimConsolePortTemplatesBulkPartialUpdate dcim console port templates bulk partial update API */ func (a *Client) DcimConsolePortTemplatesBulkPartialUpdate(params *DcimConsolePortTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1246,7 +1247,7 @@ func (a *Client) DcimConsolePortTemplatesBulkPartialUpdate(params *DcimConsolePo } /* - DcimConsolePortTemplatesBulkUpdate dcim console port templates bulk update API +DcimConsolePortTemplatesBulkUpdate dcim console port templates bulk update API */ func (a *Client) DcimConsolePortTemplatesBulkUpdate(params *DcimConsolePortTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1285,7 +1286,7 @@ func (a *Client) DcimConsolePortTemplatesBulkUpdate(params *DcimConsolePortTempl } /* - DcimConsolePortTemplatesCreate dcim console port templates create API +DcimConsolePortTemplatesCreate dcim console port templates create API */ func (a *Client) DcimConsolePortTemplatesCreate(params *DcimConsolePortTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -1324,7 +1325,7 @@ func (a *Client) DcimConsolePortTemplatesCreate(params *DcimConsolePortTemplates } /* - DcimConsolePortTemplatesDelete dcim console port templates delete API +DcimConsolePortTemplatesDelete dcim console port templates delete API */ func (a *Client) DcimConsolePortTemplatesDelete(params *DcimConsolePortTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1363,7 +1364,7 @@ func (a *Client) DcimConsolePortTemplatesDelete(params *DcimConsolePortTemplates } /* - DcimConsolePortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimConsolePortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimConsolePortTemplatesList(params *DcimConsolePortTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesListOK, error) { // TODO: Validate the params before sending @@ -1402,7 +1403,7 @@ func (a *Client) DcimConsolePortTemplatesList(params *DcimConsolePortTemplatesLi } /* - DcimConsolePortTemplatesPartialUpdate dcim console port templates partial update API +DcimConsolePortTemplatesPartialUpdate dcim console port templates partial update API */ func (a *Client) DcimConsolePortTemplatesPartialUpdate(params *DcimConsolePortTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1441,7 +1442,7 @@ func (a *Client) DcimConsolePortTemplatesPartialUpdate(params *DcimConsolePortTe } /* - DcimConsolePortTemplatesRead dcim console port templates read API +DcimConsolePortTemplatesRead dcim console port templates read API */ func (a *Client) DcimConsolePortTemplatesRead(params *DcimConsolePortTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -1480,7 +1481,7 @@ func (a *Client) DcimConsolePortTemplatesRead(params *DcimConsolePortTemplatesRe } /* - DcimConsolePortTemplatesUpdate dcim console port templates update API +DcimConsolePortTemplatesUpdate dcim console port templates update API */ func (a *Client) DcimConsolePortTemplatesUpdate(params *DcimConsolePortTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -1519,7 +1520,7 @@ func (a *Client) DcimConsolePortTemplatesUpdate(params *DcimConsolePortTemplates } /* - DcimConsolePortsBulkDelete dcim console ports bulk delete API +DcimConsolePortsBulkDelete dcim console ports bulk delete API */ func (a *Client) DcimConsolePortsBulkDelete(params *DcimConsolePortsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1558,7 +1559,7 @@ func (a *Client) DcimConsolePortsBulkDelete(params *DcimConsolePortsBulkDeletePa } /* - DcimConsolePortsBulkPartialUpdate dcim console ports bulk partial update API +DcimConsolePortsBulkPartialUpdate dcim console ports bulk partial update API */ func (a *Client) DcimConsolePortsBulkPartialUpdate(params *DcimConsolePortsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1597,7 +1598,7 @@ func (a *Client) DcimConsolePortsBulkPartialUpdate(params *DcimConsolePortsBulkP } /* - DcimConsolePortsBulkUpdate dcim console ports bulk update API +DcimConsolePortsBulkUpdate dcim console ports bulk update API */ func (a *Client) DcimConsolePortsBulkUpdate(params *DcimConsolePortsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1636,7 +1637,7 @@ func (a *Client) DcimConsolePortsBulkUpdate(params *DcimConsolePortsBulkUpdatePa } /* - DcimConsolePortsCreate dcim console ports create API +DcimConsolePortsCreate dcim console ports create API */ func (a *Client) DcimConsolePortsCreate(params *DcimConsolePortsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsCreateCreated, error) { // TODO: Validate the params before sending @@ -1675,7 +1676,7 @@ func (a *Client) DcimConsolePortsCreate(params *DcimConsolePortsCreateParams, au } /* - DcimConsolePortsDelete dcim console ports delete API +DcimConsolePortsDelete dcim console ports delete API */ func (a *Client) DcimConsolePortsDelete(params *DcimConsolePortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1714,7 +1715,7 @@ func (a *Client) DcimConsolePortsDelete(params *DcimConsolePortsDeleteParams, au } /* - DcimConsolePortsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimConsolePortsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimConsolePortsList(params *DcimConsolePortsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsListOK, error) { // TODO: Validate the params before sending @@ -1753,7 +1754,7 @@ func (a *Client) DcimConsolePortsList(params *DcimConsolePortsListParams, authIn } /* - DcimConsolePortsPartialUpdate dcim console ports partial update API +DcimConsolePortsPartialUpdate dcim console ports partial update API */ func (a *Client) DcimConsolePortsPartialUpdate(params *DcimConsolePortsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1792,7 +1793,7 @@ func (a *Client) DcimConsolePortsPartialUpdate(params *DcimConsolePortsPartialUp } /* - DcimConsolePortsRead dcim console ports read API +DcimConsolePortsRead dcim console ports read API */ func (a *Client) DcimConsolePortsRead(params *DcimConsolePortsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsReadOK, error) { // TODO: Validate the params before sending @@ -1831,7 +1832,7 @@ func (a *Client) DcimConsolePortsRead(params *DcimConsolePortsReadParams, authIn } /* - DcimConsolePortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimConsolePortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimConsolePortsTrace(params *DcimConsolePortsTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsTraceOK, error) { // TODO: Validate the params before sending @@ -1870,7 +1871,7 @@ func (a *Client) DcimConsolePortsTrace(params *DcimConsolePortsTraceParams, auth } /* - DcimConsolePortsUpdate dcim console ports update API +DcimConsolePortsUpdate dcim console ports update API */ func (a *Client) DcimConsolePortsUpdate(params *DcimConsolePortsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsolePortsUpdateOK, error) { // TODO: Validate the params before sending @@ -1909,7 +1910,7 @@ func (a *Client) DcimConsolePortsUpdate(params *DcimConsolePortsUpdateParams, au } /* - DcimConsoleServerPortTemplatesBulkDelete dcim console server port templates bulk delete API +DcimConsoleServerPortTemplatesBulkDelete dcim console server port templates bulk delete API */ func (a *Client) DcimConsoleServerPortTemplatesBulkDelete(params *DcimConsoleServerPortTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1948,7 +1949,7 @@ func (a *Client) DcimConsoleServerPortTemplatesBulkDelete(params *DcimConsoleSer } /* - DcimConsoleServerPortTemplatesBulkPartialUpdate dcim console server port templates bulk partial update API +DcimConsoleServerPortTemplatesBulkPartialUpdate dcim console server port templates bulk partial update API */ func (a *Client) DcimConsoleServerPortTemplatesBulkPartialUpdate(params *DcimConsoleServerPortTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1987,7 +1988,7 @@ func (a *Client) DcimConsoleServerPortTemplatesBulkPartialUpdate(params *DcimCon } /* - DcimConsoleServerPortTemplatesBulkUpdate dcim console server port templates bulk update API +DcimConsoleServerPortTemplatesBulkUpdate dcim console server port templates bulk update API */ func (a *Client) DcimConsoleServerPortTemplatesBulkUpdate(params *DcimConsoleServerPortTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -2026,7 +2027,7 @@ func (a *Client) DcimConsoleServerPortTemplatesBulkUpdate(params *DcimConsoleSer } /* - DcimConsoleServerPortTemplatesCreate dcim console server port templates create API +DcimConsoleServerPortTemplatesCreate dcim console server port templates create API */ func (a *Client) DcimConsoleServerPortTemplatesCreate(params *DcimConsoleServerPortTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -2065,7 +2066,7 @@ func (a *Client) DcimConsoleServerPortTemplatesCreate(params *DcimConsoleServerP } /* - DcimConsoleServerPortTemplatesDelete dcim console server port templates delete API +DcimConsoleServerPortTemplatesDelete dcim console server port templates delete API */ func (a *Client) DcimConsoleServerPortTemplatesDelete(params *DcimConsoleServerPortTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2104,7 +2105,7 @@ func (a *Client) DcimConsoleServerPortTemplatesDelete(params *DcimConsoleServerP } /* - DcimConsoleServerPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimConsoleServerPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimConsoleServerPortTemplatesList(params *DcimConsoleServerPortTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesListOK, error) { // TODO: Validate the params before sending @@ -2143,7 +2144,7 @@ func (a *Client) DcimConsoleServerPortTemplatesList(params *DcimConsoleServerPor } /* - DcimConsoleServerPortTemplatesPartialUpdate dcim console server port templates partial update API +DcimConsoleServerPortTemplatesPartialUpdate dcim console server port templates partial update API */ func (a *Client) DcimConsoleServerPortTemplatesPartialUpdate(params *DcimConsoleServerPortTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2182,7 +2183,7 @@ func (a *Client) DcimConsoleServerPortTemplatesPartialUpdate(params *DcimConsole } /* - DcimConsoleServerPortTemplatesRead dcim console server port templates read API +DcimConsoleServerPortTemplatesRead dcim console server port templates read API */ func (a *Client) DcimConsoleServerPortTemplatesRead(params *DcimConsoleServerPortTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -2221,7 +2222,7 @@ func (a *Client) DcimConsoleServerPortTemplatesRead(params *DcimConsoleServerPor } /* - DcimConsoleServerPortTemplatesUpdate dcim console server port templates update API +DcimConsoleServerPortTemplatesUpdate dcim console server port templates update API */ func (a *Client) DcimConsoleServerPortTemplatesUpdate(params *DcimConsoleServerPortTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -2260,7 +2261,7 @@ func (a *Client) DcimConsoleServerPortTemplatesUpdate(params *DcimConsoleServerP } /* - DcimConsoleServerPortsBulkDelete dcim console server ports bulk delete API +DcimConsoleServerPortsBulkDelete dcim console server ports bulk delete API */ func (a *Client) DcimConsoleServerPortsBulkDelete(params *DcimConsoleServerPortsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2299,7 +2300,7 @@ func (a *Client) DcimConsoleServerPortsBulkDelete(params *DcimConsoleServerPorts } /* - DcimConsoleServerPortsBulkPartialUpdate dcim console server ports bulk partial update API +DcimConsoleServerPortsBulkPartialUpdate dcim console server ports bulk partial update API */ func (a *Client) DcimConsoleServerPortsBulkPartialUpdate(params *DcimConsoleServerPortsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2338,7 +2339,7 @@ func (a *Client) DcimConsoleServerPortsBulkPartialUpdate(params *DcimConsoleServ } /* - DcimConsoleServerPortsBulkUpdate dcim console server ports bulk update API +DcimConsoleServerPortsBulkUpdate dcim console server ports bulk update API */ func (a *Client) DcimConsoleServerPortsBulkUpdate(params *DcimConsoleServerPortsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -2377,7 +2378,7 @@ func (a *Client) DcimConsoleServerPortsBulkUpdate(params *DcimConsoleServerPorts } /* - DcimConsoleServerPortsCreate dcim console server ports create API +DcimConsoleServerPortsCreate dcim console server ports create API */ func (a *Client) DcimConsoleServerPortsCreate(params *DcimConsoleServerPortsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsCreateCreated, error) { // TODO: Validate the params before sending @@ -2416,7 +2417,7 @@ func (a *Client) DcimConsoleServerPortsCreate(params *DcimConsoleServerPortsCrea } /* - DcimConsoleServerPortsDelete dcim console server ports delete API +DcimConsoleServerPortsDelete dcim console server ports delete API */ func (a *Client) DcimConsoleServerPortsDelete(params *DcimConsoleServerPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2455,7 +2456,7 @@ func (a *Client) DcimConsoleServerPortsDelete(params *DcimConsoleServerPortsDele } /* - DcimConsoleServerPortsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimConsoleServerPortsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimConsoleServerPortsList(params *DcimConsoleServerPortsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsListOK, error) { // TODO: Validate the params before sending @@ -2494,7 +2495,7 @@ func (a *Client) DcimConsoleServerPortsList(params *DcimConsoleServerPortsListPa } /* - DcimConsoleServerPortsPartialUpdate dcim console server ports partial update API +DcimConsoleServerPortsPartialUpdate dcim console server ports partial update API */ func (a *Client) DcimConsoleServerPortsPartialUpdate(params *DcimConsoleServerPortsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2533,7 +2534,7 @@ func (a *Client) DcimConsoleServerPortsPartialUpdate(params *DcimConsoleServerPo } /* - DcimConsoleServerPortsRead dcim console server ports read API +DcimConsoleServerPortsRead dcim console server ports read API */ func (a *Client) DcimConsoleServerPortsRead(params *DcimConsoleServerPortsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsReadOK, error) { // TODO: Validate the params before sending @@ -2572,7 +2573,7 @@ func (a *Client) DcimConsoleServerPortsRead(params *DcimConsoleServerPortsReadPa } /* - DcimConsoleServerPortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimConsoleServerPortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimConsoleServerPortsTrace(params *DcimConsoleServerPortsTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsTraceOK, error) { // TODO: Validate the params before sending @@ -2611,7 +2612,7 @@ func (a *Client) DcimConsoleServerPortsTrace(params *DcimConsoleServerPortsTrace } /* - DcimConsoleServerPortsUpdate dcim console server ports update API +DcimConsoleServerPortsUpdate dcim console server ports update API */ func (a *Client) DcimConsoleServerPortsUpdate(params *DcimConsoleServerPortsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimConsoleServerPortsUpdateOK, error) { // TODO: Validate the params before sending @@ -2650,7 +2651,7 @@ func (a *Client) DcimConsoleServerPortsUpdate(params *DcimConsoleServerPortsUpda } /* - DcimDeviceBayTemplatesBulkDelete dcim device bay templates bulk delete API +DcimDeviceBayTemplatesBulkDelete dcim device bay templates bulk delete API */ func (a *Client) DcimDeviceBayTemplatesBulkDelete(params *DcimDeviceBayTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2689,7 +2690,7 @@ func (a *Client) DcimDeviceBayTemplatesBulkDelete(params *DcimDeviceBayTemplates } /* - DcimDeviceBayTemplatesBulkPartialUpdate dcim device bay templates bulk partial update API +DcimDeviceBayTemplatesBulkPartialUpdate dcim device bay templates bulk partial update API */ func (a *Client) DcimDeviceBayTemplatesBulkPartialUpdate(params *DcimDeviceBayTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2728,7 +2729,7 @@ func (a *Client) DcimDeviceBayTemplatesBulkPartialUpdate(params *DcimDeviceBayTe } /* - DcimDeviceBayTemplatesBulkUpdate dcim device bay templates bulk update API +DcimDeviceBayTemplatesBulkUpdate dcim device bay templates bulk update API */ func (a *Client) DcimDeviceBayTemplatesBulkUpdate(params *DcimDeviceBayTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -2767,7 +2768,7 @@ func (a *Client) DcimDeviceBayTemplatesBulkUpdate(params *DcimDeviceBayTemplates } /* - DcimDeviceBayTemplatesCreate dcim device bay templates create API +DcimDeviceBayTemplatesCreate dcim device bay templates create API */ func (a *Client) DcimDeviceBayTemplatesCreate(params *DcimDeviceBayTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -2806,7 +2807,7 @@ func (a *Client) DcimDeviceBayTemplatesCreate(params *DcimDeviceBayTemplatesCrea } /* - DcimDeviceBayTemplatesDelete dcim device bay templates delete API +DcimDeviceBayTemplatesDelete dcim device bay templates delete API */ func (a *Client) DcimDeviceBayTemplatesDelete(params *DcimDeviceBayTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2845,7 +2846,7 @@ func (a *Client) DcimDeviceBayTemplatesDelete(params *DcimDeviceBayTemplatesDele } /* - DcimDeviceBayTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimDeviceBayTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimDeviceBayTemplatesList(params *DcimDeviceBayTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesListOK, error) { // TODO: Validate the params before sending @@ -2884,7 +2885,7 @@ func (a *Client) DcimDeviceBayTemplatesList(params *DcimDeviceBayTemplatesListPa } /* - DcimDeviceBayTemplatesPartialUpdate dcim device bay templates partial update API +DcimDeviceBayTemplatesPartialUpdate dcim device bay templates partial update API */ func (a *Client) DcimDeviceBayTemplatesPartialUpdate(params *DcimDeviceBayTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2923,7 +2924,7 @@ func (a *Client) DcimDeviceBayTemplatesPartialUpdate(params *DcimDeviceBayTempla } /* - DcimDeviceBayTemplatesRead dcim device bay templates read API +DcimDeviceBayTemplatesRead dcim device bay templates read API */ func (a *Client) DcimDeviceBayTemplatesRead(params *DcimDeviceBayTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -2962,7 +2963,7 @@ func (a *Client) DcimDeviceBayTemplatesRead(params *DcimDeviceBayTemplatesReadPa } /* - DcimDeviceBayTemplatesUpdate dcim device bay templates update API +DcimDeviceBayTemplatesUpdate dcim device bay templates update API */ func (a *Client) DcimDeviceBayTemplatesUpdate(params *DcimDeviceBayTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBayTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -3001,7 +3002,7 @@ func (a *Client) DcimDeviceBayTemplatesUpdate(params *DcimDeviceBayTemplatesUpda } /* - DcimDeviceBaysBulkDelete dcim device bays bulk delete API +DcimDeviceBaysBulkDelete dcim device bays bulk delete API */ func (a *Client) DcimDeviceBaysBulkDelete(params *DcimDeviceBaysBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3040,7 +3041,7 @@ func (a *Client) DcimDeviceBaysBulkDelete(params *DcimDeviceBaysBulkDeleteParams } /* - DcimDeviceBaysBulkPartialUpdate dcim device bays bulk partial update API +DcimDeviceBaysBulkPartialUpdate dcim device bays bulk partial update API */ func (a *Client) DcimDeviceBaysBulkPartialUpdate(params *DcimDeviceBaysBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3079,7 +3080,7 @@ func (a *Client) DcimDeviceBaysBulkPartialUpdate(params *DcimDeviceBaysBulkParti } /* - DcimDeviceBaysBulkUpdate dcim device bays bulk update API +DcimDeviceBaysBulkUpdate dcim device bays bulk update API */ func (a *Client) DcimDeviceBaysBulkUpdate(params *DcimDeviceBaysBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -3118,7 +3119,7 @@ func (a *Client) DcimDeviceBaysBulkUpdate(params *DcimDeviceBaysBulkUpdateParams } /* - DcimDeviceBaysCreate dcim device bays create API +DcimDeviceBaysCreate dcim device bays create API */ func (a *Client) DcimDeviceBaysCreate(params *DcimDeviceBaysCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysCreateCreated, error) { // TODO: Validate the params before sending @@ -3157,7 +3158,7 @@ func (a *Client) DcimDeviceBaysCreate(params *DcimDeviceBaysCreateParams, authIn } /* - DcimDeviceBaysDelete dcim device bays delete API +DcimDeviceBaysDelete dcim device bays delete API */ func (a *Client) DcimDeviceBaysDelete(params *DcimDeviceBaysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3196,7 +3197,7 @@ func (a *Client) DcimDeviceBaysDelete(params *DcimDeviceBaysDeleteParams, authIn } /* - DcimDeviceBaysList Overrides ListModelMixin to allow processing ExportTemplates. +DcimDeviceBaysList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimDeviceBaysList(params *DcimDeviceBaysListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysListOK, error) { // TODO: Validate the params before sending @@ -3235,7 +3236,7 @@ func (a *Client) DcimDeviceBaysList(params *DcimDeviceBaysListParams, authInfo r } /* - DcimDeviceBaysPartialUpdate dcim device bays partial update API +DcimDeviceBaysPartialUpdate dcim device bays partial update API */ func (a *Client) DcimDeviceBaysPartialUpdate(params *DcimDeviceBaysPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3274,7 +3275,7 @@ func (a *Client) DcimDeviceBaysPartialUpdate(params *DcimDeviceBaysPartialUpdate } /* - DcimDeviceBaysRead dcim device bays read API +DcimDeviceBaysRead dcim device bays read API */ func (a *Client) DcimDeviceBaysRead(params *DcimDeviceBaysReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysReadOK, error) { // TODO: Validate the params before sending @@ -3313,7 +3314,7 @@ func (a *Client) DcimDeviceBaysRead(params *DcimDeviceBaysReadParams, authInfo r } /* - DcimDeviceBaysUpdate dcim device bays update API +DcimDeviceBaysUpdate dcim device bays update API */ func (a *Client) DcimDeviceBaysUpdate(params *DcimDeviceBaysUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceBaysUpdateOK, error) { // TODO: Validate the params before sending @@ -3352,7 +3353,7 @@ func (a *Client) DcimDeviceBaysUpdate(params *DcimDeviceBaysUpdateParams, authIn } /* - DcimDeviceRolesBulkDelete dcim device roles bulk delete API +DcimDeviceRolesBulkDelete dcim device roles bulk delete API */ func (a *Client) DcimDeviceRolesBulkDelete(params *DcimDeviceRolesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3391,7 +3392,7 @@ func (a *Client) DcimDeviceRolesBulkDelete(params *DcimDeviceRolesBulkDeletePara } /* - DcimDeviceRolesBulkPartialUpdate dcim device roles bulk partial update API +DcimDeviceRolesBulkPartialUpdate dcim device roles bulk partial update API */ func (a *Client) DcimDeviceRolesBulkPartialUpdate(params *DcimDeviceRolesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3430,7 +3431,7 @@ func (a *Client) DcimDeviceRolesBulkPartialUpdate(params *DcimDeviceRolesBulkPar } /* - DcimDeviceRolesBulkUpdate dcim device roles bulk update API +DcimDeviceRolesBulkUpdate dcim device roles bulk update API */ func (a *Client) DcimDeviceRolesBulkUpdate(params *DcimDeviceRolesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -3469,7 +3470,7 @@ func (a *Client) DcimDeviceRolesBulkUpdate(params *DcimDeviceRolesBulkUpdatePara } /* - DcimDeviceRolesCreate dcim device roles create API +DcimDeviceRolesCreate dcim device roles create API */ func (a *Client) DcimDeviceRolesCreate(params *DcimDeviceRolesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesCreateCreated, error) { // TODO: Validate the params before sending @@ -3508,7 +3509,7 @@ func (a *Client) DcimDeviceRolesCreate(params *DcimDeviceRolesCreateParams, auth } /* - DcimDeviceRolesDelete dcim device roles delete API +DcimDeviceRolesDelete dcim device roles delete API */ func (a *Client) DcimDeviceRolesDelete(params *DcimDeviceRolesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3547,7 +3548,7 @@ func (a *Client) DcimDeviceRolesDelete(params *DcimDeviceRolesDeleteParams, auth } /* - DcimDeviceRolesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimDeviceRolesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimDeviceRolesList(params *DcimDeviceRolesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesListOK, error) { // TODO: Validate the params before sending @@ -3586,7 +3587,7 @@ func (a *Client) DcimDeviceRolesList(params *DcimDeviceRolesListParams, authInfo } /* - DcimDeviceRolesPartialUpdate dcim device roles partial update API +DcimDeviceRolesPartialUpdate dcim device roles partial update API */ func (a *Client) DcimDeviceRolesPartialUpdate(params *DcimDeviceRolesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3625,7 +3626,7 @@ func (a *Client) DcimDeviceRolesPartialUpdate(params *DcimDeviceRolesPartialUpda } /* - DcimDeviceRolesRead dcim device roles read API +DcimDeviceRolesRead dcim device roles read API */ func (a *Client) DcimDeviceRolesRead(params *DcimDeviceRolesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesReadOK, error) { // TODO: Validate the params before sending @@ -3664,7 +3665,7 @@ func (a *Client) DcimDeviceRolesRead(params *DcimDeviceRolesReadParams, authInfo } /* - DcimDeviceRolesUpdate dcim device roles update API +DcimDeviceRolesUpdate dcim device roles update API */ func (a *Client) DcimDeviceRolesUpdate(params *DcimDeviceRolesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceRolesUpdateOK, error) { // TODO: Validate the params before sending @@ -3703,7 +3704,7 @@ func (a *Client) DcimDeviceRolesUpdate(params *DcimDeviceRolesUpdateParams, auth } /* - DcimDeviceTypesBulkDelete dcim device types bulk delete API +DcimDeviceTypesBulkDelete dcim device types bulk delete API */ func (a *Client) DcimDeviceTypesBulkDelete(params *DcimDeviceTypesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3742,7 +3743,7 @@ func (a *Client) DcimDeviceTypesBulkDelete(params *DcimDeviceTypesBulkDeletePara } /* - DcimDeviceTypesBulkPartialUpdate dcim device types bulk partial update API +DcimDeviceTypesBulkPartialUpdate dcim device types bulk partial update API */ func (a *Client) DcimDeviceTypesBulkPartialUpdate(params *DcimDeviceTypesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3781,7 +3782,7 @@ func (a *Client) DcimDeviceTypesBulkPartialUpdate(params *DcimDeviceTypesBulkPar } /* - DcimDeviceTypesBulkUpdate dcim device types bulk update API +DcimDeviceTypesBulkUpdate dcim device types bulk update API */ func (a *Client) DcimDeviceTypesBulkUpdate(params *DcimDeviceTypesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -3820,7 +3821,7 @@ func (a *Client) DcimDeviceTypesBulkUpdate(params *DcimDeviceTypesBulkUpdatePara } /* - DcimDeviceTypesCreate dcim device types create API +DcimDeviceTypesCreate dcim device types create API */ func (a *Client) DcimDeviceTypesCreate(params *DcimDeviceTypesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesCreateCreated, error) { // TODO: Validate the params before sending @@ -3859,7 +3860,7 @@ func (a *Client) DcimDeviceTypesCreate(params *DcimDeviceTypesCreateParams, auth } /* - DcimDeviceTypesDelete dcim device types delete API +DcimDeviceTypesDelete dcim device types delete API */ func (a *Client) DcimDeviceTypesDelete(params *DcimDeviceTypesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -3898,7 +3899,7 @@ func (a *Client) DcimDeviceTypesDelete(params *DcimDeviceTypesDeleteParams, auth } /* - DcimDeviceTypesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimDeviceTypesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimDeviceTypesList(params *DcimDeviceTypesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesListOK, error) { // TODO: Validate the params before sending @@ -3937,7 +3938,7 @@ func (a *Client) DcimDeviceTypesList(params *DcimDeviceTypesListParams, authInfo } /* - DcimDeviceTypesPartialUpdate dcim device types partial update API +DcimDeviceTypesPartialUpdate dcim device types partial update API */ func (a *Client) DcimDeviceTypesPartialUpdate(params *DcimDeviceTypesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -3976,7 +3977,7 @@ func (a *Client) DcimDeviceTypesPartialUpdate(params *DcimDeviceTypesPartialUpda } /* - DcimDeviceTypesRead dcim device types read API +DcimDeviceTypesRead dcim device types read API */ func (a *Client) DcimDeviceTypesRead(params *DcimDeviceTypesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesReadOK, error) { // TODO: Validate the params before sending @@ -4015,7 +4016,7 @@ func (a *Client) DcimDeviceTypesRead(params *DcimDeviceTypesReadParams, authInfo } /* - DcimDeviceTypesUpdate dcim device types update API +DcimDeviceTypesUpdate dcim device types update API */ func (a *Client) DcimDeviceTypesUpdate(params *DcimDeviceTypesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDeviceTypesUpdateOK, error) { // TODO: Validate the params before sending @@ -4054,7 +4055,7 @@ func (a *Client) DcimDeviceTypesUpdate(params *DcimDeviceTypesUpdateParams, auth } /* - DcimDevicesBulkDelete dcim devices bulk delete API +DcimDevicesBulkDelete dcim devices bulk delete API */ func (a *Client) DcimDevicesBulkDelete(params *DcimDevicesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4093,7 +4094,7 @@ func (a *Client) DcimDevicesBulkDelete(params *DcimDevicesBulkDeleteParams, auth } /* - DcimDevicesBulkPartialUpdate dcim devices bulk partial update API +DcimDevicesBulkPartialUpdate dcim devices bulk partial update API */ func (a *Client) DcimDevicesBulkPartialUpdate(params *DcimDevicesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -4132,7 +4133,7 @@ func (a *Client) DcimDevicesBulkPartialUpdate(params *DcimDevicesBulkPartialUpda } /* - DcimDevicesBulkUpdate dcim devices bulk update API +DcimDevicesBulkUpdate dcim devices bulk update API */ func (a *Client) DcimDevicesBulkUpdate(params *DcimDevicesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -4171,7 +4172,7 @@ func (a *Client) DcimDevicesBulkUpdate(params *DcimDevicesBulkUpdateParams, auth } /* - DcimDevicesCreate dcim devices create API +DcimDevicesCreate dcim devices create API */ func (a *Client) DcimDevicesCreate(params *DcimDevicesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesCreateCreated, error) { // TODO: Validate the params before sending @@ -4210,7 +4211,7 @@ func (a *Client) DcimDevicesCreate(params *DcimDevicesCreateParams, authInfo run } /* - DcimDevicesDelete dcim devices delete API +DcimDevicesDelete dcim devices delete API */ func (a *Client) DcimDevicesDelete(params *DcimDevicesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4249,7 +4250,7 @@ func (a *Client) DcimDevicesDelete(params *DcimDevicesDeleteParams, authInfo run } /* - DcimDevicesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimDevicesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimDevicesList(params *DcimDevicesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesListOK, error) { // TODO: Validate the params before sending @@ -4288,7 +4289,7 @@ func (a *Client) DcimDevicesList(params *DcimDevicesListParams, authInfo runtime } /* - DcimDevicesNapalm Execute a NAPALM method on a Device +DcimDevicesNapalm Execute a NAPALM method on a Device */ func (a *Client) DcimDevicesNapalm(params *DcimDevicesNapalmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesNapalmOK, error) { // TODO: Validate the params before sending @@ -4327,7 +4328,7 @@ func (a *Client) DcimDevicesNapalm(params *DcimDevicesNapalmParams, authInfo run } /* - DcimDevicesPartialUpdate dcim devices partial update API +DcimDevicesPartialUpdate dcim devices partial update API */ func (a *Client) DcimDevicesPartialUpdate(params *DcimDevicesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -4366,7 +4367,7 @@ func (a *Client) DcimDevicesPartialUpdate(params *DcimDevicesPartialUpdateParams } /* - DcimDevicesRead dcim devices read API +DcimDevicesRead dcim devices read API */ func (a *Client) DcimDevicesRead(params *DcimDevicesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesReadOK, error) { // TODO: Validate the params before sending @@ -4405,7 +4406,7 @@ func (a *Client) DcimDevicesRead(params *DcimDevicesReadParams, authInfo runtime } /* - DcimDevicesUpdate dcim devices update API +DcimDevicesUpdate dcim devices update API */ func (a *Client) DcimDevicesUpdate(params *DcimDevicesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimDevicesUpdateOK, error) { // TODO: Validate the params before sending @@ -4444,7 +4445,7 @@ func (a *Client) DcimDevicesUpdate(params *DcimDevicesUpdateParams, authInfo run } /* - DcimFrontPortTemplatesBulkDelete dcim front port templates bulk delete API +DcimFrontPortTemplatesBulkDelete dcim front port templates bulk delete API */ func (a *Client) DcimFrontPortTemplatesBulkDelete(params *DcimFrontPortTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4483,7 +4484,7 @@ func (a *Client) DcimFrontPortTemplatesBulkDelete(params *DcimFrontPortTemplates } /* - DcimFrontPortTemplatesBulkPartialUpdate dcim front port templates bulk partial update API +DcimFrontPortTemplatesBulkPartialUpdate dcim front port templates bulk partial update API */ func (a *Client) DcimFrontPortTemplatesBulkPartialUpdate(params *DcimFrontPortTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -4522,7 +4523,7 @@ func (a *Client) DcimFrontPortTemplatesBulkPartialUpdate(params *DcimFrontPortTe } /* - DcimFrontPortTemplatesBulkUpdate dcim front port templates bulk update API +DcimFrontPortTemplatesBulkUpdate dcim front port templates bulk update API */ func (a *Client) DcimFrontPortTemplatesBulkUpdate(params *DcimFrontPortTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -4561,7 +4562,7 @@ func (a *Client) DcimFrontPortTemplatesBulkUpdate(params *DcimFrontPortTemplates } /* - DcimFrontPortTemplatesCreate dcim front port templates create API +DcimFrontPortTemplatesCreate dcim front port templates create API */ func (a *Client) DcimFrontPortTemplatesCreate(params *DcimFrontPortTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -4600,7 +4601,7 @@ func (a *Client) DcimFrontPortTemplatesCreate(params *DcimFrontPortTemplatesCrea } /* - DcimFrontPortTemplatesDelete dcim front port templates delete API +DcimFrontPortTemplatesDelete dcim front port templates delete API */ func (a *Client) DcimFrontPortTemplatesDelete(params *DcimFrontPortTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4639,7 +4640,7 @@ func (a *Client) DcimFrontPortTemplatesDelete(params *DcimFrontPortTemplatesDele } /* - DcimFrontPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimFrontPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimFrontPortTemplatesList(params *DcimFrontPortTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesListOK, error) { // TODO: Validate the params before sending @@ -4678,7 +4679,7 @@ func (a *Client) DcimFrontPortTemplatesList(params *DcimFrontPortTemplatesListPa } /* - DcimFrontPortTemplatesPartialUpdate dcim front port templates partial update API +DcimFrontPortTemplatesPartialUpdate dcim front port templates partial update API */ func (a *Client) DcimFrontPortTemplatesPartialUpdate(params *DcimFrontPortTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -4717,7 +4718,7 @@ func (a *Client) DcimFrontPortTemplatesPartialUpdate(params *DcimFrontPortTempla } /* - DcimFrontPortTemplatesRead dcim front port templates read API +DcimFrontPortTemplatesRead dcim front port templates read API */ func (a *Client) DcimFrontPortTemplatesRead(params *DcimFrontPortTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -4756,7 +4757,7 @@ func (a *Client) DcimFrontPortTemplatesRead(params *DcimFrontPortTemplatesReadPa } /* - DcimFrontPortTemplatesUpdate dcim front port templates update API +DcimFrontPortTemplatesUpdate dcim front port templates update API */ func (a *Client) DcimFrontPortTemplatesUpdate(params *DcimFrontPortTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -4795,7 +4796,7 @@ func (a *Client) DcimFrontPortTemplatesUpdate(params *DcimFrontPortTemplatesUpda } /* - DcimFrontPortsBulkDelete dcim front ports bulk delete API +DcimFrontPortsBulkDelete dcim front ports bulk delete API */ func (a *Client) DcimFrontPortsBulkDelete(params *DcimFrontPortsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4834,7 +4835,7 @@ func (a *Client) DcimFrontPortsBulkDelete(params *DcimFrontPortsBulkDeleteParams } /* - DcimFrontPortsBulkPartialUpdate dcim front ports bulk partial update API +DcimFrontPortsBulkPartialUpdate dcim front ports bulk partial update API */ func (a *Client) DcimFrontPortsBulkPartialUpdate(params *DcimFrontPortsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -4873,7 +4874,7 @@ func (a *Client) DcimFrontPortsBulkPartialUpdate(params *DcimFrontPortsBulkParti } /* - DcimFrontPortsBulkUpdate dcim front ports bulk update API +DcimFrontPortsBulkUpdate dcim front ports bulk update API */ func (a *Client) DcimFrontPortsBulkUpdate(params *DcimFrontPortsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -4912,7 +4913,7 @@ func (a *Client) DcimFrontPortsBulkUpdate(params *DcimFrontPortsBulkUpdateParams } /* - DcimFrontPortsCreate dcim front ports create API +DcimFrontPortsCreate dcim front ports create API */ func (a *Client) DcimFrontPortsCreate(params *DcimFrontPortsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsCreateCreated, error) { // TODO: Validate the params before sending @@ -4951,7 +4952,7 @@ func (a *Client) DcimFrontPortsCreate(params *DcimFrontPortsCreateParams, authIn } /* - DcimFrontPortsDelete dcim front ports delete API +DcimFrontPortsDelete dcim front ports delete API */ func (a *Client) DcimFrontPortsDelete(params *DcimFrontPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -4990,7 +4991,7 @@ func (a *Client) DcimFrontPortsDelete(params *DcimFrontPortsDeleteParams, authIn } /* - DcimFrontPortsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimFrontPortsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimFrontPortsList(params *DcimFrontPortsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsListOK, error) { // TODO: Validate the params before sending @@ -5029,7 +5030,7 @@ func (a *Client) DcimFrontPortsList(params *DcimFrontPortsListParams, authInfo r } /* - DcimFrontPortsPartialUpdate dcim front ports partial update API +DcimFrontPortsPartialUpdate dcim front ports partial update API */ func (a *Client) DcimFrontPortsPartialUpdate(params *DcimFrontPortsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -5068,7 +5069,7 @@ func (a *Client) DcimFrontPortsPartialUpdate(params *DcimFrontPortsPartialUpdate } /* - DcimFrontPortsPaths Return all CablePaths which traverse a given pass-through port. +DcimFrontPortsPaths Return all CablePaths which traverse a given pass-through port. */ func (a *Client) DcimFrontPortsPaths(params *DcimFrontPortsPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsPathsOK, error) { // TODO: Validate the params before sending @@ -5107,7 +5108,7 @@ func (a *Client) DcimFrontPortsPaths(params *DcimFrontPortsPathsParams, authInfo } /* - DcimFrontPortsRead dcim front ports read API +DcimFrontPortsRead dcim front ports read API */ func (a *Client) DcimFrontPortsRead(params *DcimFrontPortsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsReadOK, error) { // TODO: Validate the params before sending @@ -5146,7 +5147,7 @@ func (a *Client) DcimFrontPortsRead(params *DcimFrontPortsReadParams, authInfo r } /* - DcimFrontPortsUpdate dcim front ports update API +DcimFrontPortsUpdate dcim front ports update API */ func (a *Client) DcimFrontPortsUpdate(params *DcimFrontPortsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimFrontPortsUpdateOK, error) { // TODO: Validate the params before sending @@ -5185,7 +5186,7 @@ func (a *Client) DcimFrontPortsUpdate(params *DcimFrontPortsUpdateParams, authIn } /* - DcimInterfaceTemplatesBulkDelete dcim interface templates bulk delete API +DcimInterfaceTemplatesBulkDelete dcim interface templates bulk delete API */ func (a *Client) DcimInterfaceTemplatesBulkDelete(params *DcimInterfaceTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -5224,7 +5225,7 @@ func (a *Client) DcimInterfaceTemplatesBulkDelete(params *DcimInterfaceTemplates } /* - DcimInterfaceTemplatesBulkPartialUpdate dcim interface templates bulk partial update API +DcimInterfaceTemplatesBulkPartialUpdate dcim interface templates bulk partial update API */ func (a *Client) DcimInterfaceTemplatesBulkPartialUpdate(params *DcimInterfaceTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -5263,7 +5264,7 @@ func (a *Client) DcimInterfaceTemplatesBulkPartialUpdate(params *DcimInterfaceTe } /* - DcimInterfaceTemplatesBulkUpdate dcim interface templates bulk update API +DcimInterfaceTemplatesBulkUpdate dcim interface templates bulk update API */ func (a *Client) DcimInterfaceTemplatesBulkUpdate(params *DcimInterfaceTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -5302,7 +5303,7 @@ func (a *Client) DcimInterfaceTemplatesBulkUpdate(params *DcimInterfaceTemplates } /* - DcimInterfaceTemplatesCreate dcim interface templates create API +DcimInterfaceTemplatesCreate dcim interface templates create API */ func (a *Client) DcimInterfaceTemplatesCreate(params *DcimInterfaceTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -5341,7 +5342,7 @@ func (a *Client) DcimInterfaceTemplatesCreate(params *DcimInterfaceTemplatesCrea } /* - DcimInterfaceTemplatesDelete dcim interface templates delete API +DcimInterfaceTemplatesDelete dcim interface templates delete API */ func (a *Client) DcimInterfaceTemplatesDelete(params *DcimInterfaceTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -5380,7 +5381,7 @@ func (a *Client) DcimInterfaceTemplatesDelete(params *DcimInterfaceTemplatesDele } /* - DcimInterfaceTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimInterfaceTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimInterfaceTemplatesList(params *DcimInterfaceTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesListOK, error) { // TODO: Validate the params before sending @@ -5419,7 +5420,7 @@ func (a *Client) DcimInterfaceTemplatesList(params *DcimInterfaceTemplatesListPa } /* - DcimInterfaceTemplatesPartialUpdate dcim interface templates partial update API +DcimInterfaceTemplatesPartialUpdate dcim interface templates partial update API */ func (a *Client) DcimInterfaceTemplatesPartialUpdate(params *DcimInterfaceTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -5458,7 +5459,7 @@ func (a *Client) DcimInterfaceTemplatesPartialUpdate(params *DcimInterfaceTempla } /* - DcimInterfaceTemplatesRead dcim interface templates read API +DcimInterfaceTemplatesRead dcim interface templates read API */ func (a *Client) DcimInterfaceTemplatesRead(params *DcimInterfaceTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -5497,7 +5498,7 @@ func (a *Client) DcimInterfaceTemplatesRead(params *DcimInterfaceTemplatesReadPa } /* - DcimInterfaceTemplatesUpdate dcim interface templates update API +DcimInterfaceTemplatesUpdate dcim interface templates update API */ func (a *Client) DcimInterfaceTemplatesUpdate(params *DcimInterfaceTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfaceTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -5536,7 +5537,7 @@ func (a *Client) DcimInterfaceTemplatesUpdate(params *DcimInterfaceTemplatesUpda } /* - DcimInterfacesBulkDelete dcim interfaces bulk delete API +DcimInterfacesBulkDelete dcim interfaces bulk delete API */ func (a *Client) DcimInterfacesBulkDelete(params *DcimInterfacesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -5575,7 +5576,7 @@ func (a *Client) DcimInterfacesBulkDelete(params *DcimInterfacesBulkDeleteParams } /* - DcimInterfacesBulkPartialUpdate dcim interfaces bulk partial update API +DcimInterfacesBulkPartialUpdate dcim interfaces bulk partial update API */ func (a *Client) DcimInterfacesBulkPartialUpdate(params *DcimInterfacesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -5614,7 +5615,7 @@ func (a *Client) DcimInterfacesBulkPartialUpdate(params *DcimInterfacesBulkParti } /* - DcimInterfacesBulkUpdate dcim interfaces bulk update API +DcimInterfacesBulkUpdate dcim interfaces bulk update API */ func (a *Client) DcimInterfacesBulkUpdate(params *DcimInterfacesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -5653,7 +5654,7 @@ func (a *Client) DcimInterfacesBulkUpdate(params *DcimInterfacesBulkUpdateParams } /* - DcimInterfacesCreate dcim interfaces create API +DcimInterfacesCreate dcim interfaces create API */ func (a *Client) DcimInterfacesCreate(params *DcimInterfacesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesCreateCreated, error) { // TODO: Validate the params before sending @@ -5692,7 +5693,7 @@ func (a *Client) DcimInterfacesCreate(params *DcimInterfacesCreateParams, authIn } /* - DcimInterfacesDelete dcim interfaces delete API +DcimInterfacesDelete dcim interfaces delete API */ func (a *Client) DcimInterfacesDelete(params *DcimInterfacesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -5731,7 +5732,7 @@ func (a *Client) DcimInterfacesDelete(params *DcimInterfacesDeleteParams, authIn } /* - DcimInterfacesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimInterfacesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimInterfacesList(params *DcimInterfacesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesListOK, error) { // TODO: Validate the params before sending @@ -5770,7 +5771,7 @@ func (a *Client) DcimInterfacesList(params *DcimInterfacesListParams, authInfo r } /* - DcimInterfacesPartialUpdate dcim interfaces partial update API +DcimInterfacesPartialUpdate dcim interfaces partial update API */ func (a *Client) DcimInterfacesPartialUpdate(params *DcimInterfacesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -5809,7 +5810,7 @@ func (a *Client) DcimInterfacesPartialUpdate(params *DcimInterfacesPartialUpdate } /* - DcimInterfacesRead dcim interfaces read API +DcimInterfacesRead dcim interfaces read API */ func (a *Client) DcimInterfacesRead(params *DcimInterfacesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesReadOK, error) { // TODO: Validate the params before sending @@ -5848,7 +5849,7 @@ func (a *Client) DcimInterfacesRead(params *DcimInterfacesReadParams, authInfo r } /* - DcimInterfacesTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimInterfacesTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimInterfacesTrace(params *DcimInterfacesTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesTraceOK, error) { // TODO: Validate the params before sending @@ -5887,7 +5888,7 @@ func (a *Client) DcimInterfacesTrace(params *DcimInterfacesTraceParams, authInfo } /* - DcimInterfacesUpdate dcim interfaces update API +DcimInterfacesUpdate dcim interfaces update API */ func (a *Client) DcimInterfacesUpdate(params *DcimInterfacesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInterfacesUpdateOK, error) { // TODO: Validate the params before sending @@ -5926,7 +5927,7 @@ func (a *Client) DcimInterfacesUpdate(params *DcimInterfacesUpdateParams, authIn } /* - DcimInventoryItemRolesBulkDelete dcim inventory item roles bulk delete API +DcimInventoryItemRolesBulkDelete dcim inventory item roles bulk delete API */ func (a *Client) DcimInventoryItemRolesBulkDelete(params *DcimInventoryItemRolesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -5965,7 +5966,7 @@ func (a *Client) DcimInventoryItemRolesBulkDelete(params *DcimInventoryItemRoles } /* - DcimInventoryItemRolesBulkPartialUpdate dcim inventory item roles bulk partial update API +DcimInventoryItemRolesBulkPartialUpdate dcim inventory item roles bulk partial update API */ func (a *Client) DcimInventoryItemRolesBulkPartialUpdate(params *DcimInventoryItemRolesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6004,7 +6005,7 @@ func (a *Client) DcimInventoryItemRolesBulkPartialUpdate(params *DcimInventoryIt } /* - DcimInventoryItemRolesBulkUpdate dcim inventory item roles bulk update API +DcimInventoryItemRolesBulkUpdate dcim inventory item roles bulk update API */ func (a *Client) DcimInventoryItemRolesBulkUpdate(params *DcimInventoryItemRolesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -6043,7 +6044,7 @@ func (a *Client) DcimInventoryItemRolesBulkUpdate(params *DcimInventoryItemRoles } /* - DcimInventoryItemRolesCreate dcim inventory item roles create API +DcimInventoryItemRolesCreate dcim inventory item roles create API */ func (a *Client) DcimInventoryItemRolesCreate(params *DcimInventoryItemRolesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesCreateCreated, error) { // TODO: Validate the params before sending @@ -6082,7 +6083,7 @@ func (a *Client) DcimInventoryItemRolesCreate(params *DcimInventoryItemRolesCrea } /* - DcimInventoryItemRolesDelete dcim inventory item roles delete API +DcimInventoryItemRolesDelete dcim inventory item roles delete API */ func (a *Client) DcimInventoryItemRolesDelete(params *DcimInventoryItemRolesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -6121,7 +6122,7 @@ func (a *Client) DcimInventoryItemRolesDelete(params *DcimInventoryItemRolesDele } /* - DcimInventoryItemRolesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimInventoryItemRolesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimInventoryItemRolesList(params *DcimInventoryItemRolesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesListOK, error) { // TODO: Validate the params before sending @@ -6160,7 +6161,7 @@ func (a *Client) DcimInventoryItemRolesList(params *DcimInventoryItemRolesListPa } /* - DcimInventoryItemRolesPartialUpdate dcim inventory item roles partial update API +DcimInventoryItemRolesPartialUpdate dcim inventory item roles partial update API */ func (a *Client) DcimInventoryItemRolesPartialUpdate(params *DcimInventoryItemRolesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6199,7 +6200,7 @@ func (a *Client) DcimInventoryItemRolesPartialUpdate(params *DcimInventoryItemRo } /* - DcimInventoryItemRolesRead dcim inventory item roles read API +DcimInventoryItemRolesRead dcim inventory item roles read API */ func (a *Client) DcimInventoryItemRolesRead(params *DcimInventoryItemRolesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesReadOK, error) { // TODO: Validate the params before sending @@ -6238,7 +6239,7 @@ func (a *Client) DcimInventoryItemRolesRead(params *DcimInventoryItemRolesReadPa } /* - DcimInventoryItemRolesUpdate dcim inventory item roles update API +DcimInventoryItemRolesUpdate dcim inventory item roles update API */ func (a *Client) DcimInventoryItemRolesUpdate(params *DcimInventoryItemRolesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemRolesUpdateOK, error) { // TODO: Validate the params before sending @@ -6277,7 +6278,7 @@ func (a *Client) DcimInventoryItemRolesUpdate(params *DcimInventoryItemRolesUpda } /* - DcimInventoryItemTemplatesBulkDelete dcim inventory item templates bulk delete API +DcimInventoryItemTemplatesBulkDelete dcim inventory item templates bulk delete API */ func (a *Client) DcimInventoryItemTemplatesBulkDelete(params *DcimInventoryItemTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -6316,7 +6317,7 @@ func (a *Client) DcimInventoryItemTemplatesBulkDelete(params *DcimInventoryItemT } /* - DcimInventoryItemTemplatesBulkPartialUpdate dcim inventory item templates bulk partial update API +DcimInventoryItemTemplatesBulkPartialUpdate dcim inventory item templates bulk partial update API */ func (a *Client) DcimInventoryItemTemplatesBulkPartialUpdate(params *DcimInventoryItemTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6355,7 +6356,7 @@ func (a *Client) DcimInventoryItemTemplatesBulkPartialUpdate(params *DcimInvento } /* - DcimInventoryItemTemplatesBulkUpdate dcim inventory item templates bulk update API +DcimInventoryItemTemplatesBulkUpdate dcim inventory item templates bulk update API */ func (a *Client) DcimInventoryItemTemplatesBulkUpdate(params *DcimInventoryItemTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -6394,7 +6395,7 @@ func (a *Client) DcimInventoryItemTemplatesBulkUpdate(params *DcimInventoryItemT } /* - DcimInventoryItemTemplatesCreate dcim inventory item templates create API +DcimInventoryItemTemplatesCreate dcim inventory item templates create API */ func (a *Client) DcimInventoryItemTemplatesCreate(params *DcimInventoryItemTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -6433,7 +6434,7 @@ func (a *Client) DcimInventoryItemTemplatesCreate(params *DcimInventoryItemTempl } /* - DcimInventoryItemTemplatesDelete dcim inventory item templates delete API +DcimInventoryItemTemplatesDelete dcim inventory item templates delete API */ func (a *Client) DcimInventoryItemTemplatesDelete(params *DcimInventoryItemTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -6472,7 +6473,7 @@ func (a *Client) DcimInventoryItemTemplatesDelete(params *DcimInventoryItemTempl } /* - DcimInventoryItemTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimInventoryItemTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimInventoryItemTemplatesList(params *DcimInventoryItemTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesListOK, error) { // TODO: Validate the params before sending @@ -6511,7 +6512,7 @@ func (a *Client) DcimInventoryItemTemplatesList(params *DcimInventoryItemTemplat } /* - DcimInventoryItemTemplatesPartialUpdate dcim inventory item templates partial update API +DcimInventoryItemTemplatesPartialUpdate dcim inventory item templates partial update API */ func (a *Client) DcimInventoryItemTemplatesPartialUpdate(params *DcimInventoryItemTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6550,7 +6551,7 @@ func (a *Client) DcimInventoryItemTemplatesPartialUpdate(params *DcimInventoryIt } /* - DcimInventoryItemTemplatesRead dcim inventory item templates read API +DcimInventoryItemTemplatesRead dcim inventory item templates read API */ func (a *Client) DcimInventoryItemTemplatesRead(params *DcimInventoryItemTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -6589,7 +6590,7 @@ func (a *Client) DcimInventoryItemTemplatesRead(params *DcimInventoryItemTemplat } /* - DcimInventoryItemTemplatesUpdate dcim inventory item templates update API +DcimInventoryItemTemplatesUpdate dcim inventory item templates update API */ func (a *Client) DcimInventoryItemTemplatesUpdate(params *DcimInventoryItemTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -6628,7 +6629,7 @@ func (a *Client) DcimInventoryItemTemplatesUpdate(params *DcimInventoryItemTempl } /* - DcimInventoryItemsBulkDelete dcim inventory items bulk delete API +DcimInventoryItemsBulkDelete dcim inventory items bulk delete API */ func (a *Client) DcimInventoryItemsBulkDelete(params *DcimInventoryItemsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -6667,7 +6668,7 @@ func (a *Client) DcimInventoryItemsBulkDelete(params *DcimInventoryItemsBulkDele } /* - DcimInventoryItemsBulkPartialUpdate dcim inventory items bulk partial update API +DcimInventoryItemsBulkPartialUpdate dcim inventory items bulk partial update API */ func (a *Client) DcimInventoryItemsBulkPartialUpdate(params *DcimInventoryItemsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6706,7 +6707,7 @@ func (a *Client) DcimInventoryItemsBulkPartialUpdate(params *DcimInventoryItemsB } /* - DcimInventoryItemsBulkUpdate dcim inventory items bulk update API +DcimInventoryItemsBulkUpdate dcim inventory items bulk update API */ func (a *Client) DcimInventoryItemsBulkUpdate(params *DcimInventoryItemsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -6745,7 +6746,7 @@ func (a *Client) DcimInventoryItemsBulkUpdate(params *DcimInventoryItemsBulkUpda } /* - DcimInventoryItemsCreate dcim inventory items create API +DcimInventoryItemsCreate dcim inventory items create API */ func (a *Client) DcimInventoryItemsCreate(params *DcimInventoryItemsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsCreateCreated, error) { // TODO: Validate the params before sending @@ -6784,7 +6785,7 @@ func (a *Client) DcimInventoryItemsCreate(params *DcimInventoryItemsCreateParams } /* - DcimInventoryItemsDelete dcim inventory items delete API +DcimInventoryItemsDelete dcim inventory items delete API */ func (a *Client) DcimInventoryItemsDelete(params *DcimInventoryItemsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -6823,7 +6824,7 @@ func (a *Client) DcimInventoryItemsDelete(params *DcimInventoryItemsDeleteParams } /* - DcimInventoryItemsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimInventoryItemsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimInventoryItemsList(params *DcimInventoryItemsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsListOK, error) { // TODO: Validate the params before sending @@ -6862,7 +6863,7 @@ func (a *Client) DcimInventoryItemsList(params *DcimInventoryItemsListParams, au } /* - DcimInventoryItemsPartialUpdate dcim inventory items partial update API +DcimInventoryItemsPartialUpdate dcim inventory items partial update API */ func (a *Client) DcimInventoryItemsPartialUpdate(params *DcimInventoryItemsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -6901,7 +6902,7 @@ func (a *Client) DcimInventoryItemsPartialUpdate(params *DcimInventoryItemsParti } /* - DcimInventoryItemsRead dcim inventory items read API +DcimInventoryItemsRead dcim inventory items read API */ func (a *Client) DcimInventoryItemsRead(params *DcimInventoryItemsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsReadOK, error) { // TODO: Validate the params before sending @@ -6940,7 +6941,7 @@ func (a *Client) DcimInventoryItemsRead(params *DcimInventoryItemsReadParams, au } /* - DcimInventoryItemsUpdate dcim inventory items update API +DcimInventoryItemsUpdate dcim inventory items update API */ func (a *Client) DcimInventoryItemsUpdate(params *DcimInventoryItemsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimInventoryItemsUpdateOK, error) { // TODO: Validate the params before sending @@ -6979,7 +6980,7 @@ func (a *Client) DcimInventoryItemsUpdate(params *DcimInventoryItemsUpdateParams } /* - DcimLocationsBulkDelete dcim locations bulk delete API +DcimLocationsBulkDelete dcim locations bulk delete API */ func (a *Client) DcimLocationsBulkDelete(params *DcimLocationsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7018,7 +7019,7 @@ func (a *Client) DcimLocationsBulkDelete(params *DcimLocationsBulkDeleteParams, } /* - DcimLocationsBulkPartialUpdate dcim locations bulk partial update API +DcimLocationsBulkPartialUpdate dcim locations bulk partial update API */ func (a *Client) DcimLocationsBulkPartialUpdate(params *DcimLocationsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7057,7 +7058,7 @@ func (a *Client) DcimLocationsBulkPartialUpdate(params *DcimLocationsBulkPartial } /* - DcimLocationsBulkUpdate dcim locations bulk update API +DcimLocationsBulkUpdate dcim locations bulk update API */ func (a *Client) DcimLocationsBulkUpdate(params *DcimLocationsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -7096,7 +7097,7 @@ func (a *Client) DcimLocationsBulkUpdate(params *DcimLocationsBulkUpdateParams, } /* - DcimLocationsCreate dcim locations create API +DcimLocationsCreate dcim locations create API */ func (a *Client) DcimLocationsCreate(params *DcimLocationsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsCreateCreated, error) { // TODO: Validate the params before sending @@ -7135,7 +7136,7 @@ func (a *Client) DcimLocationsCreate(params *DcimLocationsCreateParams, authInfo } /* - DcimLocationsDelete dcim locations delete API +DcimLocationsDelete dcim locations delete API */ func (a *Client) DcimLocationsDelete(params *DcimLocationsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7174,7 +7175,7 @@ func (a *Client) DcimLocationsDelete(params *DcimLocationsDeleteParams, authInfo } /* - DcimLocationsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimLocationsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimLocationsList(params *DcimLocationsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsListOK, error) { // TODO: Validate the params before sending @@ -7213,7 +7214,7 @@ func (a *Client) DcimLocationsList(params *DcimLocationsListParams, authInfo run } /* - DcimLocationsPartialUpdate dcim locations partial update API +DcimLocationsPartialUpdate dcim locations partial update API */ func (a *Client) DcimLocationsPartialUpdate(params *DcimLocationsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7252,7 +7253,7 @@ func (a *Client) DcimLocationsPartialUpdate(params *DcimLocationsPartialUpdatePa } /* - DcimLocationsRead dcim locations read API +DcimLocationsRead dcim locations read API */ func (a *Client) DcimLocationsRead(params *DcimLocationsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsReadOK, error) { // TODO: Validate the params before sending @@ -7291,7 +7292,7 @@ func (a *Client) DcimLocationsRead(params *DcimLocationsReadParams, authInfo run } /* - DcimLocationsUpdate dcim locations update API +DcimLocationsUpdate dcim locations update API */ func (a *Client) DcimLocationsUpdate(params *DcimLocationsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimLocationsUpdateOK, error) { // TODO: Validate the params before sending @@ -7330,7 +7331,7 @@ func (a *Client) DcimLocationsUpdate(params *DcimLocationsUpdateParams, authInfo } /* - DcimManufacturersBulkDelete dcim manufacturers bulk delete API +DcimManufacturersBulkDelete dcim manufacturers bulk delete API */ func (a *Client) DcimManufacturersBulkDelete(params *DcimManufacturersBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7369,7 +7370,7 @@ func (a *Client) DcimManufacturersBulkDelete(params *DcimManufacturersBulkDelete } /* - DcimManufacturersBulkPartialUpdate dcim manufacturers bulk partial update API +DcimManufacturersBulkPartialUpdate dcim manufacturers bulk partial update API */ func (a *Client) DcimManufacturersBulkPartialUpdate(params *DcimManufacturersBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7408,7 +7409,7 @@ func (a *Client) DcimManufacturersBulkPartialUpdate(params *DcimManufacturersBul } /* - DcimManufacturersBulkUpdate dcim manufacturers bulk update API +DcimManufacturersBulkUpdate dcim manufacturers bulk update API */ func (a *Client) DcimManufacturersBulkUpdate(params *DcimManufacturersBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -7447,7 +7448,7 @@ func (a *Client) DcimManufacturersBulkUpdate(params *DcimManufacturersBulkUpdate } /* - DcimManufacturersCreate dcim manufacturers create API +DcimManufacturersCreate dcim manufacturers create API */ func (a *Client) DcimManufacturersCreate(params *DcimManufacturersCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersCreateCreated, error) { // TODO: Validate the params before sending @@ -7486,7 +7487,7 @@ func (a *Client) DcimManufacturersCreate(params *DcimManufacturersCreateParams, } /* - DcimManufacturersDelete dcim manufacturers delete API +DcimManufacturersDelete dcim manufacturers delete API */ func (a *Client) DcimManufacturersDelete(params *DcimManufacturersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7525,7 +7526,7 @@ func (a *Client) DcimManufacturersDelete(params *DcimManufacturersDeleteParams, } /* - DcimManufacturersList Overrides ListModelMixin to allow processing ExportTemplates. +DcimManufacturersList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimManufacturersList(params *DcimManufacturersListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersListOK, error) { // TODO: Validate the params before sending @@ -7564,7 +7565,7 @@ func (a *Client) DcimManufacturersList(params *DcimManufacturersListParams, auth } /* - DcimManufacturersPartialUpdate dcim manufacturers partial update API +DcimManufacturersPartialUpdate dcim manufacturers partial update API */ func (a *Client) DcimManufacturersPartialUpdate(params *DcimManufacturersPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7603,7 +7604,7 @@ func (a *Client) DcimManufacturersPartialUpdate(params *DcimManufacturersPartial } /* - DcimManufacturersRead dcim manufacturers read API +DcimManufacturersRead dcim manufacturers read API */ func (a *Client) DcimManufacturersRead(params *DcimManufacturersReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersReadOK, error) { // TODO: Validate the params before sending @@ -7642,7 +7643,7 @@ func (a *Client) DcimManufacturersRead(params *DcimManufacturersReadParams, auth } /* - DcimManufacturersUpdate dcim manufacturers update API +DcimManufacturersUpdate dcim manufacturers update API */ func (a *Client) DcimManufacturersUpdate(params *DcimManufacturersUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimManufacturersUpdateOK, error) { // TODO: Validate the params before sending @@ -7681,7 +7682,7 @@ func (a *Client) DcimManufacturersUpdate(params *DcimManufacturersUpdateParams, } /* - DcimModuleBayTemplatesBulkDelete dcim module bay templates bulk delete API +DcimModuleBayTemplatesBulkDelete dcim module bay templates bulk delete API */ func (a *Client) DcimModuleBayTemplatesBulkDelete(params *DcimModuleBayTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7720,7 +7721,7 @@ func (a *Client) DcimModuleBayTemplatesBulkDelete(params *DcimModuleBayTemplates } /* - DcimModuleBayTemplatesBulkPartialUpdate dcim module bay templates bulk partial update API +DcimModuleBayTemplatesBulkPartialUpdate dcim module bay templates bulk partial update API */ func (a *Client) DcimModuleBayTemplatesBulkPartialUpdate(params *DcimModuleBayTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7759,7 +7760,7 @@ func (a *Client) DcimModuleBayTemplatesBulkPartialUpdate(params *DcimModuleBayTe } /* - DcimModuleBayTemplatesBulkUpdate dcim module bay templates bulk update API +DcimModuleBayTemplatesBulkUpdate dcim module bay templates bulk update API */ func (a *Client) DcimModuleBayTemplatesBulkUpdate(params *DcimModuleBayTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -7798,7 +7799,7 @@ func (a *Client) DcimModuleBayTemplatesBulkUpdate(params *DcimModuleBayTemplates } /* - DcimModuleBayTemplatesCreate dcim module bay templates create API +DcimModuleBayTemplatesCreate dcim module bay templates create API */ func (a *Client) DcimModuleBayTemplatesCreate(params *DcimModuleBayTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -7837,7 +7838,7 @@ func (a *Client) DcimModuleBayTemplatesCreate(params *DcimModuleBayTemplatesCrea } /* - DcimModuleBayTemplatesDelete dcim module bay templates delete API +DcimModuleBayTemplatesDelete dcim module bay templates delete API */ func (a *Client) DcimModuleBayTemplatesDelete(params *DcimModuleBayTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -7876,7 +7877,7 @@ func (a *Client) DcimModuleBayTemplatesDelete(params *DcimModuleBayTemplatesDele } /* - DcimModuleBayTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimModuleBayTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimModuleBayTemplatesList(params *DcimModuleBayTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesListOK, error) { // TODO: Validate the params before sending @@ -7915,7 +7916,7 @@ func (a *Client) DcimModuleBayTemplatesList(params *DcimModuleBayTemplatesListPa } /* - DcimModuleBayTemplatesPartialUpdate dcim module bay templates partial update API +DcimModuleBayTemplatesPartialUpdate dcim module bay templates partial update API */ func (a *Client) DcimModuleBayTemplatesPartialUpdate(params *DcimModuleBayTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -7954,7 +7955,7 @@ func (a *Client) DcimModuleBayTemplatesPartialUpdate(params *DcimModuleBayTempla } /* - DcimModuleBayTemplatesRead dcim module bay templates read API +DcimModuleBayTemplatesRead dcim module bay templates read API */ func (a *Client) DcimModuleBayTemplatesRead(params *DcimModuleBayTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -7993,7 +7994,7 @@ func (a *Client) DcimModuleBayTemplatesRead(params *DcimModuleBayTemplatesReadPa } /* - DcimModuleBayTemplatesUpdate dcim module bay templates update API +DcimModuleBayTemplatesUpdate dcim module bay templates update API */ func (a *Client) DcimModuleBayTemplatesUpdate(params *DcimModuleBayTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBayTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -8032,7 +8033,7 @@ func (a *Client) DcimModuleBayTemplatesUpdate(params *DcimModuleBayTemplatesUpda } /* - DcimModuleBaysBulkDelete dcim module bays bulk delete API +DcimModuleBaysBulkDelete dcim module bays bulk delete API */ func (a *Client) DcimModuleBaysBulkDelete(params *DcimModuleBaysBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8071,7 +8072,7 @@ func (a *Client) DcimModuleBaysBulkDelete(params *DcimModuleBaysBulkDeleteParams } /* - DcimModuleBaysBulkPartialUpdate dcim module bays bulk partial update API +DcimModuleBaysBulkPartialUpdate dcim module bays bulk partial update API */ func (a *Client) DcimModuleBaysBulkPartialUpdate(params *DcimModuleBaysBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -8110,7 +8111,7 @@ func (a *Client) DcimModuleBaysBulkPartialUpdate(params *DcimModuleBaysBulkParti } /* - DcimModuleBaysBulkUpdate dcim module bays bulk update API +DcimModuleBaysBulkUpdate dcim module bays bulk update API */ func (a *Client) DcimModuleBaysBulkUpdate(params *DcimModuleBaysBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -8149,7 +8150,7 @@ func (a *Client) DcimModuleBaysBulkUpdate(params *DcimModuleBaysBulkUpdateParams } /* - DcimModuleBaysCreate dcim module bays create API +DcimModuleBaysCreate dcim module bays create API */ func (a *Client) DcimModuleBaysCreate(params *DcimModuleBaysCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysCreateCreated, error) { // TODO: Validate the params before sending @@ -8188,7 +8189,7 @@ func (a *Client) DcimModuleBaysCreate(params *DcimModuleBaysCreateParams, authIn } /* - DcimModuleBaysDelete dcim module bays delete API +DcimModuleBaysDelete dcim module bays delete API */ func (a *Client) DcimModuleBaysDelete(params *DcimModuleBaysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8227,7 +8228,7 @@ func (a *Client) DcimModuleBaysDelete(params *DcimModuleBaysDeleteParams, authIn } /* - DcimModuleBaysList Overrides ListModelMixin to allow processing ExportTemplates. +DcimModuleBaysList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimModuleBaysList(params *DcimModuleBaysListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysListOK, error) { // TODO: Validate the params before sending @@ -8266,7 +8267,7 @@ func (a *Client) DcimModuleBaysList(params *DcimModuleBaysListParams, authInfo r } /* - DcimModuleBaysPartialUpdate dcim module bays partial update API +DcimModuleBaysPartialUpdate dcim module bays partial update API */ func (a *Client) DcimModuleBaysPartialUpdate(params *DcimModuleBaysPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -8305,7 +8306,7 @@ func (a *Client) DcimModuleBaysPartialUpdate(params *DcimModuleBaysPartialUpdate } /* - DcimModuleBaysRead dcim module bays read API +DcimModuleBaysRead dcim module bays read API */ func (a *Client) DcimModuleBaysRead(params *DcimModuleBaysReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysReadOK, error) { // TODO: Validate the params before sending @@ -8344,7 +8345,7 @@ func (a *Client) DcimModuleBaysRead(params *DcimModuleBaysReadParams, authInfo r } /* - DcimModuleBaysUpdate dcim module bays update API +DcimModuleBaysUpdate dcim module bays update API */ func (a *Client) DcimModuleBaysUpdate(params *DcimModuleBaysUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleBaysUpdateOK, error) { // TODO: Validate the params before sending @@ -8383,7 +8384,7 @@ func (a *Client) DcimModuleBaysUpdate(params *DcimModuleBaysUpdateParams, authIn } /* - DcimModuleTypesBulkDelete dcim module types bulk delete API +DcimModuleTypesBulkDelete dcim module types bulk delete API */ func (a *Client) DcimModuleTypesBulkDelete(params *DcimModuleTypesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8422,7 +8423,7 @@ func (a *Client) DcimModuleTypesBulkDelete(params *DcimModuleTypesBulkDeletePara } /* - DcimModuleTypesBulkPartialUpdate dcim module types bulk partial update API +DcimModuleTypesBulkPartialUpdate dcim module types bulk partial update API */ func (a *Client) DcimModuleTypesBulkPartialUpdate(params *DcimModuleTypesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -8461,7 +8462,7 @@ func (a *Client) DcimModuleTypesBulkPartialUpdate(params *DcimModuleTypesBulkPar } /* - DcimModuleTypesBulkUpdate dcim module types bulk update API +DcimModuleTypesBulkUpdate dcim module types bulk update API */ func (a *Client) DcimModuleTypesBulkUpdate(params *DcimModuleTypesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -8500,7 +8501,7 @@ func (a *Client) DcimModuleTypesBulkUpdate(params *DcimModuleTypesBulkUpdatePara } /* - DcimModuleTypesCreate dcim module types create API +DcimModuleTypesCreate dcim module types create API */ func (a *Client) DcimModuleTypesCreate(params *DcimModuleTypesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesCreateCreated, error) { // TODO: Validate the params before sending @@ -8539,7 +8540,7 @@ func (a *Client) DcimModuleTypesCreate(params *DcimModuleTypesCreateParams, auth } /* - DcimModuleTypesDelete dcim module types delete API +DcimModuleTypesDelete dcim module types delete API */ func (a *Client) DcimModuleTypesDelete(params *DcimModuleTypesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8578,7 +8579,7 @@ func (a *Client) DcimModuleTypesDelete(params *DcimModuleTypesDeleteParams, auth } /* - DcimModuleTypesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimModuleTypesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimModuleTypesList(params *DcimModuleTypesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesListOK, error) { // TODO: Validate the params before sending @@ -8617,7 +8618,7 @@ func (a *Client) DcimModuleTypesList(params *DcimModuleTypesListParams, authInfo } /* - DcimModuleTypesPartialUpdate dcim module types partial update API +DcimModuleTypesPartialUpdate dcim module types partial update API */ func (a *Client) DcimModuleTypesPartialUpdate(params *DcimModuleTypesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -8656,7 +8657,7 @@ func (a *Client) DcimModuleTypesPartialUpdate(params *DcimModuleTypesPartialUpda } /* - DcimModuleTypesRead dcim module types read API +DcimModuleTypesRead dcim module types read API */ func (a *Client) DcimModuleTypesRead(params *DcimModuleTypesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesReadOK, error) { // TODO: Validate the params before sending @@ -8695,7 +8696,7 @@ func (a *Client) DcimModuleTypesRead(params *DcimModuleTypesReadParams, authInfo } /* - DcimModuleTypesUpdate dcim module types update API +DcimModuleTypesUpdate dcim module types update API */ func (a *Client) DcimModuleTypesUpdate(params *DcimModuleTypesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModuleTypesUpdateOK, error) { // TODO: Validate the params before sending @@ -8734,7 +8735,7 @@ func (a *Client) DcimModuleTypesUpdate(params *DcimModuleTypesUpdateParams, auth } /* - DcimModulesBulkDelete dcim modules bulk delete API +DcimModulesBulkDelete dcim modules bulk delete API */ func (a *Client) DcimModulesBulkDelete(params *DcimModulesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8773,7 +8774,7 @@ func (a *Client) DcimModulesBulkDelete(params *DcimModulesBulkDeleteParams, auth } /* - DcimModulesBulkPartialUpdate dcim modules bulk partial update API +DcimModulesBulkPartialUpdate dcim modules bulk partial update API */ func (a *Client) DcimModulesBulkPartialUpdate(params *DcimModulesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -8812,7 +8813,7 @@ func (a *Client) DcimModulesBulkPartialUpdate(params *DcimModulesBulkPartialUpda } /* - DcimModulesBulkUpdate dcim modules bulk update API +DcimModulesBulkUpdate dcim modules bulk update API */ func (a *Client) DcimModulesBulkUpdate(params *DcimModulesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -8851,7 +8852,7 @@ func (a *Client) DcimModulesBulkUpdate(params *DcimModulesBulkUpdateParams, auth } /* - DcimModulesCreate dcim modules create API +DcimModulesCreate dcim modules create API */ func (a *Client) DcimModulesCreate(params *DcimModulesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesCreateCreated, error) { // TODO: Validate the params before sending @@ -8890,7 +8891,7 @@ func (a *Client) DcimModulesCreate(params *DcimModulesCreateParams, authInfo run } /* - DcimModulesDelete dcim modules delete API +DcimModulesDelete dcim modules delete API */ func (a *Client) DcimModulesDelete(params *DcimModulesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -8929,7 +8930,7 @@ func (a *Client) DcimModulesDelete(params *DcimModulesDeleteParams, authInfo run } /* - DcimModulesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimModulesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimModulesList(params *DcimModulesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesListOK, error) { // TODO: Validate the params before sending @@ -8968,7 +8969,7 @@ func (a *Client) DcimModulesList(params *DcimModulesListParams, authInfo runtime } /* - DcimModulesPartialUpdate dcim modules partial update API +DcimModulesPartialUpdate dcim modules partial update API */ func (a *Client) DcimModulesPartialUpdate(params *DcimModulesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9007,7 +9008,7 @@ func (a *Client) DcimModulesPartialUpdate(params *DcimModulesPartialUpdateParams } /* - DcimModulesRead dcim modules read API +DcimModulesRead dcim modules read API */ func (a *Client) DcimModulesRead(params *DcimModulesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesReadOK, error) { // TODO: Validate the params before sending @@ -9046,7 +9047,7 @@ func (a *Client) DcimModulesRead(params *DcimModulesReadParams, authInfo runtime } /* - DcimModulesUpdate dcim modules update API +DcimModulesUpdate dcim modules update API */ func (a *Client) DcimModulesUpdate(params *DcimModulesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimModulesUpdateOK, error) { // TODO: Validate the params before sending @@ -9085,7 +9086,7 @@ func (a *Client) DcimModulesUpdate(params *DcimModulesUpdateParams, authInfo run } /* - DcimPlatformsBulkDelete dcim platforms bulk delete API +DcimPlatformsBulkDelete dcim platforms bulk delete API */ func (a *Client) DcimPlatformsBulkDelete(params *DcimPlatformsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -9124,7 +9125,7 @@ func (a *Client) DcimPlatformsBulkDelete(params *DcimPlatformsBulkDeleteParams, } /* - DcimPlatformsBulkPartialUpdate dcim platforms bulk partial update API +DcimPlatformsBulkPartialUpdate dcim platforms bulk partial update API */ func (a *Client) DcimPlatformsBulkPartialUpdate(params *DcimPlatformsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9163,7 +9164,7 @@ func (a *Client) DcimPlatformsBulkPartialUpdate(params *DcimPlatformsBulkPartial } /* - DcimPlatformsBulkUpdate dcim platforms bulk update API +DcimPlatformsBulkUpdate dcim platforms bulk update API */ func (a *Client) DcimPlatformsBulkUpdate(params *DcimPlatformsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -9202,7 +9203,7 @@ func (a *Client) DcimPlatformsBulkUpdate(params *DcimPlatformsBulkUpdateParams, } /* - DcimPlatformsCreate dcim platforms create API +DcimPlatformsCreate dcim platforms create API */ func (a *Client) DcimPlatformsCreate(params *DcimPlatformsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsCreateCreated, error) { // TODO: Validate the params before sending @@ -9241,7 +9242,7 @@ func (a *Client) DcimPlatformsCreate(params *DcimPlatformsCreateParams, authInfo } /* - DcimPlatformsDelete dcim platforms delete API +DcimPlatformsDelete dcim platforms delete API */ func (a *Client) DcimPlatformsDelete(params *DcimPlatformsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -9280,7 +9281,7 @@ func (a *Client) DcimPlatformsDelete(params *DcimPlatformsDeleteParams, authInfo } /* - DcimPlatformsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPlatformsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPlatformsList(params *DcimPlatformsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsListOK, error) { // TODO: Validate the params before sending @@ -9319,7 +9320,7 @@ func (a *Client) DcimPlatformsList(params *DcimPlatformsListParams, authInfo run } /* - DcimPlatformsPartialUpdate dcim platforms partial update API +DcimPlatformsPartialUpdate dcim platforms partial update API */ func (a *Client) DcimPlatformsPartialUpdate(params *DcimPlatformsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9358,7 +9359,7 @@ func (a *Client) DcimPlatformsPartialUpdate(params *DcimPlatformsPartialUpdatePa } /* - DcimPlatformsRead dcim platforms read API +DcimPlatformsRead dcim platforms read API */ func (a *Client) DcimPlatformsRead(params *DcimPlatformsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsReadOK, error) { // TODO: Validate the params before sending @@ -9397,7 +9398,7 @@ func (a *Client) DcimPlatformsRead(params *DcimPlatformsReadParams, authInfo run } /* - DcimPlatformsUpdate dcim platforms update API +DcimPlatformsUpdate dcim platforms update API */ func (a *Client) DcimPlatformsUpdate(params *DcimPlatformsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPlatformsUpdateOK, error) { // TODO: Validate the params before sending @@ -9436,7 +9437,7 @@ func (a *Client) DcimPlatformsUpdate(params *DcimPlatformsUpdateParams, authInfo } /* - DcimPowerFeedsBulkDelete dcim power feeds bulk delete API +DcimPowerFeedsBulkDelete dcim power feeds bulk delete API */ func (a *Client) DcimPowerFeedsBulkDelete(params *DcimPowerFeedsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -9475,7 +9476,7 @@ func (a *Client) DcimPowerFeedsBulkDelete(params *DcimPowerFeedsBulkDeleteParams } /* - DcimPowerFeedsBulkPartialUpdate dcim power feeds bulk partial update API +DcimPowerFeedsBulkPartialUpdate dcim power feeds bulk partial update API */ func (a *Client) DcimPowerFeedsBulkPartialUpdate(params *DcimPowerFeedsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9514,7 +9515,7 @@ func (a *Client) DcimPowerFeedsBulkPartialUpdate(params *DcimPowerFeedsBulkParti } /* - DcimPowerFeedsBulkUpdate dcim power feeds bulk update API +DcimPowerFeedsBulkUpdate dcim power feeds bulk update API */ func (a *Client) DcimPowerFeedsBulkUpdate(params *DcimPowerFeedsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -9553,7 +9554,7 @@ func (a *Client) DcimPowerFeedsBulkUpdate(params *DcimPowerFeedsBulkUpdateParams } /* - DcimPowerFeedsCreate dcim power feeds create API +DcimPowerFeedsCreate dcim power feeds create API */ func (a *Client) DcimPowerFeedsCreate(params *DcimPowerFeedsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsCreateCreated, error) { // TODO: Validate the params before sending @@ -9592,7 +9593,7 @@ func (a *Client) DcimPowerFeedsCreate(params *DcimPowerFeedsCreateParams, authIn } /* - DcimPowerFeedsDelete dcim power feeds delete API +DcimPowerFeedsDelete dcim power feeds delete API */ func (a *Client) DcimPowerFeedsDelete(params *DcimPowerFeedsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -9631,7 +9632,7 @@ func (a *Client) DcimPowerFeedsDelete(params *DcimPowerFeedsDeleteParams, authIn } /* - DcimPowerFeedsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerFeedsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerFeedsList(params *DcimPowerFeedsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsListOK, error) { // TODO: Validate the params before sending @@ -9670,7 +9671,7 @@ func (a *Client) DcimPowerFeedsList(params *DcimPowerFeedsListParams, authInfo r } /* - DcimPowerFeedsPartialUpdate dcim power feeds partial update API +DcimPowerFeedsPartialUpdate dcim power feeds partial update API */ func (a *Client) DcimPowerFeedsPartialUpdate(params *DcimPowerFeedsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9709,7 +9710,7 @@ func (a *Client) DcimPowerFeedsPartialUpdate(params *DcimPowerFeedsPartialUpdate } /* - DcimPowerFeedsRead dcim power feeds read API +DcimPowerFeedsRead dcim power feeds read API */ func (a *Client) DcimPowerFeedsRead(params *DcimPowerFeedsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsReadOK, error) { // TODO: Validate the params before sending @@ -9748,7 +9749,7 @@ func (a *Client) DcimPowerFeedsRead(params *DcimPowerFeedsReadParams, authInfo r } /* - DcimPowerFeedsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimPowerFeedsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimPowerFeedsTrace(params *DcimPowerFeedsTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsTraceOK, error) { // TODO: Validate the params before sending @@ -9787,7 +9788,7 @@ func (a *Client) DcimPowerFeedsTrace(params *DcimPowerFeedsTraceParams, authInfo } /* - DcimPowerFeedsUpdate dcim power feeds update API +DcimPowerFeedsUpdate dcim power feeds update API */ func (a *Client) DcimPowerFeedsUpdate(params *DcimPowerFeedsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerFeedsUpdateOK, error) { // TODO: Validate the params before sending @@ -9826,7 +9827,7 @@ func (a *Client) DcimPowerFeedsUpdate(params *DcimPowerFeedsUpdateParams, authIn } /* - DcimPowerOutletTemplatesBulkDelete dcim power outlet templates bulk delete API +DcimPowerOutletTemplatesBulkDelete dcim power outlet templates bulk delete API */ func (a *Client) DcimPowerOutletTemplatesBulkDelete(params *DcimPowerOutletTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -9865,7 +9866,7 @@ func (a *Client) DcimPowerOutletTemplatesBulkDelete(params *DcimPowerOutletTempl } /* - DcimPowerOutletTemplatesBulkPartialUpdate dcim power outlet templates bulk partial update API +DcimPowerOutletTemplatesBulkPartialUpdate dcim power outlet templates bulk partial update API */ func (a *Client) DcimPowerOutletTemplatesBulkPartialUpdate(params *DcimPowerOutletTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -9904,7 +9905,7 @@ func (a *Client) DcimPowerOutletTemplatesBulkPartialUpdate(params *DcimPowerOutl } /* - DcimPowerOutletTemplatesBulkUpdate dcim power outlet templates bulk update API +DcimPowerOutletTemplatesBulkUpdate dcim power outlet templates bulk update API */ func (a *Client) DcimPowerOutletTemplatesBulkUpdate(params *DcimPowerOutletTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -9943,7 +9944,7 @@ func (a *Client) DcimPowerOutletTemplatesBulkUpdate(params *DcimPowerOutletTempl } /* - DcimPowerOutletTemplatesCreate dcim power outlet templates create API +DcimPowerOutletTemplatesCreate dcim power outlet templates create API */ func (a *Client) DcimPowerOutletTemplatesCreate(params *DcimPowerOutletTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -9982,7 +9983,7 @@ func (a *Client) DcimPowerOutletTemplatesCreate(params *DcimPowerOutletTemplates } /* - DcimPowerOutletTemplatesDelete dcim power outlet templates delete API +DcimPowerOutletTemplatesDelete dcim power outlet templates delete API */ func (a *Client) DcimPowerOutletTemplatesDelete(params *DcimPowerOutletTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10021,7 +10022,7 @@ func (a *Client) DcimPowerOutletTemplatesDelete(params *DcimPowerOutletTemplates } /* - DcimPowerOutletTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerOutletTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerOutletTemplatesList(params *DcimPowerOutletTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesListOK, error) { // TODO: Validate the params before sending @@ -10060,7 +10061,7 @@ func (a *Client) DcimPowerOutletTemplatesList(params *DcimPowerOutletTemplatesLi } /* - DcimPowerOutletTemplatesPartialUpdate dcim power outlet templates partial update API +DcimPowerOutletTemplatesPartialUpdate dcim power outlet templates partial update API */ func (a *Client) DcimPowerOutletTemplatesPartialUpdate(params *DcimPowerOutletTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10099,7 +10100,7 @@ func (a *Client) DcimPowerOutletTemplatesPartialUpdate(params *DcimPowerOutletTe } /* - DcimPowerOutletTemplatesRead dcim power outlet templates read API +DcimPowerOutletTemplatesRead dcim power outlet templates read API */ func (a *Client) DcimPowerOutletTemplatesRead(params *DcimPowerOutletTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -10138,7 +10139,7 @@ func (a *Client) DcimPowerOutletTemplatesRead(params *DcimPowerOutletTemplatesRe } /* - DcimPowerOutletTemplatesUpdate dcim power outlet templates update API +DcimPowerOutletTemplatesUpdate dcim power outlet templates update API */ func (a *Client) DcimPowerOutletTemplatesUpdate(params *DcimPowerOutletTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -10177,7 +10178,7 @@ func (a *Client) DcimPowerOutletTemplatesUpdate(params *DcimPowerOutletTemplates } /* - DcimPowerOutletsBulkDelete dcim power outlets bulk delete API +DcimPowerOutletsBulkDelete dcim power outlets bulk delete API */ func (a *Client) DcimPowerOutletsBulkDelete(params *DcimPowerOutletsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10216,7 +10217,7 @@ func (a *Client) DcimPowerOutletsBulkDelete(params *DcimPowerOutletsBulkDeletePa } /* - DcimPowerOutletsBulkPartialUpdate dcim power outlets bulk partial update API +DcimPowerOutletsBulkPartialUpdate dcim power outlets bulk partial update API */ func (a *Client) DcimPowerOutletsBulkPartialUpdate(params *DcimPowerOutletsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10255,7 +10256,7 @@ func (a *Client) DcimPowerOutletsBulkPartialUpdate(params *DcimPowerOutletsBulkP } /* - DcimPowerOutletsBulkUpdate dcim power outlets bulk update API +DcimPowerOutletsBulkUpdate dcim power outlets bulk update API */ func (a *Client) DcimPowerOutletsBulkUpdate(params *DcimPowerOutletsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -10294,7 +10295,7 @@ func (a *Client) DcimPowerOutletsBulkUpdate(params *DcimPowerOutletsBulkUpdatePa } /* - DcimPowerOutletsCreate dcim power outlets create API +DcimPowerOutletsCreate dcim power outlets create API */ func (a *Client) DcimPowerOutletsCreate(params *DcimPowerOutletsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsCreateCreated, error) { // TODO: Validate the params before sending @@ -10333,7 +10334,7 @@ func (a *Client) DcimPowerOutletsCreate(params *DcimPowerOutletsCreateParams, au } /* - DcimPowerOutletsDelete dcim power outlets delete API +DcimPowerOutletsDelete dcim power outlets delete API */ func (a *Client) DcimPowerOutletsDelete(params *DcimPowerOutletsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10372,7 +10373,7 @@ func (a *Client) DcimPowerOutletsDelete(params *DcimPowerOutletsDeleteParams, au } /* - DcimPowerOutletsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerOutletsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerOutletsList(params *DcimPowerOutletsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsListOK, error) { // TODO: Validate the params before sending @@ -10411,7 +10412,7 @@ func (a *Client) DcimPowerOutletsList(params *DcimPowerOutletsListParams, authIn } /* - DcimPowerOutletsPartialUpdate dcim power outlets partial update API +DcimPowerOutletsPartialUpdate dcim power outlets partial update API */ func (a *Client) DcimPowerOutletsPartialUpdate(params *DcimPowerOutletsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10450,7 +10451,7 @@ func (a *Client) DcimPowerOutletsPartialUpdate(params *DcimPowerOutletsPartialUp } /* - DcimPowerOutletsRead dcim power outlets read API +DcimPowerOutletsRead dcim power outlets read API */ func (a *Client) DcimPowerOutletsRead(params *DcimPowerOutletsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsReadOK, error) { // TODO: Validate the params before sending @@ -10489,7 +10490,7 @@ func (a *Client) DcimPowerOutletsRead(params *DcimPowerOutletsReadParams, authIn } /* - DcimPowerOutletsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimPowerOutletsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimPowerOutletsTrace(params *DcimPowerOutletsTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsTraceOK, error) { // TODO: Validate the params before sending @@ -10528,7 +10529,7 @@ func (a *Client) DcimPowerOutletsTrace(params *DcimPowerOutletsTraceParams, auth } /* - DcimPowerOutletsUpdate dcim power outlets update API +DcimPowerOutletsUpdate dcim power outlets update API */ func (a *Client) DcimPowerOutletsUpdate(params *DcimPowerOutletsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerOutletsUpdateOK, error) { // TODO: Validate the params before sending @@ -10567,7 +10568,7 @@ func (a *Client) DcimPowerOutletsUpdate(params *DcimPowerOutletsUpdateParams, au } /* - DcimPowerPanelsBulkDelete dcim power panels bulk delete API +DcimPowerPanelsBulkDelete dcim power panels bulk delete API */ func (a *Client) DcimPowerPanelsBulkDelete(params *DcimPowerPanelsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10606,7 +10607,7 @@ func (a *Client) DcimPowerPanelsBulkDelete(params *DcimPowerPanelsBulkDeletePara } /* - DcimPowerPanelsBulkPartialUpdate dcim power panels bulk partial update API +DcimPowerPanelsBulkPartialUpdate dcim power panels bulk partial update API */ func (a *Client) DcimPowerPanelsBulkPartialUpdate(params *DcimPowerPanelsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10645,7 +10646,7 @@ func (a *Client) DcimPowerPanelsBulkPartialUpdate(params *DcimPowerPanelsBulkPar } /* - DcimPowerPanelsBulkUpdate dcim power panels bulk update API +DcimPowerPanelsBulkUpdate dcim power panels bulk update API */ func (a *Client) DcimPowerPanelsBulkUpdate(params *DcimPowerPanelsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -10684,7 +10685,7 @@ func (a *Client) DcimPowerPanelsBulkUpdate(params *DcimPowerPanelsBulkUpdatePara } /* - DcimPowerPanelsCreate dcim power panels create API +DcimPowerPanelsCreate dcim power panels create API */ func (a *Client) DcimPowerPanelsCreate(params *DcimPowerPanelsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsCreateCreated, error) { // TODO: Validate the params before sending @@ -10723,7 +10724,7 @@ func (a *Client) DcimPowerPanelsCreate(params *DcimPowerPanelsCreateParams, auth } /* - DcimPowerPanelsDelete dcim power panels delete API +DcimPowerPanelsDelete dcim power panels delete API */ func (a *Client) DcimPowerPanelsDelete(params *DcimPowerPanelsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10762,7 +10763,7 @@ func (a *Client) DcimPowerPanelsDelete(params *DcimPowerPanelsDeleteParams, auth } /* - DcimPowerPanelsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerPanelsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerPanelsList(params *DcimPowerPanelsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsListOK, error) { // TODO: Validate the params before sending @@ -10801,7 +10802,7 @@ func (a *Client) DcimPowerPanelsList(params *DcimPowerPanelsListParams, authInfo } /* - DcimPowerPanelsPartialUpdate dcim power panels partial update API +DcimPowerPanelsPartialUpdate dcim power panels partial update API */ func (a *Client) DcimPowerPanelsPartialUpdate(params *DcimPowerPanelsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10840,7 +10841,7 @@ func (a *Client) DcimPowerPanelsPartialUpdate(params *DcimPowerPanelsPartialUpda } /* - DcimPowerPanelsRead dcim power panels read API +DcimPowerPanelsRead dcim power panels read API */ func (a *Client) DcimPowerPanelsRead(params *DcimPowerPanelsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsReadOK, error) { // TODO: Validate the params before sending @@ -10879,7 +10880,7 @@ func (a *Client) DcimPowerPanelsRead(params *DcimPowerPanelsReadParams, authInfo } /* - DcimPowerPanelsUpdate dcim power panels update API +DcimPowerPanelsUpdate dcim power panels update API */ func (a *Client) DcimPowerPanelsUpdate(params *DcimPowerPanelsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPanelsUpdateOK, error) { // TODO: Validate the params before sending @@ -10918,7 +10919,7 @@ func (a *Client) DcimPowerPanelsUpdate(params *DcimPowerPanelsUpdateParams, auth } /* - DcimPowerPortTemplatesBulkDelete dcim power port templates bulk delete API +DcimPowerPortTemplatesBulkDelete dcim power port templates bulk delete API */ func (a *Client) DcimPowerPortTemplatesBulkDelete(params *DcimPowerPortTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -10957,7 +10958,7 @@ func (a *Client) DcimPowerPortTemplatesBulkDelete(params *DcimPowerPortTemplates } /* - DcimPowerPortTemplatesBulkPartialUpdate dcim power port templates bulk partial update API +DcimPowerPortTemplatesBulkPartialUpdate dcim power port templates bulk partial update API */ func (a *Client) DcimPowerPortTemplatesBulkPartialUpdate(params *DcimPowerPortTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -10996,7 +10997,7 @@ func (a *Client) DcimPowerPortTemplatesBulkPartialUpdate(params *DcimPowerPortTe } /* - DcimPowerPortTemplatesBulkUpdate dcim power port templates bulk update API +DcimPowerPortTemplatesBulkUpdate dcim power port templates bulk update API */ func (a *Client) DcimPowerPortTemplatesBulkUpdate(params *DcimPowerPortTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -11035,7 +11036,7 @@ func (a *Client) DcimPowerPortTemplatesBulkUpdate(params *DcimPowerPortTemplates } /* - DcimPowerPortTemplatesCreate dcim power port templates create API +DcimPowerPortTemplatesCreate dcim power port templates create API */ func (a *Client) DcimPowerPortTemplatesCreate(params *DcimPowerPortTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -11074,7 +11075,7 @@ func (a *Client) DcimPowerPortTemplatesCreate(params *DcimPowerPortTemplatesCrea } /* - DcimPowerPortTemplatesDelete dcim power port templates delete API +DcimPowerPortTemplatesDelete dcim power port templates delete API */ func (a *Client) DcimPowerPortTemplatesDelete(params *DcimPowerPortTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -11113,7 +11114,7 @@ func (a *Client) DcimPowerPortTemplatesDelete(params *DcimPowerPortTemplatesDele } /* - DcimPowerPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerPortTemplatesList(params *DcimPowerPortTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesListOK, error) { // TODO: Validate the params before sending @@ -11152,7 +11153,7 @@ func (a *Client) DcimPowerPortTemplatesList(params *DcimPowerPortTemplatesListPa } /* - DcimPowerPortTemplatesPartialUpdate dcim power port templates partial update API +DcimPowerPortTemplatesPartialUpdate dcim power port templates partial update API */ func (a *Client) DcimPowerPortTemplatesPartialUpdate(params *DcimPowerPortTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -11191,7 +11192,7 @@ func (a *Client) DcimPowerPortTemplatesPartialUpdate(params *DcimPowerPortTempla } /* - DcimPowerPortTemplatesRead dcim power port templates read API +DcimPowerPortTemplatesRead dcim power port templates read API */ func (a *Client) DcimPowerPortTemplatesRead(params *DcimPowerPortTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -11230,7 +11231,7 @@ func (a *Client) DcimPowerPortTemplatesRead(params *DcimPowerPortTemplatesReadPa } /* - DcimPowerPortTemplatesUpdate dcim power port templates update API +DcimPowerPortTemplatesUpdate dcim power port templates update API */ func (a *Client) DcimPowerPortTemplatesUpdate(params *DcimPowerPortTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -11269,7 +11270,7 @@ func (a *Client) DcimPowerPortTemplatesUpdate(params *DcimPowerPortTemplatesUpda } /* - DcimPowerPortsBulkDelete dcim power ports bulk delete API +DcimPowerPortsBulkDelete dcim power ports bulk delete API */ func (a *Client) DcimPowerPortsBulkDelete(params *DcimPowerPortsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -11308,7 +11309,7 @@ func (a *Client) DcimPowerPortsBulkDelete(params *DcimPowerPortsBulkDeleteParams } /* - DcimPowerPortsBulkPartialUpdate dcim power ports bulk partial update API +DcimPowerPortsBulkPartialUpdate dcim power ports bulk partial update API */ func (a *Client) DcimPowerPortsBulkPartialUpdate(params *DcimPowerPortsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -11347,7 +11348,7 @@ func (a *Client) DcimPowerPortsBulkPartialUpdate(params *DcimPowerPortsBulkParti } /* - DcimPowerPortsBulkUpdate dcim power ports bulk update API +DcimPowerPortsBulkUpdate dcim power ports bulk update API */ func (a *Client) DcimPowerPortsBulkUpdate(params *DcimPowerPortsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -11386,7 +11387,7 @@ func (a *Client) DcimPowerPortsBulkUpdate(params *DcimPowerPortsBulkUpdateParams } /* - DcimPowerPortsCreate dcim power ports create API +DcimPowerPortsCreate dcim power ports create API */ func (a *Client) DcimPowerPortsCreate(params *DcimPowerPortsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsCreateCreated, error) { // TODO: Validate the params before sending @@ -11425,7 +11426,7 @@ func (a *Client) DcimPowerPortsCreate(params *DcimPowerPortsCreateParams, authIn } /* - DcimPowerPortsDelete dcim power ports delete API +DcimPowerPortsDelete dcim power ports delete API */ func (a *Client) DcimPowerPortsDelete(params *DcimPowerPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -11464,7 +11465,7 @@ func (a *Client) DcimPowerPortsDelete(params *DcimPowerPortsDeleteParams, authIn } /* - DcimPowerPortsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimPowerPortsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimPowerPortsList(params *DcimPowerPortsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsListOK, error) { // TODO: Validate the params before sending @@ -11503,7 +11504,7 @@ func (a *Client) DcimPowerPortsList(params *DcimPowerPortsListParams, authInfo r } /* - DcimPowerPortsPartialUpdate dcim power ports partial update API +DcimPowerPortsPartialUpdate dcim power ports partial update API */ func (a *Client) DcimPowerPortsPartialUpdate(params *DcimPowerPortsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -11542,7 +11543,7 @@ func (a *Client) DcimPowerPortsPartialUpdate(params *DcimPowerPortsPartialUpdate } /* - DcimPowerPortsRead dcim power ports read API +DcimPowerPortsRead dcim power ports read API */ func (a *Client) DcimPowerPortsRead(params *DcimPowerPortsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsReadOK, error) { // TODO: Validate the params before sending @@ -11581,7 +11582,7 @@ func (a *Client) DcimPowerPortsRead(params *DcimPowerPortsReadParams, authInfo r } /* - DcimPowerPortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). +DcimPowerPortsTrace Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). */ func (a *Client) DcimPowerPortsTrace(params *DcimPowerPortsTraceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsTraceOK, error) { // TODO: Validate the params before sending @@ -11620,7 +11621,7 @@ func (a *Client) DcimPowerPortsTrace(params *DcimPowerPortsTraceParams, authInfo } /* - DcimPowerPortsUpdate dcim power ports update API +DcimPowerPortsUpdate dcim power ports update API */ func (a *Client) DcimPowerPortsUpdate(params *DcimPowerPortsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimPowerPortsUpdateOK, error) { // TODO: Validate the params before sending @@ -11659,7 +11660,7 @@ func (a *Client) DcimPowerPortsUpdate(params *DcimPowerPortsUpdateParams, authIn } /* - DcimRackReservationsBulkDelete dcim rack reservations bulk delete API +DcimRackReservationsBulkDelete dcim rack reservations bulk delete API */ func (a *Client) DcimRackReservationsBulkDelete(params *DcimRackReservationsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -11698,7 +11699,7 @@ func (a *Client) DcimRackReservationsBulkDelete(params *DcimRackReservationsBulk } /* - DcimRackReservationsBulkPartialUpdate dcim rack reservations bulk partial update API +DcimRackReservationsBulkPartialUpdate dcim rack reservations bulk partial update API */ func (a *Client) DcimRackReservationsBulkPartialUpdate(params *DcimRackReservationsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -11737,7 +11738,7 @@ func (a *Client) DcimRackReservationsBulkPartialUpdate(params *DcimRackReservati } /* - DcimRackReservationsBulkUpdate dcim rack reservations bulk update API +DcimRackReservationsBulkUpdate dcim rack reservations bulk update API */ func (a *Client) DcimRackReservationsBulkUpdate(params *DcimRackReservationsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -11776,7 +11777,7 @@ func (a *Client) DcimRackReservationsBulkUpdate(params *DcimRackReservationsBulk } /* - DcimRackReservationsCreate dcim rack reservations create API +DcimRackReservationsCreate dcim rack reservations create API */ func (a *Client) DcimRackReservationsCreate(params *DcimRackReservationsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsCreateCreated, error) { // TODO: Validate the params before sending @@ -11815,7 +11816,7 @@ func (a *Client) DcimRackReservationsCreate(params *DcimRackReservationsCreatePa } /* - DcimRackReservationsDelete dcim rack reservations delete API +DcimRackReservationsDelete dcim rack reservations delete API */ func (a *Client) DcimRackReservationsDelete(params *DcimRackReservationsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -11854,7 +11855,7 @@ func (a *Client) DcimRackReservationsDelete(params *DcimRackReservationsDeletePa } /* - DcimRackReservationsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRackReservationsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRackReservationsList(params *DcimRackReservationsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsListOK, error) { // TODO: Validate the params before sending @@ -11893,7 +11894,7 @@ func (a *Client) DcimRackReservationsList(params *DcimRackReservationsListParams } /* - DcimRackReservationsPartialUpdate dcim rack reservations partial update API +DcimRackReservationsPartialUpdate dcim rack reservations partial update API */ func (a *Client) DcimRackReservationsPartialUpdate(params *DcimRackReservationsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -11932,7 +11933,7 @@ func (a *Client) DcimRackReservationsPartialUpdate(params *DcimRackReservationsP } /* - DcimRackReservationsRead dcim rack reservations read API +DcimRackReservationsRead dcim rack reservations read API */ func (a *Client) DcimRackReservationsRead(params *DcimRackReservationsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsReadOK, error) { // TODO: Validate the params before sending @@ -11971,7 +11972,7 @@ func (a *Client) DcimRackReservationsRead(params *DcimRackReservationsReadParams } /* - DcimRackReservationsUpdate dcim rack reservations update API +DcimRackReservationsUpdate dcim rack reservations update API */ func (a *Client) DcimRackReservationsUpdate(params *DcimRackReservationsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackReservationsUpdateOK, error) { // TODO: Validate the params before sending @@ -12010,7 +12011,7 @@ func (a *Client) DcimRackReservationsUpdate(params *DcimRackReservationsUpdatePa } /* - DcimRackRolesBulkDelete dcim rack roles bulk delete API +DcimRackRolesBulkDelete dcim rack roles bulk delete API */ func (a *Client) DcimRackRolesBulkDelete(params *DcimRackRolesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12049,7 +12050,7 @@ func (a *Client) DcimRackRolesBulkDelete(params *DcimRackRolesBulkDeleteParams, } /* - DcimRackRolesBulkPartialUpdate dcim rack roles bulk partial update API +DcimRackRolesBulkPartialUpdate dcim rack roles bulk partial update API */ func (a *Client) DcimRackRolesBulkPartialUpdate(params *DcimRackRolesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -12088,7 +12089,7 @@ func (a *Client) DcimRackRolesBulkPartialUpdate(params *DcimRackRolesBulkPartial } /* - DcimRackRolesBulkUpdate dcim rack roles bulk update API +DcimRackRolesBulkUpdate dcim rack roles bulk update API */ func (a *Client) DcimRackRolesBulkUpdate(params *DcimRackRolesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -12127,7 +12128,7 @@ func (a *Client) DcimRackRolesBulkUpdate(params *DcimRackRolesBulkUpdateParams, } /* - DcimRackRolesCreate dcim rack roles create API +DcimRackRolesCreate dcim rack roles create API */ func (a *Client) DcimRackRolesCreate(params *DcimRackRolesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesCreateCreated, error) { // TODO: Validate the params before sending @@ -12166,7 +12167,7 @@ func (a *Client) DcimRackRolesCreate(params *DcimRackRolesCreateParams, authInfo } /* - DcimRackRolesDelete dcim rack roles delete API +DcimRackRolesDelete dcim rack roles delete API */ func (a *Client) DcimRackRolesDelete(params *DcimRackRolesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12205,7 +12206,7 @@ func (a *Client) DcimRackRolesDelete(params *DcimRackRolesDeleteParams, authInfo } /* - DcimRackRolesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRackRolesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRackRolesList(params *DcimRackRolesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesListOK, error) { // TODO: Validate the params before sending @@ -12244,7 +12245,7 @@ func (a *Client) DcimRackRolesList(params *DcimRackRolesListParams, authInfo run } /* - DcimRackRolesPartialUpdate dcim rack roles partial update API +DcimRackRolesPartialUpdate dcim rack roles partial update API */ func (a *Client) DcimRackRolesPartialUpdate(params *DcimRackRolesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -12283,7 +12284,7 @@ func (a *Client) DcimRackRolesPartialUpdate(params *DcimRackRolesPartialUpdatePa } /* - DcimRackRolesRead dcim rack roles read API +DcimRackRolesRead dcim rack roles read API */ func (a *Client) DcimRackRolesRead(params *DcimRackRolesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesReadOK, error) { // TODO: Validate the params before sending @@ -12322,7 +12323,7 @@ func (a *Client) DcimRackRolesRead(params *DcimRackRolesReadParams, authInfo run } /* - DcimRackRolesUpdate dcim rack roles update API +DcimRackRolesUpdate dcim rack roles update API */ func (a *Client) DcimRackRolesUpdate(params *DcimRackRolesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRackRolesUpdateOK, error) { // TODO: Validate the params before sending @@ -12361,7 +12362,7 @@ func (a *Client) DcimRackRolesUpdate(params *DcimRackRolesUpdateParams, authInfo } /* - DcimRacksBulkDelete dcim racks bulk delete API +DcimRacksBulkDelete dcim racks bulk delete API */ func (a *Client) DcimRacksBulkDelete(params *DcimRacksBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12400,7 +12401,7 @@ func (a *Client) DcimRacksBulkDelete(params *DcimRacksBulkDeleteParams, authInfo } /* - DcimRacksBulkPartialUpdate dcim racks bulk partial update API +DcimRacksBulkPartialUpdate dcim racks bulk partial update API */ func (a *Client) DcimRacksBulkPartialUpdate(params *DcimRacksBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -12439,7 +12440,7 @@ func (a *Client) DcimRacksBulkPartialUpdate(params *DcimRacksBulkPartialUpdatePa } /* - DcimRacksBulkUpdate dcim racks bulk update API +DcimRacksBulkUpdate dcim racks bulk update API */ func (a *Client) DcimRacksBulkUpdate(params *DcimRacksBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -12478,7 +12479,7 @@ func (a *Client) DcimRacksBulkUpdate(params *DcimRacksBulkUpdateParams, authInfo } /* - DcimRacksCreate dcim racks create API +DcimRacksCreate dcim racks create API */ func (a *Client) DcimRacksCreate(params *DcimRacksCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksCreateCreated, error) { // TODO: Validate the params before sending @@ -12517,7 +12518,7 @@ func (a *Client) DcimRacksCreate(params *DcimRacksCreateParams, authInfo runtime } /* - DcimRacksDelete dcim racks delete API +DcimRacksDelete dcim racks delete API */ func (a *Client) DcimRacksDelete(params *DcimRacksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12556,7 +12557,7 @@ func (a *Client) DcimRacksDelete(params *DcimRacksDeleteParams, authInfo runtime } /* - DcimRacksElevation Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG. +DcimRacksElevation Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG. */ func (a *Client) DcimRacksElevation(params *DcimRacksElevationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksElevationOK, error) { // TODO: Validate the params before sending @@ -12595,7 +12596,7 @@ func (a *Client) DcimRacksElevation(params *DcimRacksElevationParams, authInfo r } /* - DcimRacksList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRacksList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRacksList(params *DcimRacksListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksListOK, error) { // TODO: Validate the params before sending @@ -12634,7 +12635,7 @@ func (a *Client) DcimRacksList(params *DcimRacksListParams, authInfo runtime.Cli } /* - DcimRacksPartialUpdate dcim racks partial update API +DcimRacksPartialUpdate dcim racks partial update API */ func (a *Client) DcimRacksPartialUpdate(params *DcimRacksPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -12673,7 +12674,7 @@ func (a *Client) DcimRacksPartialUpdate(params *DcimRacksPartialUpdateParams, au } /* - DcimRacksRead dcim racks read API +DcimRacksRead dcim racks read API */ func (a *Client) DcimRacksRead(params *DcimRacksReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksReadOK, error) { // TODO: Validate the params before sending @@ -12712,7 +12713,7 @@ func (a *Client) DcimRacksRead(params *DcimRacksReadParams, authInfo runtime.Cli } /* - DcimRacksUpdate dcim racks update API +DcimRacksUpdate dcim racks update API */ func (a *Client) DcimRacksUpdate(params *DcimRacksUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRacksUpdateOK, error) { // TODO: Validate the params before sending @@ -12751,7 +12752,7 @@ func (a *Client) DcimRacksUpdate(params *DcimRacksUpdateParams, authInfo runtime } /* - DcimRearPortTemplatesBulkDelete dcim rear port templates bulk delete API +DcimRearPortTemplatesBulkDelete dcim rear port templates bulk delete API */ func (a *Client) DcimRearPortTemplatesBulkDelete(params *DcimRearPortTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12790,7 +12791,7 @@ func (a *Client) DcimRearPortTemplatesBulkDelete(params *DcimRearPortTemplatesBu } /* - DcimRearPortTemplatesBulkPartialUpdate dcim rear port templates bulk partial update API +DcimRearPortTemplatesBulkPartialUpdate dcim rear port templates bulk partial update API */ func (a *Client) DcimRearPortTemplatesBulkPartialUpdate(params *DcimRearPortTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -12829,7 +12830,7 @@ func (a *Client) DcimRearPortTemplatesBulkPartialUpdate(params *DcimRearPortTemp } /* - DcimRearPortTemplatesBulkUpdate dcim rear port templates bulk update API +DcimRearPortTemplatesBulkUpdate dcim rear port templates bulk update API */ func (a *Client) DcimRearPortTemplatesBulkUpdate(params *DcimRearPortTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -12868,7 +12869,7 @@ func (a *Client) DcimRearPortTemplatesBulkUpdate(params *DcimRearPortTemplatesBu } /* - DcimRearPortTemplatesCreate dcim rear port templates create API +DcimRearPortTemplatesCreate dcim rear port templates create API */ func (a *Client) DcimRearPortTemplatesCreate(params *DcimRearPortTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -12907,7 +12908,7 @@ func (a *Client) DcimRearPortTemplatesCreate(params *DcimRearPortTemplatesCreate } /* - DcimRearPortTemplatesDelete dcim rear port templates delete API +DcimRearPortTemplatesDelete dcim rear port templates delete API */ func (a *Client) DcimRearPortTemplatesDelete(params *DcimRearPortTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -12946,7 +12947,7 @@ func (a *Client) DcimRearPortTemplatesDelete(params *DcimRearPortTemplatesDelete } /* - DcimRearPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRearPortTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRearPortTemplatesList(params *DcimRearPortTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesListOK, error) { // TODO: Validate the params before sending @@ -12985,7 +12986,7 @@ func (a *Client) DcimRearPortTemplatesList(params *DcimRearPortTemplatesListPara } /* - DcimRearPortTemplatesPartialUpdate dcim rear port templates partial update API +DcimRearPortTemplatesPartialUpdate dcim rear port templates partial update API */ func (a *Client) DcimRearPortTemplatesPartialUpdate(params *DcimRearPortTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13024,7 +13025,7 @@ func (a *Client) DcimRearPortTemplatesPartialUpdate(params *DcimRearPortTemplate } /* - DcimRearPortTemplatesRead dcim rear port templates read API +DcimRearPortTemplatesRead dcim rear port templates read API */ func (a *Client) DcimRearPortTemplatesRead(params *DcimRearPortTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -13063,7 +13064,7 @@ func (a *Client) DcimRearPortTemplatesRead(params *DcimRearPortTemplatesReadPara } /* - DcimRearPortTemplatesUpdate dcim rear port templates update API +DcimRearPortTemplatesUpdate dcim rear port templates update API */ func (a *Client) DcimRearPortTemplatesUpdate(params *DcimRearPortTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -13102,7 +13103,7 @@ func (a *Client) DcimRearPortTemplatesUpdate(params *DcimRearPortTemplatesUpdate } /* - DcimRearPortsBulkDelete dcim rear ports bulk delete API +DcimRearPortsBulkDelete dcim rear ports bulk delete API */ func (a *Client) DcimRearPortsBulkDelete(params *DcimRearPortsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -13141,7 +13142,7 @@ func (a *Client) DcimRearPortsBulkDelete(params *DcimRearPortsBulkDeleteParams, } /* - DcimRearPortsBulkPartialUpdate dcim rear ports bulk partial update API +DcimRearPortsBulkPartialUpdate dcim rear ports bulk partial update API */ func (a *Client) DcimRearPortsBulkPartialUpdate(params *DcimRearPortsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13180,7 +13181,7 @@ func (a *Client) DcimRearPortsBulkPartialUpdate(params *DcimRearPortsBulkPartial } /* - DcimRearPortsBulkUpdate dcim rear ports bulk update API +DcimRearPortsBulkUpdate dcim rear ports bulk update API */ func (a *Client) DcimRearPortsBulkUpdate(params *DcimRearPortsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -13219,7 +13220,7 @@ func (a *Client) DcimRearPortsBulkUpdate(params *DcimRearPortsBulkUpdateParams, } /* - DcimRearPortsCreate dcim rear ports create API +DcimRearPortsCreate dcim rear ports create API */ func (a *Client) DcimRearPortsCreate(params *DcimRearPortsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsCreateCreated, error) { // TODO: Validate the params before sending @@ -13258,7 +13259,7 @@ func (a *Client) DcimRearPortsCreate(params *DcimRearPortsCreateParams, authInfo } /* - DcimRearPortsDelete dcim rear ports delete API +DcimRearPortsDelete dcim rear ports delete API */ func (a *Client) DcimRearPortsDelete(params *DcimRearPortsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -13297,7 +13298,7 @@ func (a *Client) DcimRearPortsDelete(params *DcimRearPortsDeleteParams, authInfo } /* - DcimRearPortsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRearPortsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRearPortsList(params *DcimRearPortsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsListOK, error) { // TODO: Validate the params before sending @@ -13336,7 +13337,7 @@ func (a *Client) DcimRearPortsList(params *DcimRearPortsListParams, authInfo run } /* - DcimRearPortsPartialUpdate dcim rear ports partial update API +DcimRearPortsPartialUpdate dcim rear ports partial update API */ func (a *Client) DcimRearPortsPartialUpdate(params *DcimRearPortsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13375,7 +13376,7 @@ func (a *Client) DcimRearPortsPartialUpdate(params *DcimRearPortsPartialUpdatePa } /* - DcimRearPortsPaths Return all CablePaths which traverse a given pass-through port. +DcimRearPortsPaths Return all CablePaths which traverse a given pass-through port. */ func (a *Client) DcimRearPortsPaths(params *DcimRearPortsPathsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsPathsOK, error) { // TODO: Validate the params before sending @@ -13414,7 +13415,7 @@ func (a *Client) DcimRearPortsPaths(params *DcimRearPortsPathsParams, authInfo r } /* - DcimRearPortsRead dcim rear ports read API +DcimRearPortsRead dcim rear ports read API */ func (a *Client) DcimRearPortsRead(params *DcimRearPortsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsReadOK, error) { // TODO: Validate the params before sending @@ -13453,7 +13454,7 @@ func (a *Client) DcimRearPortsRead(params *DcimRearPortsReadParams, authInfo run } /* - DcimRearPortsUpdate dcim rear ports update API +DcimRearPortsUpdate dcim rear ports update API */ func (a *Client) DcimRearPortsUpdate(params *DcimRearPortsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRearPortsUpdateOK, error) { // TODO: Validate the params before sending @@ -13492,7 +13493,7 @@ func (a *Client) DcimRearPortsUpdate(params *DcimRearPortsUpdateParams, authInfo } /* - DcimRegionsBulkDelete dcim regions bulk delete API +DcimRegionsBulkDelete dcim regions bulk delete API */ func (a *Client) DcimRegionsBulkDelete(params *DcimRegionsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -13531,7 +13532,7 @@ func (a *Client) DcimRegionsBulkDelete(params *DcimRegionsBulkDeleteParams, auth } /* - DcimRegionsBulkPartialUpdate dcim regions bulk partial update API +DcimRegionsBulkPartialUpdate dcim regions bulk partial update API */ func (a *Client) DcimRegionsBulkPartialUpdate(params *DcimRegionsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13570,7 +13571,7 @@ func (a *Client) DcimRegionsBulkPartialUpdate(params *DcimRegionsBulkPartialUpda } /* - DcimRegionsBulkUpdate dcim regions bulk update API +DcimRegionsBulkUpdate dcim regions bulk update API */ func (a *Client) DcimRegionsBulkUpdate(params *DcimRegionsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -13609,7 +13610,7 @@ func (a *Client) DcimRegionsBulkUpdate(params *DcimRegionsBulkUpdateParams, auth } /* - DcimRegionsCreate dcim regions create API +DcimRegionsCreate dcim regions create API */ func (a *Client) DcimRegionsCreate(params *DcimRegionsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsCreateCreated, error) { // TODO: Validate the params before sending @@ -13648,7 +13649,7 @@ func (a *Client) DcimRegionsCreate(params *DcimRegionsCreateParams, authInfo run } /* - DcimRegionsDelete dcim regions delete API +DcimRegionsDelete dcim regions delete API */ func (a *Client) DcimRegionsDelete(params *DcimRegionsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -13687,7 +13688,7 @@ func (a *Client) DcimRegionsDelete(params *DcimRegionsDeleteParams, authInfo run } /* - DcimRegionsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimRegionsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimRegionsList(params *DcimRegionsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsListOK, error) { // TODO: Validate the params before sending @@ -13726,7 +13727,7 @@ func (a *Client) DcimRegionsList(params *DcimRegionsListParams, authInfo runtime } /* - DcimRegionsPartialUpdate dcim regions partial update API +DcimRegionsPartialUpdate dcim regions partial update API */ func (a *Client) DcimRegionsPartialUpdate(params *DcimRegionsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13765,7 +13766,7 @@ func (a *Client) DcimRegionsPartialUpdate(params *DcimRegionsPartialUpdateParams } /* - DcimRegionsRead dcim regions read API +DcimRegionsRead dcim regions read API */ func (a *Client) DcimRegionsRead(params *DcimRegionsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsReadOK, error) { // TODO: Validate the params before sending @@ -13804,7 +13805,7 @@ func (a *Client) DcimRegionsRead(params *DcimRegionsReadParams, authInfo runtime } /* - DcimRegionsUpdate dcim regions update API +DcimRegionsUpdate dcim regions update API */ func (a *Client) DcimRegionsUpdate(params *DcimRegionsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimRegionsUpdateOK, error) { // TODO: Validate the params before sending @@ -13843,7 +13844,7 @@ func (a *Client) DcimRegionsUpdate(params *DcimRegionsUpdateParams, authInfo run } /* - DcimSiteGroupsBulkDelete dcim site groups bulk delete API +DcimSiteGroupsBulkDelete dcim site groups bulk delete API */ func (a *Client) DcimSiteGroupsBulkDelete(params *DcimSiteGroupsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -13882,7 +13883,7 @@ func (a *Client) DcimSiteGroupsBulkDelete(params *DcimSiteGroupsBulkDeleteParams } /* - DcimSiteGroupsBulkPartialUpdate dcim site groups bulk partial update API +DcimSiteGroupsBulkPartialUpdate dcim site groups bulk partial update API */ func (a *Client) DcimSiteGroupsBulkPartialUpdate(params *DcimSiteGroupsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -13921,7 +13922,7 @@ func (a *Client) DcimSiteGroupsBulkPartialUpdate(params *DcimSiteGroupsBulkParti } /* - DcimSiteGroupsBulkUpdate dcim site groups bulk update API +DcimSiteGroupsBulkUpdate dcim site groups bulk update API */ func (a *Client) DcimSiteGroupsBulkUpdate(params *DcimSiteGroupsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -13960,7 +13961,7 @@ func (a *Client) DcimSiteGroupsBulkUpdate(params *DcimSiteGroupsBulkUpdateParams } /* - DcimSiteGroupsCreate dcim site groups create API +DcimSiteGroupsCreate dcim site groups create API */ func (a *Client) DcimSiteGroupsCreate(params *DcimSiteGroupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsCreateCreated, error) { // TODO: Validate the params before sending @@ -13999,7 +14000,7 @@ func (a *Client) DcimSiteGroupsCreate(params *DcimSiteGroupsCreateParams, authIn } /* - DcimSiteGroupsDelete dcim site groups delete API +DcimSiteGroupsDelete dcim site groups delete API */ func (a *Client) DcimSiteGroupsDelete(params *DcimSiteGroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -14038,7 +14039,7 @@ func (a *Client) DcimSiteGroupsDelete(params *DcimSiteGroupsDeleteParams, authIn } /* - DcimSiteGroupsList Overrides ListModelMixin to allow processing ExportTemplates. +DcimSiteGroupsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimSiteGroupsList(params *DcimSiteGroupsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsListOK, error) { // TODO: Validate the params before sending @@ -14077,7 +14078,7 @@ func (a *Client) DcimSiteGroupsList(params *DcimSiteGroupsListParams, authInfo r } /* - DcimSiteGroupsPartialUpdate dcim site groups partial update API +DcimSiteGroupsPartialUpdate dcim site groups partial update API */ func (a *Client) DcimSiteGroupsPartialUpdate(params *DcimSiteGroupsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -14116,7 +14117,7 @@ func (a *Client) DcimSiteGroupsPartialUpdate(params *DcimSiteGroupsPartialUpdate } /* - DcimSiteGroupsRead dcim site groups read API +DcimSiteGroupsRead dcim site groups read API */ func (a *Client) DcimSiteGroupsRead(params *DcimSiteGroupsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsReadOK, error) { // TODO: Validate the params before sending @@ -14155,7 +14156,7 @@ func (a *Client) DcimSiteGroupsRead(params *DcimSiteGroupsReadParams, authInfo r } /* - DcimSiteGroupsUpdate dcim site groups update API +DcimSiteGroupsUpdate dcim site groups update API */ func (a *Client) DcimSiteGroupsUpdate(params *DcimSiteGroupsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSiteGroupsUpdateOK, error) { // TODO: Validate the params before sending @@ -14194,7 +14195,7 @@ func (a *Client) DcimSiteGroupsUpdate(params *DcimSiteGroupsUpdateParams, authIn } /* - DcimSitesBulkDelete dcim sites bulk delete API +DcimSitesBulkDelete dcim sites bulk delete API */ func (a *Client) DcimSitesBulkDelete(params *DcimSitesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -14233,7 +14234,7 @@ func (a *Client) DcimSitesBulkDelete(params *DcimSitesBulkDeleteParams, authInfo } /* - DcimSitesBulkPartialUpdate dcim sites bulk partial update API +DcimSitesBulkPartialUpdate dcim sites bulk partial update API */ func (a *Client) DcimSitesBulkPartialUpdate(params *DcimSitesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -14272,7 +14273,7 @@ func (a *Client) DcimSitesBulkPartialUpdate(params *DcimSitesBulkPartialUpdatePa } /* - DcimSitesBulkUpdate dcim sites bulk update API +DcimSitesBulkUpdate dcim sites bulk update API */ func (a *Client) DcimSitesBulkUpdate(params *DcimSitesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -14311,7 +14312,7 @@ func (a *Client) DcimSitesBulkUpdate(params *DcimSitesBulkUpdateParams, authInfo } /* - DcimSitesCreate dcim sites create API +DcimSitesCreate dcim sites create API */ func (a *Client) DcimSitesCreate(params *DcimSitesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesCreateCreated, error) { // TODO: Validate the params before sending @@ -14350,7 +14351,7 @@ func (a *Client) DcimSitesCreate(params *DcimSitesCreateParams, authInfo runtime } /* - DcimSitesDelete dcim sites delete API +DcimSitesDelete dcim sites delete API */ func (a *Client) DcimSitesDelete(params *DcimSitesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -14389,7 +14390,7 @@ func (a *Client) DcimSitesDelete(params *DcimSitesDeleteParams, authInfo runtime } /* - DcimSitesList Overrides ListModelMixin to allow processing ExportTemplates. +DcimSitesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimSitesList(params *DcimSitesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesListOK, error) { // TODO: Validate the params before sending @@ -14428,7 +14429,7 @@ func (a *Client) DcimSitesList(params *DcimSitesListParams, authInfo runtime.Cli } /* - DcimSitesPartialUpdate dcim sites partial update API +DcimSitesPartialUpdate dcim sites partial update API */ func (a *Client) DcimSitesPartialUpdate(params *DcimSitesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -14467,7 +14468,7 @@ func (a *Client) DcimSitesPartialUpdate(params *DcimSitesPartialUpdateParams, au } /* - DcimSitesRead dcim sites read API +DcimSitesRead dcim sites read API */ func (a *Client) DcimSitesRead(params *DcimSitesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesReadOK, error) { // TODO: Validate the params before sending @@ -14506,7 +14507,7 @@ func (a *Client) DcimSitesRead(params *DcimSitesReadParams, authInfo runtime.Cli } /* - DcimSitesUpdate dcim sites update API +DcimSitesUpdate dcim sites update API */ func (a *Client) DcimSitesUpdate(params *DcimSitesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimSitesUpdateOK, error) { // TODO: Validate the params before sending @@ -14545,7 +14546,7 @@ func (a *Client) DcimSitesUpdate(params *DcimSitesUpdateParams, authInfo runtime } /* - DcimVirtualChassisBulkDelete dcim virtual chassis bulk delete API +DcimVirtualChassisBulkDelete dcim virtual chassis bulk delete API */ func (a *Client) DcimVirtualChassisBulkDelete(params *DcimVirtualChassisBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -14584,7 +14585,7 @@ func (a *Client) DcimVirtualChassisBulkDelete(params *DcimVirtualChassisBulkDele } /* - DcimVirtualChassisBulkPartialUpdate dcim virtual chassis bulk partial update API +DcimVirtualChassisBulkPartialUpdate dcim virtual chassis bulk partial update API */ func (a *Client) DcimVirtualChassisBulkPartialUpdate(params *DcimVirtualChassisBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -14623,7 +14624,7 @@ func (a *Client) DcimVirtualChassisBulkPartialUpdate(params *DcimVirtualChassisB } /* - DcimVirtualChassisBulkUpdate dcim virtual chassis bulk update API +DcimVirtualChassisBulkUpdate dcim virtual chassis bulk update API */ func (a *Client) DcimVirtualChassisBulkUpdate(params *DcimVirtualChassisBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -14662,7 +14663,7 @@ func (a *Client) DcimVirtualChassisBulkUpdate(params *DcimVirtualChassisBulkUpda } /* - DcimVirtualChassisCreate dcim virtual chassis create API +DcimVirtualChassisCreate dcim virtual chassis create API */ func (a *Client) DcimVirtualChassisCreate(params *DcimVirtualChassisCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisCreateCreated, error) { // TODO: Validate the params before sending @@ -14701,7 +14702,7 @@ func (a *Client) DcimVirtualChassisCreate(params *DcimVirtualChassisCreateParams } /* - DcimVirtualChassisDelete dcim virtual chassis delete API +DcimVirtualChassisDelete dcim virtual chassis delete API */ func (a *Client) DcimVirtualChassisDelete(params *DcimVirtualChassisDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisDeleteNoContent, error) { // TODO: Validate the params before sending @@ -14740,7 +14741,7 @@ func (a *Client) DcimVirtualChassisDelete(params *DcimVirtualChassisDeleteParams } /* - DcimVirtualChassisList Overrides ListModelMixin to allow processing ExportTemplates. +DcimVirtualChassisList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) DcimVirtualChassisList(params *DcimVirtualChassisListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisListOK, error) { // TODO: Validate the params before sending @@ -14779,7 +14780,7 @@ func (a *Client) DcimVirtualChassisList(params *DcimVirtualChassisListParams, au } /* - DcimVirtualChassisPartialUpdate dcim virtual chassis partial update API +DcimVirtualChassisPartialUpdate dcim virtual chassis partial update API */ func (a *Client) DcimVirtualChassisPartialUpdate(params *DcimVirtualChassisPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -14818,7 +14819,7 @@ func (a *Client) DcimVirtualChassisPartialUpdate(params *DcimVirtualChassisParti } /* - DcimVirtualChassisRead dcim virtual chassis read API +DcimVirtualChassisRead dcim virtual chassis read API */ func (a *Client) DcimVirtualChassisRead(params *DcimVirtualChassisReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisReadOK, error) { // TODO: Validate the params before sending @@ -14857,7 +14858,7 @@ func (a *Client) DcimVirtualChassisRead(params *DcimVirtualChassisReadParams, au } /* - DcimVirtualChassisUpdate dcim virtual chassis update API +DcimVirtualChassisUpdate dcim virtual chassis update API */ func (a *Client) DcimVirtualChassisUpdate(params *DcimVirtualChassisUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DcimVirtualChassisUpdateOK, error) { // TODO: Validate the params before sending diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_parameters.go index aba765e4f..65be86e12 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_parameters.go @@ -67,10 +67,12 @@ func NewDcimConnectedDeviceListParamsWithHTTPClient(client *http.Client) *DcimCo } } -/* DcimConnectedDeviceListParams contains all the parameters to send to the API endpoint - for the dcim connected device list operation. +/* +DcimConnectedDeviceListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim connected device list operation. + + Typically these are written to a http.Request. */ type DcimConnectedDeviceListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_responses.go index cf21a9dcb..210772770 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_connected_device_list_responses.go @@ -54,7 +54,8 @@ func NewDcimConnectedDeviceListOK() *DcimConnectedDeviceListOK { return &DcimConnectedDeviceListOK{} } -/* DcimConnectedDeviceListOK describes a response with status code 200, with default header values. +/* +DcimConnectedDeviceListOK describes a response with status code 200, with default header values. DcimConnectedDeviceListOK dcim connected device list o k */ @@ -62,9 +63,39 @@ type DcimConnectedDeviceListOK struct { Payload *models.Device } +// IsSuccess returns true when this dcim connected device list o k response has a 2xx status code +func (o *DcimConnectedDeviceListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim connected device list o k response has a 3xx status code +func (o *DcimConnectedDeviceListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim connected device list o k response has a 4xx status code +func (o *DcimConnectedDeviceListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim connected device list o k response has a 5xx status code +func (o *DcimConnectedDeviceListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim connected device list o k response a status code equal to that given +func (o *DcimConnectedDeviceListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConnectedDeviceListOK) Error() string { return fmt.Sprintf("[GET /dcim/connected-device/][%d] dcimConnectedDeviceListOK %+v", 200, o.Payload) } + +func (o *DcimConnectedDeviceListOK) String() string { + return fmt.Sprintf("[GET /dcim/connected-device/][%d] dcimConnectedDeviceListOK %+v", 200, o.Payload) +} + func (o *DcimConnectedDeviceListOK) GetPayload() *models.Device { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_parameters.go index 1084d0f4c..e715b2067 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimConsolePortTemplatesBulkDeleteParamsWithHTTPClient(client *http.Clie } } -/* DcimConsolePortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim console port templates bulk delete operation. +/* +DcimConsolePortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_responses.go index e0a2fa29f..5bfe736a1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsolePortTemplatesBulkDeleteNoContent() *DcimConsolePortTemplatesB return &DcimConsolePortTemplatesBulkDeleteNoContent{} } -/* DcimConsolePortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsolePortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimConsolePortTemplatesBulkDeleteNoContent dcim console port templates bulk delete no content */ type DcimConsolePortTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim console port templates bulk delete no content response has a 2xx status code +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates bulk delete no content response has a 3xx status code +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates bulk delete no content response has a 4xx status code +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates bulk delete no content response has a 5xx status code +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates bulk delete no content response a status code equal to that given +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsolePortTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimConsolePortTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimConsolePortTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_parameters.go index 2019a9e51..2301e5021 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortTemplatesBulkPartialUpdateParamsWithHTTPClient(client *ht } } -/* DcimConsolePortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console port templates bulk partial update operation. +/* +DcimConsolePortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_responses.go index 4ec09ae09..f6dcfea18 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesBulkPartialUpdateOK() *DcimConsolePortTemplatesB return &DcimConsolePortTemplatesBulkPartialUpdateOK{} } -/* DcimConsolePortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesBulkPartialUpdateOK dcim console port templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesBulkPartialUpdateOK struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates bulk partial update o k response has a 2xx status code +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates bulk partial update o k response has a 3xx status code +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates bulk partial update o k response has a 4xx status code +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates bulk partial update o k response has a 5xx status code +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates bulk partial update o k response a status code equal to that given +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesBulkPartialUpdateOK) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_parameters.go index 9e04931dd..58ddbe8e4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortTemplatesBulkUpdateParamsWithHTTPClient(client *http.Clie } } -/* DcimConsolePortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim console port templates bulk update operation. +/* +DcimConsolePortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_responses.go index 067a6a2c3..573e943c4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesBulkUpdateOK() *DcimConsolePortTemplatesBulkUpda return &DcimConsolePortTemplatesBulkUpdateOK{} } -/* DcimConsolePortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesBulkUpdateOK dcim console port templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesBulkUpdateOK struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates bulk update o k response has a 2xx status code +func (o *DcimConsolePortTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates bulk update o k response has a 3xx status code +func (o *DcimConsolePortTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates bulk update o k response has a 4xx status code +func (o *DcimConsolePortTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates bulk update o k response has a 5xx status code +func (o *DcimConsolePortTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates bulk update o k response a status code equal to that given +func (o *DcimConsolePortTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-port-templates/][%d] dcimConsolePortTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesBulkUpdateOK) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_parameters.go index bb7c159b2..9cb460bdc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortTemplatesCreateParamsWithHTTPClient(client *http.Client) } } -/* DcimConsolePortTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim console port templates create operation. +/* +DcimConsolePortTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates create operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_responses.go index 650912d59..cc54bea71 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesCreateCreated() *DcimConsolePortTemplatesCreateC return &DcimConsolePortTemplatesCreateCreated{} } -/* DcimConsolePortTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimConsolePortTemplatesCreateCreated describes a response with status code 201, with default header values. DcimConsolePortTemplatesCreateCreated dcim console port templates create created */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesCreateCreated struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates create created response has a 2xx status code +func (o *DcimConsolePortTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates create created response has a 3xx status code +func (o *DcimConsolePortTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates create created response has a 4xx status code +func (o *DcimConsolePortTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates create created response has a 5xx status code +func (o *DcimConsolePortTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates create created response a status code equal to that given +func (o *DcimConsolePortTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimConsolePortTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/console-port-templates/][%d] dcimConsolePortTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimConsolePortTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/console-port-templates/][%d] dcimConsolePortTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimConsolePortTemplatesCreateCreated) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_parameters.go index fae184b52..3a51382ac 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortTemplatesDeleteParamsWithHTTPClient(client *http.Client) } } -/* DcimConsolePortTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim console port templates delete operation. +/* +DcimConsolePortTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates delete operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_responses.go index 6132c8989..39a2ca0a7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsolePortTemplatesDeleteNoContent() *DcimConsolePortTemplatesDelet return &DcimConsolePortTemplatesDeleteNoContent{} } -/* DcimConsolePortTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsolePortTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimConsolePortTemplatesDeleteNoContent dcim console port templates delete no content */ type DcimConsolePortTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim console port templates delete no content response has a 2xx status code +func (o *DcimConsolePortTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates delete no content response has a 3xx status code +func (o *DcimConsolePortTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates delete no content response has a 4xx status code +func (o *DcimConsolePortTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates delete no content response has a 5xx status code +func (o *DcimConsolePortTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates delete no content response a status code equal to that given +func (o *DcimConsolePortTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsolePortTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesDeleteNoContent ", 204) } +func (o *DcimConsolePortTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesDeleteNoContent ", 204) +} + func (o *DcimConsolePortTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_parameters.go index 51613d635..3b0eed570 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortTemplatesListParamsWithHTTPClient(client *http.Client) *D } } -/* DcimConsolePortTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim console port templates list operation. +/* +DcimConsolePortTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates list operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_responses.go index 99dab7fcd..b060ef908 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimConsolePortTemplatesListOK() *DcimConsolePortTemplatesListOK { return &DcimConsolePortTemplatesListOK{} } -/* DcimConsolePortTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesListOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesListOK dcim console port templates list o k */ @@ -67,9 +68,39 @@ type DcimConsolePortTemplatesListOK struct { Payload *DcimConsolePortTemplatesListOKBody } +// IsSuccess returns true when this dcim console port templates list o k response has a 2xx status code +func (o *DcimConsolePortTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates list o k response has a 3xx status code +func (o *DcimConsolePortTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates list o k response has a 4xx status code +func (o *DcimConsolePortTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates list o k response has a 5xx status code +func (o *DcimConsolePortTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates list o k response a status code equal to that given +func (o *DcimConsolePortTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/console-port-templates/][%d] dcimConsolePortTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/console-port-templates/][%d] dcimConsolePortTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesListOK) GetPayload() *DcimConsolePortTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimConsolePortTemplatesListOK) readResponse(response runtime.ClientRes return nil } -/*DcimConsolePortTemplatesListOKBody dcim console port templates list o k body +/* +DcimConsolePortTemplatesListOKBody dcim console port templates list o k body swagger:model DcimConsolePortTemplatesListOKBody */ type DcimConsolePortTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_parameters.go index 33b5653b4..9def6fde8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsolePortTemplatesPartialUpdateParamsWithHTTPClient(client *http.C } } -/* DcimConsolePortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console port templates partial update operation. +/* +DcimConsolePortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates partial update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_responses.go index 4c5fcbe3d..2bce57d05 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesPartialUpdateOK() *DcimConsolePortTemplatesParti return &DcimConsolePortTemplatesPartialUpdateOK{} } -/* DcimConsolePortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesPartialUpdateOK dcim console port templates partial update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesPartialUpdateOK struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates partial update o k response has a 2xx status code +func (o *DcimConsolePortTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates partial update o k response has a 3xx status code +func (o *DcimConsolePortTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates partial update o k response has a 4xx status code +func (o *DcimConsolePortTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates partial update o k response has a 5xx status code +func (o *DcimConsolePortTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates partial update o k response a status code equal to that given +func (o *DcimConsolePortTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesPartialUpdateOK) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_parameters.go index b195f0f72..9d67e1f1b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortTemplatesReadParamsWithHTTPClient(client *http.Client) *D } } -/* DcimConsolePortTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim console port templates read operation. +/* +DcimConsolePortTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates read operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_responses.go index fdec89091..4b0917def 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesReadOK() *DcimConsolePortTemplatesReadOK { return &DcimConsolePortTemplatesReadOK{} } -/* DcimConsolePortTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesReadOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesReadOK dcim console port templates read o k */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesReadOK struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates read o k response has a 2xx status code +func (o *DcimConsolePortTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates read o k response has a 3xx status code +func (o *DcimConsolePortTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates read o k response has a 4xx status code +func (o *DcimConsolePortTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates read o k response has a 5xx status code +func (o *DcimConsolePortTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates read o k response a status code equal to that given +func (o *DcimConsolePortTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesReadOK) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_parameters.go index 84d2594da..62d0cfb19 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsolePortTemplatesUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimConsolePortTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim console port templates update operation. +/* +DcimConsolePortTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console port templates update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_responses.go index 92d46cf48..277c89b75 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_port_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortTemplatesUpdateOK() *DcimConsolePortTemplatesUpdateOK { return &DcimConsolePortTemplatesUpdateOK{} } -/* DcimConsolePortTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortTemplatesUpdateOK describes a response with status code 200, with default header values. DcimConsolePortTemplatesUpdateOK dcim console port templates update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortTemplatesUpdateOK struct { Payload *models.ConsolePortTemplate } +// IsSuccess returns true when this dcim console port templates update o k response has a 2xx status code +func (o *DcimConsolePortTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console port templates update o k response has a 3xx status code +func (o *DcimConsolePortTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console port templates update o k response has a 4xx status code +func (o *DcimConsolePortTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console port templates update o k response has a 5xx status code +func (o *DcimConsolePortTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console port templates update o k response a status code equal to that given +func (o *DcimConsolePortTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-port-templates/{id}/][%d] dcimConsolePortTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortTemplatesUpdateOK) GetPayload() *models.ConsolePortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_parameters.go index 33f15d6f6..5185b54da 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimConsolePortsBulkDeleteParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimConsolePortsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim console ports bulk delete operation. +/* +DcimConsolePortsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports bulk delete operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_responses.go index f32e9ae81..61ba6425c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsolePortsBulkDeleteNoContent() *DcimConsolePortsBulkDeleteNoConte return &DcimConsolePortsBulkDeleteNoContent{} } -/* DcimConsolePortsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsolePortsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimConsolePortsBulkDeleteNoContent dcim console ports bulk delete no content */ type DcimConsolePortsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim console ports bulk delete no content response has a 2xx status code +func (o *DcimConsolePortsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports bulk delete no content response has a 3xx status code +func (o *DcimConsolePortsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports bulk delete no content response has a 4xx status code +func (o *DcimConsolePortsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports bulk delete no content response has a 5xx status code +func (o *DcimConsolePortsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports bulk delete no content response a status code equal to that given +func (o *DcimConsolePortsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsolePortsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-ports/][%d] dcimConsolePortsBulkDeleteNoContent ", 204) } +func (o *DcimConsolePortsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-ports/][%d] dcimConsolePortsBulkDeleteNoContent ", 204) +} + func (o *DcimConsolePortsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_parameters.go index b2751fa18..152666c88 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortsBulkPartialUpdateParamsWithHTTPClient(client *http.Clien } } -/* DcimConsolePortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console ports bulk partial update operation. +/* +DcimConsolePortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_responses.go index 6b3fedd80..851e62e01 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsBulkPartialUpdateOK() *DcimConsolePortsBulkPartialUpdate return &DcimConsolePortsBulkPartialUpdateOK{} } -/* DcimConsolePortsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimConsolePortsBulkPartialUpdateOK dcim console ports bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsBulkPartialUpdateOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports bulk partial update o k response has a 2xx status code +func (o *DcimConsolePortsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports bulk partial update o k response has a 3xx status code +func (o *DcimConsolePortsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports bulk partial update o k response has a 4xx status code +func (o *DcimConsolePortsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports bulk partial update o k response has a 5xx status code +func (o *DcimConsolePortsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports bulk partial update o k response a status code equal to that given +func (o *DcimConsolePortsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-ports/][%d] dcimConsolePortsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-ports/][%d] dcimConsolePortsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsBulkPartialUpdateOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_parameters.go index 367eae3d4..d3392df42 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortsBulkUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimConsolePortsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim console ports bulk update operation. +/* +DcimConsolePortsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports bulk update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_responses.go index a750d4b6b..bdab949cb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsBulkUpdateOK() *DcimConsolePortsBulkUpdateOK { return &DcimConsolePortsBulkUpdateOK{} } -/* DcimConsolePortsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsBulkUpdateOK describes a response with status code 200, with default header values. DcimConsolePortsBulkUpdateOK dcim console ports bulk update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsBulkUpdateOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports bulk update o k response has a 2xx status code +func (o *DcimConsolePortsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports bulk update o k response has a 3xx status code +func (o *DcimConsolePortsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports bulk update o k response has a 4xx status code +func (o *DcimConsolePortsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports bulk update o k response has a 5xx status code +func (o *DcimConsolePortsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports bulk update o k response a status code equal to that given +func (o *DcimConsolePortsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-ports/][%d] dcimConsolePortsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-ports/][%d] dcimConsolePortsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsBulkUpdateOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_parameters.go index e040f9c78..b5d5f0be1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsolePortsCreateParamsWithHTTPClient(client *http.Client) *DcimCon } } -/* DcimConsolePortsCreateParams contains all the parameters to send to the API endpoint - for the dcim console ports create operation. +/* +DcimConsolePortsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports create operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_responses.go index 2bd71d8ec..92c40e437 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_create_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsCreateCreated() *DcimConsolePortsCreateCreated { return &DcimConsolePortsCreateCreated{} } -/* DcimConsolePortsCreateCreated describes a response with status code 201, with default header values. +/* +DcimConsolePortsCreateCreated describes a response with status code 201, with default header values. DcimConsolePortsCreateCreated dcim console ports create created */ @@ -62,9 +63,39 @@ type DcimConsolePortsCreateCreated struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports create created response has a 2xx status code +func (o *DcimConsolePortsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports create created response has a 3xx status code +func (o *DcimConsolePortsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports create created response has a 4xx status code +func (o *DcimConsolePortsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports create created response has a 5xx status code +func (o *DcimConsolePortsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports create created response a status code equal to that given +func (o *DcimConsolePortsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimConsolePortsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/console-ports/][%d] dcimConsolePortsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimConsolePortsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/console-ports/][%d] dcimConsolePortsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimConsolePortsCreateCreated) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_parameters.go index 97fb76a08..2096e1f9c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortsDeleteParamsWithHTTPClient(client *http.Client) *DcimCon } } -/* DcimConsolePortsDeleteParams contains all the parameters to send to the API endpoint - for the dcim console ports delete operation. +/* +DcimConsolePortsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports delete operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_responses.go index c970a5ff2..accd0190d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsolePortsDeleteNoContent() *DcimConsolePortsDeleteNoContent { return &DcimConsolePortsDeleteNoContent{} } -/* DcimConsolePortsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsolePortsDeleteNoContent describes a response with status code 204, with default header values. DcimConsolePortsDeleteNoContent dcim console ports delete no content */ type DcimConsolePortsDeleteNoContent struct { } +// IsSuccess returns true when this dcim console ports delete no content response has a 2xx status code +func (o *DcimConsolePortsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports delete no content response has a 3xx status code +func (o *DcimConsolePortsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports delete no content response has a 4xx status code +func (o *DcimConsolePortsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports delete no content response has a 5xx status code +func (o *DcimConsolePortsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports delete no content response a status code equal to that given +func (o *DcimConsolePortsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsolePortsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-ports/{id}/][%d] dcimConsolePortsDeleteNoContent ", 204) } +func (o *DcimConsolePortsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-ports/{id}/][%d] dcimConsolePortsDeleteNoContent ", 204) +} + func (o *DcimConsolePortsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_parameters.go index 1218d4d10..029edc50d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortsListParamsWithHTTPClient(client *http.Client) *DcimConso } } -/* DcimConsolePortsListParams contains all the parameters to send to the API endpoint - for the dcim console ports list operation. +/* +DcimConsolePortsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports list operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_responses.go index 3315a21b8..f7d62c3bc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_list_responses.go @@ -59,7 +59,8 @@ func NewDcimConsolePortsListOK() *DcimConsolePortsListOK { return &DcimConsolePortsListOK{} } -/* DcimConsolePortsListOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsListOK describes a response with status code 200, with default header values. DcimConsolePortsListOK dcim console ports list o k */ @@ -67,9 +68,39 @@ type DcimConsolePortsListOK struct { Payload *DcimConsolePortsListOKBody } +// IsSuccess returns true when this dcim console ports list o k response has a 2xx status code +func (o *DcimConsolePortsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports list o k response has a 3xx status code +func (o *DcimConsolePortsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports list o k response has a 4xx status code +func (o *DcimConsolePortsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports list o k response has a 5xx status code +func (o *DcimConsolePortsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports list o k response a status code equal to that given +func (o *DcimConsolePortsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsListOK) Error() string { return fmt.Sprintf("[GET /dcim/console-ports/][%d] dcimConsolePortsListOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsListOK) String() string { + return fmt.Sprintf("[GET /dcim/console-ports/][%d] dcimConsolePortsListOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsListOK) GetPayload() *DcimConsolePortsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimConsolePortsListOK) readResponse(response runtime.ClientResponse, c return nil } -/*DcimConsolePortsListOKBody dcim console ports list o k body +/* +DcimConsolePortsListOKBody dcim console ports list o k body swagger:model DcimConsolePortsListOKBody */ type DcimConsolePortsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_parameters.go index f2a1f071a..d79cfea05 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsolePortsPartialUpdateParamsWithHTTPClient(client *http.Client) * } } -/* DcimConsolePortsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console ports partial update operation. +/* +DcimConsolePortsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports partial update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_responses.go index 4638f5eb4..68851f7a4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsPartialUpdateOK() *DcimConsolePortsPartialUpdateOK { return &DcimConsolePortsPartialUpdateOK{} } -/* DcimConsolePortsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsPartialUpdateOK describes a response with status code 200, with default header values. DcimConsolePortsPartialUpdateOK dcim console ports partial update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsPartialUpdateOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports partial update o k response has a 2xx status code +func (o *DcimConsolePortsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports partial update o k response has a 3xx status code +func (o *DcimConsolePortsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports partial update o k response has a 4xx status code +func (o *DcimConsolePortsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports partial update o k response has a 5xx status code +func (o *DcimConsolePortsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports partial update o k response a status code equal to that given +func (o *DcimConsolePortsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-ports/{id}/][%d] dcimConsolePortsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-ports/{id}/][%d] dcimConsolePortsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsPartialUpdateOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_parameters.go index b64ac3844..c57d172b8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortsReadParamsWithHTTPClient(client *http.Client) *DcimConso } } -/* DcimConsolePortsReadParams contains all the parameters to send to the API endpoint - for the dcim console ports read operation. +/* +DcimConsolePortsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports read operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_responses.go index 7eb723b93..2480631cd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_read_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsReadOK() *DcimConsolePortsReadOK { return &DcimConsolePortsReadOK{} } -/* DcimConsolePortsReadOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsReadOK describes a response with status code 200, with default header values. DcimConsolePortsReadOK dcim console ports read o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsReadOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports read o k response has a 2xx status code +func (o *DcimConsolePortsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports read o k response has a 3xx status code +func (o *DcimConsolePortsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports read o k response has a 4xx status code +func (o *DcimConsolePortsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports read o k response has a 5xx status code +func (o *DcimConsolePortsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports read o k response a status code equal to that given +func (o *DcimConsolePortsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/console-ports/{id}/][%d] dcimConsolePortsReadOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/console-ports/{id}/][%d] dcimConsolePortsReadOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsReadOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_parameters.go index ed48037ab..04957bfc6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsolePortsTraceParamsWithHTTPClient(client *http.Client) *DcimCons } } -/* DcimConsolePortsTraceParams contains all the parameters to send to the API endpoint - for the dcim console ports trace operation. +/* +DcimConsolePortsTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports trace operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_responses.go index 39d0bf08e..2c20928a2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsTraceOK() *DcimConsolePortsTraceOK { return &DcimConsolePortsTraceOK{} } -/* DcimConsolePortsTraceOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsTraceOK describes a response with status code 200, with default header values. DcimConsolePortsTraceOK dcim console ports trace o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsTraceOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports trace o k response has a 2xx status code +func (o *DcimConsolePortsTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports trace o k response has a 3xx status code +func (o *DcimConsolePortsTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports trace o k response has a 4xx status code +func (o *DcimConsolePortsTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports trace o k response has a 5xx status code +func (o *DcimConsolePortsTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports trace o k response a status code equal to that given +func (o *DcimConsolePortsTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/console-ports/{id}/trace/][%d] dcimConsolePortsTraceOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/console-ports/{id}/trace/][%d] dcimConsolePortsTraceOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsTraceOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_parameters.go index f70a18175..11d0abc6f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsolePortsUpdateParamsWithHTTPClient(client *http.Client) *DcimCon } } -/* DcimConsolePortsUpdateParams contains all the parameters to send to the API endpoint - for the dcim console ports update operation. +/* +DcimConsolePortsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console ports update operation. + + Typically these are written to a http.Request. */ type DcimConsolePortsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_responses.go index 3fb5e23cb..260210e31 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_ports_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsolePortsUpdateOK() *DcimConsolePortsUpdateOK { return &DcimConsolePortsUpdateOK{} } -/* DcimConsolePortsUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsolePortsUpdateOK describes a response with status code 200, with default header values. DcimConsolePortsUpdateOK dcim console ports update o k */ @@ -62,9 +63,39 @@ type DcimConsolePortsUpdateOK struct { Payload *models.ConsolePort } +// IsSuccess returns true when this dcim console ports update o k response has a 2xx status code +func (o *DcimConsolePortsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console ports update o k response has a 3xx status code +func (o *DcimConsolePortsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console ports update o k response has a 4xx status code +func (o *DcimConsolePortsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console ports update o k response has a 5xx status code +func (o *DcimConsolePortsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console ports update o k response a status code equal to that given +func (o *DcimConsolePortsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsolePortsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-ports/{id}/][%d] dcimConsolePortsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsolePortsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-ports/{id}/][%d] dcimConsolePortsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsolePortsUpdateOK) GetPayload() *models.ConsolePort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_parameters.go index 4b22a15df..43af34b45 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimConsoleServerPortTemplatesBulkDeleteParamsWithHTTPClient(client *htt } } -/* DcimConsoleServerPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim console server port templates bulk delete operation. +/* +DcimConsoleServerPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_responses.go index 1027e3e50..cf1bccd09 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsoleServerPortTemplatesBulkDeleteNoContent() *DcimConsoleServerPo return &DcimConsoleServerPortTemplatesBulkDeleteNoContent{} } -/* DcimConsoleServerPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsoleServerPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimConsoleServerPortTemplatesBulkDeleteNoContent dcim console server port templates bulk delete no content */ type DcimConsoleServerPortTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim console server port templates bulk delete no content response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates bulk delete no content response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates bulk delete no content response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates bulk delete no content response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates bulk delete no content response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimConsoleServerPortTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_parameters.go index 7abf0c2e7..b33c3aad1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortTemplatesBulkPartialUpdateParamsWithHTTPClient(clie } } -/* DcimConsoleServerPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server port templates bulk partial update operation. +/* +DcimConsoleServerPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_responses.go index d0d02a062..d661dd760 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesBulkPartialUpdateOK() *DcimConsoleServerPo return &DcimConsoleServerPortTemplatesBulkPartialUpdateOK{} } -/* DcimConsoleServerPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesBulkPartialUpdateOK dcim console server port templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesBulkPartialUpdateOK struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates bulk partial update o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates bulk partial update o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates bulk partial update o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates bulk partial update o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates bulk partial update o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesBulkPartialUpdateOK) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_parameters.go index 7e3bdbe7e..09b7e52f6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortTemplatesBulkUpdateParamsWithHTTPClient(client *htt } } -/* DcimConsoleServerPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server port templates bulk update operation. +/* +DcimConsoleServerPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_responses.go index 108126062..f8f6acdd3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesBulkUpdateOK() *DcimConsoleServerPortTempl return &DcimConsoleServerPortTemplatesBulkUpdateOK{} } -/* DcimConsoleServerPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesBulkUpdateOK dcim console server port templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesBulkUpdateOK struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates bulk update o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates bulk update o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates bulk update o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates bulk update o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates bulk update o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesBulkUpdateOK) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_parameters.go index f10ba3858..573da5d00 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortTemplatesCreateParamsWithHTTPClient(client *http.Cl } } -/* DcimConsoleServerPortTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim console server port templates create operation. +/* +DcimConsoleServerPortTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates create operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_responses.go index 88b4e569f..2097c595b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesCreateCreated() *DcimConsoleServerPortTemp return &DcimConsoleServerPortTemplatesCreateCreated{} } -/* DcimConsoleServerPortTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimConsoleServerPortTemplatesCreateCreated describes a response with status code 201, with default header values. DcimConsoleServerPortTemplatesCreateCreated dcim console server port templates create created */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesCreateCreated struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates create created response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates create created response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates create created response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates create created response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates create created response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimConsoleServerPortTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesCreateCreated) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_parameters.go index 04c6867d7..9ee5998f7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortTemplatesDeleteParamsWithHTTPClient(client *http.Cl } } -/* DcimConsoleServerPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim console server port templates delete operation. +/* +DcimConsoleServerPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates delete operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_responses.go index e955bbc4d..5cfad50f9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsoleServerPortTemplatesDeleteNoContent() *DcimConsoleServerPortTe return &DcimConsoleServerPortTemplatesDeleteNoContent{} } -/* DcimConsoleServerPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsoleServerPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimConsoleServerPortTemplatesDeleteNoContent dcim console server port templates delete no content */ type DcimConsoleServerPortTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim console server port templates delete no content response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates delete no content response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates delete no content response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates delete no content response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates delete no content response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsoleServerPortTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesDeleteNoContent ", 204) } +func (o *DcimConsoleServerPortTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesDeleteNoContent ", 204) +} + func (o *DcimConsoleServerPortTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_parameters.go index 2274b61e7..423b9b273 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortTemplatesListParamsWithHTTPClient(client *http.Clie } } -/* DcimConsoleServerPortTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim console server port templates list operation. +/* +DcimConsoleServerPortTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates list operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_responses.go index 10a80d13c..fab480f0f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimConsoleServerPortTemplatesListOK() *DcimConsoleServerPortTemplatesLi return &DcimConsoleServerPortTemplatesListOK{} } -/* DcimConsoleServerPortTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesListOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesListOK dcim console server port templates list o k */ @@ -67,9 +68,39 @@ type DcimConsoleServerPortTemplatesListOK struct { Payload *DcimConsoleServerPortTemplatesListOKBody } +// IsSuccess returns true when this dcim console server port templates list o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates list o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates list o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates list o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates list o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/console-server-port-templates/][%d] dcimConsoleServerPortTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesListOK) GetPayload() *DcimConsoleServerPortTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimConsoleServerPortTemplatesListOK) readResponse(response runtime.Cli return nil } -/*DcimConsoleServerPortTemplatesListOKBody dcim console server port templates list o k body +/* +DcimConsoleServerPortTemplatesListOKBody dcim console server port templates list o k body swagger:model DcimConsoleServerPortTemplatesListOKBody */ type DcimConsoleServerPortTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_parameters.go index 957ad400c..173c1f542 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsoleServerPortTemplatesPartialUpdateParamsWithHTTPClient(client * } } -/* DcimConsoleServerPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server port templates partial update operation. +/* +DcimConsoleServerPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates partial update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_responses.go index a14c024b0..21370b22d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesPartialUpdateOK() *DcimConsoleServerPortTe return &DcimConsoleServerPortTemplatesPartialUpdateOK{} } -/* DcimConsoleServerPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesPartialUpdateOK dcim console server port templates partial update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesPartialUpdateOK struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates partial update o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates partial update o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates partial update o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates partial update o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates partial update o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesPartialUpdateOK) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_parameters.go index cdc48c90a..2894e4e2e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortTemplatesReadParamsWithHTTPClient(client *http.Clie } } -/* DcimConsoleServerPortTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim console server port templates read operation. +/* +DcimConsoleServerPortTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates read operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_responses.go index 15d188d57..986ac0c54 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesReadOK() *DcimConsoleServerPortTemplatesRe return &DcimConsoleServerPortTemplatesReadOK{} } -/* DcimConsoleServerPortTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesReadOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesReadOK dcim console server port templates read o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesReadOK struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates read o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates read o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates read o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates read o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates read o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesReadOK) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_parameters.go index cf566203d..96779e9cb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsoleServerPortTemplatesUpdateParamsWithHTTPClient(client *http.Cl } } -/* DcimConsoleServerPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server port templates update operation. +/* +DcimConsoleServerPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server port templates update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_responses.go index 6eb45ba98..cda0bd06f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_port_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortTemplatesUpdateOK() *DcimConsoleServerPortTemplates return &DcimConsoleServerPortTemplatesUpdateOK{} } -/* DcimConsoleServerPortTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortTemplatesUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortTemplatesUpdateOK dcim console server port templates update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortTemplatesUpdateOK struct { Payload *models.ConsoleServerPortTemplate } +// IsSuccess returns true when this dcim console server port templates update o k response has a 2xx status code +func (o *DcimConsoleServerPortTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server port templates update o k response has a 3xx status code +func (o *DcimConsoleServerPortTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server port templates update o k response has a 4xx status code +func (o *DcimConsoleServerPortTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server port templates update o k response has a 5xx status code +func (o *DcimConsoleServerPortTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server port templates update o k response a status code equal to that given +func (o *DcimConsoleServerPortTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-server-port-templates/{id}/][%d] dcimConsoleServerPortTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortTemplatesUpdateOK) GetPayload() *models.ConsoleServerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_parameters.go index ef264b5bf..047c740e4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimConsoleServerPortsBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimConsoleServerPortsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim console server ports bulk delete operation. +/* +DcimConsoleServerPortsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports bulk delete operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_responses.go index c796b8134..36cafb59c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsoleServerPortsBulkDeleteNoContent() *DcimConsoleServerPortsBulkD return &DcimConsoleServerPortsBulkDeleteNoContent{} } -/* DcimConsoleServerPortsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsoleServerPortsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimConsoleServerPortsBulkDeleteNoContent dcim console server ports bulk delete no content */ type DcimConsoleServerPortsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim console server ports bulk delete no content response has a 2xx status code +func (o *DcimConsoleServerPortsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports bulk delete no content response has a 3xx status code +func (o *DcimConsoleServerPortsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports bulk delete no content response has a 4xx status code +func (o *DcimConsoleServerPortsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports bulk delete no content response has a 5xx status code +func (o *DcimConsoleServerPortsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports bulk delete no content response a status code equal to that given +func (o *DcimConsoleServerPortsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsoleServerPortsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkDeleteNoContent ", 204) } +func (o *DcimConsoleServerPortsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkDeleteNoContent ", 204) +} + func (o *DcimConsoleServerPortsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_parameters.go index 75038e6c0..bbbc47772 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortsBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimConsoleServerPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server ports bulk partial update operation. +/* +DcimConsoleServerPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_responses.go index 09fa7c67e..f53643a0e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsBulkPartialUpdateOK() *DcimConsoleServerPortsBulkP return &DcimConsoleServerPortsBulkPartialUpdateOK{} } -/* DcimConsoleServerPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortsBulkPartialUpdateOK dcim console server ports bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsBulkPartialUpdateOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports bulk partial update o k response has a 2xx status code +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports bulk partial update o k response has a 3xx status code +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports bulk partial update o k response has a 4xx status code +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports bulk partial update o k response has a 5xx status code +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports bulk partial update o k response a status code equal to that given +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsBulkPartialUpdateOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_parameters.go index ce368cf60..b3ee49476 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortsBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimConsoleServerPortsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server ports bulk update operation. +/* +DcimConsoleServerPortsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports bulk update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_responses.go index 2c7675b87..4e239c507 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsBulkUpdateOK() *DcimConsoleServerPortsBulkUpdateOK return &DcimConsoleServerPortsBulkUpdateOK{} } -/* DcimConsoleServerPortsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsBulkUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortsBulkUpdateOK dcim console server ports bulk update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsBulkUpdateOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports bulk update o k response has a 2xx status code +func (o *DcimConsoleServerPortsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports bulk update o k response has a 3xx status code +func (o *DcimConsoleServerPortsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports bulk update o k response has a 4xx status code +func (o *DcimConsoleServerPortsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports bulk update o k response has a 5xx status code +func (o *DcimConsoleServerPortsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports bulk update o k response a status code equal to that given +func (o *DcimConsoleServerPortsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-server-ports/][%d] dcimConsoleServerPortsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsBulkUpdateOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_parameters.go index d2a21db0f..f4903834e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimConsoleServerPortsCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimConsoleServerPortsCreateParams contains all the parameters to send to the API endpoint - for the dcim console server ports create operation. +/* +DcimConsoleServerPortsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports create operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_responses.go index 06e000a5a..5cfb482aa 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_create_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsCreateCreated() *DcimConsoleServerPortsCreateCreat return &DcimConsoleServerPortsCreateCreated{} } -/* DcimConsoleServerPortsCreateCreated describes a response with status code 201, with default header values. +/* +DcimConsoleServerPortsCreateCreated describes a response with status code 201, with default header values. DcimConsoleServerPortsCreateCreated dcim console server ports create created */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsCreateCreated struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports create created response has a 2xx status code +func (o *DcimConsoleServerPortsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports create created response has a 3xx status code +func (o *DcimConsoleServerPortsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports create created response has a 4xx status code +func (o *DcimConsoleServerPortsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports create created response has a 5xx status code +func (o *DcimConsoleServerPortsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports create created response a status code equal to that given +func (o *DcimConsoleServerPortsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimConsoleServerPortsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/console-server-ports/][%d] dcimConsoleServerPortsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimConsoleServerPortsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/console-server-ports/][%d] dcimConsoleServerPortsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimConsoleServerPortsCreateCreated) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_parameters.go index ce79adf54..8fa3dbae1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortsDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimConsoleServerPortsDeleteParams contains all the parameters to send to the API endpoint - for the dcim console server ports delete operation. +/* +DcimConsoleServerPortsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports delete operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_responses.go index 10b701551..d3459ba7e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimConsoleServerPortsDeleteNoContent() *DcimConsoleServerPortsDeleteNoC return &DcimConsoleServerPortsDeleteNoContent{} } -/* DcimConsoleServerPortsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimConsoleServerPortsDeleteNoContent describes a response with status code 204, with default header values. DcimConsoleServerPortsDeleteNoContent dcim console server ports delete no content */ type DcimConsoleServerPortsDeleteNoContent struct { } +// IsSuccess returns true when this dcim console server ports delete no content response has a 2xx status code +func (o *DcimConsoleServerPortsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports delete no content response has a 3xx status code +func (o *DcimConsoleServerPortsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports delete no content response has a 4xx status code +func (o *DcimConsoleServerPortsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports delete no content response has a 5xx status code +func (o *DcimConsoleServerPortsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports delete no content response a status code equal to that given +func (o *DcimConsoleServerPortsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimConsoleServerPortsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsDeleteNoContent ", 204) } +func (o *DcimConsoleServerPortsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsDeleteNoContent ", 204) +} + func (o *DcimConsoleServerPortsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_parameters.go index 147f7bcb0..57f01a4c3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortsListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimConsoleServerPortsListParams contains all the parameters to send to the API endpoint - for the dcim console server ports list operation. +/* +DcimConsoleServerPortsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports list operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_responses.go index 4b8a297e8..f3e73ca12 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_list_responses.go @@ -59,7 +59,8 @@ func NewDcimConsoleServerPortsListOK() *DcimConsoleServerPortsListOK { return &DcimConsoleServerPortsListOK{} } -/* DcimConsoleServerPortsListOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsListOK describes a response with status code 200, with default header values. DcimConsoleServerPortsListOK dcim console server ports list o k */ @@ -67,9 +68,39 @@ type DcimConsoleServerPortsListOK struct { Payload *DcimConsoleServerPortsListOKBody } +// IsSuccess returns true when this dcim console server ports list o k response has a 2xx status code +func (o *DcimConsoleServerPortsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports list o k response has a 3xx status code +func (o *DcimConsoleServerPortsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports list o k response has a 4xx status code +func (o *DcimConsoleServerPortsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports list o k response has a 5xx status code +func (o *DcimConsoleServerPortsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports list o k response a status code equal to that given +func (o *DcimConsoleServerPortsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsListOK) Error() string { return fmt.Sprintf("[GET /dcim/console-server-ports/][%d] dcimConsoleServerPortsListOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsListOK) String() string { + return fmt.Sprintf("[GET /dcim/console-server-ports/][%d] dcimConsoleServerPortsListOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsListOK) GetPayload() *DcimConsoleServerPortsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimConsoleServerPortsListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimConsoleServerPortsListOKBody dcim console server ports list o k body +/* +DcimConsoleServerPortsListOKBody dcim console server ports list o k body swagger:model DcimConsoleServerPortsListOKBody */ type DcimConsoleServerPortsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_parameters.go index 662a21319..16a2ea267 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsoleServerPortsPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimConsoleServerPortsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server ports partial update operation. +/* +DcimConsoleServerPortsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports partial update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_responses.go index 7ff8cd364..1da69c655 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsPartialUpdateOK() *DcimConsoleServerPortsPartialUp return &DcimConsoleServerPortsPartialUpdateOK{} } -/* DcimConsoleServerPortsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsPartialUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortsPartialUpdateOK dcim console server ports partial update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsPartialUpdateOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports partial update o k response has a 2xx status code +func (o *DcimConsoleServerPortsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports partial update o k response has a 3xx status code +func (o *DcimConsoleServerPortsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports partial update o k response has a 4xx status code +func (o *DcimConsoleServerPortsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports partial update o k response has a 5xx status code +func (o *DcimConsoleServerPortsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports partial update o k response a status code equal to that given +func (o *DcimConsoleServerPortsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsPartialUpdateOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_parameters.go index c0ba65f32..5451603a7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortsReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimConsoleServerPortsReadParams contains all the parameters to send to the API endpoint - for the dcim console server ports read operation. +/* +DcimConsoleServerPortsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports read operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_responses.go index 1a939e6b1..df4f22e47 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_read_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsReadOK() *DcimConsoleServerPortsReadOK { return &DcimConsoleServerPortsReadOK{} } -/* DcimConsoleServerPortsReadOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsReadOK describes a response with status code 200, with default header values. DcimConsoleServerPortsReadOK dcim console server ports read o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsReadOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports read o k response has a 2xx status code +func (o *DcimConsoleServerPortsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports read o k response has a 3xx status code +func (o *DcimConsoleServerPortsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports read o k response has a 4xx status code +func (o *DcimConsoleServerPortsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports read o k response has a 5xx status code +func (o *DcimConsoleServerPortsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports read o k response a status code equal to that given +func (o *DcimConsoleServerPortsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsReadOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsReadOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsReadOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_parameters.go index 1f877c891..02cba294c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimConsoleServerPortsTraceParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimConsoleServerPortsTraceParams contains all the parameters to send to the API endpoint - for the dcim console server ports trace operation. +/* +DcimConsoleServerPortsTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports trace operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_responses.go index ef7968a09..c79139845 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsTraceOK() *DcimConsoleServerPortsTraceOK { return &DcimConsoleServerPortsTraceOK{} } -/* DcimConsoleServerPortsTraceOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsTraceOK describes a response with status code 200, with default header values. DcimConsoleServerPortsTraceOK dcim console server ports trace o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsTraceOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports trace o k response has a 2xx status code +func (o *DcimConsoleServerPortsTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports trace o k response has a 3xx status code +func (o *DcimConsoleServerPortsTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports trace o k response has a 4xx status code +func (o *DcimConsoleServerPortsTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports trace o k response has a 5xx status code +func (o *DcimConsoleServerPortsTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports trace o k response a status code equal to that given +func (o *DcimConsoleServerPortsTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/console-server-ports/{id}/trace/][%d] dcimConsoleServerPortsTraceOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/console-server-ports/{id}/trace/][%d] dcimConsoleServerPortsTraceOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsTraceOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_parameters.go index d77cf767c..c777aacbc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimConsoleServerPortsUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimConsoleServerPortsUpdateParams contains all the parameters to send to the API endpoint - for the dcim console server ports update operation. +/* +DcimConsoleServerPortsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim console server ports update operation. + + Typically these are written to a http.Request. */ type DcimConsoleServerPortsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_responses.go index 4d81009db..24c9ce971 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_console_server_ports_update_responses.go @@ -54,7 +54,8 @@ func NewDcimConsoleServerPortsUpdateOK() *DcimConsoleServerPortsUpdateOK { return &DcimConsoleServerPortsUpdateOK{} } -/* DcimConsoleServerPortsUpdateOK describes a response with status code 200, with default header values. +/* +DcimConsoleServerPortsUpdateOK describes a response with status code 200, with default header values. DcimConsoleServerPortsUpdateOK dcim console server ports update o k */ @@ -62,9 +63,39 @@ type DcimConsoleServerPortsUpdateOK struct { Payload *models.ConsoleServerPort } +// IsSuccess returns true when this dcim console server ports update o k response has a 2xx status code +func (o *DcimConsoleServerPortsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim console server ports update o k response has a 3xx status code +func (o *DcimConsoleServerPortsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim console server ports update o k response has a 4xx status code +func (o *DcimConsoleServerPortsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim console server ports update o k response has a 5xx status code +func (o *DcimConsoleServerPortsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim console server ports update o k response a status code equal to that given +func (o *DcimConsoleServerPortsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimConsoleServerPortsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimConsoleServerPortsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/console-server-ports/{id}/][%d] dcimConsoleServerPortsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimConsoleServerPortsUpdateOK) GetPayload() *models.ConsoleServerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_parameters.go index 42a044ee1..8ba9d5d68 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimDeviceBayTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimDeviceBayTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim device bay templates bulk delete operation. +/* +DcimDeviceBayTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_responses.go index 386e25e0f..28f2d8816 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceBayTemplatesBulkDeleteNoContent() *DcimDeviceBayTemplatesBulkD return &DcimDeviceBayTemplatesBulkDeleteNoContent{} } -/* DcimDeviceBayTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceBayTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceBayTemplatesBulkDeleteNoContent dcim device bay templates bulk delete no content */ type DcimDeviceBayTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim device bay templates bulk delete no content response has a 2xx status code +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates bulk delete no content response has a 3xx status code +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates bulk delete no content response has a 4xx status code +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates bulk delete no content response has a 5xx status code +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates bulk delete no content response a status code equal to that given +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimDeviceBayTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_parameters.go index e34b9710f..07bc3c4d9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBayTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimDeviceBayTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bay templates bulk partial update operation. +/* +DcimDeviceBayTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_responses.go index b60865c64..d571e8814 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesBulkPartialUpdateOK() *DcimDeviceBayTemplatesBulkP return &DcimDeviceBayTemplatesBulkPartialUpdateOK{} } -/* DcimDeviceBayTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesBulkPartialUpdateOK dcim device bay templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesBulkPartialUpdateOK struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates bulk partial update o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates bulk partial update o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates bulk partial update o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates bulk partial update o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates bulk partial update o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesBulkPartialUpdateOK) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_parameters.go index 07fbc655b..ffc9382ef 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBayTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimDeviceBayTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bay templates bulk update operation. +/* +DcimDeviceBayTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_responses.go index 6f66875c8..44b2e7ad6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesBulkUpdateOK() *DcimDeviceBayTemplatesBulkUpdateOK return &DcimDeviceBayTemplatesBulkUpdateOK{} } -/* DcimDeviceBayTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesBulkUpdateOK dcim device bay templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesBulkUpdateOK struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates bulk update o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates bulk update o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates bulk update o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates bulk update o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates bulk update o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesBulkUpdateOK) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_parameters.go index c9cb15738..50ef7af30 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBayTemplatesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDeviceBayTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim device bay templates create operation. +/* +DcimDeviceBayTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates create operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_responses.go index a50e6e7b3..089e2667a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesCreateCreated() *DcimDeviceBayTemplatesCreateCreat return &DcimDeviceBayTemplatesCreateCreated{} } -/* DcimDeviceBayTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimDeviceBayTemplatesCreateCreated describes a response with status code 201, with default header values. DcimDeviceBayTemplatesCreateCreated dcim device bay templates create created */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesCreateCreated struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates create created response has a 2xx status code +func (o *DcimDeviceBayTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates create created response has a 3xx status code +func (o *DcimDeviceBayTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates create created response has a 4xx status code +func (o *DcimDeviceBayTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates create created response has a 5xx status code +func (o *DcimDeviceBayTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates create created response a status code equal to that given +func (o *DcimDeviceBayTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimDeviceBayTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimDeviceBayTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimDeviceBayTemplatesCreateCreated) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_parameters.go index 50ba72186..be508c37d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBayTemplatesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDeviceBayTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim device bay templates delete operation. +/* +DcimDeviceBayTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_responses.go index 3c1a59348..b84562918 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceBayTemplatesDeleteNoContent() *DcimDeviceBayTemplatesDeleteNoC return &DcimDeviceBayTemplatesDeleteNoContent{} } -/* DcimDeviceBayTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceBayTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceBayTemplatesDeleteNoContent dcim device bay templates delete no content */ type DcimDeviceBayTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim device bay templates delete no content response has a 2xx status code +func (o *DcimDeviceBayTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates delete no content response has a 3xx status code +func (o *DcimDeviceBayTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates delete no content response has a 4xx status code +func (o *DcimDeviceBayTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates delete no content response has a 5xx status code +func (o *DcimDeviceBayTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates delete no content response a status code equal to that given +func (o *DcimDeviceBayTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceBayTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesDeleteNoContent ", 204) } +func (o *DcimDeviceBayTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesDeleteNoContent ", 204) +} + func (o *DcimDeviceBayTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_parameters.go index 1d6a85187..00fcae168 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBayTemplatesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimDeviceBayTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim device bay templates list operation. +/* +DcimDeviceBayTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates list operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_responses.go index a5083b07a..bd26a8ac3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimDeviceBayTemplatesListOK() *DcimDeviceBayTemplatesListOK { return &DcimDeviceBayTemplatesListOK{} } -/* DcimDeviceBayTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesListOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesListOK dcim device bay templates list o k */ @@ -67,9 +68,39 @@ type DcimDeviceBayTemplatesListOK struct { Payload *DcimDeviceBayTemplatesListOKBody } +// IsSuccess returns true when this dcim device bay templates list o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates list o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates list o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates list o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates list o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/device-bay-templates/][%d] dcimDeviceBayTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesListOK) GetPayload() *DcimDeviceBayTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimDeviceBayTemplatesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimDeviceBayTemplatesListOKBody dcim device bay templates list o k body +/* +DcimDeviceBayTemplatesListOKBody dcim device bay templates list o k body swagger:model DcimDeviceBayTemplatesListOKBody */ type DcimDeviceBayTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_parameters.go index c057414a7..0cdf3c49d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceBayTemplatesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimDeviceBayTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bay templates partial update operation. +/* +DcimDeviceBayTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_responses.go index dfbd05f73..c79f07b89 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesPartialUpdateOK() *DcimDeviceBayTemplatesPartialUp return &DcimDeviceBayTemplatesPartialUpdateOK{} } -/* DcimDeviceBayTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesPartialUpdateOK dcim device bay templates partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesPartialUpdateOK struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates partial update o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates partial update o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates partial update o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates partial update o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates partial update o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesPartialUpdateOK) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_parameters.go index a1799ea78..db1898f06 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBayTemplatesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimDeviceBayTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim device bay templates read operation. +/* +DcimDeviceBayTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates read operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_responses.go index cc6953439..08a576f03 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesReadOK() *DcimDeviceBayTemplatesReadOK { return &DcimDeviceBayTemplatesReadOK{} } -/* DcimDeviceBayTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesReadOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesReadOK dcim device bay templates read o k */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesReadOK struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates read o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates read o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates read o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates read o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates read o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesReadOK) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_parameters.go index d0cfb21d7..91a1f945f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceBayTemplatesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDeviceBayTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bay templates update operation. +/* +DcimDeviceBayTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bay templates update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBayTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_responses.go index 7d2de42cb..7f7271f58 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bay_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBayTemplatesUpdateOK() *DcimDeviceBayTemplatesUpdateOK { return &DcimDeviceBayTemplatesUpdateOK{} } -/* DcimDeviceBayTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBayTemplatesUpdateOK describes a response with status code 200, with default header values. DcimDeviceBayTemplatesUpdateOK dcim device bay templates update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBayTemplatesUpdateOK struct { Payload *models.DeviceBayTemplate } +// IsSuccess returns true when this dcim device bay templates update o k response has a 2xx status code +func (o *DcimDeviceBayTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bay templates update o k response has a 3xx status code +func (o *DcimDeviceBayTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bay templates update o k response has a 4xx status code +func (o *DcimDeviceBayTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bay templates update o k response has a 5xx status code +func (o *DcimDeviceBayTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bay templates update o k response a status code equal to that given +func (o *DcimDeviceBayTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBayTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBayTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-bay-templates/{id}/][%d] dcimDeviceBayTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBayTemplatesUpdateOK) GetPayload() *models.DeviceBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_parameters.go index 305304728..b6a23af4f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimDeviceBaysBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimD } } -/* DcimDeviceBaysBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim device bays bulk delete operation. +/* +DcimDeviceBaysBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays bulk delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_responses.go index d5ca7ee06..fc75a2020 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceBaysBulkDeleteNoContent() *DcimDeviceBaysBulkDeleteNoContent { return &DcimDeviceBaysBulkDeleteNoContent{} } -/* DcimDeviceBaysBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceBaysBulkDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceBaysBulkDeleteNoContent dcim device bays bulk delete no content */ type DcimDeviceBaysBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim device bays bulk delete no content response has a 2xx status code +func (o *DcimDeviceBaysBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays bulk delete no content response has a 3xx status code +func (o *DcimDeviceBaysBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays bulk delete no content response has a 4xx status code +func (o *DcimDeviceBaysBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays bulk delete no content response has a 5xx status code +func (o *DcimDeviceBaysBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays bulk delete no content response a status code equal to that given +func (o *DcimDeviceBaysBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceBaysBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-bays/][%d] dcimDeviceBaysBulkDeleteNoContent ", 204) } +func (o *DcimDeviceBaysBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-bays/][%d] dcimDeviceBaysBulkDeleteNoContent ", 204) +} + func (o *DcimDeviceBaysBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_parameters.go index ee5d43d5f..7c30e6310 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBaysBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimDeviceBaysBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bays bulk partial update operation. +/* +DcimDeviceBaysBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_responses.go index 591b3f501..f5650ba50 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysBulkPartialUpdateOK() *DcimDeviceBaysBulkPartialUpdateOK { return &DcimDeviceBaysBulkPartialUpdateOK{} } -/* DcimDeviceBaysBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceBaysBulkPartialUpdateOK dcim device bays bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBaysBulkPartialUpdateOK struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays bulk partial update o k response has a 2xx status code +func (o *DcimDeviceBaysBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays bulk partial update o k response has a 3xx status code +func (o *DcimDeviceBaysBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays bulk partial update o k response has a 4xx status code +func (o *DcimDeviceBaysBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays bulk partial update o k response has a 5xx status code +func (o *DcimDeviceBaysBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays bulk partial update o k response a status code equal to that given +func (o *DcimDeviceBaysBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-bays/][%d] dcimDeviceBaysBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-bays/][%d] dcimDeviceBaysBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysBulkPartialUpdateOK) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_parameters.go index 89ef5c9ab..0958150c5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBaysBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimD } } -/* DcimDeviceBaysBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bays bulk update operation. +/* +DcimDeviceBaysBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays bulk update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_responses.go index 0ca76b890..492aaa7b3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysBulkUpdateOK() *DcimDeviceBaysBulkUpdateOK { return &DcimDeviceBaysBulkUpdateOK{} } -/* DcimDeviceBaysBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysBulkUpdateOK describes a response with status code 200, with default header values. DcimDeviceBaysBulkUpdateOK dcim device bays bulk update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBaysBulkUpdateOK struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays bulk update o k response has a 2xx status code +func (o *DcimDeviceBaysBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays bulk update o k response has a 3xx status code +func (o *DcimDeviceBaysBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays bulk update o k response has a 4xx status code +func (o *DcimDeviceBaysBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays bulk update o k response has a 5xx status code +func (o *DcimDeviceBaysBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays bulk update o k response a status code equal to that given +func (o *DcimDeviceBaysBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-bays/][%d] dcimDeviceBaysBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-bays/][%d] dcimDeviceBaysBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysBulkUpdateOK) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_parameters.go index 238135455..967b16f2e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceBaysCreateParamsWithHTTPClient(client *http.Client) *DcimDevic } } -/* DcimDeviceBaysCreateParams contains all the parameters to send to the API endpoint - for the dcim device bays create operation. +/* +DcimDeviceBaysCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays create operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_responses.go index 6296fc91f..1984b038d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_create_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysCreateCreated() *DcimDeviceBaysCreateCreated { return &DcimDeviceBaysCreateCreated{} } -/* DcimDeviceBaysCreateCreated describes a response with status code 201, with default header values. +/* +DcimDeviceBaysCreateCreated describes a response with status code 201, with default header values. DcimDeviceBaysCreateCreated dcim device bays create created */ @@ -62,9 +63,39 @@ type DcimDeviceBaysCreateCreated struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays create created response has a 2xx status code +func (o *DcimDeviceBaysCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays create created response has a 3xx status code +func (o *DcimDeviceBaysCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays create created response has a 4xx status code +func (o *DcimDeviceBaysCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays create created response has a 5xx status code +func (o *DcimDeviceBaysCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays create created response a status code equal to that given +func (o *DcimDeviceBaysCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimDeviceBaysCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/device-bays/][%d] dcimDeviceBaysCreateCreated %+v", 201, o.Payload) } + +func (o *DcimDeviceBaysCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/device-bays/][%d] dcimDeviceBaysCreateCreated %+v", 201, o.Payload) +} + func (o *DcimDeviceBaysCreateCreated) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_parameters.go index 1215c86ff..50fe1b18a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBaysDeleteParamsWithHTTPClient(client *http.Client) *DcimDevic } } -/* DcimDeviceBaysDeleteParams contains all the parameters to send to the API endpoint - for the dcim device bays delete operation. +/* +DcimDeviceBaysDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_responses.go index 6b2785f42..66123bb27 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceBaysDeleteNoContent() *DcimDeviceBaysDeleteNoContent { return &DcimDeviceBaysDeleteNoContent{} } -/* DcimDeviceBaysDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceBaysDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceBaysDeleteNoContent dcim device bays delete no content */ type DcimDeviceBaysDeleteNoContent struct { } +// IsSuccess returns true when this dcim device bays delete no content response has a 2xx status code +func (o *DcimDeviceBaysDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays delete no content response has a 3xx status code +func (o *DcimDeviceBaysDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays delete no content response has a 4xx status code +func (o *DcimDeviceBaysDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays delete no content response has a 5xx status code +func (o *DcimDeviceBaysDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays delete no content response a status code equal to that given +func (o *DcimDeviceBaysDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceBaysDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-bays/{id}/][%d] dcimDeviceBaysDeleteNoContent ", 204) } +func (o *DcimDeviceBaysDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-bays/{id}/][%d] dcimDeviceBaysDeleteNoContent ", 204) +} + func (o *DcimDeviceBaysDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_parameters.go index 8932f8785..26bba3b55 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBaysListParamsWithHTTPClient(client *http.Client) *DcimDeviceB } } -/* DcimDeviceBaysListParams contains all the parameters to send to the API endpoint - for the dcim device bays list operation. +/* +DcimDeviceBaysListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays list operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_responses.go index c6169e515..f251c6dcf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_list_responses.go @@ -59,7 +59,8 @@ func NewDcimDeviceBaysListOK() *DcimDeviceBaysListOK { return &DcimDeviceBaysListOK{} } -/* DcimDeviceBaysListOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysListOK describes a response with status code 200, with default header values. DcimDeviceBaysListOK dcim device bays list o k */ @@ -67,9 +68,39 @@ type DcimDeviceBaysListOK struct { Payload *DcimDeviceBaysListOKBody } +// IsSuccess returns true when this dcim device bays list o k response has a 2xx status code +func (o *DcimDeviceBaysListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays list o k response has a 3xx status code +func (o *DcimDeviceBaysListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays list o k response has a 4xx status code +func (o *DcimDeviceBaysListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays list o k response has a 5xx status code +func (o *DcimDeviceBaysListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays list o k response a status code equal to that given +func (o *DcimDeviceBaysListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysListOK) Error() string { return fmt.Sprintf("[GET /dcim/device-bays/][%d] dcimDeviceBaysListOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysListOK) String() string { + return fmt.Sprintf("[GET /dcim/device-bays/][%d] dcimDeviceBaysListOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysListOK) GetPayload() *DcimDeviceBaysListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimDeviceBaysListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimDeviceBaysListOKBody dcim device bays list o k body +/* +DcimDeviceBaysListOKBody dcim device bays list o k body swagger:model DcimDeviceBaysListOKBody */ type DcimDeviceBaysListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_parameters.go index 7ac7b18dc..c60b520ce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceBaysPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimDeviceBaysPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bays partial update operation. +/* +DcimDeviceBaysPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_responses.go index dbc16991d..49135b9da 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysPartialUpdateOK() *DcimDeviceBaysPartialUpdateOK { return &DcimDeviceBaysPartialUpdateOK{} } -/* DcimDeviceBaysPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceBaysPartialUpdateOK dcim device bays partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBaysPartialUpdateOK struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays partial update o k response has a 2xx status code +func (o *DcimDeviceBaysPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays partial update o k response has a 3xx status code +func (o *DcimDeviceBaysPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays partial update o k response has a 4xx status code +func (o *DcimDeviceBaysPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays partial update o k response has a 5xx status code +func (o *DcimDeviceBaysPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays partial update o k response a status code equal to that given +func (o *DcimDeviceBaysPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-bays/{id}/][%d] dcimDeviceBaysPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-bays/{id}/][%d] dcimDeviceBaysPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysPartialUpdateOK) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_parameters.go index cb4920136..cd521285d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceBaysReadParamsWithHTTPClient(client *http.Client) *DcimDeviceB } } -/* DcimDeviceBaysReadParams contains all the parameters to send to the API endpoint - for the dcim device bays read operation. +/* +DcimDeviceBaysReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays read operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_responses.go index c055bf0e3..38aad7a4c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_read_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysReadOK() *DcimDeviceBaysReadOK { return &DcimDeviceBaysReadOK{} } -/* DcimDeviceBaysReadOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysReadOK describes a response with status code 200, with default header values. DcimDeviceBaysReadOK dcim device bays read o k */ @@ -62,9 +63,39 @@ type DcimDeviceBaysReadOK struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays read o k response has a 2xx status code +func (o *DcimDeviceBaysReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays read o k response has a 3xx status code +func (o *DcimDeviceBaysReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays read o k response has a 4xx status code +func (o *DcimDeviceBaysReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays read o k response has a 5xx status code +func (o *DcimDeviceBaysReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays read o k response a status code equal to that given +func (o *DcimDeviceBaysReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysReadOK) Error() string { return fmt.Sprintf("[GET /dcim/device-bays/{id}/][%d] dcimDeviceBaysReadOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysReadOK) String() string { + return fmt.Sprintf("[GET /dcim/device-bays/{id}/][%d] dcimDeviceBaysReadOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysReadOK) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_parameters.go index 28a3f86fd..0bbf2dd5c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceBaysUpdateParamsWithHTTPClient(client *http.Client) *DcimDevic } } -/* DcimDeviceBaysUpdateParams contains all the parameters to send to the API endpoint - for the dcim device bays update operation. +/* +DcimDeviceBaysUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device bays update operation. + + Typically these are written to a http.Request. */ type DcimDeviceBaysUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_responses.go index 1c6bbe8fe..946d21eb5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_bays_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceBaysUpdateOK() *DcimDeviceBaysUpdateOK { return &DcimDeviceBaysUpdateOK{} } -/* DcimDeviceBaysUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceBaysUpdateOK describes a response with status code 200, with default header values. DcimDeviceBaysUpdateOK dcim device bays update o k */ @@ -62,9 +63,39 @@ type DcimDeviceBaysUpdateOK struct { Payload *models.DeviceBay } +// IsSuccess returns true when this dcim device bays update o k response has a 2xx status code +func (o *DcimDeviceBaysUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device bays update o k response has a 3xx status code +func (o *DcimDeviceBaysUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device bays update o k response has a 4xx status code +func (o *DcimDeviceBaysUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device bays update o k response has a 5xx status code +func (o *DcimDeviceBaysUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device bays update o k response a status code equal to that given +func (o *DcimDeviceBaysUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceBaysUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-bays/{id}/][%d] dcimDeviceBaysUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceBaysUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-bays/{id}/][%d] dcimDeviceBaysUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceBaysUpdateOK) GetPayload() *models.DeviceBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_parameters.go index 75cbdcd8d..922becd57 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimDeviceRolesBulkDeleteParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimDeviceRolesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim device roles bulk delete operation. +/* +DcimDeviceRolesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles bulk delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_responses.go index f322f0002..71fb8d910 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceRolesBulkDeleteNoContent() *DcimDeviceRolesBulkDeleteNoContent return &DcimDeviceRolesBulkDeleteNoContent{} } -/* DcimDeviceRolesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceRolesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceRolesBulkDeleteNoContent dcim device roles bulk delete no content */ type DcimDeviceRolesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim device roles bulk delete no content response has a 2xx status code +func (o *DcimDeviceRolesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles bulk delete no content response has a 3xx status code +func (o *DcimDeviceRolesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles bulk delete no content response has a 4xx status code +func (o *DcimDeviceRolesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles bulk delete no content response has a 5xx status code +func (o *DcimDeviceRolesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles bulk delete no content response a status code equal to that given +func (o *DcimDeviceRolesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceRolesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-roles/][%d] dcimDeviceRolesBulkDeleteNoContent ", 204) } +func (o *DcimDeviceRolesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-roles/][%d] dcimDeviceRolesBulkDeleteNoContent ", 204) +} + func (o *DcimDeviceRolesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_parameters.go index 21ac460a1..b3c042c7d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceRolesBulkPartialUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimDeviceRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device roles bulk partial update operation. +/* +DcimDeviceRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_responses.go index a82b6cf53..f409ab597 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesBulkPartialUpdateOK() *DcimDeviceRolesBulkPartialUpdateOK return &DcimDeviceRolesBulkPartialUpdateOK{} } -/* DcimDeviceRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceRolesBulkPartialUpdateOK dcim device roles bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceRolesBulkPartialUpdateOK struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles bulk partial update o k response has a 2xx status code +func (o *DcimDeviceRolesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles bulk partial update o k response has a 3xx status code +func (o *DcimDeviceRolesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles bulk partial update o k response has a 4xx status code +func (o *DcimDeviceRolesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles bulk partial update o k response has a 5xx status code +func (o *DcimDeviceRolesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles bulk partial update o k response a status code equal to that given +func (o *DcimDeviceRolesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-roles/][%d] dcimDeviceRolesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-roles/][%d] dcimDeviceRolesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesBulkPartialUpdateOK) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_parameters.go index 236e8aae7..9cd36d587 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceRolesBulkUpdateParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimDeviceRolesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim device roles bulk update operation. +/* +DcimDeviceRolesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles bulk update operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_responses.go index dbbd93522..be06a5a34 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesBulkUpdateOK() *DcimDeviceRolesBulkUpdateOK { return &DcimDeviceRolesBulkUpdateOK{} } -/* DcimDeviceRolesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesBulkUpdateOK describes a response with status code 200, with default header values. DcimDeviceRolesBulkUpdateOK dcim device roles bulk update o k */ @@ -62,9 +63,39 @@ type DcimDeviceRolesBulkUpdateOK struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles bulk update o k response has a 2xx status code +func (o *DcimDeviceRolesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles bulk update o k response has a 3xx status code +func (o *DcimDeviceRolesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles bulk update o k response has a 4xx status code +func (o *DcimDeviceRolesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles bulk update o k response has a 5xx status code +func (o *DcimDeviceRolesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles bulk update o k response a status code equal to that given +func (o *DcimDeviceRolesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-roles/][%d] dcimDeviceRolesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-roles/][%d] dcimDeviceRolesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesBulkUpdateOK) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_parameters.go index 9b92f407f..e6f8449d7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceRolesCreateParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceRolesCreateParams contains all the parameters to send to the API endpoint - for the dcim device roles create operation. +/* +DcimDeviceRolesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles create operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_responses.go index fafa52f0e..88dd6e9ed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_create_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesCreateCreated() *DcimDeviceRolesCreateCreated { return &DcimDeviceRolesCreateCreated{} } -/* DcimDeviceRolesCreateCreated describes a response with status code 201, with default header values. +/* +DcimDeviceRolesCreateCreated describes a response with status code 201, with default header values. DcimDeviceRolesCreateCreated dcim device roles create created */ @@ -62,9 +63,39 @@ type DcimDeviceRolesCreateCreated struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles create created response has a 2xx status code +func (o *DcimDeviceRolesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles create created response has a 3xx status code +func (o *DcimDeviceRolesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles create created response has a 4xx status code +func (o *DcimDeviceRolesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles create created response has a 5xx status code +func (o *DcimDeviceRolesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles create created response a status code equal to that given +func (o *DcimDeviceRolesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimDeviceRolesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/device-roles/][%d] dcimDeviceRolesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimDeviceRolesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/device-roles/][%d] dcimDeviceRolesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimDeviceRolesCreateCreated) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_parameters.go index 84ff09f09..3165ef7f4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceRolesDeleteParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceRolesDeleteParams contains all the parameters to send to the API endpoint - for the dcim device roles delete operation. +/* +DcimDeviceRolesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_responses.go index 02d5a5343..06549d2c5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceRolesDeleteNoContent() *DcimDeviceRolesDeleteNoContent { return &DcimDeviceRolesDeleteNoContent{} } -/* DcimDeviceRolesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceRolesDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceRolesDeleteNoContent dcim device roles delete no content */ type DcimDeviceRolesDeleteNoContent struct { } +// IsSuccess returns true when this dcim device roles delete no content response has a 2xx status code +func (o *DcimDeviceRolesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles delete no content response has a 3xx status code +func (o *DcimDeviceRolesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles delete no content response has a 4xx status code +func (o *DcimDeviceRolesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles delete no content response has a 5xx status code +func (o *DcimDeviceRolesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles delete no content response a status code equal to that given +func (o *DcimDeviceRolesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceRolesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-roles/{id}/][%d] dcimDeviceRolesDeleteNoContent ", 204) } +func (o *DcimDeviceRolesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-roles/{id}/][%d] dcimDeviceRolesDeleteNoContent ", 204) +} + func (o *DcimDeviceRolesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_parameters.go index 5d2f66c2f..4634a7d87 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceRolesListParamsWithHTTPClient(client *http.Client) *DcimDevice } } -/* DcimDeviceRolesListParams contains all the parameters to send to the API endpoint - for the dcim device roles list operation. +/* +DcimDeviceRolesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles list operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_responses.go index 8100e4983..e6b4427df 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_list_responses.go @@ -59,7 +59,8 @@ func NewDcimDeviceRolesListOK() *DcimDeviceRolesListOK { return &DcimDeviceRolesListOK{} } -/* DcimDeviceRolesListOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesListOK describes a response with status code 200, with default header values. DcimDeviceRolesListOK dcim device roles list o k */ @@ -67,9 +68,39 @@ type DcimDeviceRolesListOK struct { Payload *DcimDeviceRolesListOKBody } +// IsSuccess returns true when this dcim device roles list o k response has a 2xx status code +func (o *DcimDeviceRolesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles list o k response has a 3xx status code +func (o *DcimDeviceRolesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles list o k response has a 4xx status code +func (o *DcimDeviceRolesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles list o k response has a 5xx status code +func (o *DcimDeviceRolesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles list o k response a status code equal to that given +func (o *DcimDeviceRolesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesListOK) Error() string { return fmt.Sprintf("[GET /dcim/device-roles/][%d] dcimDeviceRolesListOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesListOK) String() string { + return fmt.Sprintf("[GET /dcim/device-roles/][%d] dcimDeviceRolesListOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesListOK) GetPayload() *DcimDeviceRolesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimDeviceRolesListOK) readResponse(response runtime.ClientResponse, co return nil } -/*DcimDeviceRolesListOKBody dcim device roles list o k body +/* +DcimDeviceRolesListOKBody dcim device roles list o k body swagger:model DcimDeviceRolesListOKBody */ type DcimDeviceRolesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_parameters.go index abf480f0d..d8fe849aa 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceRolesPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDeviceRolesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device roles partial update operation. +/* +DcimDeviceRolesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_responses.go index f48b987c5..6a4b27717 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesPartialUpdateOK() *DcimDeviceRolesPartialUpdateOK { return &DcimDeviceRolesPartialUpdateOK{} } -/* DcimDeviceRolesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceRolesPartialUpdateOK dcim device roles partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceRolesPartialUpdateOK struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles partial update o k response has a 2xx status code +func (o *DcimDeviceRolesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles partial update o k response has a 3xx status code +func (o *DcimDeviceRolesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles partial update o k response has a 4xx status code +func (o *DcimDeviceRolesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles partial update o k response has a 5xx status code +func (o *DcimDeviceRolesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles partial update o k response a status code equal to that given +func (o *DcimDeviceRolesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-roles/{id}/][%d] dcimDeviceRolesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-roles/{id}/][%d] dcimDeviceRolesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesPartialUpdateOK) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_parameters.go index ca5d5b0f7..d395e1069 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceRolesReadParamsWithHTTPClient(client *http.Client) *DcimDevice } } -/* DcimDeviceRolesReadParams contains all the parameters to send to the API endpoint - for the dcim device roles read operation. +/* +DcimDeviceRolesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles read operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_responses.go index af39c6d69..a8e8f78ee 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_read_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesReadOK() *DcimDeviceRolesReadOK { return &DcimDeviceRolesReadOK{} } -/* DcimDeviceRolesReadOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesReadOK describes a response with status code 200, with default header values. DcimDeviceRolesReadOK dcim device roles read o k */ @@ -62,9 +63,39 @@ type DcimDeviceRolesReadOK struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles read o k response has a 2xx status code +func (o *DcimDeviceRolesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles read o k response has a 3xx status code +func (o *DcimDeviceRolesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles read o k response has a 4xx status code +func (o *DcimDeviceRolesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles read o k response has a 5xx status code +func (o *DcimDeviceRolesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles read o k response a status code equal to that given +func (o *DcimDeviceRolesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/device-roles/{id}/][%d] dcimDeviceRolesReadOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/device-roles/{id}/][%d] dcimDeviceRolesReadOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesReadOK) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_parameters.go index 944f1f22d..50991a613 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceRolesUpdateParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceRolesUpdateParams contains all the parameters to send to the API endpoint - for the dcim device roles update operation. +/* +DcimDeviceRolesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device roles update operation. + + Typically these are written to a http.Request. */ type DcimDeviceRolesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_responses.go index 416331980..c2e9b6fbe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_roles_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceRolesUpdateOK() *DcimDeviceRolesUpdateOK { return &DcimDeviceRolesUpdateOK{} } -/* DcimDeviceRolesUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceRolesUpdateOK describes a response with status code 200, with default header values. DcimDeviceRolesUpdateOK dcim device roles update o k */ @@ -62,9 +63,39 @@ type DcimDeviceRolesUpdateOK struct { Payload *models.DeviceRole } +// IsSuccess returns true when this dcim device roles update o k response has a 2xx status code +func (o *DcimDeviceRolesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device roles update o k response has a 3xx status code +func (o *DcimDeviceRolesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device roles update o k response has a 4xx status code +func (o *DcimDeviceRolesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device roles update o k response has a 5xx status code +func (o *DcimDeviceRolesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device roles update o k response a status code equal to that given +func (o *DcimDeviceRolesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceRolesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-roles/{id}/][%d] dcimDeviceRolesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceRolesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-roles/{id}/][%d] dcimDeviceRolesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceRolesUpdateOK) GetPayload() *models.DeviceRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_parameters.go index f9f19030a..4cc42ed39 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimDeviceTypesBulkDeleteParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimDeviceTypesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim device types bulk delete operation. +/* +DcimDeviceTypesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types bulk delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_responses.go index b5e8fd3c4..f5e92feaf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceTypesBulkDeleteNoContent() *DcimDeviceTypesBulkDeleteNoContent return &DcimDeviceTypesBulkDeleteNoContent{} } -/* DcimDeviceTypesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceTypesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceTypesBulkDeleteNoContent dcim device types bulk delete no content */ type DcimDeviceTypesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim device types bulk delete no content response has a 2xx status code +func (o *DcimDeviceTypesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types bulk delete no content response has a 3xx status code +func (o *DcimDeviceTypesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types bulk delete no content response has a 4xx status code +func (o *DcimDeviceTypesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types bulk delete no content response has a 5xx status code +func (o *DcimDeviceTypesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types bulk delete no content response a status code equal to that given +func (o *DcimDeviceTypesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceTypesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-types/][%d] dcimDeviceTypesBulkDeleteNoContent ", 204) } +func (o *DcimDeviceTypesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-types/][%d] dcimDeviceTypesBulkDeleteNoContent ", 204) +} + func (o *DcimDeviceTypesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_parameters.go index 5966d49c2..93e79bed0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceTypesBulkPartialUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimDeviceTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device types bulk partial update operation. +/* +DcimDeviceTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_responses.go index 932184c6c..cf399158f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesBulkPartialUpdateOK() *DcimDeviceTypesBulkPartialUpdateOK return &DcimDeviceTypesBulkPartialUpdateOK{} } -/* DcimDeviceTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceTypesBulkPartialUpdateOK dcim device types bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceTypesBulkPartialUpdateOK struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types bulk partial update o k response has a 2xx status code +func (o *DcimDeviceTypesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types bulk partial update o k response has a 3xx status code +func (o *DcimDeviceTypesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types bulk partial update o k response has a 4xx status code +func (o *DcimDeviceTypesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types bulk partial update o k response has a 5xx status code +func (o *DcimDeviceTypesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types bulk partial update o k response a status code equal to that given +func (o *DcimDeviceTypesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-types/][%d] dcimDeviceTypesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-types/][%d] dcimDeviceTypesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesBulkPartialUpdateOK) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_parameters.go index ba9bdf1b3..91e822d2c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceTypesBulkUpdateParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimDeviceTypesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim device types bulk update operation. +/* +DcimDeviceTypesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types bulk update operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_responses.go index 505f537b9..0d69ec1c3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesBulkUpdateOK() *DcimDeviceTypesBulkUpdateOK { return &DcimDeviceTypesBulkUpdateOK{} } -/* DcimDeviceTypesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesBulkUpdateOK describes a response with status code 200, with default header values. DcimDeviceTypesBulkUpdateOK dcim device types bulk update o k */ @@ -62,9 +63,39 @@ type DcimDeviceTypesBulkUpdateOK struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types bulk update o k response has a 2xx status code +func (o *DcimDeviceTypesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types bulk update o k response has a 3xx status code +func (o *DcimDeviceTypesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types bulk update o k response has a 4xx status code +func (o *DcimDeviceTypesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types bulk update o k response has a 5xx status code +func (o *DcimDeviceTypesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types bulk update o k response a status code equal to that given +func (o *DcimDeviceTypesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-types/][%d] dcimDeviceTypesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-types/][%d] dcimDeviceTypesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesBulkUpdateOK) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_parameters.go index a16ae0149..bd6b3c387 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimDeviceTypesCreateParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceTypesCreateParams contains all the parameters to send to the API endpoint - for the dcim device types create operation. +/* +DcimDeviceTypesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types create operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_responses.go index 1acb84b09..821c88c34 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_create_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesCreateCreated() *DcimDeviceTypesCreateCreated { return &DcimDeviceTypesCreateCreated{} } -/* DcimDeviceTypesCreateCreated describes a response with status code 201, with default header values. +/* +DcimDeviceTypesCreateCreated describes a response with status code 201, with default header values. DcimDeviceTypesCreateCreated dcim device types create created */ @@ -62,9 +63,39 @@ type DcimDeviceTypesCreateCreated struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types create created response has a 2xx status code +func (o *DcimDeviceTypesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types create created response has a 3xx status code +func (o *DcimDeviceTypesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types create created response has a 4xx status code +func (o *DcimDeviceTypesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types create created response has a 5xx status code +func (o *DcimDeviceTypesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types create created response a status code equal to that given +func (o *DcimDeviceTypesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimDeviceTypesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/device-types/][%d] dcimDeviceTypesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimDeviceTypesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/device-types/][%d] dcimDeviceTypesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimDeviceTypesCreateCreated) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_parameters.go index c2be22cd8..5b128de50 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceTypesDeleteParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceTypesDeleteParams contains all the parameters to send to the API endpoint - for the dcim device types delete operation. +/* +DcimDeviceTypesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types delete operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_responses.go index 1f1e01238..ba77fa439 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDeviceTypesDeleteNoContent() *DcimDeviceTypesDeleteNoContent { return &DcimDeviceTypesDeleteNoContent{} } -/* DcimDeviceTypesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDeviceTypesDeleteNoContent describes a response with status code 204, with default header values. DcimDeviceTypesDeleteNoContent dcim device types delete no content */ type DcimDeviceTypesDeleteNoContent struct { } +// IsSuccess returns true when this dcim device types delete no content response has a 2xx status code +func (o *DcimDeviceTypesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types delete no content response has a 3xx status code +func (o *DcimDeviceTypesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types delete no content response has a 4xx status code +func (o *DcimDeviceTypesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types delete no content response has a 5xx status code +func (o *DcimDeviceTypesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types delete no content response a status code equal to that given +func (o *DcimDeviceTypesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDeviceTypesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/device-types/{id}/][%d] dcimDeviceTypesDeleteNoContent ", 204) } +func (o *DcimDeviceTypesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/device-types/{id}/][%d] dcimDeviceTypesDeleteNoContent ", 204) +} + func (o *DcimDeviceTypesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_parameters.go index 2754fe16b..5180823a6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceTypesListParamsWithHTTPClient(client *http.Client) *DcimDevice } } -/* DcimDeviceTypesListParams contains all the parameters to send to the API endpoint - for the dcim device types list operation. +/* +DcimDeviceTypesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types list operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_responses.go index 106f3bf15..b350cdf88 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_list_responses.go @@ -59,7 +59,8 @@ func NewDcimDeviceTypesListOK() *DcimDeviceTypesListOK { return &DcimDeviceTypesListOK{} } -/* DcimDeviceTypesListOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesListOK describes a response with status code 200, with default header values. DcimDeviceTypesListOK dcim device types list o k */ @@ -67,9 +68,39 @@ type DcimDeviceTypesListOK struct { Payload *DcimDeviceTypesListOKBody } +// IsSuccess returns true when this dcim device types list o k response has a 2xx status code +func (o *DcimDeviceTypesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types list o k response has a 3xx status code +func (o *DcimDeviceTypesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types list o k response has a 4xx status code +func (o *DcimDeviceTypesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types list o k response has a 5xx status code +func (o *DcimDeviceTypesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types list o k response a status code equal to that given +func (o *DcimDeviceTypesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesListOK) Error() string { return fmt.Sprintf("[GET /dcim/device-types/][%d] dcimDeviceTypesListOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesListOK) String() string { + return fmt.Sprintf("[GET /dcim/device-types/][%d] dcimDeviceTypesListOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesListOK) GetPayload() *DcimDeviceTypesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimDeviceTypesListOK) readResponse(response runtime.ClientResponse, co return nil } -/*DcimDeviceTypesListOKBody dcim device types list o k body +/* +DcimDeviceTypesListOKBody dcim device types list o k body swagger:model DcimDeviceTypesListOKBody */ type DcimDeviceTypesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_parameters.go index 00b55d3b4..28fe5392b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceTypesPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDeviceTypesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim device types partial update operation. +/* +DcimDeviceTypesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types partial update operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_responses.go index e50dc5678..f3b0f0b56 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesPartialUpdateOK() *DcimDeviceTypesPartialUpdateOK { return &DcimDeviceTypesPartialUpdateOK{} } -/* DcimDeviceTypesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesPartialUpdateOK describes a response with status code 200, with default header values. DcimDeviceTypesPartialUpdateOK dcim device types partial update o k */ @@ -62,9 +63,39 @@ type DcimDeviceTypesPartialUpdateOK struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types partial update o k response has a 2xx status code +func (o *DcimDeviceTypesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types partial update o k response has a 3xx status code +func (o *DcimDeviceTypesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types partial update o k response has a 4xx status code +func (o *DcimDeviceTypesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types partial update o k response has a 5xx status code +func (o *DcimDeviceTypesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types partial update o k response a status code equal to that given +func (o *DcimDeviceTypesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/device-types/{id}/][%d] dcimDeviceTypesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/device-types/{id}/][%d] dcimDeviceTypesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesPartialUpdateOK) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_parameters.go index 6e34da125..fc076869d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimDeviceTypesReadParamsWithHTTPClient(client *http.Client) *DcimDevice } } -/* DcimDeviceTypesReadParams contains all the parameters to send to the API endpoint - for the dcim device types read operation. +/* +DcimDeviceTypesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types read operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_responses.go index a4b9750c1..07a7eba60 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_read_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesReadOK() *DcimDeviceTypesReadOK { return &DcimDeviceTypesReadOK{} } -/* DcimDeviceTypesReadOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesReadOK describes a response with status code 200, with default header values. DcimDeviceTypesReadOK dcim device types read o k */ @@ -62,9 +63,39 @@ type DcimDeviceTypesReadOK struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types read o k response has a 2xx status code +func (o *DcimDeviceTypesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types read o k response has a 3xx status code +func (o *DcimDeviceTypesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types read o k response has a 4xx status code +func (o *DcimDeviceTypesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types read o k response has a 5xx status code +func (o *DcimDeviceTypesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types read o k response a status code equal to that given +func (o *DcimDeviceTypesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/device-types/{id}/][%d] dcimDeviceTypesReadOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/device-types/{id}/][%d] dcimDeviceTypesReadOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesReadOK) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_parameters.go index 9ed9dc46d..31dfd2581 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDeviceTypesUpdateParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDeviceTypesUpdateParams contains all the parameters to send to the API endpoint - for the dcim device types update operation. +/* +DcimDeviceTypesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim device types update operation. + + Typically these are written to a http.Request. */ type DcimDeviceTypesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_responses.go index 2d6a47a0d..adc408733 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_device_types_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDeviceTypesUpdateOK() *DcimDeviceTypesUpdateOK { return &DcimDeviceTypesUpdateOK{} } -/* DcimDeviceTypesUpdateOK describes a response with status code 200, with default header values. +/* +DcimDeviceTypesUpdateOK describes a response with status code 200, with default header values. DcimDeviceTypesUpdateOK dcim device types update o k */ @@ -62,9 +63,39 @@ type DcimDeviceTypesUpdateOK struct { Payload *models.DeviceType } +// IsSuccess returns true when this dcim device types update o k response has a 2xx status code +func (o *DcimDeviceTypesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim device types update o k response has a 3xx status code +func (o *DcimDeviceTypesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim device types update o k response has a 4xx status code +func (o *DcimDeviceTypesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim device types update o k response has a 5xx status code +func (o *DcimDeviceTypesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim device types update o k response a status code equal to that given +func (o *DcimDeviceTypesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDeviceTypesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/device-types/{id}/][%d] dcimDeviceTypesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDeviceTypesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/device-types/{id}/][%d] dcimDeviceTypesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDeviceTypesUpdateOK) GetPayload() *models.DeviceType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_parameters.go index c83eecd4b..b6912c91a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimDevicesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDevicesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim devices bulk delete operation. +/* +DcimDevicesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices bulk delete operation. + + Typically these are written to a http.Request. */ type DcimDevicesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_responses.go index 4d620d637..012c8157a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDevicesBulkDeleteNoContent() *DcimDevicesBulkDeleteNoContent { return &DcimDevicesBulkDeleteNoContent{} } -/* DcimDevicesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDevicesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimDevicesBulkDeleteNoContent dcim devices bulk delete no content */ type DcimDevicesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim devices bulk delete no content response has a 2xx status code +func (o *DcimDevicesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices bulk delete no content response has a 3xx status code +func (o *DcimDevicesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices bulk delete no content response has a 4xx status code +func (o *DcimDevicesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices bulk delete no content response has a 5xx status code +func (o *DcimDevicesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices bulk delete no content response a status code equal to that given +func (o *DcimDevicesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDevicesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/devices/][%d] dcimDevicesBulkDeleteNoContent ", 204) } +func (o *DcimDevicesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/devices/][%d] dcimDevicesBulkDeleteNoContent ", 204) +} + func (o *DcimDevicesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_parameters.go index cf66194c2..e579c6507 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDevicesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimDevicesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim devices bulk partial update operation. +/* +DcimDevicesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimDevicesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_responses.go index 3ff2a41cc..13a44a1f8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesBulkPartialUpdateOK() *DcimDevicesBulkPartialUpdateOK { return &DcimDevicesBulkPartialUpdateOK{} } -/* DcimDevicesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDevicesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimDevicesBulkPartialUpdateOK dcim devices bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimDevicesBulkPartialUpdateOK struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices bulk partial update o k response has a 2xx status code +func (o *DcimDevicesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices bulk partial update o k response has a 3xx status code +func (o *DcimDevicesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices bulk partial update o k response has a 4xx status code +func (o *DcimDevicesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices bulk partial update o k response has a 5xx status code +func (o *DcimDevicesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices bulk partial update o k response a status code equal to that given +func (o *DcimDevicesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/devices/][%d] dcimDevicesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDevicesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/devices/][%d] dcimDevicesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDevicesBulkPartialUpdateOK) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_parameters.go index d65372116..fced110da 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimDevicesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimDevi } } -/* DcimDevicesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim devices bulk update operation. +/* +DcimDevicesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices bulk update operation. + + Typically these are written to a http.Request. */ type DcimDevicesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_responses.go index ab91d4730..1d5182d06 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesBulkUpdateOK() *DcimDevicesBulkUpdateOK { return &DcimDevicesBulkUpdateOK{} } -/* DcimDevicesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimDevicesBulkUpdateOK describes a response with status code 200, with default header values. DcimDevicesBulkUpdateOK dcim devices bulk update o k */ @@ -62,9 +63,39 @@ type DcimDevicesBulkUpdateOK struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices bulk update o k response has a 2xx status code +func (o *DcimDevicesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices bulk update o k response has a 3xx status code +func (o *DcimDevicesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices bulk update o k response has a 4xx status code +func (o *DcimDevicesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices bulk update o k response has a 5xx status code +func (o *DcimDevicesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices bulk update o k response a status code equal to that given +func (o *DcimDevicesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/devices/][%d] dcimDevicesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDevicesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/devices/][%d] dcimDevicesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDevicesBulkUpdateOK) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_parameters.go index 478898da4..bc6d39d2c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimDevicesCreateParamsWithHTTPClient(client *http.Client) *DcimDevicesC } } -/* DcimDevicesCreateParams contains all the parameters to send to the API endpoint - for the dcim devices create operation. +/* +DcimDevicesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices create operation. + + Typically these are written to a http.Request. */ type DcimDevicesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_responses.go index ae263addb..293c10903 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_create_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesCreateCreated() *DcimDevicesCreateCreated { return &DcimDevicesCreateCreated{} } -/* DcimDevicesCreateCreated describes a response with status code 201, with default header values. +/* +DcimDevicesCreateCreated describes a response with status code 201, with default header values. DcimDevicesCreateCreated dcim devices create created */ @@ -62,9 +63,39 @@ type DcimDevicesCreateCreated struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices create created response has a 2xx status code +func (o *DcimDevicesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices create created response has a 3xx status code +func (o *DcimDevicesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices create created response has a 4xx status code +func (o *DcimDevicesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices create created response has a 5xx status code +func (o *DcimDevicesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices create created response a status code equal to that given +func (o *DcimDevicesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimDevicesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/devices/][%d] dcimDevicesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimDevicesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/devices/][%d] dcimDevicesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimDevicesCreateCreated) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_parameters.go index 3b2e21f87..de84cb1e2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimDevicesDeleteParamsWithHTTPClient(client *http.Client) *DcimDevicesD } } -/* DcimDevicesDeleteParams contains all the parameters to send to the API endpoint - for the dcim devices delete operation. +/* +DcimDevicesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices delete operation. + + Typically these are written to a http.Request. */ type DcimDevicesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_responses.go index 711288f3c..580a8e469 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimDevicesDeleteNoContent() *DcimDevicesDeleteNoContent { return &DcimDevicesDeleteNoContent{} } -/* DcimDevicesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimDevicesDeleteNoContent describes a response with status code 204, with default header values. DcimDevicesDeleteNoContent dcim devices delete no content */ type DcimDevicesDeleteNoContent struct { } +// IsSuccess returns true when this dcim devices delete no content response has a 2xx status code +func (o *DcimDevicesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices delete no content response has a 3xx status code +func (o *DcimDevicesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices delete no content response has a 4xx status code +func (o *DcimDevicesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices delete no content response has a 5xx status code +func (o *DcimDevicesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices delete no content response a status code equal to that given +func (o *DcimDevicesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimDevicesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/devices/{id}/][%d] dcimDevicesDeleteNoContent ", 204) } +func (o *DcimDevicesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/devices/{id}/][%d] dcimDevicesDeleteNoContent ", 204) +} + func (o *DcimDevicesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_parameters.go index d9dc41b5b..f60092314 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimDevicesListParamsWithHTTPClient(client *http.Client) *DcimDevicesLis } } -/* DcimDevicesListParams contains all the parameters to send to the API endpoint - for the dcim devices list operation. +/* +DcimDevicesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices list operation. + + Typically these are written to a http.Request. */ type DcimDevicesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_responses.go index d9059fcbf..7ff466e1b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_list_responses.go @@ -59,7 +59,8 @@ func NewDcimDevicesListOK() *DcimDevicesListOK { return &DcimDevicesListOK{} } -/* DcimDevicesListOK describes a response with status code 200, with default header values. +/* +DcimDevicesListOK describes a response with status code 200, with default header values. DcimDevicesListOK dcim devices list o k */ @@ -67,9 +68,39 @@ type DcimDevicesListOK struct { Payload *DcimDevicesListOKBody } +// IsSuccess returns true when this dcim devices list o k response has a 2xx status code +func (o *DcimDevicesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices list o k response has a 3xx status code +func (o *DcimDevicesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices list o k response has a 4xx status code +func (o *DcimDevicesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices list o k response has a 5xx status code +func (o *DcimDevicesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices list o k response a status code equal to that given +func (o *DcimDevicesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesListOK) Error() string { return fmt.Sprintf("[GET /dcim/devices/][%d] dcimDevicesListOK %+v", 200, o.Payload) } + +func (o *DcimDevicesListOK) String() string { + return fmt.Sprintf("[GET /dcim/devices/][%d] dcimDevicesListOK %+v", 200, o.Payload) +} + func (o *DcimDevicesListOK) GetPayload() *DcimDevicesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimDevicesListOK) readResponse(response runtime.ClientResponse, consum return nil } -/*DcimDevicesListOKBody dcim devices list o k body +/* +DcimDevicesListOKBody dcim devices list o k body swagger:model DcimDevicesListOKBody */ type DcimDevicesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_parameters.go index 472cb4517..4a6224f6e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_parameters.go @@ -68,10 +68,12 @@ func NewDcimDevicesNapalmParamsWithHTTPClient(client *http.Client) *DcimDevicesN } } -/* DcimDevicesNapalmParams contains all the parameters to send to the API endpoint - for the dcim devices napalm operation. +/* +DcimDevicesNapalmParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices napalm operation. + + Typically these are written to a http.Request. */ type DcimDevicesNapalmParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_responses.go index 96fcc06c7..c502b2eb4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_napalm_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesNapalmOK() *DcimDevicesNapalmOK { return &DcimDevicesNapalmOK{} } -/* DcimDevicesNapalmOK describes a response with status code 200, with default header values. +/* +DcimDevicesNapalmOK describes a response with status code 200, with default header values. DcimDevicesNapalmOK dcim devices napalm o k */ @@ -62,9 +63,39 @@ type DcimDevicesNapalmOK struct { Payload *models.DeviceNAPALM } +// IsSuccess returns true when this dcim devices napalm o k response has a 2xx status code +func (o *DcimDevicesNapalmOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices napalm o k response has a 3xx status code +func (o *DcimDevicesNapalmOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices napalm o k response has a 4xx status code +func (o *DcimDevicesNapalmOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices napalm o k response has a 5xx status code +func (o *DcimDevicesNapalmOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices napalm o k response a status code equal to that given +func (o *DcimDevicesNapalmOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesNapalmOK) Error() string { return fmt.Sprintf("[GET /dcim/devices/{id}/napalm/][%d] dcimDevicesNapalmOK %+v", 200, o.Payload) } + +func (o *DcimDevicesNapalmOK) String() string { + return fmt.Sprintf("[GET /dcim/devices/{id}/napalm/][%d] dcimDevicesNapalmOK %+v", 200, o.Payload) +} + func (o *DcimDevicesNapalmOK) GetPayload() *models.DeviceNAPALM { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_parameters.go index 238034f3c..be81dfe36 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDevicesPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimD } } -/* DcimDevicesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim devices partial update operation. +/* +DcimDevicesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices partial update operation. + + Typically these are written to a http.Request. */ type DcimDevicesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_responses.go index ff8315339..1491373be 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesPartialUpdateOK() *DcimDevicesPartialUpdateOK { return &DcimDevicesPartialUpdateOK{} } -/* DcimDevicesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimDevicesPartialUpdateOK describes a response with status code 200, with default header values. DcimDevicesPartialUpdateOK dcim devices partial update o k */ @@ -62,9 +63,39 @@ type DcimDevicesPartialUpdateOK struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices partial update o k response has a 2xx status code +func (o *DcimDevicesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices partial update o k response has a 3xx status code +func (o *DcimDevicesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices partial update o k response has a 4xx status code +func (o *DcimDevicesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices partial update o k response has a 5xx status code +func (o *DcimDevicesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices partial update o k response a status code equal to that given +func (o *DcimDevicesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/devices/{id}/][%d] dcimDevicesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDevicesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/devices/{id}/][%d] dcimDevicesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDevicesPartialUpdateOK) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_parameters.go index bf60f4b28..f307c2b43 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimDevicesReadParamsWithHTTPClient(client *http.Client) *DcimDevicesRea } } -/* DcimDevicesReadParams contains all the parameters to send to the API endpoint - for the dcim devices read operation. +/* +DcimDevicesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices read operation. + + Typically these are written to a http.Request. */ type DcimDevicesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_responses.go index f346127d1..5fa9d8647 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_read_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesReadOK() *DcimDevicesReadOK { return &DcimDevicesReadOK{} } -/* DcimDevicesReadOK describes a response with status code 200, with default header values. +/* +DcimDevicesReadOK describes a response with status code 200, with default header values. DcimDevicesReadOK dcim devices read o k */ @@ -62,9 +63,39 @@ type DcimDevicesReadOK struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices read o k response has a 2xx status code +func (o *DcimDevicesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices read o k response has a 3xx status code +func (o *DcimDevicesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices read o k response has a 4xx status code +func (o *DcimDevicesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices read o k response has a 5xx status code +func (o *DcimDevicesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices read o k response a status code equal to that given +func (o *DcimDevicesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/devices/{id}/][%d] dcimDevicesReadOK %+v", 200, o.Payload) } + +func (o *DcimDevicesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/devices/{id}/][%d] dcimDevicesReadOK %+v", 200, o.Payload) +} + func (o *DcimDevicesReadOK) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_parameters.go index e1e14a461..ef566deb3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimDevicesUpdateParamsWithHTTPClient(client *http.Client) *DcimDevicesU } } -/* DcimDevicesUpdateParams contains all the parameters to send to the API endpoint - for the dcim devices update operation. +/* +DcimDevicesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim devices update operation. + + Typically these are written to a http.Request. */ type DcimDevicesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_responses.go index 4b94c354b..1cfc75ef6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_devices_update_responses.go @@ -54,7 +54,8 @@ func NewDcimDevicesUpdateOK() *DcimDevicesUpdateOK { return &DcimDevicesUpdateOK{} } -/* DcimDevicesUpdateOK describes a response with status code 200, with default header values. +/* +DcimDevicesUpdateOK describes a response with status code 200, with default header values. DcimDevicesUpdateOK dcim devices update o k */ @@ -62,9 +63,39 @@ type DcimDevicesUpdateOK struct { Payload *models.DeviceWithConfigContext } +// IsSuccess returns true when this dcim devices update o k response has a 2xx status code +func (o *DcimDevicesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim devices update o k response has a 3xx status code +func (o *DcimDevicesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim devices update o k response has a 4xx status code +func (o *DcimDevicesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim devices update o k response has a 5xx status code +func (o *DcimDevicesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim devices update o k response a status code equal to that given +func (o *DcimDevicesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimDevicesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/devices/{id}/][%d] dcimDevicesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimDevicesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/devices/{id}/][%d] dcimDevicesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimDevicesUpdateOK) GetPayload() *models.DeviceWithConfigContext { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_parameters.go index a8c18d990..35f53b0fd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimFrontPortTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimFrontPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim front port templates bulk delete operation. +/* +DcimFrontPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_responses.go index faacb830a..b01b7f283 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimFrontPortTemplatesBulkDeleteNoContent() *DcimFrontPortTemplatesBulkD return &DcimFrontPortTemplatesBulkDeleteNoContent{} } -/* DcimFrontPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimFrontPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimFrontPortTemplatesBulkDeleteNoContent dcim front port templates bulk delete no content */ type DcimFrontPortTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim front port templates bulk delete no content response has a 2xx status code +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates bulk delete no content response has a 3xx status code +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates bulk delete no content response has a 4xx status code +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates bulk delete no content response has a 5xx status code +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates bulk delete no content response a status code equal to that given +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimFrontPortTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimFrontPortTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimFrontPortTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_parameters.go index 88fa28b6e..615ccaa70 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimFrontPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim front port templates bulk partial update operation. +/* +DcimFrontPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_responses.go index 8ce4b619c..1e3debd77 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesBulkPartialUpdateOK() *DcimFrontPortTemplatesBulkP return &DcimFrontPortTemplatesBulkPartialUpdateOK{} } -/* DcimFrontPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesBulkPartialUpdateOK dcim front port templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesBulkPartialUpdateOK struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates bulk partial update o k response has a 2xx status code +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates bulk partial update o k response has a 3xx status code +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates bulk partial update o k response has a 4xx status code +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates bulk partial update o k response has a 5xx status code +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates bulk partial update o k response a status code equal to that given +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesBulkPartialUpdateOK) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_parameters.go index d2f6ff810..4f4e7c1ba 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimFrontPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim front port templates bulk update operation. +/* +DcimFrontPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_responses.go index 9ce9899ba..c9fcca467 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesBulkUpdateOK() *DcimFrontPortTemplatesBulkUpdateOK return &DcimFrontPortTemplatesBulkUpdateOK{} } -/* DcimFrontPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesBulkUpdateOK dcim front port templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesBulkUpdateOK struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates bulk update o k response has a 2xx status code +func (o *DcimFrontPortTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates bulk update o k response has a 3xx status code +func (o *DcimFrontPortTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates bulk update o k response has a 4xx status code +func (o *DcimFrontPortTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates bulk update o k response has a 5xx status code +func (o *DcimFrontPortTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates bulk update o k response a status code equal to that given +func (o *DcimFrontPortTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/front-port-templates/][%d] dcimFrontPortTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesBulkUpdateOK) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_parameters.go index 35944cb74..0ab36ff7f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortTemplatesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimFrontPortTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim front port templates create operation. +/* +DcimFrontPortTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates create operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_responses.go index 92922af21..768be6d69 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesCreateCreated() *DcimFrontPortTemplatesCreateCreat return &DcimFrontPortTemplatesCreateCreated{} } -/* DcimFrontPortTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimFrontPortTemplatesCreateCreated describes a response with status code 201, with default header values. DcimFrontPortTemplatesCreateCreated dcim front port templates create created */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesCreateCreated struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates create created response has a 2xx status code +func (o *DcimFrontPortTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates create created response has a 3xx status code +func (o *DcimFrontPortTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates create created response has a 4xx status code +func (o *DcimFrontPortTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates create created response has a 5xx status code +func (o *DcimFrontPortTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates create created response a status code equal to that given +func (o *DcimFrontPortTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimFrontPortTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/front-port-templates/][%d] dcimFrontPortTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimFrontPortTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/front-port-templates/][%d] dcimFrontPortTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimFrontPortTemplatesCreateCreated) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_parameters.go index ca137aa06..66372cafd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortTemplatesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimFrontPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim front port templates delete operation. +/* +DcimFrontPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates delete operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_responses.go index 9739be437..91ef3d8b4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimFrontPortTemplatesDeleteNoContent() *DcimFrontPortTemplatesDeleteNoC return &DcimFrontPortTemplatesDeleteNoContent{} } -/* DcimFrontPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimFrontPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimFrontPortTemplatesDeleteNoContent dcim front port templates delete no content */ type DcimFrontPortTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim front port templates delete no content response has a 2xx status code +func (o *DcimFrontPortTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates delete no content response has a 3xx status code +func (o *DcimFrontPortTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates delete no content response has a 4xx status code +func (o *DcimFrontPortTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates delete no content response has a 5xx status code +func (o *DcimFrontPortTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates delete no content response a status code equal to that given +func (o *DcimFrontPortTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimFrontPortTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesDeleteNoContent ", 204) } +func (o *DcimFrontPortTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesDeleteNoContent ", 204) +} + func (o *DcimFrontPortTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_parameters.go index faaede44f..08aa5c21f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortTemplatesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimFrontPortTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim front port templates list operation. +/* +DcimFrontPortTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates list operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_responses.go index 4812ec887..8ae376285 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimFrontPortTemplatesListOK() *DcimFrontPortTemplatesListOK { return &DcimFrontPortTemplatesListOK{} } -/* DcimFrontPortTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesListOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesListOK dcim front port templates list o k */ @@ -67,9 +68,39 @@ type DcimFrontPortTemplatesListOK struct { Payload *DcimFrontPortTemplatesListOKBody } +// IsSuccess returns true when this dcim front port templates list o k response has a 2xx status code +func (o *DcimFrontPortTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates list o k response has a 3xx status code +func (o *DcimFrontPortTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates list o k response has a 4xx status code +func (o *DcimFrontPortTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates list o k response has a 5xx status code +func (o *DcimFrontPortTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates list o k response a status code equal to that given +func (o *DcimFrontPortTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/front-port-templates/][%d] dcimFrontPortTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/front-port-templates/][%d] dcimFrontPortTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesListOK) GetPayload() *DcimFrontPortTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimFrontPortTemplatesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimFrontPortTemplatesListOKBody dcim front port templates list o k body +/* +DcimFrontPortTemplatesListOKBody dcim front port templates list o k body swagger:model DcimFrontPortTemplatesListOKBody */ type DcimFrontPortTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_parameters.go index 427962282..d1e6c7973 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimFrontPortTemplatesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimFrontPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim front port templates partial update operation. +/* +DcimFrontPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates partial update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_responses.go index 756ba197a..0ec7582a3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesPartialUpdateOK() *DcimFrontPortTemplatesPartialUp return &DcimFrontPortTemplatesPartialUpdateOK{} } -/* DcimFrontPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesPartialUpdateOK dcim front port templates partial update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesPartialUpdateOK struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates partial update o k response has a 2xx status code +func (o *DcimFrontPortTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates partial update o k response has a 3xx status code +func (o *DcimFrontPortTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates partial update o k response has a 4xx status code +func (o *DcimFrontPortTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates partial update o k response has a 5xx status code +func (o *DcimFrontPortTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates partial update o k response a status code equal to that given +func (o *DcimFrontPortTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesPartialUpdateOK) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_parameters.go index a81cfee8c..b8edc087a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortTemplatesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimFrontPortTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim front port templates read operation. +/* +DcimFrontPortTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates read operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_responses.go index e6463dcbd..6a37d74c4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesReadOK() *DcimFrontPortTemplatesReadOK { return &DcimFrontPortTemplatesReadOK{} } -/* DcimFrontPortTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesReadOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesReadOK dcim front port templates read o k */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesReadOK struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates read o k response has a 2xx status code +func (o *DcimFrontPortTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates read o k response has a 3xx status code +func (o *DcimFrontPortTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates read o k response has a 4xx status code +func (o *DcimFrontPortTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates read o k response has a 5xx status code +func (o *DcimFrontPortTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates read o k response a status code equal to that given +func (o *DcimFrontPortTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesReadOK) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_parameters.go index ceb737012..fd0c89057 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimFrontPortTemplatesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimFrontPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim front port templates update operation. +/* +DcimFrontPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front port templates update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_responses.go index 1b1213d5e..c6bbf8e96 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_port_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortTemplatesUpdateOK() *DcimFrontPortTemplatesUpdateOK { return &DcimFrontPortTemplatesUpdateOK{} } -/* DcimFrontPortTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortTemplatesUpdateOK describes a response with status code 200, with default header values. DcimFrontPortTemplatesUpdateOK dcim front port templates update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortTemplatesUpdateOK struct { Payload *models.FrontPortTemplate } +// IsSuccess returns true when this dcim front port templates update o k response has a 2xx status code +func (o *DcimFrontPortTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front port templates update o k response has a 3xx status code +func (o *DcimFrontPortTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front port templates update o k response has a 4xx status code +func (o *DcimFrontPortTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front port templates update o k response has a 5xx status code +func (o *DcimFrontPortTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front port templates update o k response a status code equal to that given +func (o *DcimFrontPortTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/front-port-templates/{id}/][%d] dcimFrontPortTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortTemplatesUpdateOK) GetPayload() *models.FrontPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_parameters.go index 01e202173..8a3cf8451 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimFrontPortsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimF } } -/* DcimFrontPortsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim front ports bulk delete operation. +/* +DcimFrontPortsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports bulk delete operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_responses.go index 224c194fb..d6dcd9a1c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimFrontPortsBulkDeleteNoContent() *DcimFrontPortsBulkDeleteNoContent { return &DcimFrontPortsBulkDeleteNoContent{} } -/* DcimFrontPortsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimFrontPortsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimFrontPortsBulkDeleteNoContent dcim front ports bulk delete no content */ type DcimFrontPortsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim front ports bulk delete no content response has a 2xx status code +func (o *DcimFrontPortsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports bulk delete no content response has a 3xx status code +func (o *DcimFrontPortsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports bulk delete no content response has a 4xx status code +func (o *DcimFrontPortsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports bulk delete no content response has a 5xx status code +func (o *DcimFrontPortsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports bulk delete no content response a status code equal to that given +func (o *DcimFrontPortsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimFrontPortsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/front-ports/][%d] dcimFrontPortsBulkDeleteNoContent ", 204) } +func (o *DcimFrontPortsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/front-ports/][%d] dcimFrontPortsBulkDeleteNoContent ", 204) +} + func (o *DcimFrontPortsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_parameters.go index 3d5ccdaf6..ce1c0c4d2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimFrontPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim front ports bulk partial update operation. +/* +DcimFrontPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_responses.go index d4f399d46..510b6ea5e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsBulkPartialUpdateOK() *DcimFrontPortsBulkPartialUpdateOK { return &DcimFrontPortsBulkPartialUpdateOK{} } -/* DcimFrontPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimFrontPortsBulkPartialUpdateOK dcim front ports bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsBulkPartialUpdateOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports bulk partial update o k response has a 2xx status code +func (o *DcimFrontPortsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports bulk partial update o k response has a 3xx status code +func (o *DcimFrontPortsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports bulk partial update o k response has a 4xx status code +func (o *DcimFrontPortsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports bulk partial update o k response has a 5xx status code +func (o *DcimFrontPortsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports bulk partial update o k response a status code equal to that given +func (o *DcimFrontPortsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/front-ports/][%d] dcimFrontPortsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/front-ports/][%d] dcimFrontPortsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsBulkPartialUpdateOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_parameters.go index 4a1afa428..4b409cf3b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimF } } -/* DcimFrontPortsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim front ports bulk update operation. +/* +DcimFrontPortsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports bulk update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_responses.go index bdc8c05d1..f54310a2e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsBulkUpdateOK() *DcimFrontPortsBulkUpdateOK { return &DcimFrontPortsBulkUpdateOK{} } -/* DcimFrontPortsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsBulkUpdateOK describes a response with status code 200, with default header values. DcimFrontPortsBulkUpdateOK dcim front ports bulk update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsBulkUpdateOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports bulk update o k response has a 2xx status code +func (o *DcimFrontPortsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports bulk update o k response has a 3xx status code +func (o *DcimFrontPortsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports bulk update o k response has a 4xx status code +func (o *DcimFrontPortsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports bulk update o k response has a 5xx status code +func (o *DcimFrontPortsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports bulk update o k response a status code equal to that given +func (o *DcimFrontPortsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/front-ports/][%d] dcimFrontPortsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/front-ports/][%d] dcimFrontPortsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsBulkUpdateOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_parameters.go index 50fca70b8..03540d53f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimFrontPortsCreateParamsWithHTTPClient(client *http.Client) *DcimFront } } -/* DcimFrontPortsCreateParams contains all the parameters to send to the API endpoint - for the dcim front ports create operation. +/* +DcimFrontPortsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports create operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_responses.go index 6995f17cb..ae6d1a167 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_create_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsCreateCreated() *DcimFrontPortsCreateCreated { return &DcimFrontPortsCreateCreated{} } -/* DcimFrontPortsCreateCreated describes a response with status code 201, with default header values. +/* +DcimFrontPortsCreateCreated describes a response with status code 201, with default header values. DcimFrontPortsCreateCreated dcim front ports create created */ @@ -62,9 +63,39 @@ type DcimFrontPortsCreateCreated struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports create created response has a 2xx status code +func (o *DcimFrontPortsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports create created response has a 3xx status code +func (o *DcimFrontPortsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports create created response has a 4xx status code +func (o *DcimFrontPortsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports create created response has a 5xx status code +func (o *DcimFrontPortsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports create created response a status code equal to that given +func (o *DcimFrontPortsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimFrontPortsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/front-ports/][%d] dcimFrontPortsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimFrontPortsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/front-ports/][%d] dcimFrontPortsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimFrontPortsCreateCreated) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_parameters.go index 1334e4643..44c8ccf5e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortsDeleteParamsWithHTTPClient(client *http.Client) *DcimFront } } -/* DcimFrontPortsDeleteParams contains all the parameters to send to the API endpoint - for the dcim front ports delete operation. +/* +DcimFrontPortsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports delete operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_responses.go index fe74806ee..7e9da423f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimFrontPortsDeleteNoContent() *DcimFrontPortsDeleteNoContent { return &DcimFrontPortsDeleteNoContent{} } -/* DcimFrontPortsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimFrontPortsDeleteNoContent describes a response with status code 204, with default header values. DcimFrontPortsDeleteNoContent dcim front ports delete no content */ type DcimFrontPortsDeleteNoContent struct { } +// IsSuccess returns true when this dcim front ports delete no content response has a 2xx status code +func (o *DcimFrontPortsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports delete no content response has a 3xx status code +func (o *DcimFrontPortsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports delete no content response has a 4xx status code +func (o *DcimFrontPortsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports delete no content response has a 5xx status code +func (o *DcimFrontPortsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports delete no content response a status code equal to that given +func (o *DcimFrontPortsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimFrontPortsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/front-ports/{id}/][%d] dcimFrontPortsDeleteNoContent ", 204) } +func (o *DcimFrontPortsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/front-ports/{id}/][%d] dcimFrontPortsDeleteNoContent ", 204) +} + func (o *DcimFrontPortsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_parameters.go index 6cffd1b43..c650a9e97 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortsListParamsWithHTTPClient(client *http.Client) *DcimFrontPo } } -/* DcimFrontPortsListParams contains all the parameters to send to the API endpoint - for the dcim front ports list operation. +/* +DcimFrontPortsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports list operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_responses.go index 19129fe1e..eb016a3d3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_list_responses.go @@ -59,7 +59,8 @@ func NewDcimFrontPortsListOK() *DcimFrontPortsListOK { return &DcimFrontPortsListOK{} } -/* DcimFrontPortsListOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsListOK describes a response with status code 200, with default header values. DcimFrontPortsListOK dcim front ports list o k */ @@ -67,9 +68,39 @@ type DcimFrontPortsListOK struct { Payload *DcimFrontPortsListOKBody } +// IsSuccess returns true when this dcim front ports list o k response has a 2xx status code +func (o *DcimFrontPortsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports list o k response has a 3xx status code +func (o *DcimFrontPortsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports list o k response has a 4xx status code +func (o *DcimFrontPortsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports list o k response has a 5xx status code +func (o *DcimFrontPortsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports list o k response a status code equal to that given +func (o *DcimFrontPortsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsListOK) Error() string { return fmt.Sprintf("[GET /dcim/front-ports/][%d] dcimFrontPortsListOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsListOK) String() string { + return fmt.Sprintf("[GET /dcim/front-ports/][%d] dcimFrontPortsListOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsListOK) GetPayload() *DcimFrontPortsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimFrontPortsListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimFrontPortsListOKBody dcim front ports list o k body +/* +DcimFrontPortsListOKBody dcim front ports list o k body swagger:model DcimFrontPortsListOKBody */ type DcimFrontPortsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_parameters.go index ef1589d80..c2ec088bf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimFrontPortsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimFrontPortsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim front ports partial update operation. +/* +DcimFrontPortsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports partial update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_responses.go index c25454f91..508aebe4e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsPartialUpdateOK() *DcimFrontPortsPartialUpdateOK { return &DcimFrontPortsPartialUpdateOK{} } -/* DcimFrontPortsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsPartialUpdateOK describes a response with status code 200, with default header values. DcimFrontPortsPartialUpdateOK dcim front ports partial update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsPartialUpdateOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports partial update o k response has a 2xx status code +func (o *DcimFrontPortsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports partial update o k response has a 3xx status code +func (o *DcimFrontPortsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports partial update o k response has a 4xx status code +func (o *DcimFrontPortsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports partial update o k response has a 5xx status code +func (o *DcimFrontPortsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports partial update o k response a status code equal to that given +func (o *DcimFrontPortsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/front-ports/{id}/][%d] dcimFrontPortsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/front-ports/{id}/][%d] dcimFrontPortsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsPartialUpdateOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_parameters.go index a19c40e0b..908a0119e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortsPathsParamsWithHTTPClient(client *http.Client) *DcimFrontP } } -/* DcimFrontPortsPathsParams contains all the parameters to send to the API endpoint - for the dcim front ports paths operation. +/* +DcimFrontPortsPathsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports paths operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsPathsParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_responses.go index be00be7b2..a15ae9ddd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_paths_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsPathsOK() *DcimFrontPortsPathsOK { return &DcimFrontPortsPathsOK{} } -/* DcimFrontPortsPathsOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsPathsOK describes a response with status code 200, with default header values. DcimFrontPortsPathsOK dcim front ports paths o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsPathsOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports paths o k response has a 2xx status code +func (o *DcimFrontPortsPathsOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports paths o k response has a 3xx status code +func (o *DcimFrontPortsPathsOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports paths o k response has a 4xx status code +func (o *DcimFrontPortsPathsOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports paths o k response has a 5xx status code +func (o *DcimFrontPortsPathsOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports paths o k response a status code equal to that given +func (o *DcimFrontPortsPathsOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsPathsOK) Error() string { return fmt.Sprintf("[GET /dcim/front-ports/{id}/paths/][%d] dcimFrontPortsPathsOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsPathsOK) String() string { + return fmt.Sprintf("[GET /dcim/front-ports/{id}/paths/][%d] dcimFrontPortsPathsOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsPathsOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_parameters.go index 6c19274ee..32c1a7404 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimFrontPortsReadParamsWithHTTPClient(client *http.Client) *DcimFrontPo } } -/* DcimFrontPortsReadParams contains all the parameters to send to the API endpoint - for the dcim front ports read operation. +/* +DcimFrontPortsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports read operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_responses.go index 25490212b..8c1017bb7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_read_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsReadOK() *DcimFrontPortsReadOK { return &DcimFrontPortsReadOK{} } -/* DcimFrontPortsReadOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsReadOK describes a response with status code 200, with default header values. DcimFrontPortsReadOK dcim front ports read o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsReadOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports read o k response has a 2xx status code +func (o *DcimFrontPortsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports read o k response has a 3xx status code +func (o *DcimFrontPortsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports read o k response has a 4xx status code +func (o *DcimFrontPortsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports read o k response has a 5xx status code +func (o *DcimFrontPortsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports read o k response a status code equal to that given +func (o *DcimFrontPortsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/front-ports/{id}/][%d] dcimFrontPortsReadOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/front-ports/{id}/][%d] dcimFrontPortsReadOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsReadOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_parameters.go index d18c77794..fd652edce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimFrontPortsUpdateParamsWithHTTPClient(client *http.Client) *DcimFront } } -/* DcimFrontPortsUpdateParams contains all the parameters to send to the API endpoint - for the dcim front ports update operation. +/* +DcimFrontPortsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim front ports update operation. + + Typically these are written to a http.Request. */ type DcimFrontPortsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_responses.go index 2a97fdee8..70967bf16 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_front_ports_update_responses.go @@ -54,7 +54,8 @@ func NewDcimFrontPortsUpdateOK() *DcimFrontPortsUpdateOK { return &DcimFrontPortsUpdateOK{} } -/* DcimFrontPortsUpdateOK describes a response with status code 200, with default header values. +/* +DcimFrontPortsUpdateOK describes a response with status code 200, with default header values. DcimFrontPortsUpdateOK dcim front ports update o k */ @@ -62,9 +63,39 @@ type DcimFrontPortsUpdateOK struct { Payload *models.FrontPort } +// IsSuccess returns true when this dcim front ports update o k response has a 2xx status code +func (o *DcimFrontPortsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim front ports update o k response has a 3xx status code +func (o *DcimFrontPortsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim front ports update o k response has a 4xx status code +func (o *DcimFrontPortsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim front ports update o k response has a 5xx status code +func (o *DcimFrontPortsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim front ports update o k response a status code equal to that given +func (o *DcimFrontPortsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimFrontPortsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/front-ports/{id}/][%d] dcimFrontPortsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimFrontPortsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/front-ports/{id}/][%d] dcimFrontPortsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimFrontPortsUpdateOK) GetPayload() *models.FrontPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_parameters.go index 8eb6730e1..cb0cb41f5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimInterfaceTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimInterfaceTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim interface templates bulk delete operation. +/* +DcimInterfaceTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_responses.go index 4b68bffdc..130a16c94 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInterfaceTemplatesBulkDeleteNoContent() *DcimInterfaceTemplatesBulkD return &DcimInterfaceTemplatesBulkDeleteNoContent{} } -/* DcimInterfaceTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInterfaceTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimInterfaceTemplatesBulkDeleteNoContent dcim interface templates bulk delete no content */ type DcimInterfaceTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim interface templates bulk delete no content response has a 2xx status code +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates bulk delete no content response has a 3xx status code +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates bulk delete no content response has a 4xx status code +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates bulk delete no content response has a 5xx status code +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates bulk delete no content response a status code equal to that given +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInterfaceTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimInterfaceTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimInterfaceTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_parameters.go index d699537f6..c1f501b28 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfaceTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimInterfaceTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim interface templates bulk partial update operation. +/* +DcimInterfaceTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_responses.go index 9bc1ea452..4525873e1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesBulkPartialUpdateOK() *DcimInterfaceTemplatesBulkP return &DcimInterfaceTemplatesBulkPartialUpdateOK{} } -/* DcimInterfaceTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesBulkPartialUpdateOK dcim interface templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesBulkPartialUpdateOK struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates bulk partial update o k response has a 2xx status code +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates bulk partial update o k response has a 3xx status code +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates bulk partial update o k response has a 4xx status code +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates bulk partial update o k response has a 5xx status code +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates bulk partial update o k response a status code equal to that given +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesBulkPartialUpdateOK) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_parameters.go index 829a188bd..f1df1f655 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfaceTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimInterfaceTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim interface templates bulk update operation. +/* +DcimInterfaceTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_responses.go index c4c0781ef..48bd2abd3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesBulkUpdateOK() *DcimInterfaceTemplatesBulkUpdateOK return &DcimInterfaceTemplatesBulkUpdateOK{} } -/* DcimInterfaceTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesBulkUpdateOK dcim interface templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesBulkUpdateOK struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates bulk update o k response has a 2xx status code +func (o *DcimInterfaceTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates bulk update o k response has a 3xx status code +func (o *DcimInterfaceTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates bulk update o k response has a 4xx status code +func (o *DcimInterfaceTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates bulk update o k response has a 5xx status code +func (o *DcimInterfaceTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates bulk update o k response a status code equal to that given +func (o *DcimInterfaceTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/interface-templates/][%d] dcimInterfaceTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesBulkUpdateOK) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_parameters.go index 749251e05..f7df3845d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfaceTemplatesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInterfaceTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim interface templates create operation. +/* +DcimInterfaceTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates create operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_responses.go index 63d3f611f..b5d7ec2ed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesCreateCreated() *DcimInterfaceTemplatesCreateCreat return &DcimInterfaceTemplatesCreateCreated{} } -/* DcimInterfaceTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimInterfaceTemplatesCreateCreated describes a response with status code 201, with default header values. DcimInterfaceTemplatesCreateCreated dcim interface templates create created */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesCreateCreated struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates create created response has a 2xx status code +func (o *DcimInterfaceTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates create created response has a 3xx status code +func (o *DcimInterfaceTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates create created response has a 4xx status code +func (o *DcimInterfaceTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates create created response has a 5xx status code +func (o *DcimInterfaceTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates create created response a status code equal to that given +func (o *DcimInterfaceTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimInterfaceTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/interface-templates/][%d] dcimInterfaceTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimInterfaceTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/interface-templates/][%d] dcimInterfaceTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimInterfaceTemplatesCreateCreated) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_parameters.go index e30e6648c..d1baea6ec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfaceTemplatesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInterfaceTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim interface templates delete operation. +/* +DcimInterfaceTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates delete operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_responses.go index 7c792ff7f..2a13bf7ff 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInterfaceTemplatesDeleteNoContent() *DcimInterfaceTemplatesDeleteNoC return &DcimInterfaceTemplatesDeleteNoContent{} } -/* DcimInterfaceTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInterfaceTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimInterfaceTemplatesDeleteNoContent dcim interface templates delete no content */ type DcimInterfaceTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim interface templates delete no content response has a 2xx status code +func (o *DcimInterfaceTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates delete no content response has a 3xx status code +func (o *DcimInterfaceTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates delete no content response has a 4xx status code +func (o *DcimInterfaceTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates delete no content response has a 5xx status code +func (o *DcimInterfaceTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates delete no content response a status code equal to that given +func (o *DcimInterfaceTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInterfaceTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesDeleteNoContent ", 204) } +func (o *DcimInterfaceTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesDeleteNoContent ", 204) +} + func (o *DcimInterfaceTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_parameters.go index 9185a20ed..626ee4855 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfaceTemplatesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimInterfaceTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim interface templates list operation. +/* +DcimInterfaceTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates list operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_responses.go index d14d16d34..4426946fb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimInterfaceTemplatesListOK() *DcimInterfaceTemplatesListOK { return &DcimInterfaceTemplatesListOK{} } -/* DcimInterfaceTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesListOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesListOK dcim interface templates list o k */ @@ -67,9 +68,39 @@ type DcimInterfaceTemplatesListOK struct { Payload *DcimInterfaceTemplatesListOKBody } +// IsSuccess returns true when this dcim interface templates list o k response has a 2xx status code +func (o *DcimInterfaceTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates list o k response has a 3xx status code +func (o *DcimInterfaceTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates list o k response has a 4xx status code +func (o *DcimInterfaceTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates list o k response has a 5xx status code +func (o *DcimInterfaceTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates list o k response a status code equal to that given +func (o *DcimInterfaceTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/interface-templates/][%d] dcimInterfaceTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/interface-templates/][%d] dcimInterfaceTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesListOK) GetPayload() *DcimInterfaceTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimInterfaceTemplatesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimInterfaceTemplatesListOKBody dcim interface templates list o k body +/* +DcimInterfaceTemplatesListOKBody dcim interface templates list o k body swagger:model DcimInterfaceTemplatesListOKBody */ type DcimInterfaceTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_parameters.go index a0de87046..d3df07c00 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInterfaceTemplatesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimInterfaceTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim interface templates partial update operation. +/* +DcimInterfaceTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates partial update operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_responses.go index 3453e3774..c93eba4a4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesPartialUpdateOK() *DcimInterfaceTemplatesPartialUp return &DcimInterfaceTemplatesPartialUpdateOK{} } -/* DcimInterfaceTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesPartialUpdateOK dcim interface templates partial update o k */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesPartialUpdateOK struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates partial update o k response has a 2xx status code +func (o *DcimInterfaceTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates partial update o k response has a 3xx status code +func (o *DcimInterfaceTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates partial update o k response has a 4xx status code +func (o *DcimInterfaceTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates partial update o k response has a 5xx status code +func (o *DcimInterfaceTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates partial update o k response a status code equal to that given +func (o *DcimInterfaceTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesPartialUpdateOK) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_parameters.go index 3bc16d107..6c908dfa4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfaceTemplatesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimInterfaceTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim interface templates read operation. +/* +DcimInterfaceTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates read operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_responses.go index aa72019f4..5c77c5172 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesReadOK() *DcimInterfaceTemplatesReadOK { return &DcimInterfaceTemplatesReadOK{} } -/* DcimInterfaceTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesReadOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesReadOK dcim interface templates read o k */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesReadOK struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates read o k response has a 2xx status code +func (o *DcimInterfaceTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates read o k response has a 3xx status code +func (o *DcimInterfaceTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates read o k response has a 4xx status code +func (o *DcimInterfaceTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates read o k response has a 5xx status code +func (o *DcimInterfaceTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates read o k response a status code equal to that given +func (o *DcimInterfaceTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesReadOK) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_parameters.go index b08eeb8a3..c931bee39 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInterfaceTemplatesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInterfaceTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim interface templates update operation. +/* +DcimInterfaceTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interface templates update operation. + + Typically these are written to a http.Request. */ type DcimInterfaceTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_responses.go index c60ce88d3..48866b1a1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interface_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfaceTemplatesUpdateOK() *DcimInterfaceTemplatesUpdateOK { return &DcimInterfaceTemplatesUpdateOK{} } -/* DcimInterfaceTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfaceTemplatesUpdateOK describes a response with status code 200, with default header values. DcimInterfaceTemplatesUpdateOK dcim interface templates update o k */ @@ -62,9 +63,39 @@ type DcimInterfaceTemplatesUpdateOK struct { Payload *models.InterfaceTemplate } +// IsSuccess returns true when this dcim interface templates update o k response has a 2xx status code +func (o *DcimInterfaceTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interface templates update o k response has a 3xx status code +func (o *DcimInterfaceTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interface templates update o k response has a 4xx status code +func (o *DcimInterfaceTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interface templates update o k response has a 5xx status code +func (o *DcimInterfaceTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interface templates update o k response a status code equal to that given +func (o *DcimInterfaceTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfaceTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfaceTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/interface-templates/{id}/][%d] dcimInterfaceTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfaceTemplatesUpdateOK) GetPayload() *models.InterfaceTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_parameters.go index 68c31394c..cc5717440 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimInterfacesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimI } } -/* DcimInterfacesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim interfaces bulk delete operation. +/* +DcimInterfacesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces bulk delete operation. + + Typically these are written to a http.Request. */ type DcimInterfacesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_responses.go index bb4aff4cd..80d08d80f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInterfacesBulkDeleteNoContent() *DcimInterfacesBulkDeleteNoContent { return &DcimInterfacesBulkDeleteNoContent{} } -/* DcimInterfacesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInterfacesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimInterfacesBulkDeleteNoContent dcim interfaces bulk delete no content */ type DcimInterfacesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim interfaces bulk delete no content response has a 2xx status code +func (o *DcimInterfacesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces bulk delete no content response has a 3xx status code +func (o *DcimInterfacesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces bulk delete no content response has a 4xx status code +func (o *DcimInterfacesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces bulk delete no content response has a 5xx status code +func (o *DcimInterfacesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces bulk delete no content response a status code equal to that given +func (o *DcimInterfacesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInterfacesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/interfaces/][%d] dcimInterfacesBulkDeleteNoContent ", 204) } +func (o *DcimInterfacesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/interfaces/][%d] dcimInterfacesBulkDeleteNoContent ", 204) +} + func (o *DcimInterfacesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_parameters.go index 2e148ba27..a1795ef32 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfacesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimInterfacesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim interfaces bulk partial update operation. +/* +DcimInterfacesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimInterfacesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_responses.go index 6f1b7ecc5..9459ea9ed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesBulkPartialUpdateOK() *DcimInterfacesBulkPartialUpdateOK { return &DcimInterfacesBulkPartialUpdateOK{} } -/* DcimInterfacesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfacesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimInterfacesBulkPartialUpdateOK dcim interfaces bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimInterfacesBulkPartialUpdateOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces bulk partial update o k response has a 2xx status code +func (o *DcimInterfacesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces bulk partial update o k response has a 3xx status code +func (o *DcimInterfacesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces bulk partial update o k response has a 4xx status code +func (o *DcimInterfacesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces bulk partial update o k response has a 5xx status code +func (o *DcimInterfacesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces bulk partial update o k response a status code equal to that given +func (o *DcimInterfacesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/interfaces/][%d] dcimInterfacesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/interfaces/][%d] dcimInterfacesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesBulkPartialUpdateOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_parameters.go index b567a758e..bebfa2a4d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfacesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimI } } -/* DcimInterfacesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim interfaces bulk update operation. +/* +DcimInterfacesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces bulk update operation. + + Typically these are written to a http.Request. */ type DcimInterfacesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_responses.go index 2fa3b467b..2e040f000 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesBulkUpdateOK() *DcimInterfacesBulkUpdateOK { return &DcimInterfacesBulkUpdateOK{} } -/* DcimInterfacesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfacesBulkUpdateOK describes a response with status code 200, with default header values. DcimInterfacesBulkUpdateOK dcim interfaces bulk update o k */ @@ -62,9 +63,39 @@ type DcimInterfacesBulkUpdateOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces bulk update o k response has a 2xx status code +func (o *DcimInterfacesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces bulk update o k response has a 3xx status code +func (o *DcimInterfacesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces bulk update o k response has a 4xx status code +func (o *DcimInterfacesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces bulk update o k response has a 5xx status code +func (o *DcimInterfacesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces bulk update o k response a status code equal to that given +func (o *DcimInterfacesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/interfaces/][%d] dcimInterfacesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/interfaces/][%d] dcimInterfacesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesBulkUpdateOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_parameters.go index 60c5469ad..b1919f58c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimInterfacesCreateParamsWithHTTPClient(client *http.Client) *DcimInter } } -/* DcimInterfacesCreateParams contains all the parameters to send to the API endpoint - for the dcim interfaces create operation. +/* +DcimInterfacesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces create operation. + + Typically these are written to a http.Request. */ type DcimInterfacesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_responses.go index 0a64159c8..3f3433bb8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_create_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesCreateCreated() *DcimInterfacesCreateCreated { return &DcimInterfacesCreateCreated{} } -/* DcimInterfacesCreateCreated describes a response with status code 201, with default header values. +/* +DcimInterfacesCreateCreated describes a response with status code 201, with default header values. DcimInterfacesCreateCreated dcim interfaces create created */ @@ -62,9 +63,39 @@ type DcimInterfacesCreateCreated struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces create created response has a 2xx status code +func (o *DcimInterfacesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces create created response has a 3xx status code +func (o *DcimInterfacesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces create created response has a 4xx status code +func (o *DcimInterfacesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces create created response has a 5xx status code +func (o *DcimInterfacesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces create created response a status code equal to that given +func (o *DcimInterfacesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimInterfacesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/interfaces/][%d] dcimInterfacesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimInterfacesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/interfaces/][%d] dcimInterfacesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimInterfacesCreateCreated) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_parameters.go index 3382ddff5..01f2546d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfacesDeleteParamsWithHTTPClient(client *http.Client) *DcimInter } } -/* DcimInterfacesDeleteParams contains all the parameters to send to the API endpoint - for the dcim interfaces delete operation. +/* +DcimInterfacesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces delete operation. + + Typically these are written to a http.Request. */ type DcimInterfacesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_responses.go index 039a2c5c5..60fbac3dd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInterfacesDeleteNoContent() *DcimInterfacesDeleteNoContent { return &DcimInterfacesDeleteNoContent{} } -/* DcimInterfacesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInterfacesDeleteNoContent describes a response with status code 204, with default header values. DcimInterfacesDeleteNoContent dcim interfaces delete no content */ type DcimInterfacesDeleteNoContent struct { } +// IsSuccess returns true when this dcim interfaces delete no content response has a 2xx status code +func (o *DcimInterfacesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces delete no content response has a 3xx status code +func (o *DcimInterfacesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces delete no content response has a 4xx status code +func (o *DcimInterfacesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces delete no content response has a 5xx status code +func (o *DcimInterfacesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces delete no content response a status code equal to that given +func (o *DcimInterfacesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInterfacesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/interfaces/{id}/][%d] dcimInterfacesDeleteNoContent ", 204) } +func (o *DcimInterfacesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/interfaces/{id}/][%d] dcimInterfacesDeleteNoContent ", 204) +} + func (o *DcimInterfacesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_parameters.go index 74e8bb10a..275af7e37 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfacesListParamsWithHTTPClient(client *http.Client) *DcimInterfa } } -/* DcimInterfacesListParams contains all the parameters to send to the API endpoint - for the dcim interfaces list operation. +/* +DcimInterfacesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces list operation. + + Typically these are written to a http.Request. */ type DcimInterfacesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_responses.go index eb3d68c64..8d585f734 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_list_responses.go @@ -59,7 +59,8 @@ func NewDcimInterfacesListOK() *DcimInterfacesListOK { return &DcimInterfacesListOK{} } -/* DcimInterfacesListOK describes a response with status code 200, with default header values. +/* +DcimInterfacesListOK describes a response with status code 200, with default header values. DcimInterfacesListOK dcim interfaces list o k */ @@ -67,9 +68,39 @@ type DcimInterfacesListOK struct { Payload *DcimInterfacesListOKBody } +// IsSuccess returns true when this dcim interfaces list o k response has a 2xx status code +func (o *DcimInterfacesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces list o k response has a 3xx status code +func (o *DcimInterfacesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces list o k response has a 4xx status code +func (o *DcimInterfacesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces list o k response has a 5xx status code +func (o *DcimInterfacesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces list o k response a status code equal to that given +func (o *DcimInterfacesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesListOK) Error() string { return fmt.Sprintf("[GET /dcim/interfaces/][%d] dcimInterfacesListOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesListOK) String() string { + return fmt.Sprintf("[GET /dcim/interfaces/][%d] dcimInterfacesListOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesListOK) GetPayload() *DcimInterfacesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimInterfacesListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimInterfacesListOKBody dcim interfaces list o k body +/* +DcimInterfacesListOKBody dcim interfaces list o k body swagger:model DcimInterfacesListOKBody */ type DcimInterfacesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_parameters.go index 19a4dde04..70ba1a5d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInterfacesPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimInterfacesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim interfaces partial update operation. +/* +DcimInterfacesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces partial update operation. + + Typically these are written to a http.Request. */ type DcimInterfacesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_responses.go index 903126d75..88b8d31d2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesPartialUpdateOK() *DcimInterfacesPartialUpdateOK { return &DcimInterfacesPartialUpdateOK{} } -/* DcimInterfacesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfacesPartialUpdateOK describes a response with status code 200, with default header values. DcimInterfacesPartialUpdateOK dcim interfaces partial update o k */ @@ -62,9 +63,39 @@ type DcimInterfacesPartialUpdateOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces partial update o k response has a 2xx status code +func (o *DcimInterfacesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces partial update o k response has a 3xx status code +func (o *DcimInterfacesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces partial update o k response has a 4xx status code +func (o *DcimInterfacesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces partial update o k response has a 5xx status code +func (o *DcimInterfacesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces partial update o k response a status code equal to that given +func (o *DcimInterfacesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/interfaces/{id}/][%d] dcimInterfacesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/interfaces/{id}/][%d] dcimInterfacesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesPartialUpdateOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_parameters.go index e0c7cfedb..236b01749 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfacesReadParamsWithHTTPClient(client *http.Client) *DcimInterfa } } -/* DcimInterfacesReadParams contains all the parameters to send to the API endpoint - for the dcim interfaces read operation. +/* +DcimInterfacesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces read operation. + + Typically these are written to a http.Request. */ type DcimInterfacesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_responses.go index dcdc69dfb..9d31a4950 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_read_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesReadOK() *DcimInterfacesReadOK { return &DcimInterfacesReadOK{} } -/* DcimInterfacesReadOK describes a response with status code 200, with default header values. +/* +DcimInterfacesReadOK describes a response with status code 200, with default header values. DcimInterfacesReadOK dcim interfaces read o k */ @@ -62,9 +63,39 @@ type DcimInterfacesReadOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces read o k response has a 2xx status code +func (o *DcimInterfacesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces read o k response has a 3xx status code +func (o *DcimInterfacesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces read o k response has a 4xx status code +func (o *DcimInterfacesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces read o k response has a 5xx status code +func (o *DcimInterfacesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces read o k response a status code equal to that given +func (o *DcimInterfacesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/interfaces/{id}/][%d] dcimInterfacesReadOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/interfaces/{id}/][%d] dcimInterfacesReadOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesReadOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_parameters.go index 53b54ca01..012c50475 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimInterfacesTraceParamsWithHTTPClient(client *http.Client) *DcimInterf } } -/* DcimInterfacesTraceParams contains all the parameters to send to the API endpoint - for the dcim interfaces trace operation. +/* +DcimInterfacesTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces trace operation. + + Typically these are written to a http.Request. */ type DcimInterfacesTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_responses.go index 155b76dc2..361c270d6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesTraceOK() *DcimInterfacesTraceOK { return &DcimInterfacesTraceOK{} } -/* DcimInterfacesTraceOK describes a response with status code 200, with default header values. +/* +DcimInterfacesTraceOK describes a response with status code 200, with default header values. DcimInterfacesTraceOK dcim interfaces trace o k */ @@ -62,9 +63,39 @@ type DcimInterfacesTraceOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces trace o k response has a 2xx status code +func (o *DcimInterfacesTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces trace o k response has a 3xx status code +func (o *DcimInterfacesTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces trace o k response has a 4xx status code +func (o *DcimInterfacesTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces trace o k response has a 5xx status code +func (o *DcimInterfacesTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces trace o k response a status code equal to that given +func (o *DcimInterfacesTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/interfaces/{id}/trace/][%d] dcimInterfacesTraceOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/interfaces/{id}/trace/][%d] dcimInterfacesTraceOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesTraceOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_parameters.go index 7e214050e..593e76f29 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInterfacesUpdateParamsWithHTTPClient(client *http.Client) *DcimInter } } -/* DcimInterfacesUpdateParams contains all the parameters to send to the API endpoint - for the dcim interfaces update operation. +/* +DcimInterfacesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim interfaces update operation. + + Typically these are written to a http.Request. */ type DcimInterfacesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_responses.go index 20c425dad..9955e2e05 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_interfaces_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInterfacesUpdateOK() *DcimInterfacesUpdateOK { return &DcimInterfacesUpdateOK{} } -/* DcimInterfacesUpdateOK describes a response with status code 200, with default header values. +/* +DcimInterfacesUpdateOK describes a response with status code 200, with default header values. DcimInterfacesUpdateOK dcim interfaces update o k */ @@ -62,9 +63,39 @@ type DcimInterfacesUpdateOK struct { Payload *models.Interface } +// IsSuccess returns true when this dcim interfaces update o k response has a 2xx status code +func (o *DcimInterfacesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim interfaces update o k response has a 3xx status code +func (o *DcimInterfacesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim interfaces update o k response has a 4xx status code +func (o *DcimInterfacesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim interfaces update o k response has a 5xx status code +func (o *DcimInterfacesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim interfaces update o k response a status code equal to that given +func (o *DcimInterfacesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInterfacesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/interfaces/{id}/][%d] dcimInterfacesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInterfacesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/interfaces/{id}/][%d] dcimInterfacesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInterfacesUpdateOK) GetPayload() *models.Interface { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_parameters.go index 2eb6351f6..fecc90a4e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimInventoryItemRolesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimInventoryItemRolesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles bulk delete operation. +/* +DcimInventoryItemRolesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles bulk delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_responses.go index da9e590d1..23094dae6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemRolesBulkDeleteNoContent() *DcimInventoryItemRolesBulkD return &DcimInventoryItemRolesBulkDeleteNoContent{} } -/* DcimInventoryItemRolesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemRolesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemRolesBulkDeleteNoContent dcim inventory item roles bulk delete no content */ type DcimInventoryItemRolesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory item roles bulk delete no content response has a 2xx status code +func (o *DcimInventoryItemRolesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles bulk delete no content response has a 3xx status code +func (o *DcimInventoryItemRolesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles bulk delete no content response has a 4xx status code +func (o *DcimInventoryItemRolesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles bulk delete no content response has a 5xx status code +func (o *DcimInventoryItemRolesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles bulk delete no content response a status code equal to that given +func (o *DcimInventoryItemRolesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemRolesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkDeleteNoContent ", 204) } +func (o *DcimInventoryItemRolesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkDeleteNoContent ", 204) +} + func (o *DcimInventoryItemRolesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_parameters.go index 9a192c933..728fa3cdf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemRolesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimInventoryItemRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles bulk partial update operation. +/* +DcimInventoryItemRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_responses.go index 7555ae2f8..726bd191f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesBulkPartialUpdateOK() *DcimInventoryItemRolesBulkP return &DcimInventoryItemRolesBulkPartialUpdateOK{} } -/* DcimInventoryItemRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemRolesBulkPartialUpdateOK dcim inventory item roles bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesBulkPartialUpdateOK struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles bulk partial update o k response has a 2xx status code +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles bulk partial update o k response has a 3xx status code +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles bulk partial update o k response has a 4xx status code +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles bulk partial update o k response has a 5xx status code +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles bulk partial update o k response a status code equal to that given +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesBulkPartialUpdateOK) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_parameters.go index f584f3b7a..b9f021753 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemRolesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimInventoryItemRolesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles bulk update operation. +/* +DcimInventoryItemRolesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles bulk update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_responses.go index bd83fbb47..70751613f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesBulkUpdateOK() *DcimInventoryItemRolesBulkUpdateOK return &DcimInventoryItemRolesBulkUpdateOK{} } -/* DcimInventoryItemRolesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesBulkUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemRolesBulkUpdateOK dcim inventory item roles bulk update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesBulkUpdateOK struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles bulk update o k response has a 2xx status code +func (o *DcimInventoryItemRolesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles bulk update o k response has a 3xx status code +func (o *DcimInventoryItemRolesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles bulk update o k response has a 4xx status code +func (o *DcimInventoryItemRolesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles bulk update o k response has a 5xx status code +func (o *DcimInventoryItemRolesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles bulk update o k response a status code equal to that given +func (o *DcimInventoryItemRolesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesBulkUpdateOK) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_parameters.go index 2e4066955..421e37508 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemRolesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInventoryItemRolesCreateParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles create operation. +/* +DcimInventoryItemRolesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles create operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_responses.go index 30e4bbd2e..6e545b2b0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_create_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesCreateCreated() *DcimInventoryItemRolesCreateCreat return &DcimInventoryItemRolesCreateCreated{} } -/* DcimInventoryItemRolesCreateCreated describes a response with status code 201, with default header values. +/* +DcimInventoryItemRolesCreateCreated describes a response with status code 201, with default header values. DcimInventoryItemRolesCreateCreated dcim inventory item roles create created */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesCreateCreated struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles create created response has a 2xx status code +func (o *DcimInventoryItemRolesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles create created response has a 3xx status code +func (o *DcimInventoryItemRolesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles create created response has a 4xx status code +func (o *DcimInventoryItemRolesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles create created response has a 5xx status code +func (o *DcimInventoryItemRolesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles create created response a status code equal to that given +func (o *DcimInventoryItemRolesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimInventoryItemRolesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimInventoryItemRolesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimInventoryItemRolesCreateCreated) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_parameters.go index 07cc134ca..959771362 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemRolesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInventoryItemRolesDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles delete operation. +/* +DcimInventoryItemRolesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_responses.go index 939b146b4..c6bb59ea5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemRolesDeleteNoContent() *DcimInventoryItemRolesDeleteNoC return &DcimInventoryItemRolesDeleteNoContent{} } -/* DcimInventoryItemRolesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemRolesDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemRolesDeleteNoContent dcim inventory item roles delete no content */ type DcimInventoryItemRolesDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory item roles delete no content response has a 2xx status code +func (o *DcimInventoryItemRolesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles delete no content response has a 3xx status code +func (o *DcimInventoryItemRolesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles delete no content response has a 4xx status code +func (o *DcimInventoryItemRolesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles delete no content response has a 5xx status code +func (o *DcimInventoryItemRolesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles delete no content response a status code equal to that given +func (o *DcimInventoryItemRolesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemRolesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesDeleteNoContent ", 204) } +func (o *DcimInventoryItemRolesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesDeleteNoContent ", 204) +} + func (o *DcimInventoryItemRolesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_parameters.go index 6f61c7cf0..a2fb3f9b8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemRolesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimInventoryItemRolesListParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles list operation. +/* +DcimInventoryItemRolesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles list operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_responses.go index b5d6342c9..13dc50cc2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_list_responses.go @@ -59,7 +59,8 @@ func NewDcimInventoryItemRolesListOK() *DcimInventoryItemRolesListOK { return &DcimInventoryItemRolesListOK{} } -/* DcimInventoryItemRolesListOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesListOK describes a response with status code 200, with default header values. DcimInventoryItemRolesListOK dcim inventory item roles list o k */ @@ -67,9 +68,39 @@ type DcimInventoryItemRolesListOK struct { Payload *DcimInventoryItemRolesListOKBody } +// IsSuccess returns true when this dcim inventory item roles list o k response has a 2xx status code +func (o *DcimInventoryItemRolesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles list o k response has a 3xx status code +func (o *DcimInventoryItemRolesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles list o k response has a 4xx status code +func (o *DcimInventoryItemRolesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles list o k response has a 5xx status code +func (o *DcimInventoryItemRolesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles list o k response a status code equal to that given +func (o *DcimInventoryItemRolesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesListOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesListOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesListOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-item-roles/][%d] dcimInventoryItemRolesListOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesListOK) GetPayload() *DcimInventoryItemRolesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimInventoryItemRolesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimInventoryItemRolesListOKBody dcim inventory item roles list o k body +/* +DcimInventoryItemRolesListOKBody dcim inventory item roles list o k body swagger:model DcimInventoryItemRolesListOKBody */ type DcimInventoryItemRolesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_parameters.go index 65ade3f70..60089e9ea 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemRolesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimInventoryItemRolesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles partial update operation. +/* +DcimInventoryItemRolesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_responses.go index c8da1b34e..59fe3bde8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesPartialUpdateOK() *DcimInventoryItemRolesPartialUp return &DcimInventoryItemRolesPartialUpdateOK{} } -/* DcimInventoryItemRolesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemRolesPartialUpdateOK dcim inventory item roles partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesPartialUpdateOK struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles partial update o k response has a 2xx status code +func (o *DcimInventoryItemRolesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles partial update o k response has a 3xx status code +func (o *DcimInventoryItemRolesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles partial update o k response has a 4xx status code +func (o *DcimInventoryItemRolesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles partial update o k response has a 5xx status code +func (o *DcimInventoryItemRolesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles partial update o k response a status code equal to that given +func (o *DcimInventoryItemRolesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesPartialUpdateOK) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_parameters.go index ad919f38e..87dc97945 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemRolesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimInventoryItemRolesReadParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles read operation. +/* +DcimInventoryItemRolesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles read operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_responses.go index de2c16ac2..069f2e0d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_read_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesReadOK() *DcimInventoryItemRolesReadOK { return &DcimInventoryItemRolesReadOK{} } -/* DcimInventoryItemRolesReadOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesReadOK describes a response with status code 200, with default header values. DcimInventoryItemRolesReadOK dcim inventory item roles read o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesReadOK struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles read o k response has a 2xx status code +func (o *DcimInventoryItemRolesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles read o k response has a 3xx status code +func (o *DcimInventoryItemRolesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles read o k response has a 4xx status code +func (o *DcimInventoryItemRolesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles read o k response has a 5xx status code +func (o *DcimInventoryItemRolesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles read o k response a status code equal to that given +func (o *DcimInventoryItemRolesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesReadOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesReadOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesReadOK) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_parameters.go index a46b24c20..b798156e3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemRolesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInventoryItemRolesUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item roles update operation. +/* +DcimInventoryItemRolesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item roles update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemRolesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_responses.go index 7e7996466..ba70044a5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_roles_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemRolesUpdateOK() *DcimInventoryItemRolesUpdateOK { return &DcimInventoryItemRolesUpdateOK{} } -/* DcimInventoryItemRolesUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemRolesUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemRolesUpdateOK dcim inventory item roles update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemRolesUpdateOK struct { Payload *models.InventoryItemRole } +// IsSuccess returns true when this dcim inventory item roles update o k response has a 2xx status code +func (o *DcimInventoryItemRolesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item roles update o k response has a 3xx status code +func (o *DcimInventoryItemRolesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item roles update o k response has a 4xx status code +func (o *DcimInventoryItemRolesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item roles update o k response has a 5xx status code +func (o *DcimInventoryItemRolesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item roles update o k response a status code equal to that given +func (o *DcimInventoryItemRolesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemRolesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemRolesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-item-roles/{id}/][%d] dcimInventoryItemRolesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemRolesUpdateOK) GetPayload() *models.InventoryItemRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_parameters.go index 93265bfc8..ccf113ed1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimInventoryItemTemplatesBulkDeleteParamsWithHTTPClient(client *http.Cl } } -/* DcimInventoryItemTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates bulk delete operation. +/* +DcimInventoryItemTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_responses.go index 564a6948c..6c9bcdd10 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemTemplatesBulkDeleteNoContent() *DcimInventoryItemTempla return &DcimInventoryItemTemplatesBulkDeleteNoContent{} } -/* DcimInventoryItemTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemTemplatesBulkDeleteNoContent dcim inventory item templates bulk delete no content */ type DcimInventoryItemTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory item templates bulk delete no content response has a 2xx status code +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates bulk delete no content response has a 3xx status code +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates bulk delete no content response has a 4xx status code +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates bulk delete no content response has a 5xx status code +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates bulk delete no content response a status code equal to that given +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimInventoryItemTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_parameters.go index 9deb696df..ff41d0bf4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemTemplatesBulkPartialUpdateParamsWithHTTPClient(client * } } -/* DcimInventoryItemTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates bulk partial update operation. +/* +DcimInventoryItemTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_responses.go index fb792c1f8..d644ac6ce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesBulkPartialUpdateOK() *DcimInventoryItemTempla return &DcimInventoryItemTemplatesBulkPartialUpdateOK{} } -/* DcimInventoryItemTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesBulkPartialUpdateOK dcim inventory item templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesBulkPartialUpdateOK struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates bulk partial update o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates bulk partial update o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates bulk partial update o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates bulk partial update o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates bulk partial update o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesBulkPartialUpdateOK) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_parameters.go index f71552449..e20bc1d87 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemTemplatesBulkUpdateParamsWithHTTPClient(client *http.Cl } } -/* DcimInventoryItemTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates bulk update operation. +/* +DcimInventoryItemTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_responses.go index c5dd29359..70247ebf4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesBulkUpdateOK() *DcimInventoryItemTemplatesBulk return &DcimInventoryItemTemplatesBulkUpdateOK{} } -/* DcimInventoryItemTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesBulkUpdateOK dcim inventory item templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesBulkUpdateOK struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates bulk update o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates bulk update o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates bulk update o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates bulk update o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates bulk update o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesBulkUpdateOK) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_parameters.go index e0625cc3a..fc52a476d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemTemplatesCreateParamsWithHTTPClient(client *http.Client } } -/* DcimInventoryItemTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates create operation. +/* +DcimInventoryItemTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates create operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_responses.go index bcb880af0..2e31e00a4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesCreateCreated() *DcimInventoryItemTemplatesCre return &DcimInventoryItemTemplatesCreateCreated{} } -/* DcimInventoryItemTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimInventoryItemTemplatesCreateCreated describes a response with status code 201, with default header values. DcimInventoryItemTemplatesCreateCreated dcim inventory item templates create created */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesCreateCreated struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates create created response has a 2xx status code +func (o *DcimInventoryItemTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates create created response has a 3xx status code +func (o *DcimInventoryItemTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates create created response has a 4xx status code +func (o *DcimInventoryItemTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates create created response has a 5xx status code +func (o *DcimInventoryItemTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates create created response a status code equal to that given +func (o *DcimInventoryItemTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimInventoryItemTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimInventoryItemTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimInventoryItemTemplatesCreateCreated) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_parameters.go index d94445eaf..4ff756c17 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemTemplatesDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimInventoryItemTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates delete operation. +/* +DcimInventoryItemTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_responses.go index e7fa64a02..a46111008 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemTemplatesDeleteNoContent() *DcimInventoryItemTemplatesD return &DcimInventoryItemTemplatesDeleteNoContent{} } -/* DcimInventoryItemTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemTemplatesDeleteNoContent dcim inventory item templates delete no content */ type DcimInventoryItemTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory item templates delete no content response has a 2xx status code +func (o *DcimInventoryItemTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates delete no content response has a 3xx status code +func (o *DcimInventoryItemTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates delete no content response has a 4xx status code +func (o *DcimInventoryItemTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates delete no content response has a 5xx status code +func (o *DcimInventoryItemTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates delete no content response a status code equal to that given +func (o *DcimInventoryItemTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesDeleteNoContent ", 204) } +func (o *DcimInventoryItemTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesDeleteNoContent ", 204) +} + func (o *DcimInventoryItemTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_parameters.go index 7c7304a20..b326d1b39 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemTemplatesListParamsWithHTTPClient(client *http.Client) } } -/* DcimInventoryItemTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates list operation. +/* +DcimInventoryItemTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates list operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_responses.go index 1f8a02ebe..a49e3e2c8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimInventoryItemTemplatesListOK() *DcimInventoryItemTemplatesListOK { return &DcimInventoryItemTemplatesListOK{} } -/* DcimInventoryItemTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesListOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesListOK dcim inventory item templates list o k */ @@ -67,9 +68,39 @@ type DcimInventoryItemTemplatesListOK struct { Payload *DcimInventoryItemTemplatesListOKBody } +// IsSuccess returns true when this dcim inventory item templates list o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates list o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates list o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates list o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates list o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-item-templates/][%d] dcimInventoryItemTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesListOK) GetPayload() *DcimInventoryItemTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimInventoryItemTemplatesListOK) readResponse(response runtime.ClientR return nil } -/*DcimInventoryItemTemplatesListOKBody dcim inventory item templates list o k body +/* +DcimInventoryItemTemplatesListOKBody dcim inventory item templates list o k body swagger:model DcimInventoryItemTemplatesListOKBody */ type DcimInventoryItemTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_parameters.go index ed7f7f44d..5a269bbb0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemTemplatesPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimInventoryItemTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates partial update operation. +/* +DcimInventoryItemTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_responses.go index 22ba6a25a..759778082 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesPartialUpdateOK() *DcimInventoryItemTemplatesP return &DcimInventoryItemTemplatesPartialUpdateOK{} } -/* DcimInventoryItemTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesPartialUpdateOK dcim inventory item templates partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesPartialUpdateOK struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates partial update o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates partial update o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates partial update o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates partial update o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates partial update o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesPartialUpdateOK) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_parameters.go index 9e5c2ba86..7a884b2d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemTemplatesReadParamsWithHTTPClient(client *http.Client) } } -/* DcimInventoryItemTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates read operation. +/* +DcimInventoryItemTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates read operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_responses.go index 3fec8bcb4..8d8ac24fc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesReadOK() *DcimInventoryItemTemplatesReadOK { return &DcimInventoryItemTemplatesReadOK{} } -/* DcimInventoryItemTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesReadOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesReadOK dcim inventory item templates read o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesReadOK struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates read o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates read o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates read o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates read o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates read o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesReadOK) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_parameters.go index 341cf99a3..cf057ebba 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemTemplatesUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimInventoryItemTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory item templates update operation. +/* +DcimInventoryItemTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory item templates update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_responses.go index cb845b76e..fac5d5f01 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_item_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemTemplatesUpdateOK() *DcimInventoryItemTemplatesUpdateOK return &DcimInventoryItemTemplatesUpdateOK{} } -/* DcimInventoryItemTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemTemplatesUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemTemplatesUpdateOK dcim inventory item templates update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemTemplatesUpdateOK struct { Payload *models.InventoryItemTemplate } +// IsSuccess returns true when this dcim inventory item templates update o k response has a 2xx status code +func (o *DcimInventoryItemTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory item templates update o k response has a 3xx status code +func (o *DcimInventoryItemTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory item templates update o k response has a 4xx status code +func (o *DcimInventoryItemTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory item templates update o k response has a 5xx status code +func (o *DcimInventoryItemTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory item templates update o k response a status code equal to that given +func (o *DcimInventoryItemTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-item-templates/{id}/][%d] dcimInventoryItemTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemTemplatesUpdateOK) GetPayload() *models.InventoryItemTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_parameters.go index e5718e005..c962503d0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimInventoryItemsBulkDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInventoryItemsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory items bulk delete operation. +/* +DcimInventoryItemsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items bulk delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_responses.go index 58f4a0bbe..a58dcdfdf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemsBulkDeleteNoContent() *DcimInventoryItemsBulkDeleteNoC return &DcimInventoryItemsBulkDeleteNoContent{} } -/* DcimInventoryItemsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemsBulkDeleteNoContent dcim inventory items bulk delete no content */ type DcimInventoryItemsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory items bulk delete no content response has a 2xx status code +func (o *DcimInventoryItemsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items bulk delete no content response has a 3xx status code +func (o *DcimInventoryItemsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items bulk delete no content response has a 4xx status code +func (o *DcimInventoryItemsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items bulk delete no content response has a 5xx status code +func (o *DcimInventoryItemsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items bulk delete no content response a status code equal to that given +func (o *DcimInventoryItemsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-items/][%d] dcimInventoryItemsBulkDeleteNoContent ", 204) } +func (o *DcimInventoryItemsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-items/][%d] dcimInventoryItemsBulkDeleteNoContent ", 204) +} + func (o *DcimInventoryItemsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_parameters.go index 0d0814f15..e5466bc18 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemsBulkPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimInventoryItemsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory items bulk partial update operation. +/* +DcimInventoryItemsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_responses.go index b71eeb6af..8b1ad699f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsBulkPartialUpdateOK() *DcimInventoryItemsBulkPartialUp return &DcimInventoryItemsBulkPartialUpdateOK{} } -/* DcimInventoryItemsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemsBulkPartialUpdateOK dcim inventory items bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemsBulkPartialUpdateOK struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items bulk partial update o k response has a 2xx status code +func (o *DcimInventoryItemsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items bulk partial update o k response has a 3xx status code +func (o *DcimInventoryItemsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items bulk partial update o k response has a 4xx status code +func (o *DcimInventoryItemsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items bulk partial update o k response has a 5xx status code +func (o *DcimInventoryItemsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items bulk partial update o k response a status code equal to that given +func (o *DcimInventoryItemsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-items/][%d] dcimInventoryItemsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-items/][%d] dcimInventoryItemsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsBulkPartialUpdateOK) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_parameters.go index c450856ce..c7d956545 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemsBulkUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimInventoryItemsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory items bulk update operation. +/* +DcimInventoryItemsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items bulk update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_responses.go index eae03a961..745d9685d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsBulkUpdateOK() *DcimInventoryItemsBulkUpdateOK { return &DcimInventoryItemsBulkUpdateOK{} } -/* DcimInventoryItemsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsBulkUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemsBulkUpdateOK dcim inventory items bulk update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemsBulkUpdateOK struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items bulk update o k response has a 2xx status code +func (o *DcimInventoryItemsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items bulk update o k response has a 3xx status code +func (o *DcimInventoryItemsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items bulk update o k response has a 4xx status code +func (o *DcimInventoryItemsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items bulk update o k response has a 5xx status code +func (o *DcimInventoryItemsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items bulk update o k response a status code equal to that given +func (o *DcimInventoryItemsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-items/][%d] dcimInventoryItemsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-items/][%d] dcimInventoryItemsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsBulkUpdateOK) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_parameters.go index 4ec733b7a..c39000d12 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimInventoryItemsCreateParamsWithHTTPClient(client *http.Client) *DcimI } } -/* DcimInventoryItemsCreateParams contains all the parameters to send to the API endpoint - for the dcim inventory items create operation. +/* +DcimInventoryItemsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items create operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_responses.go index 58ca93838..bc4536b14 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_create_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsCreateCreated() *DcimInventoryItemsCreateCreated { return &DcimInventoryItemsCreateCreated{} } -/* DcimInventoryItemsCreateCreated describes a response with status code 201, with default header values. +/* +DcimInventoryItemsCreateCreated describes a response with status code 201, with default header values. DcimInventoryItemsCreateCreated dcim inventory items create created */ @@ -62,9 +63,39 @@ type DcimInventoryItemsCreateCreated struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items create created response has a 2xx status code +func (o *DcimInventoryItemsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items create created response has a 3xx status code +func (o *DcimInventoryItemsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items create created response has a 4xx status code +func (o *DcimInventoryItemsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items create created response has a 5xx status code +func (o *DcimInventoryItemsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items create created response a status code equal to that given +func (o *DcimInventoryItemsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimInventoryItemsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/inventory-items/][%d] dcimInventoryItemsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimInventoryItemsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/inventory-items/][%d] dcimInventoryItemsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimInventoryItemsCreateCreated) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_parameters.go index 71c7fbdf2..772173d24 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemsDeleteParamsWithHTTPClient(client *http.Client) *DcimI } } -/* DcimInventoryItemsDeleteParams contains all the parameters to send to the API endpoint - for the dcim inventory items delete operation. +/* +DcimInventoryItemsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items delete operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_responses.go index 05629bde7..48e977b26 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimInventoryItemsDeleteNoContent() *DcimInventoryItemsDeleteNoContent { return &DcimInventoryItemsDeleteNoContent{} } -/* DcimInventoryItemsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimInventoryItemsDeleteNoContent describes a response with status code 204, with default header values. DcimInventoryItemsDeleteNoContent dcim inventory items delete no content */ type DcimInventoryItemsDeleteNoContent struct { } +// IsSuccess returns true when this dcim inventory items delete no content response has a 2xx status code +func (o *DcimInventoryItemsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items delete no content response has a 3xx status code +func (o *DcimInventoryItemsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items delete no content response has a 4xx status code +func (o *DcimInventoryItemsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items delete no content response has a 5xx status code +func (o *DcimInventoryItemsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items delete no content response a status code equal to that given +func (o *DcimInventoryItemsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimInventoryItemsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/inventory-items/{id}/][%d] dcimInventoryItemsDeleteNoContent ", 204) } +func (o *DcimInventoryItemsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/inventory-items/{id}/][%d] dcimInventoryItemsDeleteNoContent ", 204) +} + func (o *DcimInventoryItemsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_parameters.go index b5344a0ea..2708f38e2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemsListParamsWithHTTPClient(client *http.Client) *DcimInv } } -/* DcimInventoryItemsListParams contains all the parameters to send to the API endpoint - for the dcim inventory items list operation. +/* +DcimInventoryItemsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items list operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_responses.go index 282df1208..f1f7d4164 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_list_responses.go @@ -59,7 +59,8 @@ func NewDcimInventoryItemsListOK() *DcimInventoryItemsListOK { return &DcimInventoryItemsListOK{} } -/* DcimInventoryItemsListOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsListOK describes a response with status code 200, with default header values. DcimInventoryItemsListOK dcim inventory items list o k */ @@ -67,9 +68,39 @@ type DcimInventoryItemsListOK struct { Payload *DcimInventoryItemsListOKBody } +// IsSuccess returns true when this dcim inventory items list o k response has a 2xx status code +func (o *DcimInventoryItemsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items list o k response has a 3xx status code +func (o *DcimInventoryItemsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items list o k response has a 4xx status code +func (o *DcimInventoryItemsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items list o k response has a 5xx status code +func (o *DcimInventoryItemsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items list o k response a status code equal to that given +func (o *DcimInventoryItemsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsListOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-items/][%d] dcimInventoryItemsListOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsListOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-items/][%d] dcimInventoryItemsListOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsListOK) GetPayload() *DcimInventoryItemsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimInventoryItemsListOK) readResponse(response runtime.ClientResponse, return nil } -/*DcimInventoryItemsListOKBody dcim inventory items list o k body +/* +DcimInventoryItemsListOKBody dcim inventory items list o k body swagger:model DcimInventoryItemsListOKBody */ type DcimInventoryItemsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_parameters.go index 36214c67e..66c10c882 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemsPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimInventoryItemsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory items partial update operation. +/* +DcimInventoryItemsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items partial update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_responses.go index 8e21d2538..de6e383cd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsPartialUpdateOK() *DcimInventoryItemsPartialUpdateOK { return &DcimInventoryItemsPartialUpdateOK{} } -/* DcimInventoryItemsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsPartialUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemsPartialUpdateOK dcim inventory items partial update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemsPartialUpdateOK struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items partial update o k response has a 2xx status code +func (o *DcimInventoryItemsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items partial update o k response has a 3xx status code +func (o *DcimInventoryItemsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items partial update o k response has a 4xx status code +func (o *DcimInventoryItemsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items partial update o k response has a 5xx status code +func (o *DcimInventoryItemsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items partial update o k response a status code equal to that given +func (o *DcimInventoryItemsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/inventory-items/{id}/][%d] dcimInventoryItemsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/inventory-items/{id}/][%d] dcimInventoryItemsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsPartialUpdateOK) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_parameters.go index 59051d883..b12406879 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimInventoryItemsReadParamsWithHTTPClient(client *http.Client) *DcimInv } } -/* DcimInventoryItemsReadParams contains all the parameters to send to the API endpoint - for the dcim inventory items read operation. +/* +DcimInventoryItemsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items read operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_responses.go index 5991c6f88..ab8a86cc7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_read_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsReadOK() *DcimInventoryItemsReadOK { return &DcimInventoryItemsReadOK{} } -/* DcimInventoryItemsReadOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsReadOK describes a response with status code 200, with default header values. DcimInventoryItemsReadOK dcim inventory items read o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemsReadOK struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items read o k response has a 2xx status code +func (o *DcimInventoryItemsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items read o k response has a 3xx status code +func (o *DcimInventoryItemsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items read o k response has a 4xx status code +func (o *DcimInventoryItemsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items read o k response has a 5xx status code +func (o *DcimInventoryItemsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items read o k response a status code equal to that given +func (o *DcimInventoryItemsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/inventory-items/{id}/][%d] dcimInventoryItemsReadOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/inventory-items/{id}/][%d] dcimInventoryItemsReadOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsReadOK) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_parameters.go index b0e894f2a..dc7d7e2a7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimInventoryItemsUpdateParamsWithHTTPClient(client *http.Client) *DcimI } } -/* DcimInventoryItemsUpdateParams contains all the parameters to send to the API endpoint - for the dcim inventory items update operation. +/* +DcimInventoryItemsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim inventory items update operation. + + Typically these are written to a http.Request. */ type DcimInventoryItemsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_responses.go index 798b82fe2..395598e16 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_inventory_items_update_responses.go @@ -54,7 +54,8 @@ func NewDcimInventoryItemsUpdateOK() *DcimInventoryItemsUpdateOK { return &DcimInventoryItemsUpdateOK{} } -/* DcimInventoryItemsUpdateOK describes a response with status code 200, with default header values. +/* +DcimInventoryItemsUpdateOK describes a response with status code 200, with default header values. DcimInventoryItemsUpdateOK dcim inventory items update o k */ @@ -62,9 +63,39 @@ type DcimInventoryItemsUpdateOK struct { Payload *models.InventoryItem } +// IsSuccess returns true when this dcim inventory items update o k response has a 2xx status code +func (o *DcimInventoryItemsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim inventory items update o k response has a 3xx status code +func (o *DcimInventoryItemsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim inventory items update o k response has a 4xx status code +func (o *DcimInventoryItemsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim inventory items update o k response has a 5xx status code +func (o *DcimInventoryItemsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim inventory items update o k response a status code equal to that given +func (o *DcimInventoryItemsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimInventoryItemsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/inventory-items/{id}/][%d] dcimInventoryItemsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimInventoryItemsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/inventory-items/{id}/][%d] dcimInventoryItemsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimInventoryItemsUpdateOK) GetPayload() *models.InventoryItem { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_parameters.go index d4ec1eaa8..596d849a6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimLocationsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimLo } } -/* DcimLocationsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim locations bulk delete operation. +/* +DcimLocationsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations bulk delete operation. + + Typically these are written to a http.Request. */ type DcimLocationsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_responses.go index 1b9efe2ce..964a7bb00 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimLocationsBulkDeleteNoContent() *DcimLocationsBulkDeleteNoContent { return &DcimLocationsBulkDeleteNoContent{} } -/* DcimLocationsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimLocationsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimLocationsBulkDeleteNoContent dcim locations bulk delete no content */ type DcimLocationsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim locations bulk delete no content response has a 2xx status code +func (o *DcimLocationsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations bulk delete no content response has a 3xx status code +func (o *DcimLocationsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations bulk delete no content response has a 4xx status code +func (o *DcimLocationsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations bulk delete no content response has a 5xx status code +func (o *DcimLocationsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations bulk delete no content response a status code equal to that given +func (o *DcimLocationsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimLocationsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/locations/][%d] dcimLocationsBulkDeleteNoContent ", 204) } +func (o *DcimLocationsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/locations/][%d] dcimLocationsBulkDeleteNoContent ", 204) +} + func (o *DcimLocationsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_parameters.go index bbf18ee8c..1db723d30 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimLocationsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimLocationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim locations bulk partial update operation. +/* +DcimLocationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimLocationsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_responses.go index 42690e7ef..1451a2622 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsBulkPartialUpdateOK() *DcimLocationsBulkPartialUpdateOK { return &DcimLocationsBulkPartialUpdateOK{} } -/* DcimLocationsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimLocationsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimLocationsBulkPartialUpdateOK dcim locations bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimLocationsBulkPartialUpdateOK struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations bulk partial update o k response has a 2xx status code +func (o *DcimLocationsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations bulk partial update o k response has a 3xx status code +func (o *DcimLocationsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations bulk partial update o k response has a 4xx status code +func (o *DcimLocationsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations bulk partial update o k response has a 5xx status code +func (o *DcimLocationsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations bulk partial update o k response a status code equal to that given +func (o *DcimLocationsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/locations/][%d] dcimLocationsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimLocationsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/locations/][%d] dcimLocationsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimLocationsBulkPartialUpdateOK) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_parameters.go index 012935570..f4a8a3a83 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimLocationsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimLo } } -/* DcimLocationsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim locations bulk update operation. +/* +DcimLocationsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations bulk update operation. + + Typically these are written to a http.Request. */ type DcimLocationsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_responses.go index fdb594e45..f0371fd0b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsBulkUpdateOK() *DcimLocationsBulkUpdateOK { return &DcimLocationsBulkUpdateOK{} } -/* DcimLocationsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimLocationsBulkUpdateOK describes a response with status code 200, with default header values. DcimLocationsBulkUpdateOK dcim locations bulk update o k */ @@ -62,9 +63,39 @@ type DcimLocationsBulkUpdateOK struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations bulk update o k response has a 2xx status code +func (o *DcimLocationsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations bulk update o k response has a 3xx status code +func (o *DcimLocationsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations bulk update o k response has a 4xx status code +func (o *DcimLocationsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations bulk update o k response has a 5xx status code +func (o *DcimLocationsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations bulk update o k response a status code equal to that given +func (o *DcimLocationsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/locations/][%d] dcimLocationsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimLocationsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/locations/][%d] dcimLocationsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimLocationsBulkUpdateOK) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_parameters.go index f019fd985..0678bef24 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimLocationsCreateParamsWithHTTPClient(client *http.Client) *DcimLocati } } -/* DcimLocationsCreateParams contains all the parameters to send to the API endpoint - for the dcim locations create operation. +/* +DcimLocationsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations create operation. + + Typically these are written to a http.Request. */ type DcimLocationsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_responses.go index eed6e238e..5c901451d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_create_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsCreateCreated() *DcimLocationsCreateCreated { return &DcimLocationsCreateCreated{} } -/* DcimLocationsCreateCreated describes a response with status code 201, with default header values. +/* +DcimLocationsCreateCreated describes a response with status code 201, with default header values. DcimLocationsCreateCreated dcim locations create created */ @@ -62,9 +63,39 @@ type DcimLocationsCreateCreated struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations create created response has a 2xx status code +func (o *DcimLocationsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations create created response has a 3xx status code +func (o *DcimLocationsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations create created response has a 4xx status code +func (o *DcimLocationsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations create created response has a 5xx status code +func (o *DcimLocationsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations create created response a status code equal to that given +func (o *DcimLocationsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimLocationsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/locations/][%d] dcimLocationsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimLocationsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/locations/][%d] dcimLocationsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimLocationsCreateCreated) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_parameters.go index b97f8f3b2..364e30ba7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimLocationsDeleteParamsWithHTTPClient(client *http.Client) *DcimLocati } } -/* DcimLocationsDeleteParams contains all the parameters to send to the API endpoint - for the dcim locations delete operation. +/* +DcimLocationsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations delete operation. + + Typically these are written to a http.Request. */ type DcimLocationsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_responses.go index b17cdfa1d..ab1bf9e06 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimLocationsDeleteNoContent() *DcimLocationsDeleteNoContent { return &DcimLocationsDeleteNoContent{} } -/* DcimLocationsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimLocationsDeleteNoContent describes a response with status code 204, with default header values. DcimLocationsDeleteNoContent dcim locations delete no content */ type DcimLocationsDeleteNoContent struct { } +// IsSuccess returns true when this dcim locations delete no content response has a 2xx status code +func (o *DcimLocationsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations delete no content response has a 3xx status code +func (o *DcimLocationsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations delete no content response has a 4xx status code +func (o *DcimLocationsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations delete no content response has a 5xx status code +func (o *DcimLocationsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations delete no content response a status code equal to that given +func (o *DcimLocationsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimLocationsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/locations/{id}/][%d] dcimLocationsDeleteNoContent ", 204) } +func (o *DcimLocationsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/locations/{id}/][%d] dcimLocationsDeleteNoContent ", 204) +} + func (o *DcimLocationsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_parameters.go index 7f10fb526..614297a64 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimLocationsListParamsWithHTTPClient(client *http.Client) *DcimLocation } } -/* DcimLocationsListParams contains all the parameters to send to the API endpoint - for the dcim locations list operation. +/* +DcimLocationsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations list operation. + + Typically these are written to a http.Request. */ type DcimLocationsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_responses.go index 45f9c7010..02e2c3f22 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_list_responses.go @@ -59,7 +59,8 @@ func NewDcimLocationsListOK() *DcimLocationsListOK { return &DcimLocationsListOK{} } -/* DcimLocationsListOK describes a response with status code 200, with default header values. +/* +DcimLocationsListOK describes a response with status code 200, with default header values. DcimLocationsListOK dcim locations list o k */ @@ -67,9 +68,39 @@ type DcimLocationsListOK struct { Payload *DcimLocationsListOKBody } +// IsSuccess returns true when this dcim locations list o k response has a 2xx status code +func (o *DcimLocationsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations list o k response has a 3xx status code +func (o *DcimLocationsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations list o k response has a 4xx status code +func (o *DcimLocationsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations list o k response has a 5xx status code +func (o *DcimLocationsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations list o k response a status code equal to that given +func (o *DcimLocationsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsListOK) Error() string { return fmt.Sprintf("[GET /dcim/locations/][%d] dcimLocationsListOK %+v", 200, o.Payload) } + +func (o *DcimLocationsListOK) String() string { + return fmt.Sprintf("[GET /dcim/locations/][%d] dcimLocationsListOK %+v", 200, o.Payload) +} + func (o *DcimLocationsListOK) GetPayload() *DcimLocationsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimLocationsListOK) readResponse(response runtime.ClientResponse, cons return nil } -/*DcimLocationsListOKBody dcim locations list o k body +/* +DcimLocationsListOKBody dcim locations list o k body swagger:model DcimLocationsListOKBody */ type DcimLocationsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_parameters.go index 0cefb0ad1..3f40c9ad4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimLocationsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimLocationsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim locations partial update operation. +/* +DcimLocationsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations partial update operation. + + Typically these are written to a http.Request. */ type DcimLocationsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_responses.go index e290363f3..e6431695b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsPartialUpdateOK() *DcimLocationsPartialUpdateOK { return &DcimLocationsPartialUpdateOK{} } -/* DcimLocationsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimLocationsPartialUpdateOK describes a response with status code 200, with default header values. DcimLocationsPartialUpdateOK dcim locations partial update o k */ @@ -62,9 +63,39 @@ type DcimLocationsPartialUpdateOK struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations partial update o k response has a 2xx status code +func (o *DcimLocationsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations partial update o k response has a 3xx status code +func (o *DcimLocationsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations partial update o k response has a 4xx status code +func (o *DcimLocationsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations partial update o k response has a 5xx status code +func (o *DcimLocationsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations partial update o k response a status code equal to that given +func (o *DcimLocationsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/locations/{id}/][%d] dcimLocationsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimLocationsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/locations/{id}/][%d] dcimLocationsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimLocationsPartialUpdateOK) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_parameters.go index 3eafd2c05..091d4d666 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimLocationsReadParamsWithHTTPClient(client *http.Client) *DcimLocation } } -/* DcimLocationsReadParams contains all the parameters to send to the API endpoint - for the dcim locations read operation. +/* +DcimLocationsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations read operation. + + Typically these are written to a http.Request. */ type DcimLocationsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_responses.go index 39f615dd4..57e7435ed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_read_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsReadOK() *DcimLocationsReadOK { return &DcimLocationsReadOK{} } -/* DcimLocationsReadOK describes a response with status code 200, with default header values. +/* +DcimLocationsReadOK describes a response with status code 200, with default header values. DcimLocationsReadOK dcim locations read o k */ @@ -62,9 +63,39 @@ type DcimLocationsReadOK struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations read o k response has a 2xx status code +func (o *DcimLocationsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations read o k response has a 3xx status code +func (o *DcimLocationsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations read o k response has a 4xx status code +func (o *DcimLocationsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations read o k response has a 5xx status code +func (o *DcimLocationsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations read o k response a status code equal to that given +func (o *DcimLocationsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/locations/{id}/][%d] dcimLocationsReadOK %+v", 200, o.Payload) } + +func (o *DcimLocationsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/locations/{id}/][%d] dcimLocationsReadOK %+v", 200, o.Payload) +} + func (o *DcimLocationsReadOK) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_parameters.go index 736d6ce91..39e13da03 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimLocationsUpdateParamsWithHTTPClient(client *http.Client) *DcimLocati } } -/* DcimLocationsUpdateParams contains all the parameters to send to the API endpoint - for the dcim locations update operation. +/* +DcimLocationsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim locations update operation. + + Typically these are written to a http.Request. */ type DcimLocationsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_responses.go index 967f67706..207b37c5f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_locations_update_responses.go @@ -54,7 +54,8 @@ func NewDcimLocationsUpdateOK() *DcimLocationsUpdateOK { return &DcimLocationsUpdateOK{} } -/* DcimLocationsUpdateOK describes a response with status code 200, with default header values. +/* +DcimLocationsUpdateOK describes a response with status code 200, with default header values. DcimLocationsUpdateOK dcim locations update o k */ @@ -62,9 +63,39 @@ type DcimLocationsUpdateOK struct { Payload *models.Location } +// IsSuccess returns true when this dcim locations update o k response has a 2xx status code +func (o *DcimLocationsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim locations update o k response has a 3xx status code +func (o *DcimLocationsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim locations update o k response has a 4xx status code +func (o *DcimLocationsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim locations update o k response has a 5xx status code +func (o *DcimLocationsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim locations update o k response a status code equal to that given +func (o *DcimLocationsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimLocationsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/locations/{id}/][%d] dcimLocationsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimLocationsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/locations/{id}/][%d] dcimLocationsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimLocationsUpdateOK) GetPayload() *models.Location { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_parameters.go index 09d62ec3d..8c30c317e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimManufacturersBulkDeleteParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimManufacturersBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim manufacturers bulk delete operation. +/* +DcimManufacturersBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers bulk delete operation. + + Typically these are written to a http.Request. */ type DcimManufacturersBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_responses.go index e6d508133..e61f1c5a9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimManufacturersBulkDeleteNoContent() *DcimManufacturersBulkDeleteNoCon return &DcimManufacturersBulkDeleteNoContent{} } -/* DcimManufacturersBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimManufacturersBulkDeleteNoContent describes a response with status code 204, with default header values. DcimManufacturersBulkDeleteNoContent dcim manufacturers bulk delete no content */ type DcimManufacturersBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim manufacturers bulk delete no content response has a 2xx status code +func (o *DcimManufacturersBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers bulk delete no content response has a 3xx status code +func (o *DcimManufacturersBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers bulk delete no content response has a 4xx status code +func (o *DcimManufacturersBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers bulk delete no content response has a 5xx status code +func (o *DcimManufacturersBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers bulk delete no content response a status code equal to that given +func (o *DcimManufacturersBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimManufacturersBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/manufacturers/][%d] dcimManufacturersBulkDeleteNoContent ", 204) } +func (o *DcimManufacturersBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/manufacturers/][%d] dcimManufacturersBulkDeleteNoContent ", 204) +} + func (o *DcimManufacturersBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_parameters.go index 0106ef176..4ae0c16b9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimManufacturersBulkPartialUpdateParamsWithHTTPClient(client *http.Clie } } -/* DcimManufacturersBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim manufacturers bulk partial update operation. +/* +DcimManufacturersBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimManufacturersBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_responses.go index 2e629cf71..771f9aec6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersBulkPartialUpdateOK() *DcimManufacturersBulkPartialUpda return &DcimManufacturersBulkPartialUpdateOK{} } -/* DcimManufacturersBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimManufacturersBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimManufacturersBulkPartialUpdateOK dcim manufacturers bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimManufacturersBulkPartialUpdateOK struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers bulk partial update o k response has a 2xx status code +func (o *DcimManufacturersBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers bulk partial update o k response has a 3xx status code +func (o *DcimManufacturersBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers bulk partial update o k response has a 4xx status code +func (o *DcimManufacturersBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers bulk partial update o k response has a 5xx status code +func (o *DcimManufacturersBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers bulk partial update o k response a status code equal to that given +func (o *DcimManufacturersBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/manufacturers/][%d] dcimManufacturersBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/manufacturers/][%d] dcimManufacturersBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersBulkPartialUpdateOK) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_parameters.go index d60a0a29e..b98b16cb3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimManufacturersBulkUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimManufacturersBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim manufacturers bulk update operation. +/* +DcimManufacturersBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers bulk update operation. + + Typically these are written to a http.Request. */ type DcimManufacturersBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_responses.go index 8bcc2dca1..39e6d8e53 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersBulkUpdateOK() *DcimManufacturersBulkUpdateOK { return &DcimManufacturersBulkUpdateOK{} } -/* DcimManufacturersBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimManufacturersBulkUpdateOK describes a response with status code 200, with default header values. DcimManufacturersBulkUpdateOK dcim manufacturers bulk update o k */ @@ -62,9 +63,39 @@ type DcimManufacturersBulkUpdateOK struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers bulk update o k response has a 2xx status code +func (o *DcimManufacturersBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers bulk update o k response has a 3xx status code +func (o *DcimManufacturersBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers bulk update o k response has a 4xx status code +func (o *DcimManufacturersBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers bulk update o k response has a 5xx status code +func (o *DcimManufacturersBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers bulk update o k response a status code equal to that given +func (o *DcimManufacturersBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/manufacturers/][%d] dcimManufacturersBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/manufacturers/][%d] dcimManufacturersBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersBulkUpdateOK) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_parameters.go index fdfbca3f3..07e0154f7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimManufacturersCreateParamsWithHTTPClient(client *http.Client) *DcimMa } } -/* DcimManufacturersCreateParams contains all the parameters to send to the API endpoint - for the dcim manufacturers create operation. +/* +DcimManufacturersCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers create operation. + + Typically these are written to a http.Request. */ type DcimManufacturersCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_responses.go index 68b84178a..3fe60ba17 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_create_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersCreateCreated() *DcimManufacturersCreateCreated { return &DcimManufacturersCreateCreated{} } -/* DcimManufacturersCreateCreated describes a response with status code 201, with default header values. +/* +DcimManufacturersCreateCreated describes a response with status code 201, with default header values. DcimManufacturersCreateCreated dcim manufacturers create created */ @@ -62,9 +63,39 @@ type DcimManufacturersCreateCreated struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers create created response has a 2xx status code +func (o *DcimManufacturersCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers create created response has a 3xx status code +func (o *DcimManufacturersCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers create created response has a 4xx status code +func (o *DcimManufacturersCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers create created response has a 5xx status code +func (o *DcimManufacturersCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers create created response a status code equal to that given +func (o *DcimManufacturersCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimManufacturersCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/manufacturers/][%d] dcimManufacturersCreateCreated %+v", 201, o.Payload) } + +func (o *DcimManufacturersCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/manufacturers/][%d] dcimManufacturersCreateCreated %+v", 201, o.Payload) +} + func (o *DcimManufacturersCreateCreated) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_parameters.go index 73599b892..cb04cb46f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimManufacturersDeleteParamsWithHTTPClient(client *http.Client) *DcimMa } } -/* DcimManufacturersDeleteParams contains all the parameters to send to the API endpoint - for the dcim manufacturers delete operation. +/* +DcimManufacturersDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers delete operation. + + Typically these are written to a http.Request. */ type DcimManufacturersDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_responses.go index ab89a0b6c..fcc4b3bcd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimManufacturersDeleteNoContent() *DcimManufacturersDeleteNoContent { return &DcimManufacturersDeleteNoContent{} } -/* DcimManufacturersDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimManufacturersDeleteNoContent describes a response with status code 204, with default header values. DcimManufacturersDeleteNoContent dcim manufacturers delete no content */ type DcimManufacturersDeleteNoContent struct { } +// IsSuccess returns true when this dcim manufacturers delete no content response has a 2xx status code +func (o *DcimManufacturersDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers delete no content response has a 3xx status code +func (o *DcimManufacturersDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers delete no content response has a 4xx status code +func (o *DcimManufacturersDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers delete no content response has a 5xx status code +func (o *DcimManufacturersDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers delete no content response a status code equal to that given +func (o *DcimManufacturersDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimManufacturersDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/manufacturers/{id}/][%d] dcimManufacturersDeleteNoContent ", 204) } +func (o *DcimManufacturersDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/manufacturers/{id}/][%d] dcimManufacturersDeleteNoContent ", 204) +} + func (o *DcimManufacturersDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_parameters.go index d884bf5cd..080921960 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimManufacturersListParamsWithHTTPClient(client *http.Client) *DcimManu } } -/* DcimManufacturersListParams contains all the parameters to send to the API endpoint - for the dcim manufacturers list operation. +/* +DcimManufacturersListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers list operation. + + Typically these are written to a http.Request. */ type DcimManufacturersListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_responses.go index 6e1a1d2dd..94e3753b8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_list_responses.go @@ -59,7 +59,8 @@ func NewDcimManufacturersListOK() *DcimManufacturersListOK { return &DcimManufacturersListOK{} } -/* DcimManufacturersListOK describes a response with status code 200, with default header values. +/* +DcimManufacturersListOK describes a response with status code 200, with default header values. DcimManufacturersListOK dcim manufacturers list o k */ @@ -67,9 +68,39 @@ type DcimManufacturersListOK struct { Payload *DcimManufacturersListOKBody } +// IsSuccess returns true when this dcim manufacturers list o k response has a 2xx status code +func (o *DcimManufacturersListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers list o k response has a 3xx status code +func (o *DcimManufacturersListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers list o k response has a 4xx status code +func (o *DcimManufacturersListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers list o k response has a 5xx status code +func (o *DcimManufacturersListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers list o k response a status code equal to that given +func (o *DcimManufacturersListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersListOK) Error() string { return fmt.Sprintf("[GET /dcim/manufacturers/][%d] dcimManufacturersListOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersListOK) String() string { + return fmt.Sprintf("[GET /dcim/manufacturers/][%d] dcimManufacturersListOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersListOK) GetPayload() *DcimManufacturersListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimManufacturersListOK) readResponse(response runtime.ClientResponse, return nil } -/*DcimManufacturersListOKBody dcim manufacturers list o k body +/* +DcimManufacturersListOKBody dcim manufacturers list o k body swagger:model DcimManufacturersListOKBody */ type DcimManufacturersListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_parameters.go index 5c358fd59..e24b2ca9d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimManufacturersPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimManufacturersPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim manufacturers partial update operation. +/* +DcimManufacturersPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers partial update operation. + + Typically these are written to a http.Request. */ type DcimManufacturersPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_responses.go index 19e04c250..1eb889082 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersPartialUpdateOK() *DcimManufacturersPartialUpdateOK { return &DcimManufacturersPartialUpdateOK{} } -/* DcimManufacturersPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimManufacturersPartialUpdateOK describes a response with status code 200, with default header values. DcimManufacturersPartialUpdateOK dcim manufacturers partial update o k */ @@ -62,9 +63,39 @@ type DcimManufacturersPartialUpdateOK struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers partial update o k response has a 2xx status code +func (o *DcimManufacturersPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers partial update o k response has a 3xx status code +func (o *DcimManufacturersPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers partial update o k response has a 4xx status code +func (o *DcimManufacturersPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers partial update o k response has a 5xx status code +func (o *DcimManufacturersPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers partial update o k response a status code equal to that given +func (o *DcimManufacturersPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/manufacturers/{id}/][%d] dcimManufacturersPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/manufacturers/{id}/][%d] dcimManufacturersPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersPartialUpdateOK) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_parameters.go index b7bece458..aa5fc45af 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimManufacturersReadParamsWithHTTPClient(client *http.Client) *DcimManu } } -/* DcimManufacturersReadParams contains all the parameters to send to the API endpoint - for the dcim manufacturers read operation. +/* +DcimManufacturersReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers read operation. + + Typically these are written to a http.Request. */ type DcimManufacturersReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_responses.go index 3c778052a..0f87608bd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_read_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersReadOK() *DcimManufacturersReadOK { return &DcimManufacturersReadOK{} } -/* DcimManufacturersReadOK describes a response with status code 200, with default header values. +/* +DcimManufacturersReadOK describes a response with status code 200, with default header values. DcimManufacturersReadOK dcim manufacturers read o k */ @@ -62,9 +63,39 @@ type DcimManufacturersReadOK struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers read o k response has a 2xx status code +func (o *DcimManufacturersReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers read o k response has a 3xx status code +func (o *DcimManufacturersReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers read o k response has a 4xx status code +func (o *DcimManufacturersReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers read o k response has a 5xx status code +func (o *DcimManufacturersReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers read o k response a status code equal to that given +func (o *DcimManufacturersReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersReadOK) Error() string { return fmt.Sprintf("[GET /dcim/manufacturers/{id}/][%d] dcimManufacturersReadOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersReadOK) String() string { + return fmt.Sprintf("[GET /dcim/manufacturers/{id}/][%d] dcimManufacturersReadOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersReadOK) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_parameters.go index b56c15d38..4286e4c6e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimManufacturersUpdateParamsWithHTTPClient(client *http.Client) *DcimMa } } -/* DcimManufacturersUpdateParams contains all the parameters to send to the API endpoint - for the dcim manufacturers update operation. +/* +DcimManufacturersUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim manufacturers update operation. + + Typically these are written to a http.Request. */ type DcimManufacturersUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_responses.go index 229570d3e..5ec314ebc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_manufacturers_update_responses.go @@ -54,7 +54,8 @@ func NewDcimManufacturersUpdateOK() *DcimManufacturersUpdateOK { return &DcimManufacturersUpdateOK{} } -/* DcimManufacturersUpdateOK describes a response with status code 200, with default header values. +/* +DcimManufacturersUpdateOK describes a response with status code 200, with default header values. DcimManufacturersUpdateOK dcim manufacturers update o k */ @@ -62,9 +63,39 @@ type DcimManufacturersUpdateOK struct { Payload *models.Manufacturer } +// IsSuccess returns true when this dcim manufacturers update o k response has a 2xx status code +func (o *DcimManufacturersUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim manufacturers update o k response has a 3xx status code +func (o *DcimManufacturersUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim manufacturers update o k response has a 4xx status code +func (o *DcimManufacturersUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim manufacturers update o k response has a 5xx status code +func (o *DcimManufacturersUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim manufacturers update o k response a status code equal to that given +func (o *DcimManufacturersUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimManufacturersUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/manufacturers/{id}/][%d] dcimManufacturersUpdateOK %+v", 200, o.Payload) } + +func (o *DcimManufacturersUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/manufacturers/{id}/][%d] dcimManufacturersUpdateOK %+v", 200, o.Payload) +} + func (o *DcimManufacturersUpdateOK) GetPayload() *models.Manufacturer { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_parameters.go index f411fbccd..61b5d5fe0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimModuleBayTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimModuleBayTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim module bay templates bulk delete operation. +/* +DcimModuleBayTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_responses.go index 57bc8fd1f..e4375c1ee 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleBayTemplatesBulkDeleteNoContent() *DcimModuleBayTemplatesBulkD return &DcimModuleBayTemplatesBulkDeleteNoContent{} } -/* DcimModuleBayTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleBayTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimModuleBayTemplatesBulkDeleteNoContent dcim module bay templates bulk delete no content */ type DcimModuleBayTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim module bay templates bulk delete no content response has a 2xx status code +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates bulk delete no content response has a 3xx status code +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates bulk delete no content response has a 4xx status code +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates bulk delete no content response has a 5xx status code +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates bulk delete no content response a status code equal to that given +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleBayTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimModuleBayTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimModuleBayTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_parameters.go index 2f61c7f39..1ecae8150 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBayTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimModuleBayTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bay templates bulk partial update operation. +/* +DcimModuleBayTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_responses.go index d87fc5607..ebeec600f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesBulkPartialUpdateOK() *DcimModuleBayTemplatesBulkP return &DcimModuleBayTemplatesBulkPartialUpdateOK{} } -/* DcimModuleBayTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesBulkPartialUpdateOK dcim module bay templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesBulkPartialUpdateOK struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates bulk partial update o k response has a 2xx status code +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates bulk partial update o k response has a 3xx status code +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates bulk partial update o k response has a 4xx status code +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates bulk partial update o k response has a 5xx status code +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates bulk partial update o k response a status code equal to that given +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesBulkPartialUpdateOK) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_parameters.go index eb4a11563..a89c13bc7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBayTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimModuleBayTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bay templates bulk update operation. +/* +DcimModuleBayTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_responses.go index f5f79b71f..ef3fd8161 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesBulkUpdateOK() *DcimModuleBayTemplatesBulkUpdateOK return &DcimModuleBayTemplatesBulkUpdateOK{} } -/* DcimModuleBayTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesBulkUpdateOK dcim module bay templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesBulkUpdateOK struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates bulk update o k response has a 2xx status code +func (o *DcimModuleBayTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates bulk update o k response has a 3xx status code +func (o *DcimModuleBayTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates bulk update o k response has a 4xx status code +func (o *DcimModuleBayTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates bulk update o k response has a 5xx status code +func (o *DcimModuleBayTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates bulk update o k response a status code equal to that given +func (o *DcimModuleBayTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesBulkUpdateOK) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_parameters.go index c43fb9a95..f6e1236fb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBayTemplatesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimModuleBayTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim module bay templates create operation. +/* +DcimModuleBayTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates create operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_responses.go index 81d8f04fa..9c16ffb9c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesCreateCreated() *DcimModuleBayTemplatesCreateCreat return &DcimModuleBayTemplatesCreateCreated{} } -/* DcimModuleBayTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimModuleBayTemplatesCreateCreated describes a response with status code 201, with default header values. DcimModuleBayTemplatesCreateCreated dcim module bay templates create created */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesCreateCreated struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates create created response has a 2xx status code +func (o *DcimModuleBayTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates create created response has a 3xx status code +func (o *DcimModuleBayTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates create created response has a 4xx status code +func (o *DcimModuleBayTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates create created response has a 5xx status code +func (o *DcimModuleBayTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates create created response a status code equal to that given +func (o *DcimModuleBayTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimModuleBayTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimModuleBayTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimModuleBayTemplatesCreateCreated) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_parameters.go index 002dfd559..958a4be07 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBayTemplatesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimModuleBayTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim module bay templates delete operation. +/* +DcimModuleBayTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates delete operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_responses.go index 07bf083a0..c8fa5be65 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleBayTemplatesDeleteNoContent() *DcimModuleBayTemplatesDeleteNoC return &DcimModuleBayTemplatesDeleteNoContent{} } -/* DcimModuleBayTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleBayTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimModuleBayTemplatesDeleteNoContent dcim module bay templates delete no content */ type DcimModuleBayTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim module bay templates delete no content response has a 2xx status code +func (o *DcimModuleBayTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates delete no content response has a 3xx status code +func (o *DcimModuleBayTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates delete no content response has a 4xx status code +func (o *DcimModuleBayTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates delete no content response has a 5xx status code +func (o *DcimModuleBayTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates delete no content response a status code equal to that given +func (o *DcimModuleBayTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleBayTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesDeleteNoContent ", 204) } +func (o *DcimModuleBayTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesDeleteNoContent ", 204) +} + func (o *DcimModuleBayTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_parameters.go index 1389ee207..2b4ba82a0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBayTemplatesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimModuleBayTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim module bay templates list operation. +/* +DcimModuleBayTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates list operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_responses.go index 32a0caa65..c1d987f39 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimModuleBayTemplatesListOK() *DcimModuleBayTemplatesListOK { return &DcimModuleBayTemplatesListOK{} } -/* DcimModuleBayTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesListOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesListOK dcim module bay templates list o k */ @@ -67,9 +68,39 @@ type DcimModuleBayTemplatesListOK struct { Payload *DcimModuleBayTemplatesListOKBody } +// IsSuccess returns true when this dcim module bay templates list o k response has a 2xx status code +func (o *DcimModuleBayTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates list o k response has a 3xx status code +func (o *DcimModuleBayTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates list o k response has a 4xx status code +func (o *DcimModuleBayTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates list o k response has a 5xx status code +func (o *DcimModuleBayTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates list o k response a status code equal to that given +func (o *DcimModuleBayTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/module-bay-templates/][%d] dcimModuleBayTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesListOK) GetPayload() *DcimModuleBayTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimModuleBayTemplatesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimModuleBayTemplatesListOKBody dcim module bay templates list o k body +/* +DcimModuleBayTemplatesListOKBody dcim module bay templates list o k body swagger:model DcimModuleBayTemplatesListOKBody */ type DcimModuleBayTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_parameters.go index cbf0bafaf..d94923fc4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleBayTemplatesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimModuleBayTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bay templates partial update operation. +/* +DcimModuleBayTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_responses.go index 4e21af545..e7cc0a39c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesPartialUpdateOK() *DcimModuleBayTemplatesPartialUp return &DcimModuleBayTemplatesPartialUpdateOK{} } -/* DcimModuleBayTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesPartialUpdateOK dcim module bay templates partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesPartialUpdateOK struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates partial update o k response has a 2xx status code +func (o *DcimModuleBayTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates partial update o k response has a 3xx status code +func (o *DcimModuleBayTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates partial update o k response has a 4xx status code +func (o *DcimModuleBayTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates partial update o k response has a 5xx status code +func (o *DcimModuleBayTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates partial update o k response a status code equal to that given +func (o *DcimModuleBayTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesPartialUpdateOK) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_parameters.go index a192e8fc3..34f7fb574 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBayTemplatesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimModuleBayTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim module bay templates read operation. +/* +DcimModuleBayTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates read operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_responses.go index d29edc361..1a549718e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesReadOK() *DcimModuleBayTemplatesReadOK { return &DcimModuleBayTemplatesReadOK{} } -/* DcimModuleBayTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesReadOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesReadOK dcim module bay templates read o k */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesReadOK struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates read o k response has a 2xx status code +func (o *DcimModuleBayTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates read o k response has a 3xx status code +func (o *DcimModuleBayTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates read o k response has a 4xx status code +func (o *DcimModuleBayTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates read o k response has a 5xx status code +func (o *DcimModuleBayTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates read o k response a status code equal to that given +func (o *DcimModuleBayTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesReadOK) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_parameters.go index 432e92b0c..04fe9b4f9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleBayTemplatesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimModuleBayTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bay templates update operation. +/* +DcimModuleBayTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bay templates update operation. + + Typically these are written to a http.Request. */ type DcimModuleBayTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_responses.go index fe4e32b7d..5d95e510c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bay_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBayTemplatesUpdateOK() *DcimModuleBayTemplatesUpdateOK { return &DcimModuleBayTemplatesUpdateOK{} } -/* DcimModuleBayTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBayTemplatesUpdateOK describes a response with status code 200, with default header values. DcimModuleBayTemplatesUpdateOK dcim module bay templates update o k */ @@ -62,9 +63,39 @@ type DcimModuleBayTemplatesUpdateOK struct { Payload *models.ModuleBayTemplate } +// IsSuccess returns true when this dcim module bay templates update o k response has a 2xx status code +func (o *DcimModuleBayTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bay templates update o k response has a 3xx status code +func (o *DcimModuleBayTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bay templates update o k response has a 4xx status code +func (o *DcimModuleBayTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bay templates update o k response has a 5xx status code +func (o *DcimModuleBayTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bay templates update o k response a status code equal to that given +func (o *DcimModuleBayTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBayTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBayTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-bay-templates/{id}/][%d] dcimModuleBayTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBayTemplatesUpdateOK) GetPayload() *models.ModuleBayTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_parameters.go index 99f5418bd..65650ef43 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimModuleBaysBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimM } } -/* DcimModuleBaysBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim module bays bulk delete operation. +/* +DcimModuleBaysBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays bulk delete operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_responses.go index 28ae49474..fae82638e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleBaysBulkDeleteNoContent() *DcimModuleBaysBulkDeleteNoContent { return &DcimModuleBaysBulkDeleteNoContent{} } -/* DcimModuleBaysBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleBaysBulkDeleteNoContent describes a response with status code 204, with default header values. DcimModuleBaysBulkDeleteNoContent dcim module bays bulk delete no content */ type DcimModuleBaysBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim module bays bulk delete no content response has a 2xx status code +func (o *DcimModuleBaysBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays bulk delete no content response has a 3xx status code +func (o *DcimModuleBaysBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays bulk delete no content response has a 4xx status code +func (o *DcimModuleBaysBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays bulk delete no content response has a 5xx status code +func (o *DcimModuleBaysBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays bulk delete no content response a status code equal to that given +func (o *DcimModuleBaysBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleBaysBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-bays/][%d] dcimModuleBaysBulkDeleteNoContent ", 204) } +func (o *DcimModuleBaysBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-bays/][%d] dcimModuleBaysBulkDeleteNoContent ", 204) +} + func (o *DcimModuleBaysBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_parameters.go index 216087ae6..21961381c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBaysBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimModuleBaysBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bays bulk partial update operation. +/* +DcimModuleBaysBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_responses.go index 39ce7d759..59a8e2483 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysBulkPartialUpdateOK() *DcimModuleBaysBulkPartialUpdateOK { return &DcimModuleBaysBulkPartialUpdateOK{} } -/* DcimModuleBaysBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleBaysBulkPartialUpdateOK dcim module bays bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleBaysBulkPartialUpdateOK struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays bulk partial update o k response has a 2xx status code +func (o *DcimModuleBaysBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays bulk partial update o k response has a 3xx status code +func (o *DcimModuleBaysBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays bulk partial update o k response has a 4xx status code +func (o *DcimModuleBaysBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays bulk partial update o k response has a 5xx status code +func (o *DcimModuleBaysBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays bulk partial update o k response a status code equal to that given +func (o *DcimModuleBaysBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-bays/][%d] dcimModuleBaysBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-bays/][%d] dcimModuleBaysBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysBulkPartialUpdateOK) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_parameters.go index 3ef74021e..d9e2a7d0a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBaysBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimM } } -/* DcimModuleBaysBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bays bulk update operation. +/* +DcimModuleBaysBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays bulk update operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_responses.go index ff5ade31e..f48d86fe5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysBulkUpdateOK() *DcimModuleBaysBulkUpdateOK { return &DcimModuleBaysBulkUpdateOK{} } -/* DcimModuleBaysBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysBulkUpdateOK describes a response with status code 200, with default header values. DcimModuleBaysBulkUpdateOK dcim module bays bulk update o k */ @@ -62,9 +63,39 @@ type DcimModuleBaysBulkUpdateOK struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays bulk update o k response has a 2xx status code +func (o *DcimModuleBaysBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays bulk update o k response has a 3xx status code +func (o *DcimModuleBaysBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays bulk update o k response has a 4xx status code +func (o *DcimModuleBaysBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays bulk update o k response has a 5xx status code +func (o *DcimModuleBaysBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays bulk update o k response a status code equal to that given +func (o *DcimModuleBaysBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-bays/][%d] dcimModuleBaysBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-bays/][%d] dcimModuleBaysBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysBulkUpdateOK) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_parameters.go index 0eeda9f67..3cdf66a07 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleBaysCreateParamsWithHTTPClient(client *http.Client) *DcimModul } } -/* DcimModuleBaysCreateParams contains all the parameters to send to the API endpoint - for the dcim module bays create operation. +/* +DcimModuleBaysCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays create operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_responses.go index 09aeb1cee..f89e7f607 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_create_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysCreateCreated() *DcimModuleBaysCreateCreated { return &DcimModuleBaysCreateCreated{} } -/* DcimModuleBaysCreateCreated describes a response with status code 201, with default header values. +/* +DcimModuleBaysCreateCreated describes a response with status code 201, with default header values. DcimModuleBaysCreateCreated dcim module bays create created */ @@ -62,9 +63,39 @@ type DcimModuleBaysCreateCreated struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays create created response has a 2xx status code +func (o *DcimModuleBaysCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays create created response has a 3xx status code +func (o *DcimModuleBaysCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays create created response has a 4xx status code +func (o *DcimModuleBaysCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays create created response has a 5xx status code +func (o *DcimModuleBaysCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays create created response a status code equal to that given +func (o *DcimModuleBaysCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimModuleBaysCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/module-bays/][%d] dcimModuleBaysCreateCreated %+v", 201, o.Payload) } + +func (o *DcimModuleBaysCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/module-bays/][%d] dcimModuleBaysCreateCreated %+v", 201, o.Payload) +} + func (o *DcimModuleBaysCreateCreated) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_parameters.go index 415cc095e..8a10da59e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBaysDeleteParamsWithHTTPClient(client *http.Client) *DcimModul } } -/* DcimModuleBaysDeleteParams contains all the parameters to send to the API endpoint - for the dcim module bays delete operation. +/* +DcimModuleBaysDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays delete operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_responses.go index 71964fe87..e9fbe6599 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleBaysDeleteNoContent() *DcimModuleBaysDeleteNoContent { return &DcimModuleBaysDeleteNoContent{} } -/* DcimModuleBaysDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleBaysDeleteNoContent describes a response with status code 204, with default header values. DcimModuleBaysDeleteNoContent dcim module bays delete no content */ type DcimModuleBaysDeleteNoContent struct { } +// IsSuccess returns true when this dcim module bays delete no content response has a 2xx status code +func (o *DcimModuleBaysDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays delete no content response has a 3xx status code +func (o *DcimModuleBaysDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays delete no content response has a 4xx status code +func (o *DcimModuleBaysDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays delete no content response has a 5xx status code +func (o *DcimModuleBaysDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays delete no content response a status code equal to that given +func (o *DcimModuleBaysDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleBaysDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-bays/{id}/][%d] dcimModuleBaysDeleteNoContent ", 204) } +func (o *DcimModuleBaysDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-bays/{id}/][%d] dcimModuleBaysDeleteNoContent ", 204) +} + func (o *DcimModuleBaysDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_parameters.go index 9ba3050dd..2b49c0d66 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBaysListParamsWithHTTPClient(client *http.Client) *DcimModuleB } } -/* DcimModuleBaysListParams contains all the parameters to send to the API endpoint - for the dcim module bays list operation. +/* +DcimModuleBaysListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays list operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_responses.go index b57d67db9..f52ef516c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_list_responses.go @@ -59,7 +59,8 @@ func NewDcimModuleBaysListOK() *DcimModuleBaysListOK { return &DcimModuleBaysListOK{} } -/* DcimModuleBaysListOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysListOK describes a response with status code 200, with default header values. DcimModuleBaysListOK dcim module bays list o k */ @@ -67,9 +68,39 @@ type DcimModuleBaysListOK struct { Payload *DcimModuleBaysListOKBody } +// IsSuccess returns true when this dcim module bays list o k response has a 2xx status code +func (o *DcimModuleBaysListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays list o k response has a 3xx status code +func (o *DcimModuleBaysListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays list o k response has a 4xx status code +func (o *DcimModuleBaysListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays list o k response has a 5xx status code +func (o *DcimModuleBaysListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays list o k response a status code equal to that given +func (o *DcimModuleBaysListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysListOK) Error() string { return fmt.Sprintf("[GET /dcim/module-bays/][%d] dcimModuleBaysListOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysListOK) String() string { + return fmt.Sprintf("[GET /dcim/module-bays/][%d] dcimModuleBaysListOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysListOK) GetPayload() *DcimModuleBaysListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimModuleBaysListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimModuleBaysListOKBody dcim module bays list o k body +/* +DcimModuleBaysListOKBody dcim module bays list o k body swagger:model DcimModuleBaysListOKBody */ type DcimModuleBaysListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_parameters.go index 26879ee60..075441d4b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleBaysPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimModuleBaysPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bays partial update operation. +/* +DcimModuleBaysPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_responses.go index b6fe9490c..e9b8198c0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysPartialUpdateOK() *DcimModuleBaysPartialUpdateOK { return &DcimModuleBaysPartialUpdateOK{} } -/* DcimModuleBaysPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleBaysPartialUpdateOK dcim module bays partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleBaysPartialUpdateOK struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays partial update o k response has a 2xx status code +func (o *DcimModuleBaysPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays partial update o k response has a 3xx status code +func (o *DcimModuleBaysPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays partial update o k response has a 4xx status code +func (o *DcimModuleBaysPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays partial update o k response has a 5xx status code +func (o *DcimModuleBaysPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays partial update o k response a status code equal to that given +func (o *DcimModuleBaysPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-bays/{id}/][%d] dcimModuleBaysPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-bays/{id}/][%d] dcimModuleBaysPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysPartialUpdateOK) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_parameters.go index f6397744b..2dc975be3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleBaysReadParamsWithHTTPClient(client *http.Client) *DcimModuleB } } -/* DcimModuleBaysReadParams contains all the parameters to send to the API endpoint - for the dcim module bays read operation. +/* +DcimModuleBaysReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays read operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_responses.go index 9eee61627..c25906ba1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_read_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysReadOK() *DcimModuleBaysReadOK { return &DcimModuleBaysReadOK{} } -/* DcimModuleBaysReadOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysReadOK describes a response with status code 200, with default header values. DcimModuleBaysReadOK dcim module bays read o k */ @@ -62,9 +63,39 @@ type DcimModuleBaysReadOK struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays read o k response has a 2xx status code +func (o *DcimModuleBaysReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays read o k response has a 3xx status code +func (o *DcimModuleBaysReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays read o k response has a 4xx status code +func (o *DcimModuleBaysReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays read o k response has a 5xx status code +func (o *DcimModuleBaysReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays read o k response a status code equal to that given +func (o *DcimModuleBaysReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysReadOK) Error() string { return fmt.Sprintf("[GET /dcim/module-bays/{id}/][%d] dcimModuleBaysReadOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysReadOK) String() string { + return fmt.Sprintf("[GET /dcim/module-bays/{id}/][%d] dcimModuleBaysReadOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysReadOK) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_parameters.go index a0e5be6a2..2ea3ac184 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleBaysUpdateParamsWithHTTPClient(client *http.Client) *DcimModul } } -/* DcimModuleBaysUpdateParams contains all the parameters to send to the API endpoint - for the dcim module bays update operation. +/* +DcimModuleBaysUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module bays update operation. + + Typically these are written to a http.Request. */ type DcimModuleBaysUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_responses.go index 6a8a4f398..8836d98a6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_bays_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleBaysUpdateOK() *DcimModuleBaysUpdateOK { return &DcimModuleBaysUpdateOK{} } -/* DcimModuleBaysUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleBaysUpdateOK describes a response with status code 200, with default header values. DcimModuleBaysUpdateOK dcim module bays update o k */ @@ -62,9 +63,39 @@ type DcimModuleBaysUpdateOK struct { Payload *models.ModuleBay } +// IsSuccess returns true when this dcim module bays update o k response has a 2xx status code +func (o *DcimModuleBaysUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module bays update o k response has a 3xx status code +func (o *DcimModuleBaysUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module bays update o k response has a 4xx status code +func (o *DcimModuleBaysUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module bays update o k response has a 5xx status code +func (o *DcimModuleBaysUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module bays update o k response a status code equal to that given +func (o *DcimModuleBaysUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleBaysUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-bays/{id}/][%d] dcimModuleBaysUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleBaysUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-bays/{id}/][%d] dcimModuleBaysUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleBaysUpdateOK) GetPayload() *models.ModuleBay { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_parameters.go index 666af99d5..57b8c5703 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimModuleTypesBulkDeleteParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimModuleTypesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim module types bulk delete operation. +/* +DcimModuleTypesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types bulk delete operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_responses.go index 1bed83d45..bebbfa9fc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleTypesBulkDeleteNoContent() *DcimModuleTypesBulkDeleteNoContent return &DcimModuleTypesBulkDeleteNoContent{} } -/* DcimModuleTypesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleTypesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimModuleTypesBulkDeleteNoContent dcim module types bulk delete no content */ type DcimModuleTypesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim module types bulk delete no content response has a 2xx status code +func (o *DcimModuleTypesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types bulk delete no content response has a 3xx status code +func (o *DcimModuleTypesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types bulk delete no content response has a 4xx status code +func (o *DcimModuleTypesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types bulk delete no content response has a 5xx status code +func (o *DcimModuleTypesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types bulk delete no content response a status code equal to that given +func (o *DcimModuleTypesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleTypesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-types/][%d] dcimModuleTypesBulkDeleteNoContent ", 204) } +func (o *DcimModuleTypesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-types/][%d] dcimModuleTypesBulkDeleteNoContent ", 204) +} + func (o *DcimModuleTypesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_parameters.go index 6c86433bb..ee24226af 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleTypesBulkPartialUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimModuleTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module types bulk partial update operation. +/* +DcimModuleTypesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_responses.go index f37cc7c0e..a24ed8c7b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesBulkPartialUpdateOK() *DcimModuleTypesBulkPartialUpdateOK return &DcimModuleTypesBulkPartialUpdateOK{} } -/* DcimModuleTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleTypesBulkPartialUpdateOK dcim module types bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleTypesBulkPartialUpdateOK struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types bulk partial update o k response has a 2xx status code +func (o *DcimModuleTypesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types bulk partial update o k response has a 3xx status code +func (o *DcimModuleTypesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types bulk partial update o k response has a 4xx status code +func (o *DcimModuleTypesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types bulk partial update o k response has a 5xx status code +func (o *DcimModuleTypesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types bulk partial update o k response a status code equal to that given +func (o *DcimModuleTypesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-types/][%d] dcimModuleTypesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-types/][%d] dcimModuleTypesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesBulkPartialUpdateOK) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_parameters.go index e81bfd6fc..7bbc22d42 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleTypesBulkUpdateParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimModuleTypesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim module types bulk update operation. +/* +DcimModuleTypesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types bulk update operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_responses.go index 7781a4fe4..f7a49e70e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesBulkUpdateOK() *DcimModuleTypesBulkUpdateOK { return &DcimModuleTypesBulkUpdateOK{} } -/* DcimModuleTypesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesBulkUpdateOK describes a response with status code 200, with default header values. DcimModuleTypesBulkUpdateOK dcim module types bulk update o k */ @@ -62,9 +63,39 @@ type DcimModuleTypesBulkUpdateOK struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types bulk update o k response has a 2xx status code +func (o *DcimModuleTypesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types bulk update o k response has a 3xx status code +func (o *DcimModuleTypesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types bulk update o k response has a 4xx status code +func (o *DcimModuleTypesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types bulk update o k response has a 5xx status code +func (o *DcimModuleTypesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types bulk update o k response a status code equal to that given +func (o *DcimModuleTypesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-types/][%d] dcimModuleTypesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-types/][%d] dcimModuleTypesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesBulkUpdateOK) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_parameters.go index db91836de..ebf368416 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimModuleTypesCreateParamsWithHTTPClient(client *http.Client) *DcimModu } } -/* DcimModuleTypesCreateParams contains all the parameters to send to the API endpoint - for the dcim module types create operation. +/* +DcimModuleTypesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types create operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_responses.go index 60055b6c4..dabbd2847 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_create_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesCreateCreated() *DcimModuleTypesCreateCreated { return &DcimModuleTypesCreateCreated{} } -/* DcimModuleTypesCreateCreated describes a response with status code 201, with default header values. +/* +DcimModuleTypesCreateCreated describes a response with status code 201, with default header values. DcimModuleTypesCreateCreated dcim module types create created */ @@ -62,9 +63,39 @@ type DcimModuleTypesCreateCreated struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types create created response has a 2xx status code +func (o *DcimModuleTypesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types create created response has a 3xx status code +func (o *DcimModuleTypesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types create created response has a 4xx status code +func (o *DcimModuleTypesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types create created response has a 5xx status code +func (o *DcimModuleTypesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types create created response a status code equal to that given +func (o *DcimModuleTypesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimModuleTypesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/module-types/][%d] dcimModuleTypesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimModuleTypesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/module-types/][%d] dcimModuleTypesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimModuleTypesCreateCreated) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_parameters.go index abf31599f..825484724 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleTypesDeleteParamsWithHTTPClient(client *http.Client) *DcimModu } } -/* DcimModuleTypesDeleteParams contains all the parameters to send to the API endpoint - for the dcim module types delete operation. +/* +DcimModuleTypesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types delete operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_responses.go index b8b50dd47..10a5dcd49 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModuleTypesDeleteNoContent() *DcimModuleTypesDeleteNoContent { return &DcimModuleTypesDeleteNoContent{} } -/* DcimModuleTypesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModuleTypesDeleteNoContent describes a response with status code 204, with default header values. DcimModuleTypesDeleteNoContent dcim module types delete no content */ type DcimModuleTypesDeleteNoContent struct { } +// IsSuccess returns true when this dcim module types delete no content response has a 2xx status code +func (o *DcimModuleTypesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types delete no content response has a 3xx status code +func (o *DcimModuleTypesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types delete no content response has a 4xx status code +func (o *DcimModuleTypesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types delete no content response has a 5xx status code +func (o *DcimModuleTypesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types delete no content response a status code equal to that given +func (o *DcimModuleTypesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModuleTypesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/module-types/{id}/][%d] dcimModuleTypesDeleteNoContent ", 204) } +func (o *DcimModuleTypesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/module-types/{id}/][%d] dcimModuleTypesDeleteNoContent ", 204) +} + func (o *DcimModuleTypesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_parameters.go index df6026117..7aa2e491a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleTypesListParamsWithHTTPClient(client *http.Client) *DcimModule } } -/* DcimModuleTypesListParams contains all the parameters to send to the API endpoint - for the dcim module types list operation. +/* +DcimModuleTypesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types list operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_responses.go index 4a7a2f266..2fb110351 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_list_responses.go @@ -59,7 +59,8 @@ func NewDcimModuleTypesListOK() *DcimModuleTypesListOK { return &DcimModuleTypesListOK{} } -/* DcimModuleTypesListOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesListOK describes a response with status code 200, with default header values. DcimModuleTypesListOK dcim module types list o k */ @@ -67,9 +68,39 @@ type DcimModuleTypesListOK struct { Payload *DcimModuleTypesListOKBody } +// IsSuccess returns true when this dcim module types list o k response has a 2xx status code +func (o *DcimModuleTypesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types list o k response has a 3xx status code +func (o *DcimModuleTypesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types list o k response has a 4xx status code +func (o *DcimModuleTypesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types list o k response has a 5xx status code +func (o *DcimModuleTypesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types list o k response a status code equal to that given +func (o *DcimModuleTypesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesListOK) Error() string { return fmt.Sprintf("[GET /dcim/module-types/][%d] dcimModuleTypesListOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesListOK) String() string { + return fmt.Sprintf("[GET /dcim/module-types/][%d] dcimModuleTypesListOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesListOK) GetPayload() *DcimModuleTypesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimModuleTypesListOK) readResponse(response runtime.ClientResponse, co return nil } -/*DcimModuleTypesListOKBody dcim module types list o k body +/* +DcimModuleTypesListOKBody dcim module types list o k body swagger:model DcimModuleTypesListOKBody */ type DcimModuleTypesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_parameters.go index eef71f5cc..ce97d2ffe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleTypesPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimModuleTypesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim module types partial update operation. +/* +DcimModuleTypesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types partial update operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_responses.go index 87e87894e..3de4b857a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesPartialUpdateOK() *DcimModuleTypesPartialUpdateOK { return &DcimModuleTypesPartialUpdateOK{} } -/* DcimModuleTypesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesPartialUpdateOK describes a response with status code 200, with default header values. DcimModuleTypesPartialUpdateOK dcim module types partial update o k */ @@ -62,9 +63,39 @@ type DcimModuleTypesPartialUpdateOK struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types partial update o k response has a 2xx status code +func (o *DcimModuleTypesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types partial update o k response has a 3xx status code +func (o *DcimModuleTypesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types partial update o k response has a 4xx status code +func (o *DcimModuleTypesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types partial update o k response has a 5xx status code +func (o *DcimModuleTypesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types partial update o k response a status code equal to that given +func (o *DcimModuleTypesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/module-types/{id}/][%d] dcimModuleTypesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/module-types/{id}/][%d] dcimModuleTypesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesPartialUpdateOK) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_parameters.go index 0305bc0e3..e18d810f5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimModuleTypesReadParamsWithHTTPClient(client *http.Client) *DcimModule } } -/* DcimModuleTypesReadParams contains all the parameters to send to the API endpoint - for the dcim module types read operation. +/* +DcimModuleTypesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types read operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_responses.go index d49a09e02..be8894f48 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_read_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesReadOK() *DcimModuleTypesReadOK { return &DcimModuleTypesReadOK{} } -/* DcimModuleTypesReadOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesReadOK describes a response with status code 200, with default header values. DcimModuleTypesReadOK dcim module types read o k */ @@ -62,9 +63,39 @@ type DcimModuleTypesReadOK struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types read o k response has a 2xx status code +func (o *DcimModuleTypesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types read o k response has a 3xx status code +func (o *DcimModuleTypesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types read o k response has a 4xx status code +func (o *DcimModuleTypesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types read o k response has a 5xx status code +func (o *DcimModuleTypesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types read o k response a status code equal to that given +func (o *DcimModuleTypesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/module-types/{id}/][%d] dcimModuleTypesReadOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/module-types/{id}/][%d] dcimModuleTypesReadOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesReadOK) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_parameters.go index 007119cc2..b514c0ea2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModuleTypesUpdateParamsWithHTTPClient(client *http.Client) *DcimModu } } -/* DcimModuleTypesUpdateParams contains all the parameters to send to the API endpoint - for the dcim module types update operation. +/* +DcimModuleTypesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim module types update operation. + + Typically these are written to a http.Request. */ type DcimModuleTypesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_responses.go index 19d59d944..8575b3536 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_module_types_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModuleTypesUpdateOK() *DcimModuleTypesUpdateOK { return &DcimModuleTypesUpdateOK{} } -/* DcimModuleTypesUpdateOK describes a response with status code 200, with default header values. +/* +DcimModuleTypesUpdateOK describes a response with status code 200, with default header values. DcimModuleTypesUpdateOK dcim module types update o k */ @@ -62,9 +63,39 @@ type DcimModuleTypesUpdateOK struct { Payload *models.ModuleType } +// IsSuccess returns true when this dcim module types update o k response has a 2xx status code +func (o *DcimModuleTypesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim module types update o k response has a 3xx status code +func (o *DcimModuleTypesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim module types update o k response has a 4xx status code +func (o *DcimModuleTypesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim module types update o k response has a 5xx status code +func (o *DcimModuleTypesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim module types update o k response a status code equal to that given +func (o *DcimModuleTypesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModuleTypesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/module-types/{id}/][%d] dcimModuleTypesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModuleTypesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/module-types/{id}/][%d] dcimModuleTypesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModuleTypesUpdateOK) GetPayload() *models.ModuleType { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_parameters.go index 711eea53e..abfc3b936 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimModulesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimModu } } -/* DcimModulesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim modules bulk delete operation. +/* +DcimModulesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules bulk delete operation. + + Typically these are written to a http.Request. */ type DcimModulesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_responses.go index e525d914c..acab425ca 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModulesBulkDeleteNoContent() *DcimModulesBulkDeleteNoContent { return &DcimModulesBulkDeleteNoContent{} } -/* DcimModulesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModulesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimModulesBulkDeleteNoContent dcim modules bulk delete no content */ type DcimModulesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim modules bulk delete no content response has a 2xx status code +func (o *DcimModulesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules bulk delete no content response has a 3xx status code +func (o *DcimModulesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules bulk delete no content response has a 4xx status code +func (o *DcimModulesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules bulk delete no content response has a 5xx status code +func (o *DcimModulesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules bulk delete no content response a status code equal to that given +func (o *DcimModulesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModulesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/modules/][%d] dcimModulesBulkDeleteNoContent ", 204) } +func (o *DcimModulesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/modules/][%d] dcimModulesBulkDeleteNoContent ", 204) +} + func (o *DcimModulesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_parameters.go index f444f2277..067e9cc9f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModulesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimModulesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim modules bulk partial update operation. +/* +DcimModulesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimModulesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_responses.go index c67ebca90..a593867ec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesBulkPartialUpdateOK() *DcimModulesBulkPartialUpdateOK { return &DcimModulesBulkPartialUpdateOK{} } -/* DcimModulesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModulesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimModulesBulkPartialUpdateOK dcim modules bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimModulesBulkPartialUpdateOK struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules bulk partial update o k response has a 2xx status code +func (o *DcimModulesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules bulk partial update o k response has a 3xx status code +func (o *DcimModulesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules bulk partial update o k response has a 4xx status code +func (o *DcimModulesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules bulk partial update o k response has a 5xx status code +func (o *DcimModulesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules bulk partial update o k response a status code equal to that given +func (o *DcimModulesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/modules/][%d] dcimModulesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModulesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/modules/][%d] dcimModulesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModulesBulkPartialUpdateOK) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_parameters.go index 6d1e3dd7b..3efba674a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimModulesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimModu } } -/* DcimModulesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim modules bulk update operation. +/* +DcimModulesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules bulk update operation. + + Typically these are written to a http.Request. */ type DcimModulesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_responses.go index a2f4e8a99..41f3b33e8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesBulkUpdateOK() *DcimModulesBulkUpdateOK { return &DcimModulesBulkUpdateOK{} } -/* DcimModulesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimModulesBulkUpdateOK describes a response with status code 200, with default header values. DcimModulesBulkUpdateOK dcim modules bulk update o k */ @@ -62,9 +63,39 @@ type DcimModulesBulkUpdateOK struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules bulk update o k response has a 2xx status code +func (o *DcimModulesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules bulk update o k response has a 3xx status code +func (o *DcimModulesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules bulk update o k response has a 4xx status code +func (o *DcimModulesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules bulk update o k response has a 5xx status code +func (o *DcimModulesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules bulk update o k response a status code equal to that given +func (o *DcimModulesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/modules/][%d] dcimModulesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModulesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/modules/][%d] dcimModulesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModulesBulkUpdateOK) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_parameters.go index a33d5de2f..3ab5359d9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimModulesCreateParamsWithHTTPClient(client *http.Client) *DcimModulesC } } -/* DcimModulesCreateParams contains all the parameters to send to the API endpoint - for the dcim modules create operation. +/* +DcimModulesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules create operation. + + Typically these are written to a http.Request. */ type DcimModulesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_responses.go index 9eca5725b..51d7344c2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_create_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesCreateCreated() *DcimModulesCreateCreated { return &DcimModulesCreateCreated{} } -/* DcimModulesCreateCreated describes a response with status code 201, with default header values. +/* +DcimModulesCreateCreated describes a response with status code 201, with default header values. DcimModulesCreateCreated dcim modules create created */ @@ -62,9 +63,39 @@ type DcimModulesCreateCreated struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules create created response has a 2xx status code +func (o *DcimModulesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules create created response has a 3xx status code +func (o *DcimModulesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules create created response has a 4xx status code +func (o *DcimModulesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules create created response has a 5xx status code +func (o *DcimModulesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules create created response a status code equal to that given +func (o *DcimModulesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimModulesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/modules/][%d] dcimModulesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimModulesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/modules/][%d] dcimModulesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimModulesCreateCreated) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_parameters.go index 4220b8f14..65f147764 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimModulesDeleteParamsWithHTTPClient(client *http.Client) *DcimModulesD } } -/* DcimModulesDeleteParams contains all the parameters to send to the API endpoint - for the dcim modules delete operation. +/* +DcimModulesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules delete operation. + + Typically these are written to a http.Request. */ type DcimModulesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_responses.go index e869dc61f..f86e3af42 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimModulesDeleteNoContent() *DcimModulesDeleteNoContent { return &DcimModulesDeleteNoContent{} } -/* DcimModulesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimModulesDeleteNoContent describes a response with status code 204, with default header values. DcimModulesDeleteNoContent dcim modules delete no content */ type DcimModulesDeleteNoContent struct { } +// IsSuccess returns true when this dcim modules delete no content response has a 2xx status code +func (o *DcimModulesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules delete no content response has a 3xx status code +func (o *DcimModulesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules delete no content response has a 4xx status code +func (o *DcimModulesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules delete no content response has a 5xx status code +func (o *DcimModulesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules delete no content response a status code equal to that given +func (o *DcimModulesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimModulesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/modules/{id}/][%d] dcimModulesDeleteNoContent ", 204) } +func (o *DcimModulesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/modules/{id}/][%d] dcimModulesDeleteNoContent ", 204) +} + func (o *DcimModulesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_parameters.go index 1dc254c22..c6b771cda 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimModulesListParamsWithHTTPClient(client *http.Client) *DcimModulesLis } } -/* DcimModulesListParams contains all the parameters to send to the API endpoint - for the dcim modules list operation. +/* +DcimModulesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules list operation. + + Typically these are written to a http.Request. */ type DcimModulesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_responses.go index 46bf16172..4434410ec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_list_responses.go @@ -59,7 +59,8 @@ func NewDcimModulesListOK() *DcimModulesListOK { return &DcimModulesListOK{} } -/* DcimModulesListOK describes a response with status code 200, with default header values. +/* +DcimModulesListOK describes a response with status code 200, with default header values. DcimModulesListOK dcim modules list o k */ @@ -67,9 +68,39 @@ type DcimModulesListOK struct { Payload *DcimModulesListOKBody } +// IsSuccess returns true when this dcim modules list o k response has a 2xx status code +func (o *DcimModulesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules list o k response has a 3xx status code +func (o *DcimModulesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules list o k response has a 4xx status code +func (o *DcimModulesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules list o k response has a 5xx status code +func (o *DcimModulesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules list o k response a status code equal to that given +func (o *DcimModulesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesListOK) Error() string { return fmt.Sprintf("[GET /dcim/modules/][%d] dcimModulesListOK %+v", 200, o.Payload) } + +func (o *DcimModulesListOK) String() string { + return fmt.Sprintf("[GET /dcim/modules/][%d] dcimModulesListOK %+v", 200, o.Payload) +} + func (o *DcimModulesListOK) GetPayload() *DcimModulesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimModulesListOK) readResponse(response runtime.ClientResponse, consum return nil } -/*DcimModulesListOKBody dcim modules list o k body +/* +DcimModulesListOKBody dcim modules list o k body swagger:model DcimModulesListOKBody */ type DcimModulesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_parameters.go index 161589260..8ac651a5f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModulesPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimM } } -/* DcimModulesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim modules partial update operation. +/* +DcimModulesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules partial update operation. + + Typically these are written to a http.Request. */ type DcimModulesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_responses.go index c0fd45b7b..7bdc2e2eb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesPartialUpdateOK() *DcimModulesPartialUpdateOK { return &DcimModulesPartialUpdateOK{} } -/* DcimModulesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimModulesPartialUpdateOK describes a response with status code 200, with default header values. DcimModulesPartialUpdateOK dcim modules partial update o k */ @@ -62,9 +63,39 @@ type DcimModulesPartialUpdateOK struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules partial update o k response has a 2xx status code +func (o *DcimModulesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules partial update o k response has a 3xx status code +func (o *DcimModulesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules partial update o k response has a 4xx status code +func (o *DcimModulesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules partial update o k response has a 5xx status code +func (o *DcimModulesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules partial update o k response a status code equal to that given +func (o *DcimModulesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/modules/{id}/][%d] dcimModulesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModulesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/modules/{id}/][%d] dcimModulesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModulesPartialUpdateOK) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_parameters.go index 4634d5413..8f3e76942 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimModulesReadParamsWithHTTPClient(client *http.Client) *DcimModulesRea } } -/* DcimModulesReadParams contains all the parameters to send to the API endpoint - for the dcim modules read operation. +/* +DcimModulesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules read operation. + + Typically these are written to a http.Request. */ type DcimModulesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_responses.go index 18b71f755..b400c5dc4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_read_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesReadOK() *DcimModulesReadOK { return &DcimModulesReadOK{} } -/* DcimModulesReadOK describes a response with status code 200, with default header values. +/* +DcimModulesReadOK describes a response with status code 200, with default header values. DcimModulesReadOK dcim modules read o k */ @@ -62,9 +63,39 @@ type DcimModulesReadOK struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules read o k response has a 2xx status code +func (o *DcimModulesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules read o k response has a 3xx status code +func (o *DcimModulesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules read o k response has a 4xx status code +func (o *DcimModulesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules read o k response has a 5xx status code +func (o *DcimModulesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules read o k response a status code equal to that given +func (o *DcimModulesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/modules/{id}/][%d] dcimModulesReadOK %+v", 200, o.Payload) } + +func (o *DcimModulesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/modules/{id}/][%d] dcimModulesReadOK %+v", 200, o.Payload) +} + func (o *DcimModulesReadOK) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_parameters.go index ab1ff705b..15c5278e0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimModulesUpdateParamsWithHTTPClient(client *http.Client) *DcimModulesU } } -/* DcimModulesUpdateParams contains all the parameters to send to the API endpoint - for the dcim modules update operation. +/* +DcimModulesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim modules update operation. + + Typically these are written to a http.Request. */ type DcimModulesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_responses.go index eaa38dc98..88937c6e8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_modules_update_responses.go @@ -54,7 +54,8 @@ func NewDcimModulesUpdateOK() *DcimModulesUpdateOK { return &DcimModulesUpdateOK{} } -/* DcimModulesUpdateOK describes a response with status code 200, with default header values. +/* +DcimModulesUpdateOK describes a response with status code 200, with default header values. DcimModulesUpdateOK dcim modules update o k */ @@ -62,9 +63,39 @@ type DcimModulesUpdateOK struct { Payload *models.Module } +// IsSuccess returns true when this dcim modules update o k response has a 2xx status code +func (o *DcimModulesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim modules update o k response has a 3xx status code +func (o *DcimModulesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim modules update o k response has a 4xx status code +func (o *DcimModulesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim modules update o k response has a 5xx status code +func (o *DcimModulesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim modules update o k response a status code equal to that given +func (o *DcimModulesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimModulesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/modules/{id}/][%d] dcimModulesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimModulesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/modules/{id}/][%d] dcimModulesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimModulesUpdateOK) GetPayload() *models.Module { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_parameters.go index 3b0997ec3..58c82eb00 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPlatformsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimPl } } -/* DcimPlatformsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim platforms bulk delete operation. +/* +DcimPlatformsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPlatformsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_responses.go index 0d7a8b281..40b3905ee 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPlatformsBulkDeleteNoContent() *DcimPlatformsBulkDeleteNoContent { return &DcimPlatformsBulkDeleteNoContent{} } -/* DcimPlatformsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPlatformsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPlatformsBulkDeleteNoContent dcim platforms bulk delete no content */ type DcimPlatformsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim platforms bulk delete no content response has a 2xx status code +func (o *DcimPlatformsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms bulk delete no content response has a 3xx status code +func (o *DcimPlatformsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms bulk delete no content response has a 4xx status code +func (o *DcimPlatformsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms bulk delete no content response has a 5xx status code +func (o *DcimPlatformsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms bulk delete no content response a status code equal to that given +func (o *DcimPlatformsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPlatformsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/platforms/][%d] dcimPlatformsBulkDeleteNoContent ", 204) } +func (o *DcimPlatformsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/platforms/][%d] dcimPlatformsBulkDeleteNoContent ", 204) +} + func (o *DcimPlatformsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_parameters.go index d7f81428b..b646bd5b7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPlatformsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimPlatformsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim platforms bulk partial update operation. +/* +DcimPlatformsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPlatformsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_responses.go index 205c33c52..788e40220 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsBulkPartialUpdateOK() *DcimPlatformsBulkPartialUpdateOK { return &DcimPlatformsBulkPartialUpdateOK{} } -/* DcimPlatformsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPlatformsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPlatformsBulkPartialUpdateOK dcim platforms bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPlatformsBulkPartialUpdateOK struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms bulk partial update o k response has a 2xx status code +func (o *DcimPlatformsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms bulk partial update o k response has a 3xx status code +func (o *DcimPlatformsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms bulk partial update o k response has a 4xx status code +func (o *DcimPlatformsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms bulk partial update o k response has a 5xx status code +func (o *DcimPlatformsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms bulk partial update o k response a status code equal to that given +func (o *DcimPlatformsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/platforms/][%d] dcimPlatformsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/platforms/][%d] dcimPlatformsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsBulkPartialUpdateOK) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_parameters.go index cc5cdd233..7bc3fc1c0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPlatformsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimPl } } -/* DcimPlatformsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim platforms bulk update operation. +/* +DcimPlatformsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms bulk update operation. + + Typically these are written to a http.Request. */ type DcimPlatformsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_responses.go index 0105b217e..aa2a0f7a1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsBulkUpdateOK() *DcimPlatformsBulkUpdateOK { return &DcimPlatformsBulkUpdateOK{} } -/* DcimPlatformsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPlatformsBulkUpdateOK describes a response with status code 200, with default header values. DcimPlatformsBulkUpdateOK dcim platforms bulk update o k */ @@ -62,9 +63,39 @@ type DcimPlatformsBulkUpdateOK struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms bulk update o k response has a 2xx status code +func (o *DcimPlatformsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms bulk update o k response has a 3xx status code +func (o *DcimPlatformsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms bulk update o k response has a 4xx status code +func (o *DcimPlatformsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms bulk update o k response has a 5xx status code +func (o *DcimPlatformsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms bulk update o k response a status code equal to that given +func (o *DcimPlatformsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/platforms/][%d] dcimPlatformsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/platforms/][%d] dcimPlatformsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsBulkUpdateOK) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_parameters.go index a029a2326..67a12d703 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPlatformsCreateParamsWithHTTPClient(client *http.Client) *DcimPlatfo } } -/* DcimPlatformsCreateParams contains all the parameters to send to the API endpoint - for the dcim platforms create operation. +/* +DcimPlatformsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms create operation. + + Typically these are written to a http.Request. */ type DcimPlatformsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_responses.go index 55d586a4e..bb6c4824a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsCreateCreated() *DcimPlatformsCreateCreated { return &DcimPlatformsCreateCreated{} } -/* DcimPlatformsCreateCreated describes a response with status code 201, with default header values. +/* +DcimPlatformsCreateCreated describes a response with status code 201, with default header values. DcimPlatformsCreateCreated dcim platforms create created */ @@ -62,9 +63,39 @@ type DcimPlatformsCreateCreated struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms create created response has a 2xx status code +func (o *DcimPlatformsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms create created response has a 3xx status code +func (o *DcimPlatformsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms create created response has a 4xx status code +func (o *DcimPlatformsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms create created response has a 5xx status code +func (o *DcimPlatformsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms create created response a status code equal to that given +func (o *DcimPlatformsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPlatformsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/platforms/][%d] dcimPlatformsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPlatformsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/platforms/][%d] dcimPlatformsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPlatformsCreateCreated) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_parameters.go index 6e3b8b07d..35143dce5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPlatformsDeleteParamsWithHTTPClient(client *http.Client) *DcimPlatfo } } -/* DcimPlatformsDeleteParams contains all the parameters to send to the API endpoint - for the dcim platforms delete operation. +/* +DcimPlatformsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms delete operation. + + Typically these are written to a http.Request. */ type DcimPlatformsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_responses.go index 55a2f1b69..8db0a6076 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPlatformsDeleteNoContent() *DcimPlatformsDeleteNoContent { return &DcimPlatformsDeleteNoContent{} } -/* DcimPlatformsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPlatformsDeleteNoContent describes a response with status code 204, with default header values. DcimPlatformsDeleteNoContent dcim platforms delete no content */ type DcimPlatformsDeleteNoContent struct { } +// IsSuccess returns true when this dcim platforms delete no content response has a 2xx status code +func (o *DcimPlatformsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms delete no content response has a 3xx status code +func (o *DcimPlatformsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms delete no content response has a 4xx status code +func (o *DcimPlatformsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms delete no content response has a 5xx status code +func (o *DcimPlatformsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms delete no content response a status code equal to that given +func (o *DcimPlatformsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPlatformsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/platforms/{id}/][%d] dcimPlatformsDeleteNoContent ", 204) } +func (o *DcimPlatformsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/platforms/{id}/][%d] dcimPlatformsDeleteNoContent ", 204) +} + func (o *DcimPlatformsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_parameters.go index 307cef5b1..f474b4a61 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPlatformsListParamsWithHTTPClient(client *http.Client) *DcimPlatform } } -/* DcimPlatformsListParams contains all the parameters to send to the API endpoint - for the dcim platforms list operation. +/* +DcimPlatformsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms list operation. + + Typically these are written to a http.Request. */ type DcimPlatformsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_responses.go index 81de240dd..b9b0dfba5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPlatformsListOK() *DcimPlatformsListOK { return &DcimPlatformsListOK{} } -/* DcimPlatformsListOK describes a response with status code 200, with default header values. +/* +DcimPlatformsListOK describes a response with status code 200, with default header values. DcimPlatformsListOK dcim platforms list o k */ @@ -67,9 +68,39 @@ type DcimPlatformsListOK struct { Payload *DcimPlatformsListOKBody } +// IsSuccess returns true when this dcim platforms list o k response has a 2xx status code +func (o *DcimPlatformsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms list o k response has a 3xx status code +func (o *DcimPlatformsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms list o k response has a 4xx status code +func (o *DcimPlatformsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms list o k response has a 5xx status code +func (o *DcimPlatformsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms list o k response a status code equal to that given +func (o *DcimPlatformsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsListOK) Error() string { return fmt.Sprintf("[GET /dcim/platforms/][%d] dcimPlatformsListOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsListOK) String() string { + return fmt.Sprintf("[GET /dcim/platforms/][%d] dcimPlatformsListOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsListOK) GetPayload() *DcimPlatformsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPlatformsListOK) readResponse(response runtime.ClientResponse, cons return nil } -/*DcimPlatformsListOKBody dcim platforms list o k body +/* +DcimPlatformsListOKBody dcim platforms list o k body swagger:model DcimPlatformsListOKBody */ type DcimPlatformsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_parameters.go index 3679ffff5..c22963136 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPlatformsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimPlatformsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim platforms partial update operation. +/* +DcimPlatformsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms partial update operation. + + Typically these are written to a http.Request. */ type DcimPlatformsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_responses.go index ea4474526..ca7efa7b6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsPartialUpdateOK() *DcimPlatformsPartialUpdateOK { return &DcimPlatformsPartialUpdateOK{} } -/* DcimPlatformsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPlatformsPartialUpdateOK describes a response with status code 200, with default header values. DcimPlatformsPartialUpdateOK dcim platforms partial update o k */ @@ -62,9 +63,39 @@ type DcimPlatformsPartialUpdateOK struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms partial update o k response has a 2xx status code +func (o *DcimPlatformsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms partial update o k response has a 3xx status code +func (o *DcimPlatformsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms partial update o k response has a 4xx status code +func (o *DcimPlatformsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms partial update o k response has a 5xx status code +func (o *DcimPlatformsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms partial update o k response a status code equal to that given +func (o *DcimPlatformsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/platforms/{id}/][%d] dcimPlatformsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/platforms/{id}/][%d] dcimPlatformsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsPartialUpdateOK) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_parameters.go index f94b91ca5..9d6e93911 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPlatformsReadParamsWithHTTPClient(client *http.Client) *DcimPlatform } } -/* DcimPlatformsReadParams contains all the parameters to send to the API endpoint - for the dcim platforms read operation. +/* +DcimPlatformsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms read operation. + + Typically these are written to a http.Request. */ type DcimPlatformsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_responses.go index 77312bdb5..52c3e8040 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsReadOK() *DcimPlatformsReadOK { return &DcimPlatformsReadOK{} } -/* DcimPlatformsReadOK describes a response with status code 200, with default header values. +/* +DcimPlatformsReadOK describes a response with status code 200, with default header values. DcimPlatformsReadOK dcim platforms read o k */ @@ -62,9 +63,39 @@ type DcimPlatformsReadOK struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms read o k response has a 2xx status code +func (o *DcimPlatformsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms read o k response has a 3xx status code +func (o *DcimPlatformsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms read o k response has a 4xx status code +func (o *DcimPlatformsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms read o k response has a 5xx status code +func (o *DcimPlatformsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms read o k response a status code equal to that given +func (o *DcimPlatformsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/platforms/{id}/][%d] dcimPlatformsReadOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/platforms/{id}/][%d] dcimPlatformsReadOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsReadOK) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_parameters.go index 20acfb71e..7372f2228 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPlatformsUpdateParamsWithHTTPClient(client *http.Client) *DcimPlatfo } } -/* DcimPlatformsUpdateParams contains all the parameters to send to the API endpoint - for the dcim platforms update operation. +/* +DcimPlatformsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim platforms update operation. + + Typically these are written to a http.Request. */ type DcimPlatformsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_responses.go index 89f9bfacf..f467d32b1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_platforms_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPlatformsUpdateOK() *DcimPlatformsUpdateOK { return &DcimPlatformsUpdateOK{} } -/* DcimPlatformsUpdateOK describes a response with status code 200, with default header values. +/* +DcimPlatformsUpdateOK describes a response with status code 200, with default header values. DcimPlatformsUpdateOK dcim platforms update o k */ @@ -62,9 +63,39 @@ type DcimPlatformsUpdateOK struct { Payload *models.Platform } +// IsSuccess returns true when this dcim platforms update o k response has a 2xx status code +func (o *DcimPlatformsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim platforms update o k response has a 3xx status code +func (o *DcimPlatformsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim platforms update o k response has a 4xx status code +func (o *DcimPlatformsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim platforms update o k response has a 5xx status code +func (o *DcimPlatformsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim platforms update o k response a status code equal to that given +func (o *DcimPlatformsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPlatformsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/platforms/{id}/][%d] dcimPlatformsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPlatformsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/platforms/{id}/][%d] dcimPlatformsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPlatformsUpdateOK) GetPayload() *models.Platform { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_parameters.go index a7879d739..656a703a7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerFeedsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimP } } -/* DcimPowerFeedsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power feeds bulk delete operation. +/* +DcimPowerFeedsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_responses.go index 736fb6bf9..698bf194e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerFeedsBulkDeleteNoContent() *DcimPowerFeedsBulkDeleteNoContent { return &DcimPowerFeedsBulkDeleteNoContent{} } -/* DcimPowerFeedsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerFeedsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerFeedsBulkDeleteNoContent dcim power feeds bulk delete no content */ type DcimPowerFeedsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power feeds bulk delete no content response has a 2xx status code +func (o *DcimPowerFeedsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds bulk delete no content response has a 3xx status code +func (o *DcimPowerFeedsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds bulk delete no content response has a 4xx status code +func (o *DcimPowerFeedsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds bulk delete no content response has a 5xx status code +func (o *DcimPowerFeedsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds bulk delete no content response a status code equal to that given +func (o *DcimPowerFeedsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerFeedsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-feeds/][%d] dcimPowerFeedsBulkDeleteNoContent ", 204) } +func (o *DcimPowerFeedsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-feeds/][%d] dcimPowerFeedsBulkDeleteNoContent ", 204) +} + func (o *DcimPowerFeedsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_parameters.go index 638a4ea4f..d3fcdab92 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerFeedsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimPowerFeedsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power feeds bulk partial update operation. +/* +DcimPowerFeedsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_responses.go index cca2a487b..ac81d43c9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsBulkPartialUpdateOK() *DcimPowerFeedsBulkPartialUpdateOK { return &DcimPowerFeedsBulkPartialUpdateOK{} } -/* DcimPowerFeedsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerFeedsBulkPartialUpdateOK dcim power feeds bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsBulkPartialUpdateOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds bulk partial update o k response has a 2xx status code +func (o *DcimPowerFeedsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds bulk partial update o k response has a 3xx status code +func (o *DcimPowerFeedsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds bulk partial update o k response has a 4xx status code +func (o *DcimPowerFeedsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds bulk partial update o k response has a 5xx status code +func (o *DcimPowerFeedsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds bulk partial update o k response a status code equal to that given +func (o *DcimPowerFeedsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-feeds/][%d] dcimPowerFeedsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-feeds/][%d] dcimPowerFeedsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsBulkPartialUpdateOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_parameters.go index 79f947b6b..9b5a2067e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerFeedsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimP } } -/* DcimPowerFeedsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power feeds bulk update operation. +/* +DcimPowerFeedsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_responses.go index 0e9a0f3d8..a933b7870 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsBulkUpdateOK() *DcimPowerFeedsBulkUpdateOK { return &DcimPowerFeedsBulkUpdateOK{} } -/* DcimPowerFeedsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerFeedsBulkUpdateOK dcim power feeds bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsBulkUpdateOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds bulk update o k response has a 2xx status code +func (o *DcimPowerFeedsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds bulk update o k response has a 3xx status code +func (o *DcimPowerFeedsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds bulk update o k response has a 4xx status code +func (o *DcimPowerFeedsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds bulk update o k response has a 5xx status code +func (o *DcimPowerFeedsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds bulk update o k response a status code equal to that given +func (o *DcimPowerFeedsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-feeds/][%d] dcimPowerFeedsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-feeds/][%d] dcimPowerFeedsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsBulkUpdateOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_parameters.go index 0ed4ccf95..b525bc3a1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerFeedsCreateParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerFeedsCreateParams contains all the parameters to send to the API endpoint - for the dcim power feeds create operation. +/* +DcimPowerFeedsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds create operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_responses.go index 86423f76c..1c26a3098 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsCreateCreated() *DcimPowerFeedsCreateCreated { return &DcimPowerFeedsCreateCreated{} } -/* DcimPowerFeedsCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerFeedsCreateCreated describes a response with status code 201, with default header values. DcimPowerFeedsCreateCreated dcim power feeds create created */ @@ -62,9 +63,39 @@ type DcimPowerFeedsCreateCreated struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds create created response has a 2xx status code +func (o *DcimPowerFeedsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds create created response has a 3xx status code +func (o *DcimPowerFeedsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds create created response has a 4xx status code +func (o *DcimPowerFeedsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds create created response has a 5xx status code +func (o *DcimPowerFeedsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds create created response a status code equal to that given +func (o *DcimPowerFeedsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerFeedsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-feeds/][%d] dcimPowerFeedsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerFeedsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-feeds/][%d] dcimPowerFeedsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerFeedsCreateCreated) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_parameters.go index 512e2a75a..3bb3de9ce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerFeedsDeleteParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerFeedsDeleteParams contains all the parameters to send to the API endpoint - for the dcim power feeds delete operation. +/* +DcimPowerFeedsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds delete operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_responses.go index 7d678859c..8a040f403 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerFeedsDeleteNoContent() *DcimPowerFeedsDeleteNoContent { return &DcimPowerFeedsDeleteNoContent{} } -/* DcimPowerFeedsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerFeedsDeleteNoContent describes a response with status code 204, with default header values. DcimPowerFeedsDeleteNoContent dcim power feeds delete no content */ type DcimPowerFeedsDeleteNoContent struct { } +// IsSuccess returns true when this dcim power feeds delete no content response has a 2xx status code +func (o *DcimPowerFeedsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds delete no content response has a 3xx status code +func (o *DcimPowerFeedsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds delete no content response has a 4xx status code +func (o *DcimPowerFeedsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds delete no content response has a 5xx status code +func (o *DcimPowerFeedsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds delete no content response a status code equal to that given +func (o *DcimPowerFeedsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerFeedsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-feeds/{id}/][%d] dcimPowerFeedsDeleteNoContent ", 204) } +func (o *DcimPowerFeedsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-feeds/{id}/][%d] dcimPowerFeedsDeleteNoContent ", 204) +} + func (o *DcimPowerFeedsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_parameters.go index f2a03f2de..4c26526f6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerFeedsListParamsWithHTTPClient(client *http.Client) *DcimPowerFe } } -/* DcimPowerFeedsListParams contains all the parameters to send to the API endpoint - for the dcim power feeds list operation. +/* +DcimPowerFeedsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds list operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_responses.go index 1402cf4b1..a94545fc0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerFeedsListOK() *DcimPowerFeedsListOK { return &DcimPowerFeedsListOK{} } -/* DcimPowerFeedsListOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsListOK describes a response with status code 200, with default header values. DcimPowerFeedsListOK dcim power feeds list o k */ @@ -67,9 +68,39 @@ type DcimPowerFeedsListOK struct { Payload *DcimPowerFeedsListOKBody } +// IsSuccess returns true when this dcim power feeds list o k response has a 2xx status code +func (o *DcimPowerFeedsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds list o k response has a 3xx status code +func (o *DcimPowerFeedsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds list o k response has a 4xx status code +func (o *DcimPowerFeedsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds list o k response has a 5xx status code +func (o *DcimPowerFeedsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds list o k response a status code equal to that given +func (o *DcimPowerFeedsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-feeds/][%d] dcimPowerFeedsListOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-feeds/][%d] dcimPowerFeedsListOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsListOK) GetPayload() *DcimPowerFeedsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerFeedsListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimPowerFeedsListOKBody dcim power feeds list o k body +/* +DcimPowerFeedsListOKBody dcim power feeds list o k body swagger:model DcimPowerFeedsListOKBody */ type DcimPowerFeedsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_parameters.go index ce517c873..4a564ae6b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerFeedsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimPowerFeedsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power feeds partial update operation. +/* +DcimPowerFeedsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_responses.go index 9b552c0bd..834fefd2c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsPartialUpdateOK() *DcimPowerFeedsPartialUpdateOK { return &DcimPowerFeedsPartialUpdateOK{} } -/* DcimPowerFeedsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerFeedsPartialUpdateOK dcim power feeds partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsPartialUpdateOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds partial update o k response has a 2xx status code +func (o *DcimPowerFeedsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds partial update o k response has a 3xx status code +func (o *DcimPowerFeedsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds partial update o k response has a 4xx status code +func (o *DcimPowerFeedsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds partial update o k response has a 5xx status code +func (o *DcimPowerFeedsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds partial update o k response a status code equal to that given +func (o *DcimPowerFeedsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-feeds/{id}/][%d] dcimPowerFeedsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-feeds/{id}/][%d] dcimPowerFeedsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsPartialUpdateOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_parameters.go index 82f041cef..2cb34df7d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerFeedsReadParamsWithHTTPClient(client *http.Client) *DcimPowerFe } } -/* DcimPowerFeedsReadParams contains all the parameters to send to the API endpoint - for the dcim power feeds read operation. +/* +DcimPowerFeedsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds read operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_responses.go index 746a57af2..a008f3cb5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsReadOK() *DcimPowerFeedsReadOK { return &DcimPowerFeedsReadOK{} } -/* DcimPowerFeedsReadOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsReadOK describes a response with status code 200, with default header values. DcimPowerFeedsReadOK dcim power feeds read o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsReadOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds read o k response has a 2xx status code +func (o *DcimPowerFeedsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds read o k response has a 3xx status code +func (o *DcimPowerFeedsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds read o k response has a 4xx status code +func (o *DcimPowerFeedsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds read o k response has a 5xx status code +func (o *DcimPowerFeedsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds read o k response a status code equal to that given +func (o *DcimPowerFeedsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-feeds/{id}/][%d] dcimPowerFeedsReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-feeds/{id}/][%d] dcimPowerFeedsReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsReadOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_parameters.go index 58b2af433..2f678aaed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerFeedsTraceParamsWithHTTPClient(client *http.Client) *DcimPowerF } } -/* DcimPowerFeedsTraceParams contains all the parameters to send to the API endpoint - for the dcim power feeds trace operation. +/* +DcimPowerFeedsTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds trace operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_responses.go index 9dfc715bf..d737be933 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsTraceOK() *DcimPowerFeedsTraceOK { return &DcimPowerFeedsTraceOK{} } -/* DcimPowerFeedsTraceOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsTraceOK describes a response with status code 200, with default header values. DcimPowerFeedsTraceOK dcim power feeds trace o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsTraceOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds trace o k response has a 2xx status code +func (o *DcimPowerFeedsTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds trace o k response has a 3xx status code +func (o *DcimPowerFeedsTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds trace o k response has a 4xx status code +func (o *DcimPowerFeedsTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds trace o k response has a 5xx status code +func (o *DcimPowerFeedsTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds trace o k response a status code equal to that given +func (o *DcimPowerFeedsTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/power-feeds/{id}/trace/][%d] dcimPowerFeedsTraceOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/power-feeds/{id}/trace/][%d] dcimPowerFeedsTraceOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsTraceOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_parameters.go index daf461166..7a1e78888 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerFeedsUpdateParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerFeedsUpdateParams contains all the parameters to send to the API endpoint - for the dcim power feeds update operation. +/* +DcimPowerFeedsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power feeds update operation. + + Typically these are written to a http.Request. */ type DcimPowerFeedsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_responses.go index b24f65af5..2e213f3ff 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_feeds_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerFeedsUpdateOK() *DcimPowerFeedsUpdateOK { return &DcimPowerFeedsUpdateOK{} } -/* DcimPowerFeedsUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerFeedsUpdateOK describes a response with status code 200, with default header values. DcimPowerFeedsUpdateOK dcim power feeds update o k */ @@ -62,9 +63,39 @@ type DcimPowerFeedsUpdateOK struct { Payload *models.PowerFeed } +// IsSuccess returns true when this dcim power feeds update o k response has a 2xx status code +func (o *DcimPowerFeedsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power feeds update o k response has a 3xx status code +func (o *DcimPowerFeedsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power feeds update o k response has a 4xx status code +func (o *DcimPowerFeedsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power feeds update o k response has a 5xx status code +func (o *DcimPowerFeedsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power feeds update o k response a status code equal to that given +func (o *DcimPowerFeedsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerFeedsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-feeds/{id}/][%d] dcimPowerFeedsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerFeedsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-feeds/{id}/][%d] dcimPowerFeedsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerFeedsUpdateOK) GetPayload() *models.PowerFeed { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_parameters.go index 50dc09501..105644b6d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerOutletTemplatesBulkDeleteParamsWithHTTPClient(client *http.Clie } } -/* DcimPowerOutletTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates bulk delete operation. +/* +DcimPowerOutletTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_responses.go index c01735ebf..fa17a7e71 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerOutletTemplatesBulkDeleteNoContent() *DcimPowerOutletTemplatesB return &DcimPowerOutletTemplatesBulkDeleteNoContent{} } -/* DcimPowerOutletTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerOutletTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerOutletTemplatesBulkDeleteNoContent dcim power outlet templates bulk delete no content */ type DcimPowerOutletTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power outlet templates bulk delete no content response has a 2xx status code +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates bulk delete no content response has a 3xx status code +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates bulk delete no content response has a 4xx status code +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates bulk delete no content response has a 5xx status code +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates bulk delete no content response a status code equal to that given +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimPowerOutletTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_parameters.go index cd0a1c599..a4c66cb69 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletTemplatesBulkPartialUpdateParamsWithHTTPClient(client *ht } } -/* DcimPowerOutletTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates bulk partial update operation. +/* +DcimPowerOutletTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_responses.go index d38d38db3..994ac9c93 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesBulkPartialUpdateOK() *DcimPowerOutletTemplatesB return &DcimPowerOutletTemplatesBulkPartialUpdateOK{} } -/* DcimPowerOutletTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesBulkPartialUpdateOK dcim power outlet templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesBulkPartialUpdateOK struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates bulk partial update o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates bulk partial update o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates bulk partial update o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates bulk partial update o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates bulk partial update o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesBulkPartialUpdateOK) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_parameters.go index 0d25f55bb..0521e5e8b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletTemplatesBulkUpdateParamsWithHTTPClient(client *http.Clie } } -/* DcimPowerOutletTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates bulk update operation. +/* +DcimPowerOutletTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_responses.go index 2f8a8e4da..349082522 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesBulkUpdateOK() *DcimPowerOutletTemplatesBulkUpda return &DcimPowerOutletTemplatesBulkUpdateOK{} } -/* DcimPowerOutletTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesBulkUpdateOK dcim power outlet templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesBulkUpdateOK struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates bulk update o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates bulk update o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates bulk update o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates bulk update o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates bulk update o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesBulkUpdateOK) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_parameters.go index e0737146d..ec1d08f75 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletTemplatesCreateParamsWithHTTPClient(client *http.Client) } } -/* DcimPowerOutletTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates create operation. +/* +DcimPowerOutletTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates create operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_responses.go index 3f582f73e..8be017d55 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesCreateCreated() *DcimPowerOutletTemplatesCreateC return &DcimPowerOutletTemplatesCreateCreated{} } -/* DcimPowerOutletTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerOutletTemplatesCreateCreated describes a response with status code 201, with default header values. DcimPowerOutletTemplatesCreateCreated dcim power outlet templates create created */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesCreateCreated struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates create created response has a 2xx status code +func (o *DcimPowerOutletTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates create created response has a 3xx status code +func (o *DcimPowerOutletTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates create created response has a 4xx status code +func (o *DcimPowerOutletTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates create created response has a 5xx status code +func (o *DcimPowerOutletTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates create created response a status code equal to that given +func (o *DcimPowerOutletTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerOutletTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerOutletTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerOutletTemplatesCreateCreated) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_parameters.go index d9c28e4b2..d2ec93914 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletTemplatesDeleteParamsWithHTTPClient(client *http.Client) } } -/* DcimPowerOutletTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates delete operation. +/* +DcimPowerOutletTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates delete operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_responses.go index 97347e698..26ffcb677 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerOutletTemplatesDeleteNoContent() *DcimPowerOutletTemplatesDelet return &DcimPowerOutletTemplatesDeleteNoContent{} } -/* DcimPowerOutletTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerOutletTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimPowerOutletTemplatesDeleteNoContent dcim power outlet templates delete no content */ type DcimPowerOutletTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim power outlet templates delete no content response has a 2xx status code +func (o *DcimPowerOutletTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates delete no content response has a 3xx status code +func (o *DcimPowerOutletTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates delete no content response has a 4xx status code +func (o *DcimPowerOutletTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates delete no content response has a 5xx status code +func (o *DcimPowerOutletTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates delete no content response a status code equal to that given +func (o *DcimPowerOutletTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerOutletTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesDeleteNoContent ", 204) } +func (o *DcimPowerOutletTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesDeleteNoContent ", 204) +} + func (o *DcimPowerOutletTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_parameters.go index 5d5af73ff..03048609e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletTemplatesListParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerOutletTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates list operation. +/* +DcimPowerOutletTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates list operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_responses.go index 652c9592a..d2a1998db 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerOutletTemplatesListOK() *DcimPowerOutletTemplatesListOK { return &DcimPowerOutletTemplatesListOK{} } -/* DcimPowerOutletTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesListOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesListOK dcim power outlet templates list o k */ @@ -67,9 +68,39 @@ type DcimPowerOutletTemplatesListOK struct { Payload *DcimPowerOutletTemplatesListOKBody } +// IsSuccess returns true when this dcim power outlet templates list o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates list o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates list o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates list o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates list o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-outlet-templates/][%d] dcimPowerOutletTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesListOK) GetPayload() *DcimPowerOutletTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerOutletTemplatesListOK) readResponse(response runtime.ClientRes return nil } -/*DcimPowerOutletTemplatesListOKBody dcim power outlet templates list o k body +/* +DcimPowerOutletTemplatesListOKBody dcim power outlet templates list o k body swagger:model DcimPowerOutletTemplatesListOKBody */ type DcimPowerOutletTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_parameters.go index dd5d482ff..85ad45df4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerOutletTemplatesPartialUpdateParamsWithHTTPClient(client *http.C } } -/* DcimPowerOutletTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates partial update operation. +/* +DcimPowerOutletTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_responses.go index a8bb67395..bd961e2e3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesPartialUpdateOK() *DcimPowerOutletTemplatesParti return &DcimPowerOutletTemplatesPartialUpdateOK{} } -/* DcimPowerOutletTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesPartialUpdateOK dcim power outlet templates partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesPartialUpdateOK struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates partial update o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates partial update o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates partial update o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates partial update o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates partial update o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesPartialUpdateOK) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_parameters.go index 31904d898..a6cdb9d63 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletTemplatesReadParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerOutletTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates read operation. +/* +DcimPowerOutletTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates read operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_responses.go index 6bb405ac9..e2009d79f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesReadOK() *DcimPowerOutletTemplatesReadOK { return &DcimPowerOutletTemplatesReadOK{} } -/* DcimPowerOutletTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesReadOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesReadOK dcim power outlet templates read o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesReadOK struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates read o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates read o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates read o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates read o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates read o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesReadOK) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_parameters.go index d6db6b929..07c50c6d4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerOutletTemplatesUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimPowerOutletTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlet templates update operation. +/* +DcimPowerOutletTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlet templates update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_responses.go index 226b4c3bb..6cbbbdb22 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlet_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletTemplatesUpdateOK() *DcimPowerOutletTemplatesUpdateOK { return &DcimPowerOutletTemplatesUpdateOK{} } -/* DcimPowerOutletTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletTemplatesUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletTemplatesUpdateOK dcim power outlet templates update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletTemplatesUpdateOK struct { Payload *models.PowerOutletTemplate } +// IsSuccess returns true when this dcim power outlet templates update o k response has a 2xx status code +func (o *DcimPowerOutletTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlet templates update o k response has a 3xx status code +func (o *DcimPowerOutletTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlet templates update o k response has a 4xx status code +func (o *DcimPowerOutletTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlet templates update o k response has a 5xx status code +func (o *DcimPowerOutletTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlet templates update o k response a status code equal to that given +func (o *DcimPowerOutletTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-outlet-templates/{id}/][%d] dcimPowerOutletTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletTemplatesUpdateOK) GetPayload() *models.PowerOutletTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_parameters.go index 5be731d3c..3bce0e710 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerOutletsBulkDeleteParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimPowerOutletsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power outlets bulk delete operation. +/* +DcimPowerOutletsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_responses.go index 8c079c408..32f607b3d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerOutletsBulkDeleteNoContent() *DcimPowerOutletsBulkDeleteNoConte return &DcimPowerOutletsBulkDeleteNoContent{} } -/* DcimPowerOutletsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerOutletsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerOutletsBulkDeleteNoContent dcim power outlets bulk delete no content */ type DcimPowerOutletsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power outlets bulk delete no content response has a 2xx status code +func (o *DcimPowerOutletsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets bulk delete no content response has a 3xx status code +func (o *DcimPowerOutletsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets bulk delete no content response has a 4xx status code +func (o *DcimPowerOutletsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets bulk delete no content response has a 5xx status code +func (o *DcimPowerOutletsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets bulk delete no content response a status code equal to that given +func (o *DcimPowerOutletsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerOutletsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-outlets/][%d] dcimPowerOutletsBulkDeleteNoContent ", 204) } +func (o *DcimPowerOutletsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-outlets/][%d] dcimPowerOutletsBulkDeleteNoContent ", 204) +} + func (o *DcimPowerOutletsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_parameters.go index f1b3f318a..38ff391e3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletsBulkPartialUpdateParamsWithHTTPClient(client *http.Clien } } -/* DcimPowerOutletsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlets bulk partial update operation. +/* +DcimPowerOutletsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_responses.go index 874756f9d..316425ffb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsBulkPartialUpdateOK() *DcimPowerOutletsBulkPartialUpdate return &DcimPowerOutletsBulkPartialUpdateOK{} } -/* DcimPowerOutletsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletsBulkPartialUpdateOK dcim power outlets bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsBulkPartialUpdateOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets bulk partial update o k response has a 2xx status code +func (o *DcimPowerOutletsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets bulk partial update o k response has a 3xx status code +func (o *DcimPowerOutletsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets bulk partial update o k response has a 4xx status code +func (o *DcimPowerOutletsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets bulk partial update o k response has a 5xx status code +func (o *DcimPowerOutletsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets bulk partial update o k response a status code equal to that given +func (o *DcimPowerOutletsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-outlets/][%d] dcimPowerOutletsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-outlets/][%d] dcimPowerOutletsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsBulkPartialUpdateOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_parameters.go index 4cec96de2..1d9ac302c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletsBulkUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimPowerOutletsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlets bulk update operation. +/* +DcimPowerOutletsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_responses.go index 73306fffd..b7d9131c0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsBulkUpdateOK() *DcimPowerOutletsBulkUpdateOK { return &DcimPowerOutletsBulkUpdateOK{} } -/* DcimPowerOutletsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletsBulkUpdateOK dcim power outlets bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsBulkUpdateOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets bulk update o k response has a 2xx status code +func (o *DcimPowerOutletsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets bulk update o k response has a 3xx status code +func (o *DcimPowerOutletsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets bulk update o k response has a 4xx status code +func (o *DcimPowerOutletsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets bulk update o k response has a 5xx status code +func (o *DcimPowerOutletsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets bulk update o k response a status code equal to that given +func (o *DcimPowerOutletsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-outlets/][%d] dcimPowerOutletsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-outlets/][%d] dcimPowerOutletsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsBulkUpdateOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_parameters.go index f1db5b226..d43015710 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerOutletsCreateParamsWithHTTPClient(client *http.Client) *DcimPow } } -/* DcimPowerOutletsCreateParams contains all the parameters to send to the API endpoint - for the dcim power outlets create operation. +/* +DcimPowerOutletsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets create operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_responses.go index 46424907c..eb67beb94 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsCreateCreated() *DcimPowerOutletsCreateCreated { return &DcimPowerOutletsCreateCreated{} } -/* DcimPowerOutletsCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerOutletsCreateCreated describes a response with status code 201, with default header values. DcimPowerOutletsCreateCreated dcim power outlets create created */ @@ -62,9 +63,39 @@ type DcimPowerOutletsCreateCreated struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets create created response has a 2xx status code +func (o *DcimPowerOutletsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets create created response has a 3xx status code +func (o *DcimPowerOutletsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets create created response has a 4xx status code +func (o *DcimPowerOutletsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets create created response has a 5xx status code +func (o *DcimPowerOutletsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets create created response a status code equal to that given +func (o *DcimPowerOutletsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerOutletsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-outlets/][%d] dcimPowerOutletsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerOutletsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-outlets/][%d] dcimPowerOutletsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerOutletsCreateCreated) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_parameters.go index d11182c8a..18d343f0d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletsDeleteParamsWithHTTPClient(client *http.Client) *DcimPow } } -/* DcimPowerOutletsDeleteParams contains all the parameters to send to the API endpoint - for the dcim power outlets delete operation. +/* +DcimPowerOutletsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets delete operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_responses.go index e7efc8c9a..042179f0f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerOutletsDeleteNoContent() *DcimPowerOutletsDeleteNoContent { return &DcimPowerOutletsDeleteNoContent{} } -/* DcimPowerOutletsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerOutletsDeleteNoContent describes a response with status code 204, with default header values. DcimPowerOutletsDeleteNoContent dcim power outlets delete no content */ type DcimPowerOutletsDeleteNoContent struct { } +// IsSuccess returns true when this dcim power outlets delete no content response has a 2xx status code +func (o *DcimPowerOutletsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets delete no content response has a 3xx status code +func (o *DcimPowerOutletsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets delete no content response has a 4xx status code +func (o *DcimPowerOutletsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets delete no content response has a 5xx status code +func (o *DcimPowerOutletsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets delete no content response a status code equal to that given +func (o *DcimPowerOutletsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerOutletsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-outlets/{id}/][%d] dcimPowerOutletsDeleteNoContent ", 204) } +func (o *DcimPowerOutletsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-outlets/{id}/][%d] dcimPowerOutletsDeleteNoContent ", 204) +} + func (o *DcimPowerOutletsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_parameters.go index 968485204..0e58ec0bd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletsListParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerOutletsListParams contains all the parameters to send to the API endpoint - for the dcim power outlets list operation. +/* +DcimPowerOutletsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets list operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_responses.go index f8534f138..a3d550d08 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerOutletsListOK() *DcimPowerOutletsListOK { return &DcimPowerOutletsListOK{} } -/* DcimPowerOutletsListOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsListOK describes a response with status code 200, with default header values. DcimPowerOutletsListOK dcim power outlets list o k */ @@ -67,9 +68,39 @@ type DcimPowerOutletsListOK struct { Payload *DcimPowerOutletsListOKBody } +// IsSuccess returns true when this dcim power outlets list o k response has a 2xx status code +func (o *DcimPowerOutletsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets list o k response has a 3xx status code +func (o *DcimPowerOutletsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets list o k response has a 4xx status code +func (o *DcimPowerOutletsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets list o k response has a 5xx status code +func (o *DcimPowerOutletsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets list o k response a status code equal to that given +func (o *DcimPowerOutletsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-outlets/][%d] dcimPowerOutletsListOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-outlets/][%d] dcimPowerOutletsListOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsListOK) GetPayload() *DcimPowerOutletsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerOutletsListOK) readResponse(response runtime.ClientResponse, c return nil } -/*DcimPowerOutletsListOKBody dcim power outlets list o k body +/* +DcimPowerOutletsListOKBody dcim power outlets list o k body swagger:model DcimPowerOutletsListOKBody */ type DcimPowerOutletsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_parameters.go index 177e5650d..c36f75ed9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerOutletsPartialUpdateParamsWithHTTPClient(client *http.Client) * } } -/* DcimPowerOutletsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlets partial update operation. +/* +DcimPowerOutletsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_responses.go index 2223cb352..8fda34474 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsPartialUpdateOK() *DcimPowerOutletsPartialUpdateOK { return &DcimPowerOutletsPartialUpdateOK{} } -/* DcimPowerOutletsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletsPartialUpdateOK dcim power outlets partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsPartialUpdateOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets partial update o k response has a 2xx status code +func (o *DcimPowerOutletsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets partial update o k response has a 3xx status code +func (o *DcimPowerOutletsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets partial update o k response has a 4xx status code +func (o *DcimPowerOutletsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets partial update o k response has a 5xx status code +func (o *DcimPowerOutletsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets partial update o k response a status code equal to that given +func (o *DcimPowerOutletsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-outlets/{id}/][%d] dcimPowerOutletsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-outlets/{id}/][%d] dcimPowerOutletsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsPartialUpdateOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_parameters.go index f8b5bd39b..24a970c9c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletsReadParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerOutletsReadParams contains all the parameters to send to the API endpoint - for the dcim power outlets read operation. +/* +DcimPowerOutletsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets read operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_responses.go index 44cc28e16..f86a8b1be 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsReadOK() *DcimPowerOutletsReadOK { return &DcimPowerOutletsReadOK{} } -/* DcimPowerOutletsReadOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsReadOK describes a response with status code 200, with default header values. DcimPowerOutletsReadOK dcim power outlets read o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsReadOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets read o k response has a 2xx status code +func (o *DcimPowerOutletsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets read o k response has a 3xx status code +func (o *DcimPowerOutletsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets read o k response has a 4xx status code +func (o *DcimPowerOutletsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets read o k response has a 5xx status code +func (o *DcimPowerOutletsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets read o k response a status code equal to that given +func (o *DcimPowerOutletsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-outlets/{id}/][%d] dcimPowerOutletsReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-outlets/{id}/][%d] dcimPowerOutletsReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsReadOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_parameters.go index fc0b69fcb..b21d15675 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerOutletsTraceParamsWithHTTPClient(client *http.Client) *DcimPowe } } -/* DcimPowerOutletsTraceParams contains all the parameters to send to the API endpoint - for the dcim power outlets trace operation. +/* +DcimPowerOutletsTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets trace operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_responses.go index de304e4a0..87b6715c5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsTraceOK() *DcimPowerOutletsTraceOK { return &DcimPowerOutletsTraceOK{} } -/* DcimPowerOutletsTraceOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsTraceOK describes a response with status code 200, with default header values. DcimPowerOutletsTraceOK dcim power outlets trace o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsTraceOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets trace o k response has a 2xx status code +func (o *DcimPowerOutletsTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets trace o k response has a 3xx status code +func (o *DcimPowerOutletsTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets trace o k response has a 4xx status code +func (o *DcimPowerOutletsTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets trace o k response has a 5xx status code +func (o *DcimPowerOutletsTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets trace o k response a status code equal to that given +func (o *DcimPowerOutletsTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/power-outlets/{id}/trace/][%d] dcimPowerOutletsTraceOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/power-outlets/{id}/trace/][%d] dcimPowerOutletsTraceOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsTraceOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_parameters.go index bafd037bb..260c419b1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerOutletsUpdateParamsWithHTTPClient(client *http.Client) *DcimPow } } -/* DcimPowerOutletsUpdateParams contains all the parameters to send to the API endpoint - for the dcim power outlets update operation. +/* +DcimPowerOutletsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power outlets update operation. + + Typically these are written to a http.Request. */ type DcimPowerOutletsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_responses.go index fc90973a9..869cb8b30 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_outlets_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerOutletsUpdateOK() *DcimPowerOutletsUpdateOK { return &DcimPowerOutletsUpdateOK{} } -/* DcimPowerOutletsUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerOutletsUpdateOK describes a response with status code 200, with default header values. DcimPowerOutletsUpdateOK dcim power outlets update o k */ @@ -62,9 +63,39 @@ type DcimPowerOutletsUpdateOK struct { Payload *models.PowerOutlet } +// IsSuccess returns true when this dcim power outlets update o k response has a 2xx status code +func (o *DcimPowerOutletsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power outlets update o k response has a 3xx status code +func (o *DcimPowerOutletsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power outlets update o k response has a 4xx status code +func (o *DcimPowerOutletsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power outlets update o k response has a 5xx status code +func (o *DcimPowerOutletsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power outlets update o k response a status code equal to that given +func (o *DcimPowerOutletsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerOutletsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-outlets/{id}/][%d] dcimPowerOutletsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerOutletsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-outlets/{id}/][%d] dcimPowerOutletsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerOutletsUpdateOK) GetPayload() *models.PowerOutlet { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_parameters.go index 27e4e99e8..e6f9bfc2e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerPanelsBulkDeleteParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimPowerPanelsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power panels bulk delete operation. +/* +DcimPowerPanelsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_responses.go index 417fecc30..2657dd4ff 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPanelsBulkDeleteNoContent() *DcimPowerPanelsBulkDeleteNoContent return &DcimPowerPanelsBulkDeleteNoContent{} } -/* DcimPowerPanelsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPanelsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPanelsBulkDeleteNoContent dcim power panels bulk delete no content */ type DcimPowerPanelsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power panels bulk delete no content response has a 2xx status code +func (o *DcimPowerPanelsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels bulk delete no content response has a 3xx status code +func (o *DcimPowerPanelsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels bulk delete no content response has a 4xx status code +func (o *DcimPowerPanelsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels bulk delete no content response has a 5xx status code +func (o *DcimPowerPanelsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels bulk delete no content response a status code equal to that given +func (o *DcimPowerPanelsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPanelsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-panels/][%d] dcimPowerPanelsBulkDeleteNoContent ", 204) } +func (o *DcimPowerPanelsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-panels/][%d] dcimPowerPanelsBulkDeleteNoContent ", 204) +} + func (o *DcimPowerPanelsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_parameters.go index 69d747c0d..073d03344 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPanelsBulkPartialUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimPowerPanelsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power panels bulk partial update operation. +/* +DcimPowerPanelsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_responses.go index 3a629d0b6..4746e21a6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsBulkPartialUpdateOK() *DcimPowerPanelsBulkPartialUpdateOK return &DcimPowerPanelsBulkPartialUpdateOK{} } -/* DcimPowerPanelsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPanelsBulkPartialUpdateOK dcim power panels bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPanelsBulkPartialUpdateOK struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels bulk partial update o k response has a 2xx status code +func (o *DcimPowerPanelsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels bulk partial update o k response has a 3xx status code +func (o *DcimPowerPanelsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels bulk partial update o k response has a 4xx status code +func (o *DcimPowerPanelsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels bulk partial update o k response has a 5xx status code +func (o *DcimPowerPanelsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels bulk partial update o k response a status code equal to that given +func (o *DcimPowerPanelsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-panels/][%d] dcimPowerPanelsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-panels/][%d] dcimPowerPanelsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsBulkPartialUpdateOK) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_parameters.go index 745ae5db5..8dfb4426b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPanelsBulkUpdateParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimPowerPanelsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power panels bulk update operation. +/* +DcimPowerPanelsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_responses.go index e51c1c67d..89431e227 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsBulkUpdateOK() *DcimPowerPanelsBulkUpdateOK { return &DcimPowerPanelsBulkUpdateOK{} } -/* DcimPowerPanelsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerPanelsBulkUpdateOK dcim power panels bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerPanelsBulkUpdateOK struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels bulk update o k response has a 2xx status code +func (o *DcimPowerPanelsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels bulk update o k response has a 3xx status code +func (o *DcimPowerPanelsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels bulk update o k response has a 4xx status code +func (o *DcimPowerPanelsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels bulk update o k response has a 5xx status code +func (o *DcimPowerPanelsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels bulk update o k response a status code equal to that given +func (o *DcimPowerPanelsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-panels/][%d] dcimPowerPanelsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-panels/][%d] dcimPowerPanelsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsBulkUpdateOK) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_parameters.go index 516c1139e..bc7440000 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPanelsCreateParamsWithHTTPClient(client *http.Client) *DcimPowe } } -/* DcimPowerPanelsCreateParams contains all the parameters to send to the API endpoint - for the dcim power panels create operation. +/* +DcimPowerPanelsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels create operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_responses.go index 49366d4bc..c2c48c982 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsCreateCreated() *DcimPowerPanelsCreateCreated { return &DcimPowerPanelsCreateCreated{} } -/* DcimPowerPanelsCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerPanelsCreateCreated describes a response with status code 201, with default header values. DcimPowerPanelsCreateCreated dcim power panels create created */ @@ -62,9 +63,39 @@ type DcimPowerPanelsCreateCreated struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels create created response has a 2xx status code +func (o *DcimPowerPanelsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels create created response has a 3xx status code +func (o *DcimPowerPanelsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels create created response has a 4xx status code +func (o *DcimPowerPanelsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels create created response has a 5xx status code +func (o *DcimPowerPanelsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels create created response a status code equal to that given +func (o *DcimPowerPanelsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerPanelsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-panels/][%d] dcimPowerPanelsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerPanelsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-panels/][%d] dcimPowerPanelsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerPanelsCreateCreated) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_parameters.go index 87c237f51..88b8ca5db 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPanelsDeleteParamsWithHTTPClient(client *http.Client) *DcimPowe } } -/* DcimPowerPanelsDeleteParams contains all the parameters to send to the API endpoint - for the dcim power panels delete operation. +/* +DcimPowerPanelsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_responses.go index 2e2d44087..50ae6fcd8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPanelsDeleteNoContent() *DcimPowerPanelsDeleteNoContent { return &DcimPowerPanelsDeleteNoContent{} } -/* DcimPowerPanelsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPanelsDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPanelsDeleteNoContent dcim power panels delete no content */ type DcimPowerPanelsDeleteNoContent struct { } +// IsSuccess returns true when this dcim power panels delete no content response has a 2xx status code +func (o *DcimPowerPanelsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels delete no content response has a 3xx status code +func (o *DcimPowerPanelsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels delete no content response has a 4xx status code +func (o *DcimPowerPanelsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels delete no content response has a 5xx status code +func (o *DcimPowerPanelsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels delete no content response a status code equal to that given +func (o *DcimPowerPanelsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPanelsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-panels/{id}/][%d] dcimPowerPanelsDeleteNoContent ", 204) } +func (o *DcimPowerPanelsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-panels/{id}/][%d] dcimPowerPanelsDeleteNoContent ", 204) +} + func (o *DcimPowerPanelsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_parameters.go index b3f1c7493..fc20f4541 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPanelsListParamsWithHTTPClient(client *http.Client) *DcimPowerP } } -/* DcimPowerPanelsListParams contains all the parameters to send to the API endpoint - for the dcim power panels list operation. +/* +DcimPowerPanelsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels list operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_responses.go index f4231ff9f..e508d9139 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerPanelsListOK() *DcimPowerPanelsListOK { return &DcimPowerPanelsListOK{} } -/* DcimPowerPanelsListOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsListOK describes a response with status code 200, with default header values. DcimPowerPanelsListOK dcim power panels list o k */ @@ -67,9 +68,39 @@ type DcimPowerPanelsListOK struct { Payload *DcimPowerPanelsListOKBody } +// IsSuccess returns true when this dcim power panels list o k response has a 2xx status code +func (o *DcimPowerPanelsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels list o k response has a 3xx status code +func (o *DcimPowerPanelsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels list o k response has a 4xx status code +func (o *DcimPowerPanelsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels list o k response has a 5xx status code +func (o *DcimPowerPanelsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels list o k response a status code equal to that given +func (o *DcimPowerPanelsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-panels/][%d] dcimPowerPanelsListOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-panels/][%d] dcimPowerPanelsListOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsListOK) GetPayload() *DcimPowerPanelsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerPanelsListOK) readResponse(response runtime.ClientResponse, co return nil } -/*DcimPowerPanelsListOKBody dcim power panels list o k body +/* +DcimPowerPanelsListOKBody dcim power panels list o k body swagger:model DcimPowerPanelsListOKBody */ type DcimPowerPanelsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_parameters.go index b428af5c1..0f99bd593 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPanelsPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerPanelsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power panels partial update operation. +/* +DcimPowerPanelsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_responses.go index dfb805d1c..9232ea4ce 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsPartialUpdateOK() *DcimPowerPanelsPartialUpdateOK { return &DcimPowerPanelsPartialUpdateOK{} } -/* DcimPowerPanelsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPanelsPartialUpdateOK dcim power panels partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPanelsPartialUpdateOK struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels partial update o k response has a 2xx status code +func (o *DcimPowerPanelsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels partial update o k response has a 3xx status code +func (o *DcimPowerPanelsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels partial update o k response has a 4xx status code +func (o *DcimPowerPanelsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels partial update o k response has a 5xx status code +func (o *DcimPowerPanelsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels partial update o k response a status code equal to that given +func (o *DcimPowerPanelsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-panels/{id}/][%d] dcimPowerPanelsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-panels/{id}/][%d] dcimPowerPanelsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsPartialUpdateOK) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_parameters.go index 5f6d40c8b..90296e705 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPanelsReadParamsWithHTTPClient(client *http.Client) *DcimPowerP } } -/* DcimPowerPanelsReadParams contains all the parameters to send to the API endpoint - for the dcim power panels read operation. +/* +DcimPowerPanelsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels read operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_responses.go index 911a0c538..3b2490d6f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsReadOK() *DcimPowerPanelsReadOK { return &DcimPowerPanelsReadOK{} } -/* DcimPowerPanelsReadOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsReadOK describes a response with status code 200, with default header values. DcimPowerPanelsReadOK dcim power panels read o k */ @@ -62,9 +63,39 @@ type DcimPowerPanelsReadOK struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels read o k response has a 2xx status code +func (o *DcimPowerPanelsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels read o k response has a 3xx status code +func (o *DcimPowerPanelsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels read o k response has a 4xx status code +func (o *DcimPowerPanelsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels read o k response has a 5xx status code +func (o *DcimPowerPanelsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels read o k response a status code equal to that given +func (o *DcimPowerPanelsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-panels/{id}/][%d] dcimPowerPanelsReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-panels/{id}/][%d] dcimPowerPanelsReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsReadOK) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_parameters.go index a240f63e6..0397fc21f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPanelsUpdateParamsWithHTTPClient(client *http.Client) *DcimPowe } } -/* DcimPowerPanelsUpdateParams contains all the parameters to send to the API endpoint - for the dcim power panels update operation. +/* +DcimPowerPanelsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power panels update operation. + + Typically these are written to a http.Request. */ type DcimPowerPanelsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_responses.go index 6c7378abf..ebaec98ab 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_panels_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPanelsUpdateOK() *DcimPowerPanelsUpdateOK { return &DcimPowerPanelsUpdateOK{} } -/* DcimPowerPanelsUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPanelsUpdateOK describes a response with status code 200, with default header values. DcimPowerPanelsUpdateOK dcim power panels update o k */ @@ -62,9 +63,39 @@ type DcimPowerPanelsUpdateOK struct { Payload *models.PowerPanel } +// IsSuccess returns true when this dcim power panels update o k response has a 2xx status code +func (o *DcimPowerPanelsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power panels update o k response has a 3xx status code +func (o *DcimPowerPanelsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power panels update o k response has a 4xx status code +func (o *DcimPowerPanelsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power panels update o k response has a 5xx status code +func (o *DcimPowerPanelsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power panels update o k response a status code equal to that given +func (o *DcimPowerPanelsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPanelsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-panels/{id}/][%d] dcimPowerPanelsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPanelsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-panels/{id}/][%d] dcimPowerPanelsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPanelsUpdateOK) GetPayload() *models.PowerPanel { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_parameters.go index 952d154c0..8a930b882 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerPortTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client } } -/* DcimPowerPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power port templates bulk delete operation. +/* +DcimPowerPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_responses.go index 2c18a2cf2..74176d2b8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPortTemplatesBulkDeleteNoContent() *DcimPowerPortTemplatesBulkD return &DcimPowerPortTemplatesBulkDeleteNoContent{} } -/* DcimPowerPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPortTemplatesBulkDeleteNoContent dcim power port templates bulk delete no content */ type DcimPowerPortTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power port templates bulk delete no content response has a 2xx status code +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates bulk delete no content response has a 3xx status code +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates bulk delete no content response has a 4xx status code +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates bulk delete no content response has a 5xx status code +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates bulk delete no content response a status code equal to that given +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPortTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimPowerPortTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimPowerPortTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_parameters.go index ec1f13b18..7e2d41a7f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http } } -/* DcimPowerPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power port templates bulk partial update operation. +/* +DcimPowerPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_responses.go index 9dcfaff78..018067d4a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesBulkPartialUpdateOK() *DcimPowerPortTemplatesBulkP return &DcimPowerPortTemplatesBulkPartialUpdateOK{} } -/* DcimPowerPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesBulkPartialUpdateOK dcim power port templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesBulkPartialUpdateOK struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates bulk partial update o k response has a 2xx status code +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates bulk partial update o k response has a 3xx status code +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates bulk partial update o k response has a 4xx status code +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates bulk partial update o k response has a 5xx status code +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates bulk partial update o k response a status code equal to that given +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesBulkPartialUpdateOK) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_parameters.go index ba0a78076..c4dfa7ba6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client } } -/* DcimPowerPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power port templates bulk update operation. +/* +DcimPowerPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_responses.go index b7db56be0..d26fa4d68 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesBulkUpdateOK() *DcimPowerPortTemplatesBulkUpdateOK return &DcimPowerPortTemplatesBulkUpdateOK{} } -/* DcimPowerPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesBulkUpdateOK dcim power port templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesBulkUpdateOK struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates bulk update o k response has a 2xx status code +func (o *DcimPowerPortTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates bulk update o k response has a 3xx status code +func (o *DcimPowerPortTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates bulk update o k response has a 4xx status code +func (o *DcimPowerPortTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates bulk update o k response has a 5xx status code +func (o *DcimPowerPortTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates bulk update o k response a status code equal to that given +func (o *DcimPowerPortTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-port-templates/][%d] dcimPowerPortTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesBulkUpdateOK) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_parameters.go index 29aab20d1..97c2f5433 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortTemplatesCreateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerPortTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim power port templates create operation. +/* +DcimPowerPortTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates create operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_responses.go index fff1a045e..25e88655c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesCreateCreated() *DcimPowerPortTemplatesCreateCreat return &DcimPowerPortTemplatesCreateCreated{} } -/* DcimPowerPortTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerPortTemplatesCreateCreated describes a response with status code 201, with default header values. DcimPowerPortTemplatesCreateCreated dcim power port templates create created */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesCreateCreated struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates create created response has a 2xx status code +func (o *DcimPowerPortTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates create created response has a 3xx status code +func (o *DcimPowerPortTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates create created response has a 4xx status code +func (o *DcimPowerPortTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates create created response has a 5xx status code +func (o *DcimPowerPortTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates create created response a status code equal to that given +func (o *DcimPowerPortTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerPortTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-port-templates/][%d] dcimPowerPortTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerPortTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-port-templates/][%d] dcimPowerPortTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerPortTemplatesCreateCreated) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_parameters.go index cd7701f20..22c9f918a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortTemplatesDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim power port templates delete operation. +/* +DcimPowerPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_responses.go index 9549a305f..8a5ae044f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPortTemplatesDeleteNoContent() *DcimPowerPortTemplatesDeleteNoC return &DcimPowerPortTemplatesDeleteNoContent{} } -/* DcimPowerPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPortTemplatesDeleteNoContent dcim power port templates delete no content */ type DcimPowerPortTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim power port templates delete no content response has a 2xx status code +func (o *DcimPowerPortTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates delete no content response has a 3xx status code +func (o *DcimPowerPortTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates delete no content response has a 4xx status code +func (o *DcimPowerPortTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates delete no content response has a 5xx status code +func (o *DcimPowerPortTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates delete no content response a status code equal to that given +func (o *DcimPowerPortTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPortTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesDeleteNoContent ", 204) } +func (o *DcimPowerPortTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesDeleteNoContent ", 204) +} + func (o *DcimPowerPortTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_parameters.go index 0ba9096eb..820b71193 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortTemplatesListParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimPowerPortTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim power port templates list operation. +/* +DcimPowerPortTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates list operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_responses.go index 0475a1568..db1a7eeb8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerPortTemplatesListOK() *DcimPowerPortTemplatesListOK { return &DcimPowerPortTemplatesListOK{} } -/* DcimPowerPortTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesListOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesListOK dcim power port templates list o k */ @@ -67,9 +68,39 @@ type DcimPowerPortTemplatesListOK struct { Payload *DcimPowerPortTemplatesListOKBody } +// IsSuccess returns true when this dcim power port templates list o k response has a 2xx status code +func (o *DcimPowerPortTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates list o k response has a 3xx status code +func (o *DcimPowerPortTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates list o k response has a 4xx status code +func (o *DcimPowerPortTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates list o k response has a 5xx status code +func (o *DcimPowerPortTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates list o k response a status code equal to that given +func (o *DcimPowerPortTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-port-templates/][%d] dcimPowerPortTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-port-templates/][%d] dcimPowerPortTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesListOK) GetPayload() *DcimPowerPortTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerPortTemplatesListOK) readResponse(response runtime.ClientRespo return nil } -/*DcimPowerPortTemplatesListOKBody dcim power port templates list o k body +/* +DcimPowerPortTemplatesListOKBody dcim power port templates list o k body swagger:model DcimPowerPortTemplatesListOKBody */ type DcimPowerPortTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_parameters.go index 8ef74a4d3..c69b5d2d1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPortTemplatesPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimPowerPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power port templates partial update operation. +/* +DcimPowerPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_responses.go index fdb4534d0..2fd672b87 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesPartialUpdateOK() *DcimPowerPortTemplatesPartialUp return &DcimPowerPortTemplatesPartialUpdateOK{} } -/* DcimPowerPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesPartialUpdateOK dcim power port templates partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesPartialUpdateOK struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates partial update o k response has a 2xx status code +func (o *DcimPowerPortTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates partial update o k response has a 3xx status code +func (o *DcimPowerPortTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates partial update o k response has a 4xx status code +func (o *DcimPowerPortTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates partial update o k response has a 5xx status code +func (o *DcimPowerPortTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates partial update o k response a status code equal to that given +func (o *DcimPowerPortTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesPartialUpdateOK) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_parameters.go index 999aabbb9..68b3e4493 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortTemplatesReadParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimPowerPortTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim power port templates read operation. +/* +DcimPowerPortTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates read operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_responses.go index 133740363..4178934f4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesReadOK() *DcimPowerPortTemplatesReadOK { return &DcimPowerPortTemplatesReadOK{} } -/* DcimPowerPortTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesReadOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesReadOK dcim power port templates read o k */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesReadOK struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates read o k response has a 2xx status code +func (o *DcimPowerPortTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates read o k response has a 3xx status code +func (o *DcimPowerPortTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates read o k response has a 4xx status code +func (o *DcimPowerPortTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates read o k response has a 5xx status code +func (o *DcimPowerPortTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates read o k response a status code equal to that given +func (o *DcimPowerPortTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesReadOK) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_parameters.go index 240c2ff6a..4d339a2fe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPortTemplatesUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimPowerPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim power port templates update operation. +/* +DcimPowerPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power port templates update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_responses.go index 1ac48f945..bcc979bac 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_port_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortTemplatesUpdateOK() *DcimPowerPortTemplatesUpdateOK { return &DcimPowerPortTemplatesUpdateOK{} } -/* DcimPowerPortTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortTemplatesUpdateOK describes a response with status code 200, with default header values. DcimPowerPortTemplatesUpdateOK dcim power port templates update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortTemplatesUpdateOK struct { Payload *models.PowerPortTemplate } +// IsSuccess returns true when this dcim power port templates update o k response has a 2xx status code +func (o *DcimPowerPortTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power port templates update o k response has a 3xx status code +func (o *DcimPowerPortTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power port templates update o k response has a 4xx status code +func (o *DcimPowerPortTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power port templates update o k response has a 5xx status code +func (o *DcimPowerPortTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power port templates update o k response a status code equal to that given +func (o *DcimPowerPortTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-port-templates/{id}/][%d] dcimPowerPortTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortTemplatesUpdateOK) GetPayload() *models.PowerPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_parameters.go index eabc290a2..69612006d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimPowerPortsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimP } } -/* DcimPowerPortsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim power ports bulk delete operation. +/* +DcimPowerPortsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports bulk delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_responses.go index fbe2c5cbc..ced1f9bec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPortsBulkDeleteNoContent() *DcimPowerPortsBulkDeleteNoContent { return &DcimPowerPortsBulkDeleteNoContent{} } -/* DcimPowerPortsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPortsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPortsBulkDeleteNoContent dcim power ports bulk delete no content */ type DcimPowerPortsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim power ports bulk delete no content response has a 2xx status code +func (o *DcimPowerPortsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports bulk delete no content response has a 3xx status code +func (o *DcimPowerPortsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports bulk delete no content response has a 4xx status code +func (o *DcimPowerPortsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports bulk delete no content response has a 5xx status code +func (o *DcimPowerPortsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports bulk delete no content response a status code equal to that given +func (o *DcimPowerPortsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPortsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-ports/][%d] dcimPowerPortsBulkDeleteNoContent ", 204) } +func (o *DcimPowerPortsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-ports/][%d] dcimPowerPortsBulkDeleteNoContent ", 204) +} + func (o *DcimPowerPortsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_parameters.go index 3ebd5eabf..caa8f8f8e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimPowerPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power ports bulk partial update operation. +/* +DcimPowerPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_responses.go index 0d0dece2f..2bada7937 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsBulkPartialUpdateOK() *DcimPowerPortsBulkPartialUpdateOK { return &DcimPowerPortsBulkPartialUpdateOK{} } -/* DcimPowerPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPortsBulkPartialUpdateOK dcim power ports bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsBulkPartialUpdateOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports bulk partial update o k response has a 2xx status code +func (o *DcimPowerPortsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports bulk partial update o k response has a 3xx status code +func (o *DcimPowerPortsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports bulk partial update o k response has a 4xx status code +func (o *DcimPowerPortsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports bulk partial update o k response has a 5xx status code +func (o *DcimPowerPortsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports bulk partial update o k response a status code equal to that given +func (o *DcimPowerPortsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-ports/][%d] dcimPowerPortsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-ports/][%d] dcimPowerPortsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsBulkPartialUpdateOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_parameters.go index 3faf7d527..53fa9e446 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimP } } -/* DcimPowerPortsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim power ports bulk update operation. +/* +DcimPowerPortsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports bulk update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_responses.go index 3a1d532ef..22665267f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsBulkUpdateOK() *DcimPowerPortsBulkUpdateOK { return &DcimPowerPortsBulkUpdateOK{} } -/* DcimPowerPortsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsBulkUpdateOK describes a response with status code 200, with default header values. DcimPowerPortsBulkUpdateOK dcim power ports bulk update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsBulkUpdateOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports bulk update o k response has a 2xx status code +func (o *DcimPowerPortsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports bulk update o k response has a 3xx status code +func (o *DcimPowerPortsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports bulk update o k response has a 4xx status code +func (o *DcimPowerPortsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports bulk update o k response has a 5xx status code +func (o *DcimPowerPortsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports bulk update o k response a status code equal to that given +func (o *DcimPowerPortsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-ports/][%d] dcimPowerPortsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-ports/][%d] dcimPowerPortsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsBulkUpdateOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_parameters.go index 1c21e0d69..764b5e5d1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimPowerPortsCreateParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerPortsCreateParams contains all the parameters to send to the API endpoint - for the dcim power ports create operation. +/* +DcimPowerPortsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports create operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_responses.go index f0d7db34c..69746bbbf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_create_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsCreateCreated() *DcimPowerPortsCreateCreated { return &DcimPowerPortsCreateCreated{} } -/* DcimPowerPortsCreateCreated describes a response with status code 201, with default header values. +/* +DcimPowerPortsCreateCreated describes a response with status code 201, with default header values. DcimPowerPortsCreateCreated dcim power ports create created */ @@ -62,9 +63,39 @@ type DcimPowerPortsCreateCreated struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports create created response has a 2xx status code +func (o *DcimPowerPortsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports create created response has a 3xx status code +func (o *DcimPowerPortsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports create created response has a 4xx status code +func (o *DcimPowerPortsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports create created response has a 5xx status code +func (o *DcimPowerPortsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports create created response a status code equal to that given +func (o *DcimPowerPortsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimPowerPortsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/power-ports/][%d] dcimPowerPortsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimPowerPortsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/power-ports/][%d] dcimPowerPortsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimPowerPortsCreateCreated) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_parameters.go index ee5d8bdce..53cffea05 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortsDeleteParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerPortsDeleteParams contains all the parameters to send to the API endpoint - for the dcim power ports delete operation. +/* +DcimPowerPortsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports delete operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_responses.go index 3c40c844d..2408f700b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimPowerPortsDeleteNoContent() *DcimPowerPortsDeleteNoContent { return &DcimPowerPortsDeleteNoContent{} } -/* DcimPowerPortsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimPowerPortsDeleteNoContent describes a response with status code 204, with default header values. DcimPowerPortsDeleteNoContent dcim power ports delete no content */ type DcimPowerPortsDeleteNoContent struct { } +// IsSuccess returns true when this dcim power ports delete no content response has a 2xx status code +func (o *DcimPowerPortsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports delete no content response has a 3xx status code +func (o *DcimPowerPortsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports delete no content response has a 4xx status code +func (o *DcimPowerPortsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports delete no content response has a 5xx status code +func (o *DcimPowerPortsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports delete no content response a status code equal to that given +func (o *DcimPowerPortsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimPowerPortsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/power-ports/{id}/][%d] dcimPowerPortsDeleteNoContent ", 204) } +func (o *DcimPowerPortsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/power-ports/{id}/][%d] dcimPowerPortsDeleteNoContent ", 204) +} + func (o *DcimPowerPortsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_parameters.go index 70c4f3117..e298c6678 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortsListParamsWithHTTPClient(client *http.Client) *DcimPowerPo } } -/* DcimPowerPortsListParams contains all the parameters to send to the API endpoint - for the dcim power ports list operation. +/* +DcimPowerPortsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports list operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_responses.go index 2862d380f..2a833dbb1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_list_responses.go @@ -59,7 +59,8 @@ func NewDcimPowerPortsListOK() *DcimPowerPortsListOK { return &DcimPowerPortsListOK{} } -/* DcimPowerPortsListOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsListOK describes a response with status code 200, with default header values. DcimPowerPortsListOK dcim power ports list o k */ @@ -67,9 +68,39 @@ type DcimPowerPortsListOK struct { Payload *DcimPowerPortsListOKBody } +// IsSuccess returns true when this dcim power ports list o k response has a 2xx status code +func (o *DcimPowerPortsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports list o k response has a 3xx status code +func (o *DcimPowerPortsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports list o k response has a 4xx status code +func (o *DcimPowerPortsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports list o k response has a 5xx status code +func (o *DcimPowerPortsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports list o k response a status code equal to that given +func (o *DcimPowerPortsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsListOK) Error() string { return fmt.Sprintf("[GET /dcim/power-ports/][%d] dcimPowerPortsListOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsListOK) String() string { + return fmt.Sprintf("[GET /dcim/power-ports/][%d] dcimPowerPortsListOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsListOK) GetPayload() *DcimPowerPortsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimPowerPortsListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimPowerPortsListOKBody dcim power ports list o k body +/* +DcimPowerPortsListOKBody dcim power ports list o k body swagger:model DcimPowerPortsListOKBody */ type DcimPowerPortsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_parameters.go index a0725262f..a60dacb29 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPortsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimPowerPortsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim power ports partial update operation. +/* +DcimPowerPortsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports partial update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_responses.go index 4cd16b587..8c6b7462f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsPartialUpdateOK() *DcimPowerPortsPartialUpdateOK { return &DcimPowerPortsPartialUpdateOK{} } -/* DcimPowerPortsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsPartialUpdateOK describes a response with status code 200, with default header values. DcimPowerPortsPartialUpdateOK dcim power ports partial update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsPartialUpdateOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports partial update o k response has a 2xx status code +func (o *DcimPowerPortsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports partial update o k response has a 3xx status code +func (o *DcimPowerPortsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports partial update o k response has a 4xx status code +func (o *DcimPowerPortsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports partial update o k response has a 5xx status code +func (o *DcimPowerPortsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports partial update o k response a status code equal to that given +func (o *DcimPowerPortsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/power-ports/{id}/][%d] dcimPowerPortsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/power-ports/{id}/][%d] dcimPowerPortsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsPartialUpdateOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_parameters.go index 2af582a06..088010dc7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortsReadParamsWithHTTPClient(client *http.Client) *DcimPowerPo } } -/* DcimPowerPortsReadParams contains all the parameters to send to the API endpoint - for the dcim power ports read operation. +/* +DcimPowerPortsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports read operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_responses.go index b71c12db7..0086ea6a9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_read_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsReadOK() *DcimPowerPortsReadOK { return &DcimPowerPortsReadOK{} } -/* DcimPowerPortsReadOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsReadOK describes a response with status code 200, with default header values. DcimPowerPortsReadOK dcim power ports read o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsReadOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports read o k response has a 2xx status code +func (o *DcimPowerPortsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports read o k response has a 3xx status code +func (o *DcimPowerPortsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports read o k response has a 4xx status code +func (o *DcimPowerPortsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports read o k response has a 5xx status code +func (o *DcimPowerPortsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports read o k response a status code equal to that given +func (o *DcimPowerPortsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/power-ports/{id}/][%d] dcimPowerPortsReadOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/power-ports/{id}/][%d] dcimPowerPortsReadOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsReadOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_parameters.go index 2ea2f9b58..46d3f27f0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_parameters.go @@ -68,10 +68,12 @@ func NewDcimPowerPortsTraceParamsWithHTTPClient(client *http.Client) *DcimPowerP } } -/* DcimPowerPortsTraceParams contains all the parameters to send to the API endpoint - for the dcim power ports trace operation. +/* +DcimPowerPortsTraceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports trace operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsTraceParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_responses.go index af5967761..566240567 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_trace_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsTraceOK() *DcimPowerPortsTraceOK { return &DcimPowerPortsTraceOK{} } -/* DcimPowerPortsTraceOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsTraceOK describes a response with status code 200, with default header values. DcimPowerPortsTraceOK dcim power ports trace o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsTraceOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports trace o k response has a 2xx status code +func (o *DcimPowerPortsTraceOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports trace o k response has a 3xx status code +func (o *DcimPowerPortsTraceOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports trace o k response has a 4xx status code +func (o *DcimPowerPortsTraceOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports trace o k response has a 5xx status code +func (o *DcimPowerPortsTraceOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports trace o k response a status code equal to that given +func (o *DcimPowerPortsTraceOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsTraceOK) Error() string { return fmt.Sprintf("[GET /dcim/power-ports/{id}/trace/][%d] dcimPowerPortsTraceOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsTraceOK) String() string { + return fmt.Sprintf("[GET /dcim/power-ports/{id}/trace/][%d] dcimPowerPortsTraceOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsTraceOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_parameters.go index f7f860e8f..eaaa1e529 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimPowerPortsUpdateParamsWithHTTPClient(client *http.Client) *DcimPower } } -/* DcimPowerPortsUpdateParams contains all the parameters to send to the API endpoint - for the dcim power ports update operation. +/* +DcimPowerPortsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim power ports update operation. + + Typically these are written to a http.Request. */ type DcimPowerPortsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_responses.go index 23c726b8b..9c128ef11 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_power_ports_update_responses.go @@ -54,7 +54,8 @@ func NewDcimPowerPortsUpdateOK() *DcimPowerPortsUpdateOK { return &DcimPowerPortsUpdateOK{} } -/* DcimPowerPortsUpdateOK describes a response with status code 200, with default header values. +/* +DcimPowerPortsUpdateOK describes a response with status code 200, with default header values. DcimPowerPortsUpdateOK dcim power ports update o k */ @@ -62,9 +63,39 @@ type DcimPowerPortsUpdateOK struct { Payload *models.PowerPort } +// IsSuccess returns true when this dcim power ports update o k response has a 2xx status code +func (o *DcimPowerPortsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim power ports update o k response has a 3xx status code +func (o *DcimPowerPortsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim power ports update o k response has a 4xx status code +func (o *DcimPowerPortsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim power ports update o k response has a 5xx status code +func (o *DcimPowerPortsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim power ports update o k response a status code equal to that given +func (o *DcimPowerPortsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimPowerPortsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/power-ports/{id}/][%d] dcimPowerPortsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimPowerPortsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/power-ports/{id}/][%d] dcimPowerPortsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimPowerPortsUpdateOK) GetPayload() *models.PowerPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_parameters.go index f62b26e43..e7e356ea3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRackReservationsBulkDeleteParamsWithHTTPClient(client *http.Client) } } -/* DcimRackReservationsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim rack reservations bulk delete operation. +/* +DcimRackReservationsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_responses.go index 052234354..d13b3fb71 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRackReservationsBulkDeleteNoContent() *DcimRackReservationsBulkDelet return &DcimRackReservationsBulkDeleteNoContent{} } -/* DcimRackReservationsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRackReservationsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRackReservationsBulkDeleteNoContent dcim rack reservations bulk delete no content */ type DcimRackReservationsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim rack reservations bulk delete no content response has a 2xx status code +func (o *DcimRackReservationsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations bulk delete no content response has a 3xx status code +func (o *DcimRackReservationsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations bulk delete no content response has a 4xx status code +func (o *DcimRackReservationsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations bulk delete no content response has a 5xx status code +func (o *DcimRackReservationsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations bulk delete no content response a status code equal to that given +func (o *DcimRackReservationsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRackReservationsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rack-reservations/][%d] dcimRackReservationsBulkDeleteNoContent ", 204) } +func (o *DcimRackReservationsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rack-reservations/][%d] dcimRackReservationsBulkDeleteNoContent ", 204) +} + func (o *DcimRackReservationsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_parameters.go index 4b3adb29d..665456b00 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackReservationsBulkPartialUpdateParamsWithHTTPClient(client *http.C } } -/* DcimRackReservationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack reservations bulk partial update operation. +/* +DcimRackReservationsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_responses.go index 623b1af64..507cfb72b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsBulkPartialUpdateOK() *DcimRackReservationsBulkParti return &DcimRackReservationsBulkPartialUpdateOK{} } -/* DcimRackReservationsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRackReservationsBulkPartialUpdateOK dcim rack reservations bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRackReservationsBulkPartialUpdateOK struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations bulk partial update o k response has a 2xx status code +func (o *DcimRackReservationsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations bulk partial update o k response has a 3xx status code +func (o *DcimRackReservationsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations bulk partial update o k response has a 4xx status code +func (o *DcimRackReservationsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations bulk partial update o k response has a 5xx status code +func (o *DcimRackReservationsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations bulk partial update o k response a status code equal to that given +func (o *DcimRackReservationsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rack-reservations/][%d] dcimRackReservationsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rack-reservations/][%d] dcimRackReservationsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsBulkPartialUpdateOK) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_parameters.go index 8084abee7..c364ef2d1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackReservationsBulkUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimRackReservationsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack reservations bulk update operation. +/* +DcimRackReservationsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations bulk update operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_responses.go index 32748c98d..4141fb946 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsBulkUpdateOK() *DcimRackReservationsBulkUpdateOK { return &DcimRackReservationsBulkUpdateOK{} } -/* DcimRackReservationsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsBulkUpdateOK describes a response with status code 200, with default header values. DcimRackReservationsBulkUpdateOK dcim rack reservations bulk update o k */ @@ -62,9 +63,39 @@ type DcimRackReservationsBulkUpdateOK struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations bulk update o k response has a 2xx status code +func (o *DcimRackReservationsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations bulk update o k response has a 3xx status code +func (o *DcimRackReservationsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations bulk update o k response has a 4xx status code +func (o *DcimRackReservationsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations bulk update o k response has a 5xx status code +func (o *DcimRackReservationsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations bulk update o k response a status code equal to that given +func (o *DcimRackReservationsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rack-reservations/][%d] dcimRackReservationsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rack-reservations/][%d] dcimRackReservationsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsBulkUpdateOK) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_parameters.go index a0e9af195..52248c58c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackReservationsCreateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRackReservationsCreateParams contains all the parameters to send to the API endpoint - for the dcim rack reservations create operation. +/* +DcimRackReservationsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations create operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_responses.go index 33fac0af8..33e4d4cf0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsCreateCreated() *DcimRackReservationsCreateCreated { return &DcimRackReservationsCreateCreated{} } -/* DcimRackReservationsCreateCreated describes a response with status code 201, with default header values. +/* +DcimRackReservationsCreateCreated describes a response with status code 201, with default header values. DcimRackReservationsCreateCreated dcim rack reservations create created */ @@ -62,9 +63,39 @@ type DcimRackReservationsCreateCreated struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations create created response has a 2xx status code +func (o *DcimRackReservationsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations create created response has a 3xx status code +func (o *DcimRackReservationsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations create created response has a 4xx status code +func (o *DcimRackReservationsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations create created response has a 5xx status code +func (o *DcimRackReservationsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations create created response a status code equal to that given +func (o *DcimRackReservationsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRackReservationsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/rack-reservations/][%d] dcimRackReservationsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRackReservationsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/rack-reservations/][%d] dcimRackReservationsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRackReservationsCreateCreated) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_parameters.go index 3dc31e79d..0af38c420 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackReservationsDeleteParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRackReservationsDeleteParams contains all the parameters to send to the API endpoint - for the dcim rack reservations delete operation. +/* +DcimRackReservationsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations delete operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_responses.go index bace88921..e127fbfbb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRackReservationsDeleteNoContent() *DcimRackReservationsDeleteNoConte return &DcimRackReservationsDeleteNoContent{} } -/* DcimRackReservationsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRackReservationsDeleteNoContent describes a response with status code 204, with default header values. DcimRackReservationsDeleteNoContent dcim rack reservations delete no content */ type DcimRackReservationsDeleteNoContent struct { } +// IsSuccess returns true when this dcim rack reservations delete no content response has a 2xx status code +func (o *DcimRackReservationsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations delete no content response has a 3xx status code +func (o *DcimRackReservationsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations delete no content response has a 4xx status code +func (o *DcimRackReservationsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations delete no content response has a 5xx status code +func (o *DcimRackReservationsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations delete no content response a status code equal to that given +func (o *DcimRackReservationsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRackReservationsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rack-reservations/{id}/][%d] dcimRackReservationsDeleteNoContent ", 204) } +func (o *DcimRackReservationsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rack-reservations/{id}/][%d] dcimRackReservationsDeleteNoContent ", 204) +} + func (o *DcimRackReservationsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_parameters.go index b06ad76e4..15d8264b9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackReservationsListParamsWithHTTPClient(client *http.Client) *DcimR } } -/* DcimRackReservationsListParams contains all the parameters to send to the API endpoint - for the dcim rack reservations list operation. +/* +DcimRackReservationsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations list operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_responses.go index f13c1f0fa..4b9659a45 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRackReservationsListOK() *DcimRackReservationsListOK { return &DcimRackReservationsListOK{} } -/* DcimRackReservationsListOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsListOK describes a response with status code 200, with default header values. DcimRackReservationsListOK dcim rack reservations list o k */ @@ -67,9 +68,39 @@ type DcimRackReservationsListOK struct { Payload *DcimRackReservationsListOKBody } +// IsSuccess returns true when this dcim rack reservations list o k response has a 2xx status code +func (o *DcimRackReservationsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations list o k response has a 3xx status code +func (o *DcimRackReservationsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations list o k response has a 4xx status code +func (o *DcimRackReservationsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations list o k response has a 5xx status code +func (o *DcimRackReservationsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations list o k response a status code equal to that given +func (o *DcimRackReservationsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsListOK) Error() string { return fmt.Sprintf("[GET /dcim/rack-reservations/][%d] dcimRackReservationsListOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsListOK) String() string { + return fmt.Sprintf("[GET /dcim/rack-reservations/][%d] dcimRackReservationsListOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsListOK) GetPayload() *DcimRackReservationsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRackReservationsListOK) readResponse(response runtime.ClientRespons return nil } -/*DcimRackReservationsListOKBody dcim rack reservations list o k body +/* +DcimRackReservationsListOKBody dcim rack reservations list o k body swagger:model DcimRackReservationsListOKBody */ type DcimRackReservationsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_parameters.go index 3294c0d3a..beb4426ec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRackReservationsPartialUpdateParamsWithHTTPClient(client *http.Clien } } -/* DcimRackReservationsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack reservations partial update operation. +/* +DcimRackReservationsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations partial update operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_responses.go index 140c67396..4eb378f0b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsPartialUpdateOK() *DcimRackReservationsPartialUpdate return &DcimRackReservationsPartialUpdateOK{} } -/* DcimRackReservationsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsPartialUpdateOK describes a response with status code 200, with default header values. DcimRackReservationsPartialUpdateOK dcim rack reservations partial update o k */ @@ -62,9 +63,39 @@ type DcimRackReservationsPartialUpdateOK struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations partial update o k response has a 2xx status code +func (o *DcimRackReservationsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations partial update o k response has a 3xx status code +func (o *DcimRackReservationsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations partial update o k response has a 4xx status code +func (o *DcimRackReservationsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations partial update o k response has a 5xx status code +func (o *DcimRackReservationsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations partial update o k response a status code equal to that given +func (o *DcimRackReservationsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rack-reservations/{id}/][%d] dcimRackReservationsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rack-reservations/{id}/][%d] dcimRackReservationsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsPartialUpdateOK) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_parameters.go index c401be346..2c9b8326e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackReservationsReadParamsWithHTTPClient(client *http.Client) *DcimR } } -/* DcimRackReservationsReadParams contains all the parameters to send to the API endpoint - for the dcim rack reservations read operation. +/* +DcimRackReservationsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations read operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_responses.go index ce6025ba5..bd676c1e8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsReadOK() *DcimRackReservationsReadOK { return &DcimRackReservationsReadOK{} } -/* DcimRackReservationsReadOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsReadOK describes a response with status code 200, with default header values. DcimRackReservationsReadOK dcim rack reservations read o k */ @@ -62,9 +63,39 @@ type DcimRackReservationsReadOK struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations read o k response has a 2xx status code +func (o *DcimRackReservationsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations read o k response has a 3xx status code +func (o *DcimRackReservationsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations read o k response has a 4xx status code +func (o *DcimRackReservationsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations read o k response has a 5xx status code +func (o *DcimRackReservationsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations read o k response a status code equal to that given +func (o *DcimRackReservationsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/rack-reservations/{id}/][%d] dcimRackReservationsReadOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/rack-reservations/{id}/][%d] dcimRackReservationsReadOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsReadOK) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_parameters.go index bdaa8ba5b..8dadde8b5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRackReservationsUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRackReservationsUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack reservations update operation. +/* +DcimRackReservationsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack reservations update operation. + + Typically these are written to a http.Request. */ type DcimRackReservationsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_responses.go index b3b5c9129..2ddf33e89 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_reservations_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackReservationsUpdateOK() *DcimRackReservationsUpdateOK { return &DcimRackReservationsUpdateOK{} } -/* DcimRackReservationsUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackReservationsUpdateOK describes a response with status code 200, with default header values. DcimRackReservationsUpdateOK dcim rack reservations update o k */ @@ -62,9 +63,39 @@ type DcimRackReservationsUpdateOK struct { Payload *models.RackReservation } +// IsSuccess returns true when this dcim rack reservations update o k response has a 2xx status code +func (o *DcimRackReservationsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack reservations update o k response has a 3xx status code +func (o *DcimRackReservationsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack reservations update o k response has a 4xx status code +func (o *DcimRackReservationsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack reservations update o k response has a 5xx status code +func (o *DcimRackReservationsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack reservations update o k response a status code equal to that given +func (o *DcimRackReservationsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackReservationsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rack-reservations/{id}/][%d] dcimRackReservationsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackReservationsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rack-reservations/{id}/][%d] dcimRackReservationsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackReservationsUpdateOK) GetPayload() *models.RackReservation { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_parameters.go index 8d56444e5..997e9b8af 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRackRolesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimRa } } -/* DcimRackRolesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim rack roles bulk delete operation. +/* +DcimRackRolesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRackRolesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_responses.go index f5158ad8d..4f7933329 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRackRolesBulkDeleteNoContent() *DcimRackRolesBulkDeleteNoContent { return &DcimRackRolesBulkDeleteNoContent{} } -/* DcimRackRolesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRackRolesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRackRolesBulkDeleteNoContent dcim rack roles bulk delete no content */ type DcimRackRolesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim rack roles bulk delete no content response has a 2xx status code +func (o *DcimRackRolesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles bulk delete no content response has a 3xx status code +func (o *DcimRackRolesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles bulk delete no content response has a 4xx status code +func (o *DcimRackRolesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles bulk delete no content response has a 5xx status code +func (o *DcimRackRolesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles bulk delete no content response a status code equal to that given +func (o *DcimRackRolesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRackRolesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rack-roles/][%d] dcimRackRolesBulkDeleteNoContent ", 204) } +func (o *DcimRackRolesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rack-roles/][%d] dcimRackRolesBulkDeleteNoContent ", 204) +} + func (o *DcimRackRolesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_parameters.go index 287280051..33d697e04 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackRolesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimRackRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack roles bulk partial update operation. +/* +DcimRackRolesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRackRolesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_responses.go index cf54d1ddc..9ed59d390 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesBulkPartialUpdateOK() *DcimRackRolesBulkPartialUpdateOK { return &DcimRackRolesBulkPartialUpdateOK{} } -/* DcimRackRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackRolesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRackRolesBulkPartialUpdateOK dcim rack roles bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRackRolesBulkPartialUpdateOK struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles bulk partial update o k response has a 2xx status code +func (o *DcimRackRolesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles bulk partial update o k response has a 3xx status code +func (o *DcimRackRolesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles bulk partial update o k response has a 4xx status code +func (o *DcimRackRolesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles bulk partial update o k response has a 5xx status code +func (o *DcimRackRolesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles bulk partial update o k response a status code equal to that given +func (o *DcimRackRolesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rack-roles/][%d] dcimRackRolesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rack-roles/][%d] dcimRackRolesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesBulkPartialUpdateOK) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_parameters.go index 2006320df..856cc6849 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackRolesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimRa } } -/* DcimRackRolesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack roles bulk update operation. +/* +DcimRackRolesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles bulk update operation. + + Typically these are written to a http.Request. */ type DcimRackRolesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_responses.go index f54a30881..920703df7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesBulkUpdateOK() *DcimRackRolesBulkUpdateOK { return &DcimRackRolesBulkUpdateOK{} } -/* DcimRackRolesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackRolesBulkUpdateOK describes a response with status code 200, with default header values. DcimRackRolesBulkUpdateOK dcim rack roles bulk update o k */ @@ -62,9 +63,39 @@ type DcimRackRolesBulkUpdateOK struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles bulk update o k response has a 2xx status code +func (o *DcimRackRolesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles bulk update o k response has a 3xx status code +func (o *DcimRackRolesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles bulk update o k response has a 4xx status code +func (o *DcimRackRolesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles bulk update o k response has a 5xx status code +func (o *DcimRackRolesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles bulk update o k response a status code equal to that given +func (o *DcimRackRolesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rack-roles/][%d] dcimRackRolesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rack-roles/][%d] dcimRackRolesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesBulkUpdateOK) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_parameters.go index 64256e442..ed93e0fc2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRackRolesCreateParamsWithHTTPClient(client *http.Client) *DcimRackRo } } -/* DcimRackRolesCreateParams contains all the parameters to send to the API endpoint - for the dcim rack roles create operation. +/* +DcimRackRolesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles create operation. + + Typically these are written to a http.Request. */ type DcimRackRolesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_responses.go index eac999d4a..8497bd683 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesCreateCreated() *DcimRackRolesCreateCreated { return &DcimRackRolesCreateCreated{} } -/* DcimRackRolesCreateCreated describes a response with status code 201, with default header values. +/* +DcimRackRolesCreateCreated describes a response with status code 201, with default header values. DcimRackRolesCreateCreated dcim rack roles create created */ @@ -62,9 +63,39 @@ type DcimRackRolesCreateCreated struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles create created response has a 2xx status code +func (o *DcimRackRolesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles create created response has a 3xx status code +func (o *DcimRackRolesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles create created response has a 4xx status code +func (o *DcimRackRolesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles create created response has a 5xx status code +func (o *DcimRackRolesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles create created response a status code equal to that given +func (o *DcimRackRolesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRackRolesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/rack-roles/][%d] dcimRackRolesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRackRolesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/rack-roles/][%d] dcimRackRolesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRackRolesCreateCreated) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_parameters.go index a7be268b2..10bc2fbe5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackRolesDeleteParamsWithHTTPClient(client *http.Client) *DcimRackRo } } -/* DcimRackRolesDeleteParams contains all the parameters to send to the API endpoint - for the dcim rack roles delete operation. +/* +DcimRackRolesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles delete operation. + + Typically these are written to a http.Request. */ type DcimRackRolesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_responses.go index 048b59e4d..92e372906 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRackRolesDeleteNoContent() *DcimRackRolesDeleteNoContent { return &DcimRackRolesDeleteNoContent{} } -/* DcimRackRolesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRackRolesDeleteNoContent describes a response with status code 204, with default header values. DcimRackRolesDeleteNoContent dcim rack roles delete no content */ type DcimRackRolesDeleteNoContent struct { } +// IsSuccess returns true when this dcim rack roles delete no content response has a 2xx status code +func (o *DcimRackRolesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles delete no content response has a 3xx status code +func (o *DcimRackRolesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles delete no content response has a 4xx status code +func (o *DcimRackRolesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles delete no content response has a 5xx status code +func (o *DcimRackRolesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles delete no content response a status code equal to that given +func (o *DcimRackRolesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRackRolesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rack-roles/{id}/][%d] dcimRackRolesDeleteNoContent ", 204) } +func (o *DcimRackRolesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rack-roles/{id}/][%d] dcimRackRolesDeleteNoContent ", 204) +} + func (o *DcimRackRolesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_parameters.go index 3a344abc3..eac1aa98a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackRolesListParamsWithHTTPClient(client *http.Client) *DcimRackRole } } -/* DcimRackRolesListParams contains all the parameters to send to the API endpoint - for the dcim rack roles list operation. +/* +DcimRackRolesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles list operation. + + Typically these are written to a http.Request. */ type DcimRackRolesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_responses.go index ef4874884..b2cc918d6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRackRolesListOK() *DcimRackRolesListOK { return &DcimRackRolesListOK{} } -/* DcimRackRolesListOK describes a response with status code 200, with default header values. +/* +DcimRackRolesListOK describes a response with status code 200, with default header values. DcimRackRolesListOK dcim rack roles list o k */ @@ -67,9 +68,39 @@ type DcimRackRolesListOK struct { Payload *DcimRackRolesListOKBody } +// IsSuccess returns true when this dcim rack roles list o k response has a 2xx status code +func (o *DcimRackRolesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles list o k response has a 3xx status code +func (o *DcimRackRolesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles list o k response has a 4xx status code +func (o *DcimRackRolesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles list o k response has a 5xx status code +func (o *DcimRackRolesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles list o k response a status code equal to that given +func (o *DcimRackRolesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesListOK) Error() string { return fmt.Sprintf("[GET /dcim/rack-roles/][%d] dcimRackRolesListOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesListOK) String() string { + return fmt.Sprintf("[GET /dcim/rack-roles/][%d] dcimRackRolesListOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesListOK) GetPayload() *DcimRackRolesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRackRolesListOK) readResponse(response runtime.ClientResponse, cons return nil } -/*DcimRackRolesListOKBody dcim rack roles list o k body +/* +DcimRackRolesListOKBody dcim rack roles list o k body swagger:model DcimRackRolesListOKBody */ type DcimRackRolesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_parameters.go index 79b65c982..1c494c5a4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRackRolesPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRackRolesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack roles partial update operation. +/* +DcimRackRolesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles partial update operation. + + Typically these are written to a http.Request. */ type DcimRackRolesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_responses.go index 5af063878..83673689c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesPartialUpdateOK() *DcimRackRolesPartialUpdateOK { return &DcimRackRolesPartialUpdateOK{} } -/* DcimRackRolesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackRolesPartialUpdateOK describes a response with status code 200, with default header values. DcimRackRolesPartialUpdateOK dcim rack roles partial update o k */ @@ -62,9 +63,39 @@ type DcimRackRolesPartialUpdateOK struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles partial update o k response has a 2xx status code +func (o *DcimRackRolesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles partial update o k response has a 3xx status code +func (o *DcimRackRolesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles partial update o k response has a 4xx status code +func (o *DcimRackRolesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles partial update o k response has a 5xx status code +func (o *DcimRackRolesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles partial update o k response a status code equal to that given +func (o *DcimRackRolesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rack-roles/{id}/][%d] dcimRackRolesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rack-roles/{id}/][%d] dcimRackRolesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesPartialUpdateOK) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_parameters.go index 7c5d99ae1..5db56f4a2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRackRolesReadParamsWithHTTPClient(client *http.Client) *DcimRackRole } } -/* DcimRackRolesReadParams contains all the parameters to send to the API endpoint - for the dcim rack roles read operation. +/* +DcimRackRolesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles read operation. + + Typically these are written to a http.Request. */ type DcimRackRolesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_responses.go index c6c998aff..04b85cd79 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesReadOK() *DcimRackRolesReadOK { return &DcimRackRolesReadOK{} } -/* DcimRackRolesReadOK describes a response with status code 200, with default header values. +/* +DcimRackRolesReadOK describes a response with status code 200, with default header values. DcimRackRolesReadOK dcim rack roles read o k */ @@ -62,9 +63,39 @@ type DcimRackRolesReadOK struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles read o k response has a 2xx status code +func (o *DcimRackRolesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles read o k response has a 3xx status code +func (o *DcimRackRolesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles read o k response has a 4xx status code +func (o *DcimRackRolesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles read o k response has a 5xx status code +func (o *DcimRackRolesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles read o k response a status code equal to that given +func (o *DcimRackRolesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/rack-roles/{id}/][%d] dcimRackRolesReadOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/rack-roles/{id}/][%d] dcimRackRolesReadOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesReadOK) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_parameters.go index b4856598c..9956f7466 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRackRolesUpdateParamsWithHTTPClient(client *http.Client) *DcimRackRo } } -/* DcimRackRolesUpdateParams contains all the parameters to send to the API endpoint - for the dcim rack roles update operation. +/* +DcimRackRolesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rack roles update operation. + + Typically these are written to a http.Request. */ type DcimRackRolesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_responses.go index 22c206540..535fdd114 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rack_roles_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRackRolesUpdateOK() *DcimRackRolesUpdateOK { return &DcimRackRolesUpdateOK{} } -/* DcimRackRolesUpdateOK describes a response with status code 200, with default header values. +/* +DcimRackRolesUpdateOK describes a response with status code 200, with default header values. DcimRackRolesUpdateOK dcim rack roles update o k */ @@ -62,9 +63,39 @@ type DcimRackRolesUpdateOK struct { Payload *models.RackRole } +// IsSuccess returns true when this dcim rack roles update o k response has a 2xx status code +func (o *DcimRackRolesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rack roles update o k response has a 3xx status code +func (o *DcimRackRolesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rack roles update o k response has a 4xx status code +func (o *DcimRackRolesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rack roles update o k response has a 5xx status code +func (o *DcimRackRolesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rack roles update o k response a status code equal to that given +func (o *DcimRackRolesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRackRolesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rack-roles/{id}/][%d] dcimRackRolesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRackRolesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rack-roles/{id}/][%d] dcimRackRolesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRackRolesUpdateOK) GetPayload() *models.RackRole { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_parameters.go index 5534e8331..ac83df392 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRacksBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimRacksB } } -/* DcimRacksBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim racks bulk delete operation. +/* +DcimRacksBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRacksBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_responses.go index e3666f85d..643864d22 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRacksBulkDeleteNoContent() *DcimRacksBulkDeleteNoContent { return &DcimRacksBulkDeleteNoContent{} } -/* DcimRacksBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRacksBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRacksBulkDeleteNoContent dcim racks bulk delete no content */ type DcimRacksBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim racks bulk delete no content response has a 2xx status code +func (o *DcimRacksBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks bulk delete no content response has a 3xx status code +func (o *DcimRacksBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks bulk delete no content response has a 4xx status code +func (o *DcimRacksBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks bulk delete no content response has a 5xx status code +func (o *DcimRacksBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks bulk delete no content response a status code equal to that given +func (o *DcimRacksBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRacksBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/racks/][%d] dcimRacksBulkDeleteNoContent ", 204) } +func (o *DcimRacksBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/racks/][%d] dcimRacksBulkDeleteNoContent ", 204) +} + func (o *DcimRacksBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_parameters.go index 1786f6ee3..777ef3a7c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRacksBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRacksBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim racks bulk partial update operation. +/* +DcimRacksBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRacksBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_responses.go index b613af35f..66c5aa0e1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksBulkPartialUpdateOK() *DcimRacksBulkPartialUpdateOK { return &DcimRacksBulkPartialUpdateOK{} } -/* DcimRacksBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRacksBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRacksBulkPartialUpdateOK dcim racks bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRacksBulkPartialUpdateOK struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks bulk partial update o k response has a 2xx status code +func (o *DcimRacksBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks bulk partial update o k response has a 3xx status code +func (o *DcimRacksBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks bulk partial update o k response has a 4xx status code +func (o *DcimRacksBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks bulk partial update o k response has a 5xx status code +func (o *DcimRacksBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks bulk partial update o k response a status code equal to that given +func (o *DcimRacksBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/racks/][%d] dcimRacksBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRacksBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/racks/][%d] dcimRacksBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRacksBulkPartialUpdateOK) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_parameters.go index 355e9c7d5..deacf1bd3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRacksBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimRacksB } } -/* DcimRacksBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim racks bulk update operation. +/* +DcimRacksBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks bulk update operation. + + Typically these are written to a http.Request. */ type DcimRacksBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_responses.go index dc06471c5..7ba2a0324 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksBulkUpdateOK() *DcimRacksBulkUpdateOK { return &DcimRacksBulkUpdateOK{} } -/* DcimRacksBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRacksBulkUpdateOK describes a response with status code 200, with default header values. DcimRacksBulkUpdateOK dcim racks bulk update o k */ @@ -62,9 +63,39 @@ type DcimRacksBulkUpdateOK struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks bulk update o k response has a 2xx status code +func (o *DcimRacksBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks bulk update o k response has a 3xx status code +func (o *DcimRacksBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks bulk update o k response has a 4xx status code +func (o *DcimRacksBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks bulk update o k response has a 5xx status code +func (o *DcimRacksBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks bulk update o k response a status code equal to that given +func (o *DcimRacksBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/racks/][%d] dcimRacksBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRacksBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/racks/][%d] dcimRacksBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRacksBulkUpdateOK) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_parameters.go index 80f82a51f..70ab036f8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRacksCreateParamsWithHTTPClient(client *http.Client) *DcimRacksCreat } } -/* DcimRacksCreateParams contains all the parameters to send to the API endpoint - for the dcim racks create operation. +/* +DcimRacksCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks create operation. + + Typically these are written to a http.Request. */ type DcimRacksCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_responses.go index db62534e6..8ba24494e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksCreateCreated() *DcimRacksCreateCreated { return &DcimRacksCreateCreated{} } -/* DcimRacksCreateCreated describes a response with status code 201, with default header values. +/* +DcimRacksCreateCreated describes a response with status code 201, with default header values. DcimRacksCreateCreated dcim racks create created */ @@ -62,9 +63,39 @@ type DcimRacksCreateCreated struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks create created response has a 2xx status code +func (o *DcimRacksCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks create created response has a 3xx status code +func (o *DcimRacksCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks create created response has a 4xx status code +func (o *DcimRacksCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks create created response has a 5xx status code +func (o *DcimRacksCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks create created response a status code equal to that given +func (o *DcimRacksCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRacksCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/racks/][%d] dcimRacksCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRacksCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/racks/][%d] dcimRacksCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRacksCreateCreated) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_parameters.go index 85e5b3633..26241ef69 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRacksDeleteParamsWithHTTPClient(client *http.Client) *DcimRacksDelet } } -/* DcimRacksDeleteParams contains all the parameters to send to the API endpoint - for the dcim racks delete operation. +/* +DcimRacksDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks delete operation. + + Typically these are written to a http.Request. */ type DcimRacksDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_responses.go index f7f2e8ee6..ccc858a96 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRacksDeleteNoContent() *DcimRacksDeleteNoContent { return &DcimRacksDeleteNoContent{} } -/* DcimRacksDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRacksDeleteNoContent describes a response with status code 204, with default header values. DcimRacksDeleteNoContent dcim racks delete no content */ type DcimRacksDeleteNoContent struct { } +// IsSuccess returns true when this dcim racks delete no content response has a 2xx status code +func (o *DcimRacksDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks delete no content response has a 3xx status code +func (o *DcimRacksDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks delete no content response has a 4xx status code +func (o *DcimRacksDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks delete no content response has a 5xx status code +func (o *DcimRacksDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks delete no content response a status code equal to that given +func (o *DcimRacksDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRacksDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/racks/{id}/][%d] dcimRacksDeleteNoContent ", 204) } +func (o *DcimRacksDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/racks/{id}/][%d] dcimRacksDeleteNoContent ", 204) +} + func (o *DcimRacksDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_parameters.go index 15b8e8af6..d64662cde 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_parameters.go @@ -68,10 +68,12 @@ func NewDcimRacksElevationParamsWithHTTPClient(client *http.Client) *DcimRacksEl } } -/* DcimRacksElevationParams contains all the parameters to send to the API endpoint - for the dcim racks elevation operation. +/* +DcimRacksElevationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks elevation operation. + + Typically these are written to a http.Request. */ type DcimRacksElevationParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_responses.go index 5dd3602c1..a486e9c68 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_elevation_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksElevationOK() *DcimRacksElevationOK { return &DcimRacksElevationOK{} } -/* DcimRacksElevationOK describes a response with status code 200, with default header values. +/* +DcimRacksElevationOK describes a response with status code 200, with default header values. DcimRacksElevationOK dcim racks elevation o k */ @@ -62,9 +63,39 @@ type DcimRacksElevationOK struct { Payload []*models.RackUnit } +// IsSuccess returns true when this dcim racks elevation o k response has a 2xx status code +func (o *DcimRacksElevationOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks elevation o k response has a 3xx status code +func (o *DcimRacksElevationOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks elevation o k response has a 4xx status code +func (o *DcimRacksElevationOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks elevation o k response has a 5xx status code +func (o *DcimRacksElevationOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks elevation o k response a status code equal to that given +func (o *DcimRacksElevationOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksElevationOK) Error() string { return fmt.Sprintf("[GET /dcim/racks/{id}/elevation/][%d] dcimRacksElevationOK %+v", 200, o.Payload) } + +func (o *DcimRacksElevationOK) String() string { + return fmt.Sprintf("[GET /dcim/racks/{id}/elevation/][%d] dcimRacksElevationOK %+v", 200, o.Payload) +} + func (o *DcimRacksElevationOK) GetPayload() []*models.RackUnit { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_parameters.go index 9aa6de021..d388856b2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRacksListParamsWithHTTPClient(client *http.Client) *DcimRacksListPar } } -/* DcimRacksListParams contains all the parameters to send to the API endpoint - for the dcim racks list operation. +/* +DcimRacksListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks list operation. + + Typically these are written to a http.Request. */ type DcimRacksListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_responses.go index c61e1f9b4..2fe43307c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRacksListOK() *DcimRacksListOK { return &DcimRacksListOK{} } -/* DcimRacksListOK describes a response with status code 200, with default header values. +/* +DcimRacksListOK describes a response with status code 200, with default header values. DcimRacksListOK dcim racks list o k */ @@ -67,9 +68,39 @@ type DcimRacksListOK struct { Payload *DcimRacksListOKBody } +// IsSuccess returns true when this dcim racks list o k response has a 2xx status code +func (o *DcimRacksListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks list o k response has a 3xx status code +func (o *DcimRacksListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks list o k response has a 4xx status code +func (o *DcimRacksListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks list o k response has a 5xx status code +func (o *DcimRacksListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks list o k response a status code equal to that given +func (o *DcimRacksListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksListOK) Error() string { return fmt.Sprintf("[GET /dcim/racks/][%d] dcimRacksListOK %+v", 200, o.Payload) } + +func (o *DcimRacksListOK) String() string { + return fmt.Sprintf("[GET /dcim/racks/][%d] dcimRacksListOK %+v", 200, o.Payload) +} + func (o *DcimRacksListOK) GetPayload() *DcimRacksListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRacksListOK) readResponse(response runtime.ClientResponse, consumer return nil } -/*DcimRacksListOKBody dcim racks list o k body +/* +DcimRacksListOKBody dcim racks list o k body swagger:model DcimRacksListOKBody */ type DcimRacksListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_parameters.go index 36428445b..deea8bbf3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRacksPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimRac } } -/* DcimRacksPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim racks partial update operation. +/* +DcimRacksPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks partial update operation. + + Typically these are written to a http.Request. */ type DcimRacksPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_responses.go index 40ad3fefe..379773818 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksPartialUpdateOK() *DcimRacksPartialUpdateOK { return &DcimRacksPartialUpdateOK{} } -/* DcimRacksPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRacksPartialUpdateOK describes a response with status code 200, with default header values. DcimRacksPartialUpdateOK dcim racks partial update o k */ @@ -62,9 +63,39 @@ type DcimRacksPartialUpdateOK struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks partial update o k response has a 2xx status code +func (o *DcimRacksPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks partial update o k response has a 3xx status code +func (o *DcimRacksPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks partial update o k response has a 4xx status code +func (o *DcimRacksPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks partial update o k response has a 5xx status code +func (o *DcimRacksPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks partial update o k response a status code equal to that given +func (o *DcimRacksPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/racks/{id}/][%d] dcimRacksPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRacksPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/racks/{id}/][%d] dcimRacksPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRacksPartialUpdateOK) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_parameters.go index ca7a0e258..0ba3c30ef 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRacksReadParamsWithHTTPClient(client *http.Client) *DcimRacksReadPar } } -/* DcimRacksReadParams contains all the parameters to send to the API endpoint - for the dcim racks read operation. +/* +DcimRacksReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks read operation. + + Typically these are written to a http.Request. */ type DcimRacksReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_responses.go index 56b79e336..d36c346a3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksReadOK() *DcimRacksReadOK { return &DcimRacksReadOK{} } -/* DcimRacksReadOK describes a response with status code 200, with default header values. +/* +DcimRacksReadOK describes a response with status code 200, with default header values. DcimRacksReadOK dcim racks read o k */ @@ -62,9 +63,39 @@ type DcimRacksReadOK struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks read o k response has a 2xx status code +func (o *DcimRacksReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks read o k response has a 3xx status code +func (o *DcimRacksReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks read o k response has a 4xx status code +func (o *DcimRacksReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks read o k response has a 5xx status code +func (o *DcimRacksReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks read o k response a status code equal to that given +func (o *DcimRacksReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksReadOK) Error() string { return fmt.Sprintf("[GET /dcim/racks/{id}/][%d] dcimRacksReadOK %+v", 200, o.Payload) } + +func (o *DcimRacksReadOK) String() string { + return fmt.Sprintf("[GET /dcim/racks/{id}/][%d] dcimRacksReadOK %+v", 200, o.Payload) +} + func (o *DcimRacksReadOK) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_parameters.go index c0e0deb33..a0c53b538 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRacksUpdateParamsWithHTTPClient(client *http.Client) *DcimRacksUpdat } } -/* DcimRacksUpdateParams contains all the parameters to send to the API endpoint - for the dcim racks update operation. +/* +DcimRacksUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim racks update operation. + + Typically these are written to a http.Request. */ type DcimRacksUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_responses.go index 5437a1c26..04f166e2c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_racks_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRacksUpdateOK() *DcimRacksUpdateOK { return &DcimRacksUpdateOK{} } -/* DcimRacksUpdateOK describes a response with status code 200, with default header values. +/* +DcimRacksUpdateOK describes a response with status code 200, with default header values. DcimRacksUpdateOK dcim racks update o k */ @@ -62,9 +63,39 @@ type DcimRacksUpdateOK struct { Payload *models.Rack } +// IsSuccess returns true when this dcim racks update o k response has a 2xx status code +func (o *DcimRacksUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim racks update o k response has a 3xx status code +func (o *DcimRacksUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim racks update o k response has a 4xx status code +func (o *DcimRacksUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim racks update o k response has a 5xx status code +func (o *DcimRacksUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim racks update o k response a status code equal to that given +func (o *DcimRacksUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRacksUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/racks/{id}/][%d] dcimRacksUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRacksUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/racks/{id}/][%d] dcimRacksUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRacksUpdateOK) GetPayload() *models.Rack { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_parameters.go index 4276a4c1d..7e417a13a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRearPortTemplatesBulkDeleteParamsWithHTTPClient(client *http.Client) } } -/* DcimRearPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim rear port templates bulk delete operation. +/* +DcimRearPortTemplatesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_responses.go index 1a05b364d..f507cecfe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRearPortTemplatesBulkDeleteNoContent() *DcimRearPortTemplatesBulkDel return &DcimRearPortTemplatesBulkDeleteNoContent{} } -/* DcimRearPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRearPortTemplatesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRearPortTemplatesBulkDeleteNoContent dcim rear port templates bulk delete no content */ type DcimRearPortTemplatesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim rear port templates bulk delete no content response has a 2xx status code +func (o *DcimRearPortTemplatesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates bulk delete no content response has a 3xx status code +func (o *DcimRearPortTemplatesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates bulk delete no content response has a 4xx status code +func (o *DcimRearPortTemplatesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates bulk delete no content response has a 5xx status code +func (o *DcimRearPortTemplatesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates bulk delete no content response a status code equal to that given +func (o *DcimRearPortTemplatesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRearPortTemplatesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkDeleteNoContent ", 204) } +func (o *DcimRearPortTemplatesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkDeleteNoContent ", 204) +} + func (o *DcimRearPortTemplatesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_parameters.go index 7c7a63bae..8fce452c6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortTemplatesBulkPartialUpdateParamsWithHTTPClient(client *http. } } -/* DcimRearPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear port templates bulk partial update operation. +/* +DcimRearPortTemplatesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_responses.go index 825e70448..bfd6e691d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesBulkPartialUpdateOK() *DcimRearPortTemplatesBulkPar return &DcimRearPortTemplatesBulkPartialUpdateOK{} } -/* DcimRearPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRearPortTemplatesBulkPartialUpdateOK dcim rear port templates bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesBulkPartialUpdateOK struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates bulk partial update o k response has a 2xx status code +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates bulk partial update o k response has a 3xx status code +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates bulk partial update o k response has a 4xx status code +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates bulk partial update o k response has a 5xx status code +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates bulk partial update o k response a status code equal to that given +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesBulkPartialUpdateOK) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_parameters.go index 8e0b0b264..8d569acb1 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortTemplatesBulkUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimRearPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear port templates bulk update operation. +/* +DcimRearPortTemplatesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates bulk update operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_responses.go index 31afb1604..f27646eff 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesBulkUpdateOK() *DcimRearPortTemplatesBulkUpdateOK { return &DcimRearPortTemplatesBulkUpdateOK{} } -/* DcimRearPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesBulkUpdateOK describes a response with status code 200, with default header values. DcimRearPortTemplatesBulkUpdateOK dcim rear port templates bulk update o k */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesBulkUpdateOK struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates bulk update o k response has a 2xx status code +func (o *DcimRearPortTemplatesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates bulk update o k response has a 3xx status code +func (o *DcimRearPortTemplatesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates bulk update o k response has a 4xx status code +func (o *DcimRearPortTemplatesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates bulk update o k response has a 5xx status code +func (o *DcimRearPortTemplatesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates bulk update o k response a status code equal to that given +func (o *DcimRearPortTemplatesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rear-port-templates/][%d] dcimRearPortTemplatesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesBulkUpdateOK) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_parameters.go index 8e74bdfa9..1b5dd8066 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortTemplatesCreateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimRearPortTemplatesCreateParams contains all the parameters to send to the API endpoint - for the dcim rear port templates create operation. +/* +DcimRearPortTemplatesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates create operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_responses.go index ba5c96311..1f593a5b8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesCreateCreated() *DcimRearPortTemplatesCreateCreated return &DcimRearPortTemplatesCreateCreated{} } -/* DcimRearPortTemplatesCreateCreated describes a response with status code 201, with default header values. +/* +DcimRearPortTemplatesCreateCreated describes a response with status code 201, with default header values. DcimRearPortTemplatesCreateCreated dcim rear port templates create created */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesCreateCreated struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates create created response has a 2xx status code +func (o *DcimRearPortTemplatesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates create created response has a 3xx status code +func (o *DcimRearPortTemplatesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates create created response has a 4xx status code +func (o *DcimRearPortTemplatesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates create created response has a 5xx status code +func (o *DcimRearPortTemplatesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates create created response a status code equal to that given +func (o *DcimRearPortTemplatesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRearPortTemplatesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/rear-port-templates/][%d] dcimRearPortTemplatesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRearPortTemplatesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/rear-port-templates/][%d] dcimRearPortTemplatesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRearPortTemplatesCreateCreated) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_parameters.go index 5e59f8d2b..0579fe699 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortTemplatesDeleteParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimRearPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - for the dcim rear port templates delete operation. +/* +DcimRearPortTemplatesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates delete operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_responses.go index 4d8435d2a..c4ca0660d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRearPortTemplatesDeleteNoContent() *DcimRearPortTemplatesDeleteNoCon return &DcimRearPortTemplatesDeleteNoContent{} } -/* DcimRearPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRearPortTemplatesDeleteNoContent describes a response with status code 204, with default header values. DcimRearPortTemplatesDeleteNoContent dcim rear port templates delete no content */ type DcimRearPortTemplatesDeleteNoContent struct { } +// IsSuccess returns true when this dcim rear port templates delete no content response has a 2xx status code +func (o *DcimRearPortTemplatesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates delete no content response has a 3xx status code +func (o *DcimRearPortTemplatesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates delete no content response has a 4xx status code +func (o *DcimRearPortTemplatesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates delete no content response has a 5xx status code +func (o *DcimRearPortTemplatesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates delete no content response a status code equal to that given +func (o *DcimRearPortTemplatesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRearPortTemplatesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesDeleteNoContent ", 204) } +func (o *DcimRearPortTemplatesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesDeleteNoContent ", 204) +} + func (o *DcimRearPortTemplatesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_parameters.go index e8797b130..9c26720f3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortTemplatesListParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimRearPortTemplatesListParams contains all the parameters to send to the API endpoint - for the dcim rear port templates list operation. +/* +DcimRearPortTemplatesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates list operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_responses.go index d9b261251..c104b8191 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRearPortTemplatesListOK() *DcimRearPortTemplatesListOK { return &DcimRearPortTemplatesListOK{} } -/* DcimRearPortTemplatesListOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesListOK describes a response with status code 200, with default header values. DcimRearPortTemplatesListOK dcim rear port templates list o k */ @@ -67,9 +68,39 @@ type DcimRearPortTemplatesListOK struct { Payload *DcimRearPortTemplatesListOKBody } +// IsSuccess returns true when this dcim rear port templates list o k response has a 2xx status code +func (o *DcimRearPortTemplatesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates list o k response has a 3xx status code +func (o *DcimRearPortTemplatesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates list o k response has a 4xx status code +func (o *DcimRearPortTemplatesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates list o k response has a 5xx status code +func (o *DcimRearPortTemplatesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates list o k response a status code equal to that given +func (o *DcimRearPortTemplatesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesListOK) Error() string { return fmt.Sprintf("[GET /dcim/rear-port-templates/][%d] dcimRearPortTemplatesListOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesListOK) String() string { + return fmt.Sprintf("[GET /dcim/rear-port-templates/][%d] dcimRearPortTemplatesListOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesListOK) GetPayload() *DcimRearPortTemplatesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRearPortTemplatesListOK) readResponse(response runtime.ClientRespon return nil } -/*DcimRearPortTemplatesListOKBody dcim rear port templates list o k body +/* +DcimRearPortTemplatesListOKBody dcim rear port templates list o k body swagger:model DcimRearPortTemplatesListOKBody */ type DcimRearPortTemplatesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_parameters.go index a97c6d015..ab3a9504f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRearPortTemplatesPartialUpdateParamsWithHTTPClient(client *http.Clie } } -/* DcimRearPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear port templates partial update operation. +/* +DcimRearPortTemplatesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates partial update operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_responses.go index d8e861abb..347615936 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesPartialUpdateOK() *DcimRearPortTemplatesPartialUpda return &DcimRearPortTemplatesPartialUpdateOK{} } -/* DcimRearPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesPartialUpdateOK describes a response with status code 200, with default header values. DcimRearPortTemplatesPartialUpdateOK dcim rear port templates partial update o k */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesPartialUpdateOK struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates partial update o k response has a 2xx status code +func (o *DcimRearPortTemplatesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates partial update o k response has a 3xx status code +func (o *DcimRearPortTemplatesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates partial update o k response has a 4xx status code +func (o *DcimRearPortTemplatesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates partial update o k response has a 5xx status code +func (o *DcimRearPortTemplatesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates partial update o k response a status code equal to that given +func (o *DcimRearPortTemplatesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesPartialUpdateOK) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_parameters.go index ff9edc093..e4b7281f6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortTemplatesReadParamsWithHTTPClient(client *http.Client) *Dcim } } -/* DcimRearPortTemplatesReadParams contains all the parameters to send to the API endpoint - for the dcim rear port templates read operation. +/* +DcimRearPortTemplatesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates read operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_responses.go index cf568a7f5..fcc3c1d4d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesReadOK() *DcimRearPortTemplatesReadOK { return &DcimRearPortTemplatesReadOK{} } -/* DcimRearPortTemplatesReadOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesReadOK describes a response with status code 200, with default header values. DcimRearPortTemplatesReadOK dcim rear port templates read o k */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesReadOK struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates read o k response has a 2xx status code +func (o *DcimRearPortTemplatesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates read o k response has a 3xx status code +func (o *DcimRearPortTemplatesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates read o k response has a 4xx status code +func (o *DcimRearPortTemplatesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates read o k response has a 5xx status code +func (o *DcimRearPortTemplatesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates read o k response a status code equal to that given +func (o *DcimRearPortTemplatesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesReadOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesReadOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesReadOK) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_parameters.go index 82c6b400e..c3de11964 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRearPortTemplatesUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimRearPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear port templates update operation. +/* +DcimRearPortTemplatesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear port templates update operation. + + Typically these are written to a http.Request. */ type DcimRearPortTemplatesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_responses.go index 8e2b8b87f..f0e56c1f7 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_port_templates_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortTemplatesUpdateOK() *DcimRearPortTemplatesUpdateOK { return &DcimRearPortTemplatesUpdateOK{} } -/* DcimRearPortTemplatesUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortTemplatesUpdateOK describes a response with status code 200, with default header values. DcimRearPortTemplatesUpdateOK dcim rear port templates update o k */ @@ -62,9 +63,39 @@ type DcimRearPortTemplatesUpdateOK struct { Payload *models.RearPortTemplate } +// IsSuccess returns true when this dcim rear port templates update o k response has a 2xx status code +func (o *DcimRearPortTemplatesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear port templates update o k response has a 3xx status code +func (o *DcimRearPortTemplatesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear port templates update o k response has a 4xx status code +func (o *DcimRearPortTemplatesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear port templates update o k response has a 5xx status code +func (o *DcimRearPortTemplatesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear port templates update o k response a status code equal to that given +func (o *DcimRearPortTemplatesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortTemplatesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortTemplatesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rear-port-templates/{id}/][%d] dcimRearPortTemplatesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortTemplatesUpdateOK) GetPayload() *models.RearPortTemplate { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_parameters.go index 08d2e9709..0caa0b896 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRearPortsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimRe } } -/* DcimRearPortsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim rear ports bulk delete operation. +/* +DcimRearPortsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRearPortsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_responses.go index f78a3f651..4f2c72d55 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRearPortsBulkDeleteNoContent() *DcimRearPortsBulkDeleteNoContent { return &DcimRearPortsBulkDeleteNoContent{} } -/* DcimRearPortsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRearPortsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRearPortsBulkDeleteNoContent dcim rear ports bulk delete no content */ type DcimRearPortsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim rear ports bulk delete no content response has a 2xx status code +func (o *DcimRearPortsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports bulk delete no content response has a 3xx status code +func (o *DcimRearPortsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports bulk delete no content response has a 4xx status code +func (o *DcimRearPortsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports bulk delete no content response has a 5xx status code +func (o *DcimRearPortsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports bulk delete no content response a status code equal to that given +func (o *DcimRearPortsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRearPortsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rear-ports/][%d] dcimRearPortsBulkDeleteNoContent ", 204) } +func (o *DcimRearPortsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rear-ports/][%d] dcimRearPortsBulkDeleteNoContent ", 204) +} + func (o *DcimRearPortsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_parameters.go index 6fa13c643..269e37caf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimRearPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear ports bulk partial update operation. +/* +DcimRearPortsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRearPortsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_responses.go index db844c0e5..4cd736020 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsBulkPartialUpdateOK() *DcimRearPortsBulkPartialUpdateOK { return &DcimRearPortsBulkPartialUpdateOK{} } -/* DcimRearPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRearPortsBulkPartialUpdateOK dcim rear ports bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRearPortsBulkPartialUpdateOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports bulk partial update o k response has a 2xx status code +func (o *DcimRearPortsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports bulk partial update o k response has a 3xx status code +func (o *DcimRearPortsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports bulk partial update o k response has a 4xx status code +func (o *DcimRearPortsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports bulk partial update o k response has a 5xx status code +func (o *DcimRearPortsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports bulk partial update o k response a status code equal to that given +func (o *DcimRearPortsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rear-ports/][%d] dcimRearPortsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rear-ports/][%d] dcimRearPortsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsBulkPartialUpdateOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_parameters.go index c11a1317a..a5364b5f8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimRe } } -/* DcimRearPortsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear ports bulk update operation. +/* +DcimRearPortsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports bulk update operation. + + Typically these are written to a http.Request. */ type DcimRearPortsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_responses.go index ca9cc3ac0..3b830acd0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsBulkUpdateOK() *DcimRearPortsBulkUpdateOK { return &DcimRearPortsBulkUpdateOK{} } -/* DcimRearPortsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortsBulkUpdateOK describes a response with status code 200, with default header values. DcimRearPortsBulkUpdateOK dcim rear ports bulk update o k */ @@ -62,9 +63,39 @@ type DcimRearPortsBulkUpdateOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports bulk update o k response has a 2xx status code +func (o *DcimRearPortsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports bulk update o k response has a 3xx status code +func (o *DcimRearPortsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports bulk update o k response has a 4xx status code +func (o *DcimRearPortsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports bulk update o k response has a 5xx status code +func (o *DcimRearPortsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports bulk update o k response a status code equal to that given +func (o *DcimRearPortsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rear-ports/][%d] dcimRearPortsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rear-ports/][%d] dcimRearPortsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsBulkUpdateOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_parameters.go index 39acfc113..13fb9799c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRearPortsCreateParamsWithHTTPClient(client *http.Client) *DcimRearPo } } -/* DcimRearPortsCreateParams contains all the parameters to send to the API endpoint - for the dcim rear ports create operation. +/* +DcimRearPortsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports create operation. + + Typically these are written to a http.Request. */ type DcimRearPortsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_responses.go index bf35fbb47..820b6242c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsCreateCreated() *DcimRearPortsCreateCreated { return &DcimRearPortsCreateCreated{} } -/* DcimRearPortsCreateCreated describes a response with status code 201, with default header values. +/* +DcimRearPortsCreateCreated describes a response with status code 201, with default header values. DcimRearPortsCreateCreated dcim rear ports create created */ @@ -62,9 +63,39 @@ type DcimRearPortsCreateCreated struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports create created response has a 2xx status code +func (o *DcimRearPortsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports create created response has a 3xx status code +func (o *DcimRearPortsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports create created response has a 4xx status code +func (o *DcimRearPortsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports create created response has a 5xx status code +func (o *DcimRearPortsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports create created response a status code equal to that given +func (o *DcimRearPortsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRearPortsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/rear-ports/][%d] dcimRearPortsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRearPortsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/rear-ports/][%d] dcimRearPortsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRearPortsCreateCreated) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_parameters.go index 6eb7783b3..1ffa211ec 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortsDeleteParamsWithHTTPClient(client *http.Client) *DcimRearPo } } -/* DcimRearPortsDeleteParams contains all the parameters to send to the API endpoint - for the dcim rear ports delete operation. +/* +DcimRearPortsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports delete operation. + + Typically these are written to a http.Request. */ type DcimRearPortsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_responses.go index 43a2d015c..c47a8b1a8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRearPortsDeleteNoContent() *DcimRearPortsDeleteNoContent { return &DcimRearPortsDeleteNoContent{} } -/* DcimRearPortsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRearPortsDeleteNoContent describes a response with status code 204, with default header values. DcimRearPortsDeleteNoContent dcim rear ports delete no content */ type DcimRearPortsDeleteNoContent struct { } +// IsSuccess returns true when this dcim rear ports delete no content response has a 2xx status code +func (o *DcimRearPortsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports delete no content response has a 3xx status code +func (o *DcimRearPortsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports delete no content response has a 4xx status code +func (o *DcimRearPortsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports delete no content response has a 5xx status code +func (o *DcimRearPortsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports delete no content response a status code equal to that given +func (o *DcimRearPortsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRearPortsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/rear-ports/{id}/][%d] dcimRearPortsDeleteNoContent ", 204) } +func (o *DcimRearPortsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/rear-ports/{id}/][%d] dcimRearPortsDeleteNoContent ", 204) +} + func (o *DcimRearPortsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_parameters.go index f94580d12..90353f934 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortsListParamsWithHTTPClient(client *http.Client) *DcimRearPort } } -/* DcimRearPortsListParams contains all the parameters to send to the API endpoint - for the dcim rear ports list operation. +/* +DcimRearPortsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports list operation. + + Typically these are written to a http.Request. */ type DcimRearPortsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_responses.go index 2b9fff34d..95ddbca7b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRearPortsListOK() *DcimRearPortsListOK { return &DcimRearPortsListOK{} } -/* DcimRearPortsListOK describes a response with status code 200, with default header values. +/* +DcimRearPortsListOK describes a response with status code 200, with default header values. DcimRearPortsListOK dcim rear ports list o k */ @@ -67,9 +68,39 @@ type DcimRearPortsListOK struct { Payload *DcimRearPortsListOKBody } +// IsSuccess returns true when this dcim rear ports list o k response has a 2xx status code +func (o *DcimRearPortsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports list o k response has a 3xx status code +func (o *DcimRearPortsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports list o k response has a 4xx status code +func (o *DcimRearPortsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports list o k response has a 5xx status code +func (o *DcimRearPortsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports list o k response a status code equal to that given +func (o *DcimRearPortsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsListOK) Error() string { return fmt.Sprintf("[GET /dcim/rear-ports/][%d] dcimRearPortsListOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsListOK) String() string { + return fmt.Sprintf("[GET /dcim/rear-ports/][%d] dcimRearPortsListOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsListOK) GetPayload() *DcimRearPortsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRearPortsListOK) readResponse(response runtime.ClientResponse, cons return nil } -/*DcimRearPortsListOKBody dcim rear ports list o k body +/* +DcimRearPortsListOKBody dcim rear ports list o k body swagger:model DcimRearPortsListOKBody */ type DcimRearPortsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_parameters.go index f833a477f..bd89f99f2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRearPortsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimRearPortsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear ports partial update operation. +/* +DcimRearPortsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports partial update operation. + + Typically these are written to a http.Request. */ type DcimRearPortsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_responses.go index 56e1241e0..4d01ef9e9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsPartialUpdateOK() *DcimRearPortsPartialUpdateOK { return &DcimRearPortsPartialUpdateOK{} } -/* DcimRearPortsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortsPartialUpdateOK describes a response with status code 200, with default header values. DcimRearPortsPartialUpdateOK dcim rear ports partial update o k */ @@ -62,9 +63,39 @@ type DcimRearPortsPartialUpdateOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports partial update o k response has a 2xx status code +func (o *DcimRearPortsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports partial update o k response has a 3xx status code +func (o *DcimRearPortsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports partial update o k response has a 4xx status code +func (o *DcimRearPortsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports partial update o k response has a 5xx status code +func (o *DcimRearPortsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports partial update o k response a status code equal to that given +func (o *DcimRearPortsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/rear-ports/{id}/][%d] dcimRearPortsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/rear-ports/{id}/][%d] dcimRearPortsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsPartialUpdateOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_parameters.go index 587a9fb2e..fe45ee0bf 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortsPathsParamsWithHTTPClient(client *http.Client) *DcimRearPor } } -/* DcimRearPortsPathsParams contains all the parameters to send to the API endpoint - for the dcim rear ports paths operation. +/* +DcimRearPortsPathsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports paths operation. + + Typically these are written to a http.Request. */ type DcimRearPortsPathsParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_responses.go index 749555a52..7fd904353 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_paths_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsPathsOK() *DcimRearPortsPathsOK { return &DcimRearPortsPathsOK{} } -/* DcimRearPortsPathsOK describes a response with status code 200, with default header values. +/* +DcimRearPortsPathsOK describes a response with status code 200, with default header values. DcimRearPortsPathsOK dcim rear ports paths o k */ @@ -62,9 +63,39 @@ type DcimRearPortsPathsOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports paths o k response has a 2xx status code +func (o *DcimRearPortsPathsOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports paths o k response has a 3xx status code +func (o *DcimRearPortsPathsOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports paths o k response has a 4xx status code +func (o *DcimRearPortsPathsOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports paths o k response has a 5xx status code +func (o *DcimRearPortsPathsOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports paths o k response a status code equal to that given +func (o *DcimRearPortsPathsOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsPathsOK) Error() string { return fmt.Sprintf("[GET /dcim/rear-ports/{id}/paths/][%d] dcimRearPortsPathsOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsPathsOK) String() string { + return fmt.Sprintf("[GET /dcim/rear-ports/{id}/paths/][%d] dcimRearPortsPathsOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsPathsOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_parameters.go index a793e3625..f94b9f539 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRearPortsReadParamsWithHTTPClient(client *http.Client) *DcimRearPort } } -/* DcimRearPortsReadParams contains all the parameters to send to the API endpoint - for the dcim rear ports read operation. +/* +DcimRearPortsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports read operation. + + Typically these are written to a http.Request. */ type DcimRearPortsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_responses.go index eb6d22df6..3817d45a4 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsReadOK() *DcimRearPortsReadOK { return &DcimRearPortsReadOK{} } -/* DcimRearPortsReadOK describes a response with status code 200, with default header values. +/* +DcimRearPortsReadOK describes a response with status code 200, with default header values. DcimRearPortsReadOK dcim rear ports read o k */ @@ -62,9 +63,39 @@ type DcimRearPortsReadOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports read o k response has a 2xx status code +func (o *DcimRearPortsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports read o k response has a 3xx status code +func (o *DcimRearPortsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports read o k response has a 4xx status code +func (o *DcimRearPortsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports read o k response has a 5xx status code +func (o *DcimRearPortsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports read o k response a status code equal to that given +func (o *DcimRearPortsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/rear-ports/{id}/][%d] dcimRearPortsReadOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/rear-ports/{id}/][%d] dcimRearPortsReadOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsReadOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_parameters.go index 1d33b3495..1a5a87fed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRearPortsUpdateParamsWithHTTPClient(client *http.Client) *DcimRearPo } } -/* DcimRearPortsUpdateParams contains all the parameters to send to the API endpoint - for the dcim rear ports update operation. +/* +DcimRearPortsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim rear ports update operation. + + Typically these are written to a http.Request. */ type DcimRearPortsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_responses.go index b2dc67a2e..fce30f1fa 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_rear_ports_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRearPortsUpdateOK() *DcimRearPortsUpdateOK { return &DcimRearPortsUpdateOK{} } -/* DcimRearPortsUpdateOK describes a response with status code 200, with default header values. +/* +DcimRearPortsUpdateOK describes a response with status code 200, with default header values. DcimRearPortsUpdateOK dcim rear ports update o k */ @@ -62,9 +63,39 @@ type DcimRearPortsUpdateOK struct { Payload *models.RearPort } +// IsSuccess returns true when this dcim rear ports update o k response has a 2xx status code +func (o *DcimRearPortsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim rear ports update o k response has a 3xx status code +func (o *DcimRearPortsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim rear ports update o k response has a 4xx status code +func (o *DcimRearPortsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim rear ports update o k response has a 5xx status code +func (o *DcimRearPortsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim rear ports update o k response a status code equal to that given +func (o *DcimRearPortsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRearPortsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/rear-ports/{id}/][%d] dcimRearPortsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRearPortsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/rear-ports/{id}/][%d] dcimRearPortsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRearPortsUpdateOK) GetPayload() *models.RearPort { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_parameters.go index 64dcd6161..241b4b6e9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimRegionsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimRegi } } -/* DcimRegionsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim regions bulk delete operation. +/* +DcimRegionsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions bulk delete operation. + + Typically these are written to a http.Request. */ type DcimRegionsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_responses.go index df6240d29..c9cc0a45f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRegionsBulkDeleteNoContent() *DcimRegionsBulkDeleteNoContent { return &DcimRegionsBulkDeleteNoContent{} } -/* DcimRegionsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRegionsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimRegionsBulkDeleteNoContent dcim regions bulk delete no content */ type DcimRegionsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim regions bulk delete no content response has a 2xx status code +func (o *DcimRegionsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions bulk delete no content response has a 3xx status code +func (o *DcimRegionsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions bulk delete no content response has a 4xx status code +func (o *DcimRegionsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions bulk delete no content response has a 5xx status code +func (o *DcimRegionsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions bulk delete no content response a status code equal to that given +func (o *DcimRegionsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRegionsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/regions/][%d] dcimRegionsBulkDeleteNoContent ", 204) } +func (o *DcimRegionsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/regions/][%d] dcimRegionsBulkDeleteNoContent ", 204) +} + func (o *DcimRegionsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_parameters.go index d489043da..9f4e65023 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRegionsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimRegionsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim regions bulk partial update operation. +/* +DcimRegionsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimRegionsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_responses.go index 83253ad99..5916bdbfe 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsBulkPartialUpdateOK() *DcimRegionsBulkPartialUpdateOK { return &DcimRegionsBulkPartialUpdateOK{} } -/* DcimRegionsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRegionsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimRegionsBulkPartialUpdateOK dcim regions bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimRegionsBulkPartialUpdateOK struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions bulk partial update o k response has a 2xx status code +func (o *DcimRegionsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions bulk partial update o k response has a 3xx status code +func (o *DcimRegionsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions bulk partial update o k response has a 4xx status code +func (o *DcimRegionsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions bulk partial update o k response has a 5xx status code +func (o *DcimRegionsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions bulk partial update o k response a status code equal to that given +func (o *DcimRegionsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/regions/][%d] dcimRegionsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRegionsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/regions/][%d] dcimRegionsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRegionsBulkPartialUpdateOK) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_parameters.go index 9829c21db..926cbcf27 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimRegionsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimRegi } } -/* DcimRegionsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim regions bulk update operation. +/* +DcimRegionsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions bulk update operation. + + Typically these are written to a http.Request. */ type DcimRegionsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_responses.go index dece5533b..68a002ef6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsBulkUpdateOK() *DcimRegionsBulkUpdateOK { return &DcimRegionsBulkUpdateOK{} } -/* DcimRegionsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimRegionsBulkUpdateOK describes a response with status code 200, with default header values. DcimRegionsBulkUpdateOK dcim regions bulk update o k */ @@ -62,9 +63,39 @@ type DcimRegionsBulkUpdateOK struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions bulk update o k response has a 2xx status code +func (o *DcimRegionsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions bulk update o k response has a 3xx status code +func (o *DcimRegionsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions bulk update o k response has a 4xx status code +func (o *DcimRegionsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions bulk update o k response has a 5xx status code +func (o *DcimRegionsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions bulk update o k response a status code equal to that given +func (o *DcimRegionsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/regions/][%d] dcimRegionsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRegionsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/regions/][%d] dcimRegionsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRegionsBulkUpdateOK) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_parameters.go index 86e9f8e22..c3f79c26c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimRegionsCreateParamsWithHTTPClient(client *http.Client) *DcimRegionsC } } -/* DcimRegionsCreateParams contains all the parameters to send to the API endpoint - for the dcim regions create operation. +/* +DcimRegionsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions create operation. + + Typically these are written to a http.Request. */ type DcimRegionsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_responses.go index 345374405..bdf1153e9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_create_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsCreateCreated() *DcimRegionsCreateCreated { return &DcimRegionsCreateCreated{} } -/* DcimRegionsCreateCreated describes a response with status code 201, with default header values. +/* +DcimRegionsCreateCreated describes a response with status code 201, with default header values. DcimRegionsCreateCreated dcim regions create created */ @@ -62,9 +63,39 @@ type DcimRegionsCreateCreated struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions create created response has a 2xx status code +func (o *DcimRegionsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions create created response has a 3xx status code +func (o *DcimRegionsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions create created response has a 4xx status code +func (o *DcimRegionsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions create created response has a 5xx status code +func (o *DcimRegionsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions create created response a status code equal to that given +func (o *DcimRegionsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimRegionsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/regions/][%d] dcimRegionsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimRegionsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/regions/][%d] dcimRegionsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimRegionsCreateCreated) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_parameters.go index 5a338f547..afde8aabd 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimRegionsDeleteParamsWithHTTPClient(client *http.Client) *DcimRegionsD } } -/* DcimRegionsDeleteParams contains all the parameters to send to the API endpoint - for the dcim regions delete operation. +/* +DcimRegionsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions delete operation. + + Typically these are written to a http.Request. */ type DcimRegionsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_responses.go index 679808715..868db6fa6 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimRegionsDeleteNoContent() *DcimRegionsDeleteNoContent { return &DcimRegionsDeleteNoContent{} } -/* DcimRegionsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimRegionsDeleteNoContent describes a response with status code 204, with default header values. DcimRegionsDeleteNoContent dcim regions delete no content */ type DcimRegionsDeleteNoContent struct { } +// IsSuccess returns true when this dcim regions delete no content response has a 2xx status code +func (o *DcimRegionsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions delete no content response has a 3xx status code +func (o *DcimRegionsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions delete no content response has a 4xx status code +func (o *DcimRegionsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions delete no content response has a 5xx status code +func (o *DcimRegionsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions delete no content response a status code equal to that given +func (o *DcimRegionsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimRegionsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/regions/{id}/][%d] dcimRegionsDeleteNoContent ", 204) } +func (o *DcimRegionsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/regions/{id}/][%d] dcimRegionsDeleteNoContent ", 204) +} + func (o *DcimRegionsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_parameters.go index 0c78135d7..0c96587aa 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimRegionsListParamsWithHTTPClient(client *http.Client) *DcimRegionsLis } } -/* DcimRegionsListParams contains all the parameters to send to the API endpoint - for the dcim regions list operation. +/* +DcimRegionsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions list operation. + + Typically these are written to a http.Request. */ type DcimRegionsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_responses.go index 120c92ded..8691e212e 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_list_responses.go @@ -59,7 +59,8 @@ func NewDcimRegionsListOK() *DcimRegionsListOK { return &DcimRegionsListOK{} } -/* DcimRegionsListOK describes a response with status code 200, with default header values. +/* +DcimRegionsListOK describes a response with status code 200, with default header values. DcimRegionsListOK dcim regions list o k */ @@ -67,9 +68,39 @@ type DcimRegionsListOK struct { Payload *DcimRegionsListOKBody } +// IsSuccess returns true when this dcim regions list o k response has a 2xx status code +func (o *DcimRegionsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions list o k response has a 3xx status code +func (o *DcimRegionsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions list o k response has a 4xx status code +func (o *DcimRegionsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions list o k response has a 5xx status code +func (o *DcimRegionsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions list o k response a status code equal to that given +func (o *DcimRegionsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsListOK) Error() string { return fmt.Sprintf("[GET /dcim/regions/][%d] dcimRegionsListOK %+v", 200, o.Payload) } + +func (o *DcimRegionsListOK) String() string { + return fmt.Sprintf("[GET /dcim/regions/][%d] dcimRegionsListOK %+v", 200, o.Payload) +} + func (o *DcimRegionsListOK) GetPayload() *DcimRegionsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimRegionsListOK) readResponse(response runtime.ClientResponse, consum return nil } -/*DcimRegionsListOKBody dcim regions list o k body +/* +DcimRegionsListOKBody dcim regions list o k body swagger:model DcimRegionsListOKBody */ type DcimRegionsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_parameters.go index 1968bc904..c2d01729c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRegionsPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimR } } -/* DcimRegionsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim regions partial update operation. +/* +DcimRegionsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions partial update operation. + + Typically these are written to a http.Request. */ type DcimRegionsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_responses.go index f274aceda..af99dc7f5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsPartialUpdateOK() *DcimRegionsPartialUpdateOK { return &DcimRegionsPartialUpdateOK{} } -/* DcimRegionsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimRegionsPartialUpdateOK describes a response with status code 200, with default header values. DcimRegionsPartialUpdateOK dcim regions partial update o k */ @@ -62,9 +63,39 @@ type DcimRegionsPartialUpdateOK struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions partial update o k response has a 2xx status code +func (o *DcimRegionsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions partial update o k response has a 3xx status code +func (o *DcimRegionsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions partial update o k response has a 4xx status code +func (o *DcimRegionsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions partial update o k response has a 5xx status code +func (o *DcimRegionsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions partial update o k response a status code equal to that given +func (o *DcimRegionsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/regions/{id}/][%d] dcimRegionsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRegionsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/regions/{id}/][%d] dcimRegionsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRegionsPartialUpdateOK) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_parameters.go index 5961ffef2..dfa4cf061 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimRegionsReadParamsWithHTTPClient(client *http.Client) *DcimRegionsRea } } -/* DcimRegionsReadParams contains all the parameters to send to the API endpoint - for the dcim regions read operation. +/* +DcimRegionsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions read operation. + + Typically these are written to a http.Request. */ type DcimRegionsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_responses.go index 5faf5a38e..e391791ff 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_read_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsReadOK() *DcimRegionsReadOK { return &DcimRegionsReadOK{} } -/* DcimRegionsReadOK describes a response with status code 200, with default header values. +/* +DcimRegionsReadOK describes a response with status code 200, with default header values. DcimRegionsReadOK dcim regions read o k */ @@ -62,9 +63,39 @@ type DcimRegionsReadOK struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions read o k response has a 2xx status code +func (o *DcimRegionsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions read o k response has a 3xx status code +func (o *DcimRegionsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions read o k response has a 4xx status code +func (o *DcimRegionsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions read o k response has a 5xx status code +func (o *DcimRegionsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions read o k response a status code equal to that given +func (o *DcimRegionsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/regions/{id}/][%d] dcimRegionsReadOK %+v", 200, o.Payload) } + +func (o *DcimRegionsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/regions/{id}/][%d] dcimRegionsReadOK %+v", 200, o.Payload) +} + func (o *DcimRegionsReadOK) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_parameters.go index b5b5c4446..295282b92 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimRegionsUpdateParamsWithHTTPClient(client *http.Client) *DcimRegionsU } } -/* DcimRegionsUpdateParams contains all the parameters to send to the API endpoint - for the dcim regions update operation. +/* +DcimRegionsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim regions update operation. + + Typically these are written to a http.Request. */ type DcimRegionsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_responses.go index 9003c26e4..31fb6f374 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_regions_update_responses.go @@ -54,7 +54,8 @@ func NewDcimRegionsUpdateOK() *DcimRegionsUpdateOK { return &DcimRegionsUpdateOK{} } -/* DcimRegionsUpdateOK describes a response with status code 200, with default header values. +/* +DcimRegionsUpdateOK describes a response with status code 200, with default header values. DcimRegionsUpdateOK dcim regions update o k */ @@ -62,9 +63,39 @@ type DcimRegionsUpdateOK struct { Payload *models.Region } +// IsSuccess returns true when this dcim regions update o k response has a 2xx status code +func (o *DcimRegionsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim regions update o k response has a 3xx status code +func (o *DcimRegionsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim regions update o k response has a 4xx status code +func (o *DcimRegionsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim regions update o k response has a 5xx status code +func (o *DcimRegionsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim regions update o k response a status code equal to that given +func (o *DcimRegionsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimRegionsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/regions/{id}/][%d] dcimRegionsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimRegionsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/regions/{id}/][%d] dcimRegionsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimRegionsUpdateOK) GetPayload() *models.Region { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_parameters.go index 30226e391..5042c1a12 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimSiteGroupsBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimS } } -/* DcimSiteGroupsBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim site groups bulk delete operation. +/* +DcimSiteGroupsBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups bulk delete operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_responses.go index f67e039ab..b0aa97b43 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimSiteGroupsBulkDeleteNoContent() *DcimSiteGroupsBulkDeleteNoContent { return &DcimSiteGroupsBulkDeleteNoContent{} } -/* DcimSiteGroupsBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimSiteGroupsBulkDeleteNoContent describes a response with status code 204, with default header values. DcimSiteGroupsBulkDeleteNoContent dcim site groups bulk delete no content */ type DcimSiteGroupsBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim site groups bulk delete no content response has a 2xx status code +func (o *DcimSiteGroupsBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups bulk delete no content response has a 3xx status code +func (o *DcimSiteGroupsBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups bulk delete no content response has a 4xx status code +func (o *DcimSiteGroupsBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups bulk delete no content response has a 5xx status code +func (o *DcimSiteGroupsBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups bulk delete no content response a status code equal to that given +func (o *DcimSiteGroupsBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimSiteGroupsBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/site-groups/][%d] dcimSiteGroupsBulkDeleteNoContent ", 204) } +func (o *DcimSiteGroupsBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/site-groups/][%d] dcimSiteGroupsBulkDeleteNoContent ", 204) +} + func (o *DcimSiteGroupsBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_parameters.go index ea8007a5f..81cc20ddb 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimSiteGroupsBulkPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimSiteGroupsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim site groups bulk partial update operation. +/* +DcimSiteGroupsBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_responses.go index eac208f4e..e101678a3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsBulkPartialUpdateOK() *DcimSiteGroupsBulkPartialUpdateOK { return &DcimSiteGroupsBulkPartialUpdateOK{} } -/* DcimSiteGroupsBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimSiteGroupsBulkPartialUpdateOK dcim site groups bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimSiteGroupsBulkPartialUpdateOK struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups bulk partial update o k response has a 2xx status code +func (o *DcimSiteGroupsBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups bulk partial update o k response has a 3xx status code +func (o *DcimSiteGroupsBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups bulk partial update o k response has a 4xx status code +func (o *DcimSiteGroupsBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups bulk partial update o k response has a 5xx status code +func (o *DcimSiteGroupsBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups bulk partial update o k response a status code equal to that given +func (o *DcimSiteGroupsBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/site-groups/][%d] dcimSiteGroupsBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/site-groups/][%d] dcimSiteGroupsBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsBulkPartialUpdateOK) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_parameters.go index 9bdc6ee95..28e89c5ed 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimSiteGroupsBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimS } } -/* DcimSiteGroupsBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim site groups bulk update operation. +/* +DcimSiteGroupsBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups bulk update operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_responses.go index 15ce38b32..fddf70759 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsBulkUpdateOK() *DcimSiteGroupsBulkUpdateOK { return &DcimSiteGroupsBulkUpdateOK{} } -/* DcimSiteGroupsBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsBulkUpdateOK describes a response with status code 200, with default header values. DcimSiteGroupsBulkUpdateOK dcim site groups bulk update o k */ @@ -62,9 +63,39 @@ type DcimSiteGroupsBulkUpdateOK struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups bulk update o k response has a 2xx status code +func (o *DcimSiteGroupsBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups bulk update o k response has a 3xx status code +func (o *DcimSiteGroupsBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups bulk update o k response has a 4xx status code +func (o *DcimSiteGroupsBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups bulk update o k response has a 5xx status code +func (o *DcimSiteGroupsBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups bulk update o k response a status code equal to that given +func (o *DcimSiteGroupsBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/site-groups/][%d] dcimSiteGroupsBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/site-groups/][%d] dcimSiteGroupsBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsBulkUpdateOK) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_parameters.go index 83e22d04c..c0fc52682 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimSiteGroupsCreateParamsWithHTTPClient(client *http.Client) *DcimSiteG } } -/* DcimSiteGroupsCreateParams contains all the parameters to send to the API endpoint - for the dcim site groups create operation. +/* +DcimSiteGroupsCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups create operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_responses.go index b03a5352f..d679ab054 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_create_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsCreateCreated() *DcimSiteGroupsCreateCreated { return &DcimSiteGroupsCreateCreated{} } -/* DcimSiteGroupsCreateCreated describes a response with status code 201, with default header values. +/* +DcimSiteGroupsCreateCreated describes a response with status code 201, with default header values. DcimSiteGroupsCreateCreated dcim site groups create created */ @@ -62,9 +63,39 @@ type DcimSiteGroupsCreateCreated struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups create created response has a 2xx status code +func (o *DcimSiteGroupsCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups create created response has a 3xx status code +func (o *DcimSiteGroupsCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups create created response has a 4xx status code +func (o *DcimSiteGroupsCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups create created response has a 5xx status code +func (o *DcimSiteGroupsCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups create created response a status code equal to that given +func (o *DcimSiteGroupsCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimSiteGroupsCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/site-groups/][%d] dcimSiteGroupsCreateCreated %+v", 201, o.Payload) } + +func (o *DcimSiteGroupsCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/site-groups/][%d] dcimSiteGroupsCreateCreated %+v", 201, o.Payload) +} + func (o *DcimSiteGroupsCreateCreated) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_parameters.go index a26240e88..674d47ed3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimSiteGroupsDeleteParamsWithHTTPClient(client *http.Client) *DcimSiteG } } -/* DcimSiteGroupsDeleteParams contains all the parameters to send to the API endpoint - for the dcim site groups delete operation. +/* +DcimSiteGroupsDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups delete operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_responses.go index 1f45b1c84..7a3fa099b 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimSiteGroupsDeleteNoContent() *DcimSiteGroupsDeleteNoContent { return &DcimSiteGroupsDeleteNoContent{} } -/* DcimSiteGroupsDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimSiteGroupsDeleteNoContent describes a response with status code 204, with default header values. DcimSiteGroupsDeleteNoContent dcim site groups delete no content */ type DcimSiteGroupsDeleteNoContent struct { } +// IsSuccess returns true when this dcim site groups delete no content response has a 2xx status code +func (o *DcimSiteGroupsDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups delete no content response has a 3xx status code +func (o *DcimSiteGroupsDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups delete no content response has a 4xx status code +func (o *DcimSiteGroupsDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups delete no content response has a 5xx status code +func (o *DcimSiteGroupsDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups delete no content response a status code equal to that given +func (o *DcimSiteGroupsDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimSiteGroupsDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/site-groups/{id}/][%d] dcimSiteGroupsDeleteNoContent ", 204) } +func (o *DcimSiteGroupsDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/site-groups/{id}/][%d] dcimSiteGroupsDeleteNoContent ", 204) +} + func (o *DcimSiteGroupsDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_parameters.go index 933ae365c..c5a4cb7b2 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimSiteGroupsListParamsWithHTTPClient(client *http.Client) *DcimSiteGro } } -/* DcimSiteGroupsListParams contains all the parameters to send to the API endpoint - for the dcim site groups list operation. +/* +DcimSiteGroupsListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups list operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_responses.go index bb2ca9a56..c2ac25d7c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_list_responses.go @@ -59,7 +59,8 @@ func NewDcimSiteGroupsListOK() *DcimSiteGroupsListOK { return &DcimSiteGroupsListOK{} } -/* DcimSiteGroupsListOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsListOK describes a response with status code 200, with default header values. DcimSiteGroupsListOK dcim site groups list o k */ @@ -67,9 +68,39 @@ type DcimSiteGroupsListOK struct { Payload *DcimSiteGroupsListOKBody } +// IsSuccess returns true when this dcim site groups list o k response has a 2xx status code +func (o *DcimSiteGroupsListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups list o k response has a 3xx status code +func (o *DcimSiteGroupsListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups list o k response has a 4xx status code +func (o *DcimSiteGroupsListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups list o k response has a 5xx status code +func (o *DcimSiteGroupsListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups list o k response a status code equal to that given +func (o *DcimSiteGroupsListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsListOK) Error() string { return fmt.Sprintf("[GET /dcim/site-groups/][%d] dcimSiteGroupsListOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsListOK) String() string { + return fmt.Sprintf("[GET /dcim/site-groups/][%d] dcimSiteGroupsListOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsListOK) GetPayload() *DcimSiteGroupsListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimSiteGroupsListOK) readResponse(response runtime.ClientResponse, con return nil } -/*DcimSiteGroupsListOKBody dcim site groups list o k body +/* +DcimSiteGroupsListOKBody dcim site groups list o k body swagger:model DcimSiteGroupsListOKBody */ type DcimSiteGroupsListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_parameters.go index 9eb1ed4fc..742c3116c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimSiteGroupsPartialUpdateParamsWithHTTPClient(client *http.Client) *Dc } } -/* DcimSiteGroupsPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim site groups partial update operation. +/* +DcimSiteGroupsPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups partial update operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_responses.go index a6fb3607b..a1445dc83 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsPartialUpdateOK() *DcimSiteGroupsPartialUpdateOK { return &DcimSiteGroupsPartialUpdateOK{} } -/* DcimSiteGroupsPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsPartialUpdateOK describes a response with status code 200, with default header values. DcimSiteGroupsPartialUpdateOK dcim site groups partial update o k */ @@ -62,9 +63,39 @@ type DcimSiteGroupsPartialUpdateOK struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups partial update o k response has a 2xx status code +func (o *DcimSiteGroupsPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups partial update o k response has a 3xx status code +func (o *DcimSiteGroupsPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups partial update o k response has a 4xx status code +func (o *DcimSiteGroupsPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups partial update o k response has a 5xx status code +func (o *DcimSiteGroupsPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups partial update o k response a status code equal to that given +func (o *DcimSiteGroupsPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/site-groups/{id}/][%d] dcimSiteGroupsPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/site-groups/{id}/][%d] dcimSiteGroupsPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsPartialUpdateOK) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_parameters.go index d0a9e92e3..9edae0240 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimSiteGroupsReadParamsWithHTTPClient(client *http.Client) *DcimSiteGro } } -/* DcimSiteGroupsReadParams contains all the parameters to send to the API endpoint - for the dcim site groups read operation. +/* +DcimSiteGroupsReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups read operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_responses.go index 0da18ab79..e4de77b40 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_read_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsReadOK() *DcimSiteGroupsReadOK { return &DcimSiteGroupsReadOK{} } -/* DcimSiteGroupsReadOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsReadOK describes a response with status code 200, with default header values. DcimSiteGroupsReadOK dcim site groups read o k */ @@ -62,9 +63,39 @@ type DcimSiteGroupsReadOK struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups read o k response has a 2xx status code +func (o *DcimSiteGroupsReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups read o k response has a 3xx status code +func (o *DcimSiteGroupsReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups read o k response has a 4xx status code +func (o *DcimSiteGroupsReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups read o k response has a 5xx status code +func (o *DcimSiteGroupsReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups read o k response a status code equal to that given +func (o *DcimSiteGroupsReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsReadOK) Error() string { return fmt.Sprintf("[GET /dcim/site-groups/{id}/][%d] dcimSiteGroupsReadOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsReadOK) String() string { + return fmt.Sprintf("[GET /dcim/site-groups/{id}/][%d] dcimSiteGroupsReadOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsReadOK) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_parameters.go index 40370b135..beb5442ea 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimSiteGroupsUpdateParamsWithHTTPClient(client *http.Client) *DcimSiteG } } -/* DcimSiteGroupsUpdateParams contains all the parameters to send to the API endpoint - for the dcim site groups update operation. +/* +DcimSiteGroupsUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim site groups update operation. + + Typically these are written to a http.Request. */ type DcimSiteGroupsUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_responses.go index 420a2e1fd..e7c7f0ee5 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_site_groups_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSiteGroupsUpdateOK() *DcimSiteGroupsUpdateOK { return &DcimSiteGroupsUpdateOK{} } -/* DcimSiteGroupsUpdateOK describes a response with status code 200, with default header values. +/* +DcimSiteGroupsUpdateOK describes a response with status code 200, with default header values. DcimSiteGroupsUpdateOK dcim site groups update o k */ @@ -62,9 +63,39 @@ type DcimSiteGroupsUpdateOK struct { Payload *models.SiteGroup } +// IsSuccess returns true when this dcim site groups update o k response has a 2xx status code +func (o *DcimSiteGroupsUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim site groups update o k response has a 3xx status code +func (o *DcimSiteGroupsUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim site groups update o k response has a 4xx status code +func (o *DcimSiteGroupsUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim site groups update o k response has a 5xx status code +func (o *DcimSiteGroupsUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim site groups update o k response a status code equal to that given +func (o *DcimSiteGroupsUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSiteGroupsUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/site-groups/{id}/][%d] dcimSiteGroupsUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSiteGroupsUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/site-groups/{id}/][%d] dcimSiteGroupsUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSiteGroupsUpdateOK) GetPayload() *models.SiteGroup { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_parameters.go index bd5d1fb40..3a393efd9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimSitesBulkDeleteParamsWithHTTPClient(client *http.Client) *DcimSitesB } } -/* DcimSitesBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim sites bulk delete operation. +/* +DcimSitesBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites bulk delete operation. + + Typically these are written to a http.Request. */ type DcimSitesBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_responses.go index 47af21933..8469495e8 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimSitesBulkDeleteNoContent() *DcimSitesBulkDeleteNoContent { return &DcimSitesBulkDeleteNoContent{} } -/* DcimSitesBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimSitesBulkDeleteNoContent describes a response with status code 204, with default header values. DcimSitesBulkDeleteNoContent dcim sites bulk delete no content */ type DcimSitesBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim sites bulk delete no content response has a 2xx status code +func (o *DcimSitesBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites bulk delete no content response has a 3xx status code +func (o *DcimSitesBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites bulk delete no content response has a 4xx status code +func (o *DcimSitesBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites bulk delete no content response has a 5xx status code +func (o *DcimSitesBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites bulk delete no content response a status code equal to that given +func (o *DcimSitesBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimSitesBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/sites/][%d] dcimSitesBulkDeleteNoContent ", 204) } +func (o *DcimSitesBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/sites/][%d] dcimSitesBulkDeleteNoContent ", 204) +} + func (o *DcimSitesBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_parameters.go index 196073166..c89ea4505 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimSitesBulkPartialUpdateParamsWithHTTPClient(client *http.Client) *Dci } } -/* DcimSitesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim sites bulk partial update operation. +/* +DcimSitesBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimSitesBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_responses.go index ab2a2b7cd..7b4e2ea7a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesBulkPartialUpdateOK() *DcimSitesBulkPartialUpdateOK { return &DcimSitesBulkPartialUpdateOK{} } -/* DcimSitesBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimSitesBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimSitesBulkPartialUpdateOK dcim sites bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimSitesBulkPartialUpdateOK struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites bulk partial update o k response has a 2xx status code +func (o *DcimSitesBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites bulk partial update o k response has a 3xx status code +func (o *DcimSitesBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites bulk partial update o k response has a 4xx status code +func (o *DcimSitesBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites bulk partial update o k response has a 5xx status code +func (o *DcimSitesBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites bulk partial update o k response a status code equal to that given +func (o *DcimSitesBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/sites/][%d] dcimSitesBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSitesBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/sites/][%d] dcimSitesBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSitesBulkPartialUpdateOK) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_parameters.go index 4ce53ec4a..1a00becb3 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimSitesBulkUpdateParamsWithHTTPClient(client *http.Client) *DcimSitesB } } -/* DcimSitesBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim sites bulk update operation. +/* +DcimSitesBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites bulk update operation. + + Typically these are written to a http.Request. */ type DcimSitesBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_responses.go index a6cc6ef6c..093538b62 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesBulkUpdateOK() *DcimSitesBulkUpdateOK { return &DcimSitesBulkUpdateOK{} } -/* DcimSitesBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimSitesBulkUpdateOK describes a response with status code 200, with default header values. DcimSitesBulkUpdateOK dcim sites bulk update o k */ @@ -62,9 +63,39 @@ type DcimSitesBulkUpdateOK struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites bulk update o k response has a 2xx status code +func (o *DcimSitesBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites bulk update o k response has a 3xx status code +func (o *DcimSitesBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites bulk update o k response has a 4xx status code +func (o *DcimSitesBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites bulk update o k response has a 5xx status code +func (o *DcimSitesBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites bulk update o k response a status code equal to that given +func (o *DcimSitesBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/sites/][%d] dcimSitesBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSitesBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/sites/][%d] dcimSitesBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSitesBulkUpdateOK) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_parameters.go index 65d61bc61..ac4a84297 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimSitesCreateParamsWithHTTPClient(client *http.Client) *DcimSitesCreat } } -/* DcimSitesCreateParams contains all the parameters to send to the API endpoint - for the dcim sites create operation. +/* +DcimSitesCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites create operation. + + Typically these are written to a http.Request. */ type DcimSitesCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_responses.go index fd9e0ba82..6f4f7282f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_create_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesCreateCreated() *DcimSitesCreateCreated { return &DcimSitesCreateCreated{} } -/* DcimSitesCreateCreated describes a response with status code 201, with default header values. +/* +DcimSitesCreateCreated describes a response with status code 201, with default header values. DcimSitesCreateCreated dcim sites create created */ @@ -62,9 +63,39 @@ type DcimSitesCreateCreated struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites create created response has a 2xx status code +func (o *DcimSitesCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites create created response has a 3xx status code +func (o *DcimSitesCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites create created response has a 4xx status code +func (o *DcimSitesCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites create created response has a 5xx status code +func (o *DcimSitesCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites create created response a status code equal to that given +func (o *DcimSitesCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimSitesCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/sites/][%d] dcimSitesCreateCreated %+v", 201, o.Payload) } + +func (o *DcimSitesCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/sites/][%d] dcimSitesCreateCreated %+v", 201, o.Payload) +} + func (o *DcimSitesCreateCreated) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_parameters.go index 42571ed8e..a769aa875 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimSitesDeleteParamsWithHTTPClient(client *http.Client) *DcimSitesDelet } } -/* DcimSitesDeleteParams contains all the parameters to send to the API endpoint - for the dcim sites delete operation. +/* +DcimSitesDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites delete operation. + + Typically these are written to a http.Request. */ type DcimSitesDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_responses.go index cdf3f271d..d20a9c92f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimSitesDeleteNoContent() *DcimSitesDeleteNoContent { return &DcimSitesDeleteNoContent{} } -/* DcimSitesDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimSitesDeleteNoContent describes a response with status code 204, with default header values. DcimSitesDeleteNoContent dcim sites delete no content */ type DcimSitesDeleteNoContent struct { } +// IsSuccess returns true when this dcim sites delete no content response has a 2xx status code +func (o *DcimSitesDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites delete no content response has a 3xx status code +func (o *DcimSitesDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites delete no content response has a 4xx status code +func (o *DcimSitesDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites delete no content response has a 5xx status code +func (o *DcimSitesDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites delete no content response a status code equal to that given +func (o *DcimSitesDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimSitesDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/sites/{id}/][%d] dcimSitesDeleteNoContent ", 204) } +func (o *DcimSitesDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/sites/{id}/][%d] dcimSitesDeleteNoContent ", 204) +} + func (o *DcimSitesDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_parameters.go index e4823e02b..3b4f017bc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimSitesListParamsWithHTTPClient(client *http.Client) *DcimSitesListPar } } -/* DcimSitesListParams contains all the parameters to send to the API endpoint - for the dcim sites list operation. +/* +DcimSitesListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites list operation. + + Typically these are written to a http.Request. */ type DcimSitesListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_responses.go index df450e96a..8c73056f0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_list_responses.go @@ -59,7 +59,8 @@ func NewDcimSitesListOK() *DcimSitesListOK { return &DcimSitesListOK{} } -/* DcimSitesListOK describes a response with status code 200, with default header values. +/* +DcimSitesListOK describes a response with status code 200, with default header values. DcimSitesListOK dcim sites list o k */ @@ -67,9 +68,39 @@ type DcimSitesListOK struct { Payload *DcimSitesListOKBody } +// IsSuccess returns true when this dcim sites list o k response has a 2xx status code +func (o *DcimSitesListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites list o k response has a 3xx status code +func (o *DcimSitesListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites list o k response has a 4xx status code +func (o *DcimSitesListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites list o k response has a 5xx status code +func (o *DcimSitesListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites list o k response a status code equal to that given +func (o *DcimSitesListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesListOK) Error() string { return fmt.Sprintf("[GET /dcim/sites/][%d] dcimSitesListOK %+v", 200, o.Payload) } + +func (o *DcimSitesListOK) String() string { + return fmt.Sprintf("[GET /dcim/sites/][%d] dcimSitesListOK %+v", 200, o.Payload) +} + func (o *DcimSitesListOK) GetPayload() *DcimSitesListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimSitesListOK) readResponse(response runtime.ClientResponse, consumer return nil } -/*DcimSitesListOKBody dcim sites list o k body +/* +DcimSitesListOKBody dcim sites list o k body swagger:model DcimSitesListOKBody */ type DcimSitesListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_parameters.go index 142815f64..e62bb0a11 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimSitesPartialUpdateParamsWithHTTPClient(client *http.Client) *DcimSit } } -/* DcimSitesPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim sites partial update operation. +/* +DcimSitesPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites partial update operation. + + Typically these are written to a http.Request. */ type DcimSitesPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_responses.go index c9ac547c1..5f8064e9d 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesPartialUpdateOK() *DcimSitesPartialUpdateOK { return &DcimSitesPartialUpdateOK{} } -/* DcimSitesPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimSitesPartialUpdateOK describes a response with status code 200, with default header values. DcimSitesPartialUpdateOK dcim sites partial update o k */ @@ -62,9 +63,39 @@ type DcimSitesPartialUpdateOK struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites partial update o k response has a 2xx status code +func (o *DcimSitesPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites partial update o k response has a 3xx status code +func (o *DcimSitesPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites partial update o k response has a 4xx status code +func (o *DcimSitesPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites partial update o k response has a 5xx status code +func (o *DcimSitesPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites partial update o k response a status code equal to that given +func (o *DcimSitesPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/sites/{id}/][%d] dcimSitesPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSitesPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/sites/{id}/][%d] dcimSitesPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSitesPartialUpdateOK) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_parameters.go index 4064e9d9f..51e3bb345 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimSitesReadParamsWithHTTPClient(client *http.Client) *DcimSitesReadPar } } -/* DcimSitesReadParams contains all the parameters to send to the API endpoint - for the dcim sites read operation. +/* +DcimSitesReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites read operation. + + Typically these are written to a http.Request. */ type DcimSitesReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_responses.go index 304a8ec14..f61b94c1f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_read_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesReadOK() *DcimSitesReadOK { return &DcimSitesReadOK{} } -/* DcimSitesReadOK describes a response with status code 200, with default header values. +/* +DcimSitesReadOK describes a response with status code 200, with default header values. DcimSitesReadOK dcim sites read o k */ @@ -62,9 +63,39 @@ type DcimSitesReadOK struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites read o k response has a 2xx status code +func (o *DcimSitesReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites read o k response has a 3xx status code +func (o *DcimSitesReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites read o k response has a 4xx status code +func (o *DcimSitesReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites read o k response has a 5xx status code +func (o *DcimSitesReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites read o k response a status code equal to that given +func (o *DcimSitesReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesReadOK) Error() string { return fmt.Sprintf("[GET /dcim/sites/{id}/][%d] dcimSitesReadOK %+v", 200, o.Payload) } + +func (o *DcimSitesReadOK) String() string { + return fmt.Sprintf("[GET /dcim/sites/{id}/][%d] dcimSitesReadOK %+v", 200, o.Payload) +} + func (o *DcimSitesReadOK) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_parameters.go index 16fcf7322..aac9b4954 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimSitesUpdateParamsWithHTTPClient(client *http.Client) *DcimSitesUpdat } } -/* DcimSitesUpdateParams contains all the parameters to send to the API endpoint - for the dcim sites update operation. +/* +DcimSitesUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim sites update operation. + + Typically these are written to a http.Request. */ type DcimSitesUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_responses.go index 1679ab9fe..1d53441b9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_sites_update_responses.go @@ -54,7 +54,8 @@ func NewDcimSitesUpdateOK() *DcimSitesUpdateOK { return &DcimSitesUpdateOK{} } -/* DcimSitesUpdateOK describes a response with status code 200, with default header values. +/* +DcimSitesUpdateOK describes a response with status code 200, with default header values. DcimSitesUpdateOK dcim sites update o k */ @@ -62,9 +63,39 @@ type DcimSitesUpdateOK struct { Payload *models.Site } +// IsSuccess returns true when this dcim sites update o k response has a 2xx status code +func (o *DcimSitesUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim sites update o k response has a 3xx status code +func (o *DcimSitesUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim sites update o k response has a 4xx status code +func (o *DcimSitesUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim sites update o k response has a 5xx status code +func (o *DcimSitesUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim sites update o k response a status code equal to that given +func (o *DcimSitesUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimSitesUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/sites/{id}/][%d] dcimSitesUpdateOK %+v", 200, o.Payload) } + +func (o *DcimSitesUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/sites/{id}/][%d] dcimSitesUpdateOK %+v", 200, o.Payload) +} + func (o *DcimSitesUpdateOK) GetPayload() *models.Site { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_parameters.go index 78fa80bdc..33279b5f0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_parameters.go @@ -67,10 +67,12 @@ func NewDcimVirtualChassisBulkDeleteParamsWithHTTPClient(client *http.Client) *D } } -/* DcimVirtualChassisBulkDeleteParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis bulk delete operation. +/* +DcimVirtualChassisBulkDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis bulk delete operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisBulkDeleteParams struct { timeout time.Duration diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_responses.go index bd98d3c2f..00c35ba0f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimVirtualChassisBulkDeleteNoContent() *DcimVirtualChassisBulkDeleteNoC return &DcimVirtualChassisBulkDeleteNoContent{} } -/* DcimVirtualChassisBulkDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimVirtualChassisBulkDeleteNoContent describes a response with status code 204, with default header values. DcimVirtualChassisBulkDeleteNoContent dcim virtual chassis bulk delete no content */ type DcimVirtualChassisBulkDeleteNoContent struct { } +// IsSuccess returns true when this dcim virtual chassis bulk delete no content response has a 2xx status code +func (o *DcimVirtualChassisBulkDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis bulk delete no content response has a 3xx status code +func (o *DcimVirtualChassisBulkDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis bulk delete no content response has a 4xx status code +func (o *DcimVirtualChassisBulkDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis bulk delete no content response has a 5xx status code +func (o *DcimVirtualChassisBulkDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis bulk delete no content response a status code equal to that given +func (o *DcimVirtualChassisBulkDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimVirtualChassisBulkDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkDeleteNoContent ", 204) } +func (o *DcimVirtualChassisBulkDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkDeleteNoContent ", 204) +} + func (o *DcimVirtualChassisBulkDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_parameters.go index cbc544d32..38cbb10b9 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimVirtualChassisBulkPartialUpdateParamsWithHTTPClient(client *http.Cli } } -/* DcimVirtualChassisBulkPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis bulk partial update operation. +/* +DcimVirtualChassisBulkPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis bulk partial update operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisBulkPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_responses.go index b669f2bc8..86d4b3657 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisBulkPartialUpdateOK() *DcimVirtualChassisBulkPartialUp return &DcimVirtualChassisBulkPartialUpdateOK{} } -/* DcimVirtualChassisBulkPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisBulkPartialUpdateOK describes a response with status code 200, with default header values. DcimVirtualChassisBulkPartialUpdateOK dcim virtual chassis bulk partial update o k */ @@ -62,9 +63,39 @@ type DcimVirtualChassisBulkPartialUpdateOK struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis bulk partial update o k response has a 2xx status code +func (o *DcimVirtualChassisBulkPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis bulk partial update o k response has a 3xx status code +func (o *DcimVirtualChassisBulkPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis bulk partial update o k response has a 4xx status code +func (o *DcimVirtualChassisBulkPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis bulk partial update o k response has a 5xx status code +func (o *DcimVirtualChassisBulkPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis bulk partial update o k response a status code equal to that given +func (o *DcimVirtualChassisBulkPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisBulkPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisBulkPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisBulkPartialUpdateOK) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_parameters.go index d112abf3b..15954f698 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_parameters.go @@ -69,10 +69,12 @@ func NewDcimVirtualChassisBulkUpdateParamsWithHTTPClient(client *http.Client) *D } } -/* DcimVirtualChassisBulkUpdateParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis bulk update operation. +/* +DcimVirtualChassisBulkUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis bulk update operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisBulkUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_responses.go index cc242e9af..45587e590 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_bulk_update_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisBulkUpdateOK() *DcimVirtualChassisBulkUpdateOK { return &DcimVirtualChassisBulkUpdateOK{} } -/* DcimVirtualChassisBulkUpdateOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisBulkUpdateOK describes a response with status code 200, with default header values. DcimVirtualChassisBulkUpdateOK dcim virtual chassis bulk update o k */ @@ -62,9 +63,39 @@ type DcimVirtualChassisBulkUpdateOK struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis bulk update o k response has a 2xx status code +func (o *DcimVirtualChassisBulkUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis bulk update o k response has a 3xx status code +func (o *DcimVirtualChassisBulkUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis bulk update o k response has a 4xx status code +func (o *DcimVirtualChassisBulkUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis bulk update o k response has a 5xx status code +func (o *DcimVirtualChassisBulkUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis bulk update o k response a status code equal to that given +func (o *DcimVirtualChassisBulkUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisBulkUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkUpdateOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisBulkUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/virtual-chassis/][%d] dcimVirtualChassisBulkUpdateOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisBulkUpdateOK) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_parameters.go index a2ce1784d..75882db12 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_parameters.go @@ -69,10 +69,12 @@ func NewDcimVirtualChassisCreateParamsWithHTTPClient(client *http.Client) *DcimV } } -/* DcimVirtualChassisCreateParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis create operation. +/* +DcimVirtualChassisCreateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis create operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisCreateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_responses.go index 27293cf3f..90fa6ec7c 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_create_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisCreateCreated() *DcimVirtualChassisCreateCreated { return &DcimVirtualChassisCreateCreated{} } -/* DcimVirtualChassisCreateCreated describes a response with status code 201, with default header values. +/* +DcimVirtualChassisCreateCreated describes a response with status code 201, with default header values. DcimVirtualChassisCreateCreated dcim virtual chassis create created */ @@ -62,9 +63,39 @@ type DcimVirtualChassisCreateCreated struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis create created response has a 2xx status code +func (o *DcimVirtualChassisCreateCreated) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis create created response has a 3xx status code +func (o *DcimVirtualChassisCreateCreated) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis create created response has a 4xx status code +func (o *DcimVirtualChassisCreateCreated) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis create created response has a 5xx status code +func (o *DcimVirtualChassisCreateCreated) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis create created response a status code equal to that given +func (o *DcimVirtualChassisCreateCreated) IsCode(code int) bool { + return code == 201 +} + func (o *DcimVirtualChassisCreateCreated) Error() string { return fmt.Sprintf("[POST /dcim/virtual-chassis/][%d] dcimVirtualChassisCreateCreated %+v", 201, o.Payload) } + +func (o *DcimVirtualChassisCreateCreated) String() string { + return fmt.Sprintf("[POST /dcim/virtual-chassis/][%d] dcimVirtualChassisCreateCreated %+v", 201, o.Payload) +} + func (o *DcimVirtualChassisCreateCreated) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_parameters.go index 8e671cd63..a1644b73a 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_parameters.go @@ -68,10 +68,12 @@ func NewDcimVirtualChassisDeleteParamsWithHTTPClient(client *http.Client) *DcimV } } -/* DcimVirtualChassisDeleteParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis delete operation. +/* +DcimVirtualChassisDeleteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis delete operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisDeleteParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_responses.go index 9f87068a5..d7363a588 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_delete_responses.go @@ -51,17 +51,47 @@ func NewDcimVirtualChassisDeleteNoContent() *DcimVirtualChassisDeleteNoContent { return &DcimVirtualChassisDeleteNoContent{} } -/* DcimVirtualChassisDeleteNoContent describes a response with status code 204, with default header values. +/* +DcimVirtualChassisDeleteNoContent describes a response with status code 204, with default header values. DcimVirtualChassisDeleteNoContent dcim virtual chassis delete no content */ type DcimVirtualChassisDeleteNoContent struct { } +// IsSuccess returns true when this dcim virtual chassis delete no content response has a 2xx status code +func (o *DcimVirtualChassisDeleteNoContent) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis delete no content response has a 3xx status code +func (o *DcimVirtualChassisDeleteNoContent) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis delete no content response has a 4xx status code +func (o *DcimVirtualChassisDeleteNoContent) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis delete no content response has a 5xx status code +func (o *DcimVirtualChassisDeleteNoContent) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis delete no content response a status code equal to that given +func (o *DcimVirtualChassisDeleteNoContent) IsCode(code int) bool { + return code == 204 +} + func (o *DcimVirtualChassisDeleteNoContent) Error() string { return fmt.Sprintf("[DELETE /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisDeleteNoContent ", 204) } +func (o *DcimVirtualChassisDeleteNoContent) String() string { + return fmt.Sprintf("[DELETE /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisDeleteNoContent ", 204) +} + func (o *DcimVirtualChassisDeleteNoContent) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_parameters.go index 46c8dbdb2..8722f8ccc 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_parameters.go @@ -68,10 +68,12 @@ func NewDcimVirtualChassisListParamsWithHTTPClient(client *http.Client) *DcimVir } } -/* DcimVirtualChassisListParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis list operation. +/* +DcimVirtualChassisListParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis list operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisListParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_responses.go index eeb41a870..cb018deea 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_list_responses.go @@ -59,7 +59,8 @@ func NewDcimVirtualChassisListOK() *DcimVirtualChassisListOK { return &DcimVirtualChassisListOK{} } -/* DcimVirtualChassisListOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisListOK describes a response with status code 200, with default header values. DcimVirtualChassisListOK dcim virtual chassis list o k */ @@ -67,9 +68,39 @@ type DcimVirtualChassisListOK struct { Payload *DcimVirtualChassisListOKBody } +// IsSuccess returns true when this dcim virtual chassis list o k response has a 2xx status code +func (o *DcimVirtualChassisListOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis list o k response has a 3xx status code +func (o *DcimVirtualChassisListOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis list o k response has a 4xx status code +func (o *DcimVirtualChassisListOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis list o k response has a 5xx status code +func (o *DcimVirtualChassisListOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis list o k response a status code equal to that given +func (o *DcimVirtualChassisListOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisListOK) Error() string { return fmt.Sprintf("[GET /dcim/virtual-chassis/][%d] dcimVirtualChassisListOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisListOK) String() string { + return fmt.Sprintf("[GET /dcim/virtual-chassis/][%d] dcimVirtualChassisListOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisListOK) GetPayload() *DcimVirtualChassisListOKBody { return o.Payload } @@ -86,7 +117,8 @@ func (o *DcimVirtualChassisListOK) readResponse(response runtime.ClientResponse, return nil } -/*DcimVirtualChassisListOKBody dcim virtual chassis list o k body +/* +DcimVirtualChassisListOKBody dcim virtual chassis list o k body swagger:model DcimVirtualChassisListOKBody */ type DcimVirtualChassisListOKBody struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_parameters.go index 7b4044f11..fd0fafc0f 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimVirtualChassisPartialUpdateParamsWithHTTPClient(client *http.Client) } } -/* DcimVirtualChassisPartialUpdateParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis partial update operation. +/* +DcimVirtualChassisPartialUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis partial update operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisPartialUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_responses.go index 074a87377..ad2621a48 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_partial_update_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisPartialUpdateOK() *DcimVirtualChassisPartialUpdateOK { return &DcimVirtualChassisPartialUpdateOK{} } -/* DcimVirtualChassisPartialUpdateOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisPartialUpdateOK describes a response with status code 200, with default header values. DcimVirtualChassisPartialUpdateOK dcim virtual chassis partial update o k */ @@ -62,9 +63,39 @@ type DcimVirtualChassisPartialUpdateOK struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis partial update o k response has a 2xx status code +func (o *DcimVirtualChassisPartialUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis partial update o k response has a 3xx status code +func (o *DcimVirtualChassisPartialUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis partial update o k response has a 4xx status code +func (o *DcimVirtualChassisPartialUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis partial update o k response has a 5xx status code +func (o *DcimVirtualChassisPartialUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis partial update o k response a status code equal to that given +func (o *DcimVirtualChassisPartialUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisPartialUpdateOK) Error() string { return fmt.Sprintf("[PATCH /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisPartialUpdateOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisPartialUpdateOK) String() string { + return fmt.Sprintf("[PATCH /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisPartialUpdateOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisPartialUpdateOK) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_parameters.go index 9b6d5d86d..bc555b756 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_parameters.go @@ -68,10 +68,12 @@ func NewDcimVirtualChassisReadParamsWithHTTPClient(client *http.Client) *DcimVir } } -/* DcimVirtualChassisReadParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis read operation. +/* +DcimVirtualChassisReadParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis read operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisReadParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_responses.go index 2d55e9e78..e1e491939 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_read_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisReadOK() *DcimVirtualChassisReadOK { return &DcimVirtualChassisReadOK{} } -/* DcimVirtualChassisReadOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisReadOK describes a response with status code 200, with default header values. DcimVirtualChassisReadOK dcim virtual chassis read o k */ @@ -62,9 +63,39 @@ type DcimVirtualChassisReadOK struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis read o k response has a 2xx status code +func (o *DcimVirtualChassisReadOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis read o k response has a 3xx status code +func (o *DcimVirtualChassisReadOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis read o k response has a 4xx status code +func (o *DcimVirtualChassisReadOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis read o k response has a 5xx status code +func (o *DcimVirtualChassisReadOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis read o k response a status code equal to that given +func (o *DcimVirtualChassisReadOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisReadOK) Error() string { return fmt.Sprintf("[GET /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisReadOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisReadOK) String() string { + return fmt.Sprintf("[GET /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisReadOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisReadOK) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_parameters.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_parameters.go index be2223dca..89c00b033 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_parameters.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_parameters.go @@ -70,10 +70,12 @@ func NewDcimVirtualChassisUpdateParamsWithHTTPClient(client *http.Client) *DcimV } } -/* DcimVirtualChassisUpdateParams contains all the parameters to send to the API endpoint - for the dcim virtual chassis update operation. +/* +DcimVirtualChassisUpdateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the dcim virtual chassis update operation. + + Typically these are written to a http.Request. */ type DcimVirtualChassisUpdateParams struct { diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_responses.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_responses.go index 5af6531fa..666ed3709 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_responses.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/dcim/dcim_virtual_chassis_update_responses.go @@ -54,7 +54,8 @@ func NewDcimVirtualChassisUpdateOK() *DcimVirtualChassisUpdateOK { return &DcimVirtualChassisUpdateOK{} } -/* DcimVirtualChassisUpdateOK describes a response with status code 200, with default header values. +/* +DcimVirtualChassisUpdateOK describes a response with status code 200, with default header values. DcimVirtualChassisUpdateOK dcim virtual chassis update o k */ @@ -62,9 +63,39 @@ type DcimVirtualChassisUpdateOK struct { Payload *models.VirtualChassis } +// IsSuccess returns true when this dcim virtual chassis update o k response has a 2xx status code +func (o *DcimVirtualChassisUpdateOK) IsSuccess() bool { + return true +} + +// IsRedirect returns true when this dcim virtual chassis update o k response has a 3xx status code +func (o *DcimVirtualChassisUpdateOK) IsRedirect() bool { + return false +} + +// IsClientError returns true when this dcim virtual chassis update o k response has a 4xx status code +func (o *DcimVirtualChassisUpdateOK) IsClientError() bool { + return false +} + +// IsServerError returns true when this dcim virtual chassis update o k response has a 5xx status code +func (o *DcimVirtualChassisUpdateOK) IsServerError() bool { + return false +} + +// IsCode returns true when this dcim virtual chassis update o k response a status code equal to that given +func (o *DcimVirtualChassisUpdateOK) IsCode(code int) bool { + return code == 200 +} + func (o *DcimVirtualChassisUpdateOK) Error() string { return fmt.Sprintf("[PUT /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisUpdateOK %+v", 200, o.Payload) } + +func (o *DcimVirtualChassisUpdateOK) String() string { + return fmt.Sprintf("[PUT /dcim/virtual-chassis/{id}/][%d] dcimVirtualChassisUpdateOK %+v", 200, o.Payload) +} + func (o *DcimVirtualChassisUpdateOK) GetPayload() *models.VirtualChassis { return o.Payload } diff --git a/vendor/github.com/smutel/go-netbox/v3/netbox/client/extras/extras_client.go b/vendor/github.com/smutel/go-netbox/v3/netbox/client/extras/extras_client.go index 05d965954..119deacf0 100644 --- a/vendor/github.com/smutel/go-netbox/v3/netbox/client/extras/extras_client.go +++ b/vendor/github.com/smutel/go-netbox/v3/netbox/client/extras/extras_client.go @@ -215,7 +215,7 @@ type ClientService interface { } /* - ExtrasConfigContextsBulkDelete extras config contexts bulk delete API +ExtrasConfigContextsBulkDelete extras config contexts bulk delete API */ func (a *Client) ExtrasConfigContextsBulkDelete(params *ExtrasConfigContextsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -254,7 +254,7 @@ func (a *Client) ExtrasConfigContextsBulkDelete(params *ExtrasConfigContextsBulk } /* - ExtrasConfigContextsBulkPartialUpdate extras config contexts bulk partial update API +ExtrasConfigContextsBulkPartialUpdate extras config contexts bulk partial update API */ func (a *Client) ExtrasConfigContextsBulkPartialUpdate(params *ExtrasConfigContextsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -293,7 +293,7 @@ func (a *Client) ExtrasConfigContextsBulkPartialUpdate(params *ExtrasConfigConte } /* - ExtrasConfigContextsBulkUpdate extras config contexts bulk update API +ExtrasConfigContextsBulkUpdate extras config contexts bulk update API */ func (a *Client) ExtrasConfigContextsBulkUpdate(params *ExtrasConfigContextsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -332,7 +332,7 @@ func (a *Client) ExtrasConfigContextsBulkUpdate(params *ExtrasConfigContextsBulk } /* - ExtrasConfigContextsCreate extras config contexts create API +ExtrasConfigContextsCreate extras config contexts create API */ func (a *Client) ExtrasConfigContextsCreate(params *ExtrasConfigContextsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsCreateCreated, error) { // TODO: Validate the params before sending @@ -371,7 +371,7 @@ func (a *Client) ExtrasConfigContextsCreate(params *ExtrasConfigContextsCreatePa } /* - ExtrasConfigContextsDelete extras config contexts delete API +ExtrasConfigContextsDelete extras config contexts delete API */ func (a *Client) ExtrasConfigContextsDelete(params *ExtrasConfigContextsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -410,7 +410,7 @@ func (a *Client) ExtrasConfigContextsDelete(params *ExtrasConfigContextsDeletePa } /* - ExtrasConfigContextsList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasConfigContextsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasConfigContextsList(params *ExtrasConfigContextsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsListOK, error) { // TODO: Validate the params before sending @@ -449,7 +449,7 @@ func (a *Client) ExtrasConfigContextsList(params *ExtrasConfigContextsListParams } /* - ExtrasConfigContextsPartialUpdate extras config contexts partial update API +ExtrasConfigContextsPartialUpdate extras config contexts partial update API */ func (a *Client) ExtrasConfigContextsPartialUpdate(params *ExtrasConfigContextsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -488,7 +488,7 @@ func (a *Client) ExtrasConfigContextsPartialUpdate(params *ExtrasConfigContextsP } /* - ExtrasConfigContextsRead extras config contexts read API +ExtrasConfigContextsRead extras config contexts read API */ func (a *Client) ExtrasConfigContextsRead(params *ExtrasConfigContextsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsReadOK, error) { // TODO: Validate the params before sending @@ -527,7 +527,7 @@ func (a *Client) ExtrasConfigContextsRead(params *ExtrasConfigContextsReadParams } /* - ExtrasConfigContextsUpdate extras config contexts update API +ExtrasConfigContextsUpdate extras config contexts update API */ func (a *Client) ExtrasConfigContextsUpdate(params *ExtrasConfigContextsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasConfigContextsUpdateOK, error) { // TODO: Validate the params before sending @@ -566,7 +566,7 @@ func (a *Client) ExtrasConfigContextsUpdate(params *ExtrasConfigContextsUpdatePa } /* - ExtrasContentTypesList Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects. +ExtrasContentTypesList Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects. */ func (a *Client) ExtrasContentTypesList(params *ExtrasContentTypesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasContentTypesListOK, error) { // TODO: Validate the params before sending @@ -605,7 +605,7 @@ func (a *Client) ExtrasContentTypesList(params *ExtrasContentTypesListParams, au } /* - ExtrasContentTypesRead Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects. +ExtrasContentTypesRead Read-only list of ContentTypes. Limit results to ContentTypes pertinent to NetBox objects. */ func (a *Client) ExtrasContentTypesRead(params *ExtrasContentTypesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasContentTypesReadOK, error) { // TODO: Validate the params before sending @@ -644,7 +644,7 @@ func (a *Client) ExtrasContentTypesRead(params *ExtrasContentTypesReadParams, au } /* - ExtrasCustomFieldsBulkDelete extras custom fields bulk delete API +ExtrasCustomFieldsBulkDelete extras custom fields bulk delete API */ func (a *Client) ExtrasCustomFieldsBulkDelete(params *ExtrasCustomFieldsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -683,7 +683,7 @@ func (a *Client) ExtrasCustomFieldsBulkDelete(params *ExtrasCustomFieldsBulkDele } /* - ExtrasCustomFieldsBulkPartialUpdate extras custom fields bulk partial update API +ExtrasCustomFieldsBulkPartialUpdate extras custom fields bulk partial update API */ func (a *Client) ExtrasCustomFieldsBulkPartialUpdate(params *ExtrasCustomFieldsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -722,7 +722,7 @@ func (a *Client) ExtrasCustomFieldsBulkPartialUpdate(params *ExtrasCustomFieldsB } /* - ExtrasCustomFieldsBulkUpdate extras custom fields bulk update API +ExtrasCustomFieldsBulkUpdate extras custom fields bulk update API */ func (a *Client) ExtrasCustomFieldsBulkUpdate(params *ExtrasCustomFieldsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -761,7 +761,7 @@ func (a *Client) ExtrasCustomFieldsBulkUpdate(params *ExtrasCustomFieldsBulkUpda } /* - ExtrasCustomFieldsCreate extras custom fields create API +ExtrasCustomFieldsCreate extras custom fields create API */ func (a *Client) ExtrasCustomFieldsCreate(params *ExtrasCustomFieldsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsCreateCreated, error) { // TODO: Validate the params before sending @@ -800,7 +800,7 @@ func (a *Client) ExtrasCustomFieldsCreate(params *ExtrasCustomFieldsCreateParams } /* - ExtrasCustomFieldsDelete extras custom fields delete API +ExtrasCustomFieldsDelete extras custom fields delete API */ func (a *Client) ExtrasCustomFieldsDelete(params *ExtrasCustomFieldsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -839,7 +839,7 @@ func (a *Client) ExtrasCustomFieldsDelete(params *ExtrasCustomFieldsDeleteParams } /* - ExtrasCustomFieldsList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasCustomFieldsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasCustomFieldsList(params *ExtrasCustomFieldsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsListOK, error) { // TODO: Validate the params before sending @@ -878,7 +878,7 @@ func (a *Client) ExtrasCustomFieldsList(params *ExtrasCustomFieldsListParams, au } /* - ExtrasCustomFieldsPartialUpdate extras custom fields partial update API +ExtrasCustomFieldsPartialUpdate extras custom fields partial update API */ func (a *Client) ExtrasCustomFieldsPartialUpdate(params *ExtrasCustomFieldsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -917,7 +917,7 @@ func (a *Client) ExtrasCustomFieldsPartialUpdate(params *ExtrasCustomFieldsParti } /* - ExtrasCustomFieldsRead extras custom fields read API +ExtrasCustomFieldsRead extras custom fields read API */ func (a *Client) ExtrasCustomFieldsRead(params *ExtrasCustomFieldsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsReadOK, error) { // TODO: Validate the params before sending @@ -956,7 +956,7 @@ func (a *Client) ExtrasCustomFieldsRead(params *ExtrasCustomFieldsReadParams, au } /* - ExtrasCustomFieldsUpdate extras custom fields update API +ExtrasCustomFieldsUpdate extras custom fields update API */ func (a *Client) ExtrasCustomFieldsUpdate(params *ExtrasCustomFieldsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomFieldsUpdateOK, error) { // TODO: Validate the params before sending @@ -995,7 +995,7 @@ func (a *Client) ExtrasCustomFieldsUpdate(params *ExtrasCustomFieldsUpdateParams } /* - ExtrasCustomLinksBulkDelete extras custom links bulk delete API +ExtrasCustomLinksBulkDelete extras custom links bulk delete API */ func (a *Client) ExtrasCustomLinksBulkDelete(params *ExtrasCustomLinksBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1034,7 +1034,7 @@ func (a *Client) ExtrasCustomLinksBulkDelete(params *ExtrasCustomLinksBulkDelete } /* - ExtrasCustomLinksBulkPartialUpdate extras custom links bulk partial update API +ExtrasCustomLinksBulkPartialUpdate extras custom links bulk partial update API */ func (a *Client) ExtrasCustomLinksBulkPartialUpdate(params *ExtrasCustomLinksBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1073,7 +1073,7 @@ func (a *Client) ExtrasCustomLinksBulkPartialUpdate(params *ExtrasCustomLinksBul } /* - ExtrasCustomLinksBulkUpdate extras custom links bulk update API +ExtrasCustomLinksBulkUpdate extras custom links bulk update API */ func (a *Client) ExtrasCustomLinksBulkUpdate(params *ExtrasCustomLinksBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1112,7 +1112,7 @@ func (a *Client) ExtrasCustomLinksBulkUpdate(params *ExtrasCustomLinksBulkUpdate } /* - ExtrasCustomLinksCreate extras custom links create API +ExtrasCustomLinksCreate extras custom links create API */ func (a *Client) ExtrasCustomLinksCreate(params *ExtrasCustomLinksCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksCreateCreated, error) { // TODO: Validate the params before sending @@ -1151,7 +1151,7 @@ func (a *Client) ExtrasCustomLinksCreate(params *ExtrasCustomLinksCreateParams, } /* - ExtrasCustomLinksDelete extras custom links delete API +ExtrasCustomLinksDelete extras custom links delete API */ func (a *Client) ExtrasCustomLinksDelete(params *ExtrasCustomLinksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1190,7 +1190,7 @@ func (a *Client) ExtrasCustomLinksDelete(params *ExtrasCustomLinksDeleteParams, } /* - ExtrasCustomLinksList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasCustomLinksList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasCustomLinksList(params *ExtrasCustomLinksListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksListOK, error) { // TODO: Validate the params before sending @@ -1229,7 +1229,7 @@ func (a *Client) ExtrasCustomLinksList(params *ExtrasCustomLinksListParams, auth } /* - ExtrasCustomLinksPartialUpdate extras custom links partial update API +ExtrasCustomLinksPartialUpdate extras custom links partial update API */ func (a *Client) ExtrasCustomLinksPartialUpdate(params *ExtrasCustomLinksPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1268,7 +1268,7 @@ func (a *Client) ExtrasCustomLinksPartialUpdate(params *ExtrasCustomLinksPartial } /* - ExtrasCustomLinksRead extras custom links read API +ExtrasCustomLinksRead extras custom links read API */ func (a *Client) ExtrasCustomLinksRead(params *ExtrasCustomLinksReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksReadOK, error) { // TODO: Validate the params before sending @@ -1307,7 +1307,7 @@ func (a *Client) ExtrasCustomLinksRead(params *ExtrasCustomLinksReadParams, auth } /* - ExtrasCustomLinksUpdate extras custom links update API +ExtrasCustomLinksUpdate extras custom links update API */ func (a *Client) ExtrasCustomLinksUpdate(params *ExtrasCustomLinksUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasCustomLinksUpdateOK, error) { // TODO: Validate the params before sending @@ -1346,7 +1346,7 @@ func (a *Client) ExtrasCustomLinksUpdate(params *ExtrasCustomLinksUpdateParams, } /* - ExtrasExportTemplatesBulkDelete extras export templates bulk delete API +ExtrasExportTemplatesBulkDelete extras export templates bulk delete API */ func (a *Client) ExtrasExportTemplatesBulkDelete(params *ExtrasExportTemplatesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1385,7 +1385,7 @@ func (a *Client) ExtrasExportTemplatesBulkDelete(params *ExtrasExportTemplatesBu } /* - ExtrasExportTemplatesBulkPartialUpdate extras export templates bulk partial update API +ExtrasExportTemplatesBulkPartialUpdate extras export templates bulk partial update API */ func (a *Client) ExtrasExportTemplatesBulkPartialUpdate(params *ExtrasExportTemplatesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1424,7 +1424,7 @@ func (a *Client) ExtrasExportTemplatesBulkPartialUpdate(params *ExtrasExportTemp } /* - ExtrasExportTemplatesBulkUpdate extras export templates bulk update API +ExtrasExportTemplatesBulkUpdate extras export templates bulk update API */ func (a *Client) ExtrasExportTemplatesBulkUpdate(params *ExtrasExportTemplatesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1463,7 +1463,7 @@ func (a *Client) ExtrasExportTemplatesBulkUpdate(params *ExtrasExportTemplatesBu } /* - ExtrasExportTemplatesCreate extras export templates create API +ExtrasExportTemplatesCreate extras export templates create API */ func (a *Client) ExtrasExportTemplatesCreate(params *ExtrasExportTemplatesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesCreateCreated, error) { // TODO: Validate the params before sending @@ -1502,7 +1502,7 @@ func (a *Client) ExtrasExportTemplatesCreate(params *ExtrasExportTemplatesCreate } /* - ExtrasExportTemplatesDelete extras export templates delete API +ExtrasExportTemplatesDelete extras export templates delete API */ func (a *Client) ExtrasExportTemplatesDelete(params *ExtrasExportTemplatesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1541,7 +1541,7 @@ func (a *Client) ExtrasExportTemplatesDelete(params *ExtrasExportTemplatesDelete } /* - ExtrasExportTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasExportTemplatesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasExportTemplatesList(params *ExtrasExportTemplatesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesListOK, error) { // TODO: Validate the params before sending @@ -1580,7 +1580,7 @@ func (a *Client) ExtrasExportTemplatesList(params *ExtrasExportTemplatesListPara } /* - ExtrasExportTemplatesPartialUpdate extras export templates partial update API +ExtrasExportTemplatesPartialUpdate extras export templates partial update API */ func (a *Client) ExtrasExportTemplatesPartialUpdate(params *ExtrasExportTemplatesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1619,7 +1619,7 @@ func (a *Client) ExtrasExportTemplatesPartialUpdate(params *ExtrasExportTemplate } /* - ExtrasExportTemplatesRead extras export templates read API +ExtrasExportTemplatesRead extras export templates read API */ func (a *Client) ExtrasExportTemplatesRead(params *ExtrasExportTemplatesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesReadOK, error) { // TODO: Validate the params before sending @@ -1658,7 +1658,7 @@ func (a *Client) ExtrasExportTemplatesRead(params *ExtrasExportTemplatesReadPara } /* - ExtrasExportTemplatesUpdate extras export templates update API +ExtrasExportTemplatesUpdate extras export templates update API */ func (a *Client) ExtrasExportTemplatesUpdate(params *ExtrasExportTemplatesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasExportTemplatesUpdateOK, error) { // TODO: Validate the params before sending @@ -1697,7 +1697,7 @@ func (a *Client) ExtrasExportTemplatesUpdate(params *ExtrasExportTemplatesUpdate } /* - ExtrasImageAttachmentsBulkDelete extras image attachments bulk delete API +ExtrasImageAttachmentsBulkDelete extras image attachments bulk delete API */ func (a *Client) ExtrasImageAttachmentsBulkDelete(params *ExtrasImageAttachmentsBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1736,7 +1736,7 @@ func (a *Client) ExtrasImageAttachmentsBulkDelete(params *ExtrasImageAttachments } /* - ExtrasImageAttachmentsBulkPartialUpdate extras image attachments bulk partial update API +ExtrasImageAttachmentsBulkPartialUpdate extras image attachments bulk partial update API */ func (a *Client) ExtrasImageAttachmentsBulkPartialUpdate(params *ExtrasImageAttachmentsBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1775,7 +1775,7 @@ func (a *Client) ExtrasImageAttachmentsBulkPartialUpdate(params *ExtrasImageAtta } /* - ExtrasImageAttachmentsBulkUpdate extras image attachments bulk update API +ExtrasImageAttachmentsBulkUpdate extras image attachments bulk update API */ func (a *Client) ExtrasImageAttachmentsBulkUpdate(params *ExtrasImageAttachmentsBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -1814,7 +1814,7 @@ func (a *Client) ExtrasImageAttachmentsBulkUpdate(params *ExtrasImageAttachments } /* - ExtrasImageAttachmentsCreate extras image attachments create API +ExtrasImageAttachmentsCreate extras image attachments create API */ func (a *Client) ExtrasImageAttachmentsCreate(params *ExtrasImageAttachmentsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsCreateCreated, error) { // TODO: Validate the params before sending @@ -1853,7 +1853,7 @@ func (a *Client) ExtrasImageAttachmentsCreate(params *ExtrasImageAttachmentsCrea } /* - ExtrasImageAttachmentsDelete extras image attachments delete API +ExtrasImageAttachmentsDelete extras image attachments delete API */ func (a *Client) ExtrasImageAttachmentsDelete(params *ExtrasImageAttachmentsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsDeleteNoContent, error) { // TODO: Validate the params before sending @@ -1892,7 +1892,7 @@ func (a *Client) ExtrasImageAttachmentsDelete(params *ExtrasImageAttachmentsDele } /* - ExtrasImageAttachmentsList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasImageAttachmentsList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasImageAttachmentsList(params *ExtrasImageAttachmentsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsListOK, error) { // TODO: Validate the params before sending @@ -1931,7 +1931,7 @@ func (a *Client) ExtrasImageAttachmentsList(params *ExtrasImageAttachmentsListPa } /* - ExtrasImageAttachmentsPartialUpdate extras image attachments partial update API +ExtrasImageAttachmentsPartialUpdate extras image attachments partial update API */ func (a *Client) ExtrasImageAttachmentsPartialUpdate(params *ExtrasImageAttachmentsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -1970,7 +1970,7 @@ func (a *Client) ExtrasImageAttachmentsPartialUpdate(params *ExtrasImageAttachme } /* - ExtrasImageAttachmentsRead extras image attachments read API +ExtrasImageAttachmentsRead extras image attachments read API */ func (a *Client) ExtrasImageAttachmentsRead(params *ExtrasImageAttachmentsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsReadOK, error) { // TODO: Validate the params before sending @@ -2009,7 +2009,7 @@ func (a *Client) ExtrasImageAttachmentsRead(params *ExtrasImageAttachmentsReadPa } /* - ExtrasImageAttachmentsUpdate extras image attachments update API +ExtrasImageAttachmentsUpdate extras image attachments update API */ func (a *Client) ExtrasImageAttachmentsUpdate(params *ExtrasImageAttachmentsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasImageAttachmentsUpdateOK, error) { // TODO: Validate the params before sending @@ -2048,7 +2048,7 @@ func (a *Client) ExtrasImageAttachmentsUpdate(params *ExtrasImageAttachmentsUpda } /* - ExtrasJobResultsList Retrieve a list of job results +ExtrasJobResultsList Retrieve a list of job results */ func (a *Client) ExtrasJobResultsList(params *ExtrasJobResultsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJobResultsListOK, error) { // TODO: Validate the params before sending @@ -2087,7 +2087,7 @@ func (a *Client) ExtrasJobResultsList(params *ExtrasJobResultsListParams, authIn } /* - ExtrasJobResultsRead Retrieve a list of job results +ExtrasJobResultsRead Retrieve a list of job results */ func (a *Client) ExtrasJobResultsRead(params *ExtrasJobResultsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJobResultsReadOK, error) { // TODO: Validate the params before sending @@ -2126,7 +2126,7 @@ func (a *Client) ExtrasJobResultsRead(params *ExtrasJobResultsReadParams, authIn } /* - ExtrasJournalEntriesBulkDelete extras journal entries bulk delete API +ExtrasJournalEntriesBulkDelete extras journal entries bulk delete API */ func (a *Client) ExtrasJournalEntriesBulkDelete(params *ExtrasJournalEntriesBulkDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesBulkDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2165,7 +2165,7 @@ func (a *Client) ExtrasJournalEntriesBulkDelete(params *ExtrasJournalEntriesBulk } /* - ExtrasJournalEntriesBulkPartialUpdate extras journal entries bulk partial update API +ExtrasJournalEntriesBulkPartialUpdate extras journal entries bulk partial update API */ func (a *Client) ExtrasJournalEntriesBulkPartialUpdate(params *ExtrasJournalEntriesBulkPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesBulkPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2204,7 +2204,7 @@ func (a *Client) ExtrasJournalEntriesBulkPartialUpdate(params *ExtrasJournalEntr } /* - ExtrasJournalEntriesBulkUpdate extras journal entries bulk update API +ExtrasJournalEntriesBulkUpdate extras journal entries bulk update API */ func (a *Client) ExtrasJournalEntriesBulkUpdate(params *ExtrasJournalEntriesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesBulkUpdateOK, error) { // TODO: Validate the params before sending @@ -2243,7 +2243,7 @@ func (a *Client) ExtrasJournalEntriesBulkUpdate(params *ExtrasJournalEntriesBulk } /* - ExtrasJournalEntriesCreate extras journal entries create API +ExtrasJournalEntriesCreate extras journal entries create API */ func (a *Client) ExtrasJournalEntriesCreate(params *ExtrasJournalEntriesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesCreateCreated, error) { // TODO: Validate the params before sending @@ -2282,7 +2282,7 @@ func (a *Client) ExtrasJournalEntriesCreate(params *ExtrasJournalEntriesCreatePa } /* - ExtrasJournalEntriesDelete extras journal entries delete API +ExtrasJournalEntriesDelete extras journal entries delete API */ func (a *Client) ExtrasJournalEntriesDelete(params *ExtrasJournalEntriesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesDeleteNoContent, error) { // TODO: Validate the params before sending @@ -2321,7 +2321,7 @@ func (a *Client) ExtrasJournalEntriesDelete(params *ExtrasJournalEntriesDeletePa } /* - ExtrasJournalEntriesList Overrides ListModelMixin to allow processing ExportTemplates. +ExtrasJournalEntriesList Overrides ListModelMixin to allow processing ExportTemplates. */ func (a *Client) ExtrasJournalEntriesList(params *ExtrasJournalEntriesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesListOK, error) { // TODO: Validate the params before sending @@ -2360,7 +2360,7 @@ func (a *Client) ExtrasJournalEntriesList(params *ExtrasJournalEntriesListParams } /* - ExtrasJournalEntriesPartialUpdate extras journal entries partial update API +ExtrasJournalEntriesPartialUpdate extras journal entries partial update API */ func (a *Client) ExtrasJournalEntriesPartialUpdate(params *ExtrasJournalEntriesPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesPartialUpdateOK, error) { // TODO: Validate the params before sending @@ -2399,7 +2399,7 @@ func (a *Client) ExtrasJournalEntriesPartialUpdate(params *ExtrasJournalEntriesP } /* - ExtrasJournalEntriesRead extras journal entries read API +ExtrasJournalEntriesRead extras journal entries read API */ func (a *Client) ExtrasJournalEntriesRead(params *ExtrasJournalEntriesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesReadOK, error) { // TODO: Validate the params before sending @@ -2438,7 +2438,7 @@ func (a *Client) ExtrasJournalEntriesRead(params *ExtrasJournalEntriesReadParams } /* - ExtrasJournalEntriesUpdate extras journal entries update API +ExtrasJournalEntriesUpdate extras journal entries update API */ func (a *Client) ExtrasJournalEntriesUpdate(params *ExtrasJournalEntriesUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasJournalEntriesUpdateOK, error) { // TODO: Validate the params before sending @@ -2477,7 +2477,7 @@ func (a *Client) ExtrasJournalEntriesUpdate(params *ExtrasJournalEntriesUpdatePa } /* - ExtrasObjectChangesList Retrieve a list of recent changes. +ExtrasObjectChangesList Retrieve a list of recent changes. */ func (a *Client) ExtrasObjectChangesList(params *ExtrasObjectChangesListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasObjectChangesListOK, error) { // TODO: Validate the params before sending @@ -2516,7 +2516,7 @@ func (a *Client) ExtrasObjectChangesList(params *ExtrasObjectChangesListParams, } /* - ExtrasObjectChangesRead Retrieve a list of recent changes. +ExtrasObjectChangesRead Retrieve a list of recent changes. */ func (a *Client) ExtrasObjectChangesRead(params *ExtrasObjectChangesReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasObjectChangesReadOK, error) { // TODO: Validate the params before sending @@ -2555,7 +2555,7 @@ func (a *Client) ExtrasObjectChangesRead(params *ExtrasObjectChangesReadParams, } /* - ExtrasReportsList Compile all reports and their related results (if any). Result data is deferred in the list view. +ExtrasReportsList Compile all reports and their related results (if any). Result data is deferred in the list view. */ func (a *Client) ExtrasReportsList(params *ExtrasReportsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasReportsListOK, error) { // TODO: Validate the params before sending @@ -2594,7 +2594,7 @@ func (a *Client) ExtrasReportsList(params *ExtrasReportsListParams, authInfo run } /* - ExtrasReportsRead Retrieve a single Report identified as ".". +ExtrasReportsRead Retrieve a single Report identified as ".". */ func (a *Client) ExtrasReportsRead(params *ExtrasReportsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtrasReportsReadOK, error) { // TODO: Validate the params before sending @@ -2633,7 +2633,7 @@ func (a *Client) ExtrasReportsRead(params *ExtrasReportsReadParams, authInfo run } /* - ExtrasReportsRun Run a Report identified as ".