extremecloudiq-api 24.1.0.65__py3-none-any.whl → 24.2.0.52__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- extremecloudiq/__init__.py +29 -2
- extremecloudiq/api/account_api.py +1 -1
- extremecloudiq/api/alert_api.py +1 -1
- extremecloudiq/api/application_api.py +1 -1
- extremecloudiq/api/authentication_api.py +1 -1
- extremecloudiq/api/authorization_api.py +1 -1
- extremecloudiq/api/client_api.py +1 -1
- extremecloudiq/api/configuration___authentication_api.py +1 -1
- extremecloudiq/api/configuration___basic_api.py +1 -1
- extremecloudiq/api/configuration___certificate_api.py +1 -1
- extremecloudiq/api/configuration___deployment_api.py +1 -1
- extremecloudiq/api/configuration___network_api.py +1 -1
- extremecloudiq/api/configuration___policy_api.py +1 -1
- extremecloudiq/api/configuration___user_management_api.py +1 -1
- extremecloudiq/api/copilot___anomalies_api.py +14 -10
- extremecloudiq/api/copilot___connectivity_experience_api.py +1 -1
- extremecloudiq/api/device_api.py +1869 -431
- extremecloudiq/api/essentials___extreme_location_api.py +1 -1
- extremecloudiq/api/hiq_api.py +1 -1
- extremecloudiq/api/license_api.py +1 -1
- extremecloudiq/api/location_api.py +1 -1
- extremecloudiq/api/log_api.py +1 -1
- extremecloudiq/api/misc_api.py +1 -1
- extremecloudiq/api/network_policy_api.py +1 -1
- extremecloudiq/api/notification_api.py +1 -1
- extremecloudiq/api/operation_api.py +1 -1
- extremecloudiq/api/packet_capture_api.py +1 -1
- extremecloudiq/api/user_api.py +1 -1
- extremecloudiq/api_client.py +2 -2
- extremecloudiq/configuration.py +3 -3
- extremecloudiq/exceptions.py +1 -1
- extremecloudiq/models/__init__.py +28 -1
- extremecloudiq/models/essentials_eloc_last_known_location.py +1 -1
- extremecloudiq/models/inline_object.py +1 -1
- extremecloudiq/models/paged_xiq_accounting_log.py +1 -1
- extremecloudiq/models/paged_xiq_active_directory_server.py +1 -1
- extremecloudiq/models/paged_xiq_alert.py +1 -1
- extremecloudiq/models/paged_xiq_application.py +1 -1
- extremecloudiq/models/paged_xiq_audit_log.py +1 -1
- extremecloudiq/models/paged_xiq_auth_log.py +1 -1
- extremecloudiq/models/paged_xiq_building.py +1 -1
- extremecloudiq/models/paged_xiq_certificate.py +1 -1
- extremecloudiq/models/paged_xiq_classification_rule.py +1 -1
- extremecloudiq/models/paged_xiq_client.py +1 -1
- extremecloudiq/models/paged_xiq_cloud_config_group.py +1 -1
- extremecloudiq/models/paged_xiq_connectivity_experience_data.py +1 -1
- extremecloudiq/models/paged_xiq_copilot_wireless_event.py +1 -1
- extremecloudiq/models/paged_xiq_credential_log.py +1 -1
- extremecloudiq/models/paged_xiq_cwp.py +1 -1
- extremecloudiq/models/paged_xiq_device.py +1 -1
- extremecloudiq/models/paged_xiq_device_alarm.py +1 -1
- extremecloudiq/models/paged_xiq_device_configure_ipv4_interface.py +239 -0
- extremecloudiq/models/paged_xiq_device_configure_ipv4_static_route.py +239 -0
- extremecloudiq/models/paged_xiq_device_monitor_ipv4_routing.py +239 -0
- extremecloudiq/models/paged_xiq_device_monitor_vlan_attributes.py +1 -1
- extremecloudiq/models/paged_xiq_device_monitor_vlan_ipv4_interfaces.py +239 -0
- extremecloudiq/models/paged_xiq_device_vlan_attributes.py +1 -1
- extremecloudiq/models/paged_xiq_digital_twin_products.py +1 -1
- extremecloudiq/models/paged_xiq_email_log.py +1 -1
- extremecloudiq/models/paged_xiq_end_user.py +1 -1
- extremecloudiq/models/paged_xiq_external_radius_server.py +1 -1
- extremecloudiq/models/paged_xiq_external_user.py +1 -1
- extremecloudiq/models/paged_xiq_floor.py +1 -1
- extremecloudiq/models/paged_xiq_internal_radius_device.py +1 -1
- extremecloudiq/models/paged_xiq_internal_radius_server.py +1 -1
- extremecloudiq/models/paged_xiq_iot_profile.py +1 -1
- extremecloudiq/models/paged_xiq_ldap_server.py +1 -1
- extremecloudiq/models/paged_xiq_list_license_details_response.py +1 -1
- extremecloudiq/models/paged_xiq_location_tree_device.py +1 -1
- extremecloudiq/models/paged_xiq_location_tree_map.py +1 -1
- extremecloudiq/models/paged_xiq_network_policy.py +1 -1
- extremecloudiq/models/paged_xiq_packet_capture.py +1 -1
- extremecloudiq/models/paged_xiq_radio_entity.py +1 -1
- extremecloudiq/models/paged_xiq_radio_profile.py +1 -1
- extremecloudiq/models/paged_xiq_radius_client_object.py +1 -1
- extremecloudiq/models/paged_xiq_radius_proxy.py +1 -1
- extremecloudiq/models/paged_xiq_rp_mac_oui_profile.py +1 -1
- extremecloudiq/models/paged_xiq_site.py +1 -1
- extremecloudiq/models/paged_xiq_sms_log.py +1 -1
- extremecloudiq/models/paged_xiq_ssid.py +1 -1
- extremecloudiq/models/paged_xiq_tunnel_concentrator.py +1 -1
- extremecloudiq/models/paged_xiq_user.py +1 -1
- extremecloudiq/models/paged_xiq_user_group.py +1 -1
- extremecloudiq/models/paged_xiq_user_profile.py +1 -1
- extremecloudiq/models/paged_xiq_vlan_profile.py +1 -1
- extremecloudiq/models/paged_xiq_wired_event_entity.py +1 -1
- extremecloudiq/models/xiq_account.py +1 -1
- extremecloudiq/models/xiq_account_mode.py +1 -1
- extremecloudiq/models/xiq_account_type.py +1 -1
- extremecloudiq/models/xiq_accounting_log.py +1 -1
- extremecloudiq/models/xiq_acknowledge_alerts_request.py +1 -1
- extremecloudiq/models/xiq_action_type.py +1 -1
- extremecloudiq/models/xiq_active_directory_server.py +1 -1
- extremecloudiq/models/xiq_active_directory_server_base_dn_fetch_mode.py +1 -1
- extremecloudiq/models/xiq_add_legacy_license_request.py +1 -1
- extremecloudiq/models/xiq_add_legacy_license_response.py +1 -1
- extremecloudiq/models/xiq_address.py +1 -1
- extremecloudiq/models/xiq_advanced_onboard_device_request.py +1 -1
- extremecloudiq/models/xiq_advanced_onboard_device_response.py +1 -1
- extremecloudiq/models/xiq_alert.py +1 -1
- extremecloudiq/models/xiq_alert_email_subscription.py +1 -1
- extremecloudiq/models/xiq_alert_event_rules_by_category.py +1 -1
- extremecloudiq/models/xiq_alert_group_count.py +1 -1
- extremecloudiq/models/xiq_alert_group_query.py +1 -1
- extremecloudiq/models/xiq_alert_metric_rules_by_metricset.py +1 -1
- extremecloudiq/models/xiq_alert_policy.py +1 -1
- extremecloudiq/models/xiq_alert_policy_filter.py +1 -1
- extremecloudiq/models/xiq_alert_policy_type.py +1 -1
- extremecloudiq/models/xiq_alert_report.py +1 -1
- extremecloudiq/models/xiq_alert_rule.py +1 -1
- extremecloudiq/models/xiq_alert_rule_overview.py +1 -1
- extremecloudiq/models/xiq_alert_site.py +1 -1
- extremecloudiq/models/xiq_alert_sort_field.py +1 -1
- extremecloudiq/models/xiq_alert_source.py +1 -1
- extremecloudiq/models/xiq_alert_tag.py +1 -1
- extremecloudiq/models/xiq_alert_webhook_subscription.py +1 -1
- extremecloudiq/models/xiq_anomalies_count_vo_entity.py +1 -1
- extremecloudiq/models/xiq_anomalies_device_update_action_request.py +1 -1
- extremecloudiq/models/xiq_anomalies_feedback_request.py +1 -1
- extremecloudiq/models/xiq_anomalies_notifications_response.py +1 -1
- extremecloudiq/models/xiq_anomalies_severity_entity.py +1 -1
- extremecloudiq/models/xiq_anomalies_site_entity.py +1 -1
- extremecloudiq/models/xiq_anomalies_type_entity.py +1 -1
- extremecloudiq/models/xiq_anomalies_update_action_request.py +1 -1
- extremecloudiq/models/xiq_anomaly_affected_count.py +1 -1
- extremecloudiq/models/xiq_anomaly_device_entity.py +1 -1
- extremecloudiq/models/xiq_anomaly_device_with_location.py +1 -1
- extremecloudiq/models/xiq_anomaly_devices_by_location_response.py +1 -1
- extremecloudiq/models/xiq_anomaly_health_type.py +1 -1
- extremecloudiq/models/xiq_anomaly_location_entity.py +1 -1
- extremecloudiq/models/xiq_anomaly_severity.py +1 -1
- extremecloudiq/models/xiq_anomaly_sort_field.py +1 -1
- extremecloudiq/models/xiq_anomaly_type.py +1 -1
- extremecloudiq/models/xiq_api_token_info.py +1 -1
- extremecloudiq/models/xiq_application.py +1 -1
- extremecloudiq/models/xiq_application_detection_protocol.py +1 -1
- extremecloudiq/models/xiq_application_detection_rule.py +1 -1
- extremecloudiq/models/xiq_application_detection_type.py +1 -1
- extremecloudiq/models/xiq_application_filter_item.py +1 -1
- extremecloudiq/models/xiq_application_sort_field.py +1 -1
- extremecloudiq/models/xiq_application_top_clients_usage.py +1 -1
- extremecloudiq/models/xiq_assign_devices_country_code_request.py +1 -1
- extremecloudiq/models/xiq_assign_devices_location_request.py +1 -1
- extremecloudiq/models/xiq_assign_devices_network_policy_request.py +1 -1
- extremecloudiq/models/xiq_assurance_scans_overview_response.py +1 -1
- extremecloudiq/models/xiq_atp_device_stats_entity.py +1 -1
- extremecloudiq/models/xiq_atp_device_stats_response.py +1 -1
- extremecloudiq/models/xiq_atp_packet_counts_entity.py +1 -1
- extremecloudiq/models/xiq_atp_packet_counts_response.py +1 -1
- extremecloudiq/models/xiq_audit_log.py +1 -1
- extremecloudiq/models/xiq_audit_log_category.py +1 -1
- extremecloudiq/models/xiq_audit_log_report.py +1 -1
- extremecloudiq/models/xiq_audit_log_sort_field.py +1 -1
- extremecloudiq/models/xiq_auth_log.py +1 -1
- extremecloudiq/models/xiq_bounce_device_port_data.py +1 -1
- extremecloudiq/models/xiq_bounce_device_port_operation_result.py +1 -1
- extremecloudiq/models/xiq_bounce_device_port_request.py +1 -1
- extremecloudiq/models/xiq_bounce_device_port_response.py +1 -1
- extremecloudiq/models/xiq_building.py +1 -1
- extremecloudiq/models/xiq_bulk_delete_email_subscription_result.py +1 -1
- extremecloudiq/models/xiq_bulk_delete_webhook_subscription_result.py +1 -1
- extremecloudiq/models/xiq_bulk_operation_result.py +1 -1
- extremecloudiq/models/xiq_capture_band_selection.py +1 -1
- extremecloudiq/models/xiq_capture_direction_selection.py +1 -1
- extremecloudiq/models/xiq_capture_filter.py +1 -1
- extremecloudiq/models/xiq_capture_identifier_type.py +1 -1
- extremecloudiq/models/xiq_capture_location.py +1 -1
- extremecloudiq/models/xiq_capture_radio_selection.py +1 -1
- extremecloudiq/models/xiq_capture_result.py +1 -1
- extremecloudiq/models/xiq_capture_stop_request.py +1 -1
- extremecloudiq/models/xiq_capture_wired_selection.py +1 -1
- extremecloudiq/models/xiq_certificate.py +1 -1
- extremecloudiq/models/xiq_certificate_type.py +1 -1
- extremecloudiq/models/xiq_change_devices_ibeacon_request.py +1 -1
- extremecloudiq/models/xiq_change_devices_os_mode_request.py +1 -1
- extremecloudiq/models/xiq_check_permission_request.py +1 -1
- extremecloudiq/models/xiq_check_permission_response.py +1 -1
- extremecloudiq/models/xiq_classification.py +1 -1
- extremecloudiq/models/xiq_classification_rule.py +1 -1
- extremecloudiq/models/xiq_classification_type.py +1 -1
- extremecloudiq/models/xiq_cli_output.py +1 -1
- extremecloudiq/models/xiq_cli_response_code.py +1 -1
- extremecloudiq/models/xiq_client.py +1 -1
- extremecloudiq/models/xiq_client_field.py +1 -1
- extremecloudiq/models/xiq_client_mac_address_alias.py +1 -1
- extremecloudiq/models/xiq_client_sort_field.py +1 -1
- extremecloudiq/models/xiq_client_stats_entity.py +1 -1
- extremecloudiq/models/xiq_client_summary.py +1 -1
- extremecloudiq/models/xiq_client_type.py +1 -1
- extremecloudiq/models/xiq_client_usage.py +1 -1
- extremecloudiq/models/xiq_client_view.py +1 -1
- extremecloudiq/models/xiq_cloud_config_group.py +1 -1
- extremecloudiq/models/xiq_cloud_shark_storage.py +1 -1
- extremecloudiq/models/xiq_connectivity_details_by_client_type_response.py +1 -1
- extremecloudiq/models/xiq_connectivity_experience_data.py +1 -1
- extremecloudiq/models/xiq_connectivity_experience_view_type.py +1 -1
- extremecloudiq/models/xiq_copilot_anomalies_action_response.py +1 -1
- extremecloudiq/models/xiq_copilot_anomalies_by_category.py +1 -1
- extremecloudiq/models/xiq_copilot_events_wired_sort_field.py +1 -1
- extremecloudiq/models/xiq_copilot_events_wireless_sort_field.py +1 -1
- extremecloudiq/models/xiq_copilot_paged_xiq_anomaly_device_with_location.py +1 -1
- extremecloudiq/models/xiq_copilot_paged_xiq_anomaly_location_entity.py +1 -1
- extremecloudiq/models/xiq_copilot_wired_events_score_type.py +1 -1
- extremecloudiq/models/xiq_copilot_wireless_event.py +1 -1
- extremecloudiq/models/xiq_copilot_wireless_events_score_type.py +1 -1
- extremecloudiq/models/xiq_country.py +1 -1
- extremecloudiq/models/xiq_country_code.py +1 -1
- extremecloudiq/models/xiq_create_alert_email_subscription_request.py +1 -1
- extremecloudiq/models/xiq_create_alert_webhook_subscription_request.py +1 -1
- extremecloudiq/models/xiq_create_building_request.py +1 -1
- extremecloudiq/models/xiq_create_classification_request.py +1 -1
- extremecloudiq/models/xiq_create_classification_rule_request.py +1 -1
- extremecloudiq/models/xiq_create_cloud_config_group_request.py +1 -1
- extremecloudiq/models/xiq_create_end_user_request.py +1 -1
- extremecloudiq/models/xiq_create_external_radius_server_request.py +1 -1
- extremecloudiq/models/xiq_create_floor_request.py +1 -1
- extremecloudiq/models/xiq_create_internal_radius_server_request.py +1 -1
- extremecloudiq/models/xiq_create_key_based_pcg_users_request.py +1 -1
- extremecloudiq/models/xiq_create_ldap_server_request.py +1 -1
- extremecloudiq/models/xiq_create_location_request.py +1 -1
- extremecloudiq/models/xiq_create_network_policy_request.py +1 -1
- extremecloudiq/models/xiq_create_organization_request.py +1 -1
- extremecloudiq/models/xiq_create_radio_profile_request.py +1 -1
- extremecloudiq/models/xiq_create_radius_client.py +1 -1
- extremecloudiq/models/xiq_create_radius_client_object_request.py +1 -1
- extremecloudiq/models/xiq_create_radius_proxy_realm.py +1 -1
- extremecloudiq/models/xiq_create_radius_proxy_request.py +1 -1
- extremecloudiq/models/xiq_create_rp_mac_oui_profile_request.py +1 -1
- extremecloudiq/models/xiq_create_site_request.py +1 -1
- extremecloudiq/models/xiq_create_user_group_request.py +1 -1
- extremecloudiq/models/xiq_create_user_profile_request.py +1 -1
- extremecloudiq/models/xiq_create_user_request.py +1 -1
- extremecloudiq/models/xiq_create_vlan_object_classified_entry_request.py +1 -1
- extremecloudiq/models/xiq_create_vlan_profile_request.py +1 -1
- extremecloudiq/models/xiq_create_webhook_subscription_request.py +1 -1
- extremecloudiq/models/xiq_credential_log.py +1 -1
- extremecloudiq/models/xiq_cwp.py +1 -1
- extremecloudiq/models/xiq_data_point.py +1 -1
- extremecloudiq/models/xiq_date_time_type.py +1 -1
- extremecloudiq/models/xiq_date_time_unit_type.py +1 -1
- extremecloudiq/models/xiq_default_device_password.py +1 -1
- extremecloudiq/models/xiq_delete_bulk_alert_subscription_email_response.py +1 -1
- extremecloudiq/models/xiq_delete_bulk_alert_subscription_request.py +1 -1
- extremecloudiq/models/xiq_delete_bulk_alert_subscription_webhook_response.py +1 -1
- extremecloudiq/models/xiq_delete_key_based_pcg_users_request.py +1 -1
- extremecloudiq/models/xiq_delivery_settings.py +1 -1
- extremecloudiq/models/xiq_dell_device.py +1 -1
- extremecloudiq/models/xiq_dell_devices.py +1 -1
- extremecloudiq/models/xiq_deployment_overview.py +1 -1
- extremecloudiq/models/xiq_deployment_policy.py +1 -1
- extremecloudiq/models/xiq_deployment_request.py +1 -1
- extremecloudiq/models/xiq_deployment_response.py +1 -1
- extremecloudiq/models/xiq_deployment_status.py +1 -1
- extremecloudiq/models/xiq_destination_type.py +1 -1
- extremecloudiq/models/xiq_device.py +1 -1
- extremecloudiq/models/xiq_device_admin_state.py +1 -1
- extremecloudiq/models/xiq_device_alarm.py +1 -1
- extremecloudiq/models/xiq_device_category.py +1 -1
- extremecloudiq/models/xiq_device_configure_ipv4_interface.py +466 -0
- extremecloudiq/models/xiq_device_configure_ipv4_interface_response.py +467 -0
- extremecloudiq/models/xiq_device_configure_ipv4_static_route.py +326 -0
- extremecloudiq/models/xiq_device_cpu_memory_usage.py +1 -1
- extremecloudiq/models/xiq_device_create_configure_ipv4_interface.py +413 -0
- extremecloudiq/models/xiq_device_create_configure_ipv4_static_route.py +298 -0
- extremecloudiq/models/xiq_device_create_vlan_attributes.py +1 -1
- extremecloudiq/models/xiq_device_dhcp_relay.py +292 -0
- extremecloudiq/models/xiq_device_field.py +1 -1
- extremecloudiq/models/xiq_device_filter.py +1 -1
- extremecloudiq/models/xiq_device_function.py +1 -1
- extremecloudiq/models/xiq_device_ibeacon.py +1 -1
- extremecloudiq/models/xiq_device_installation_report.py +1 -1
- extremecloudiq/models/xiq_device_ipv4_routing_route_origin_field.py +103 -0
- extremecloudiq/models/xiq_device_ipv4_routing_sort_field.py +109 -0
- extremecloudiq/models/xiq_device_ipv4_routing_status_field.py +102 -0
- extremecloudiq/models/xiq_device_level_ssid.py +1 -1
- extremecloudiq/models/xiq_device_level_ssid_status.py +1 -1
- extremecloudiq/models/xiq_device_lldp_cdp_info.py +1 -1
- extremecloudiq/models/xiq_device_location.py +1 -1
- extremecloudiq/models/xiq_device_location_assignment.py +1 -1
- extremecloudiq/models/xiq_device_monitor_ipv4_route_nexthop.py +319 -0
- extremecloudiq/models/xiq_device_monitor_ipv4_routing.py +211 -0
- extremecloudiq/models/xiq_device_monitor_ipv4_routing_detail.py +375 -0
- extremecloudiq/models/xiq_device_monitor_ipv4_routing_timeline.py +269 -0
- extremecloudiq/models/xiq_device_monitor_ipv4_routing_timeline_info.py +263 -0
- extremecloudiq/models/xiq_device_monitor_vlan_attributes.py +1 -1
- extremecloudiq/models/xiq_device_monitor_vlan_attributes_info.py +1 -1
- extremecloudiq/models/xiq_device_monitor_vlan_ipv4_interfaces.py +211 -0
- extremecloudiq/models/xiq_device_monitor_vlan_ipv4_interfaces_details.py +376 -0
- extremecloudiq/models/xiq_device_null_field.py +1 -1
- extremecloudiq/models/xiq_device_sort_field.py +1 -1
- extremecloudiq/models/xiq_device_stats.py +1 -1
- extremecloudiq/models/xiq_device_stats_entity.py +1 -1
- extremecloudiq/models/xiq_device_subnetwork_ipv4.py +350 -0
- extremecloudiq/models/xiq_device_type.py +1 -1
- extremecloudiq/models/xiq_device_update_configure_ipv4_interface.py +441 -0
- extremecloudiq/models/xiq_device_update_configure_ipv4_static_route.py +326 -0
- extremecloudiq/models/xiq_device_update_vlan_attributes.py +1 -1
- extremecloudiq/models/xiq_device_view.py +1 -1
- extremecloudiq/models/xiq_device_vlan_attributes.py +1 -1
- extremecloudiq/models/xiq_device_vlan_attributes_dhcp_snooping_action.py +1 -1
- extremecloudiq/models/xiq_device_vlan_ipv4_interfaces_sort_field.py +104 -0
- extremecloudiq/models/xiq_device_vlan_sort_field.py +1 -1
- extremecloudiq/models/xiq_device_wifi_interface.py +1 -1
- extremecloudiq/models/xiq_dfs_channel_changes_entity.py +1 -1
- extremecloudiq/models/xiq_dfs_channel_stats_entity.py +1 -1
- extremecloudiq/models/xiq_dfs_recurence_channel_stats_response.py +1 -1
- extremecloudiq/models/xiq_dfs_recurence_count_stats_response.py +1 -1
- extremecloudiq/models/xiq_dhcp_platform.py +101 -0
- extremecloudiq/models/xiq_dhcp_service_type.py +101 -0
- extremecloudiq/models/xiq_digital_twin_device.py +1 -1
- extremecloudiq/models/xiq_digital_twin_devices.py +1 -1
- extremecloudiq/models/xiq_digital_twin_feat_license.py +1 -1
- extremecloudiq/models/xiq_digital_twin_make.py +1 -1
- extremecloudiq/models/xiq_digital_twin_model.py +1 -1
- extremecloudiq/models/xiq_digital_twin_onboard_device.py +1 -1
- extremecloudiq/models/xiq_digital_twin_products.py +1 -1
- extremecloudiq/models/xiq_digital_twin_vim_module.py +1 -1
- extremecloudiq/models/xiq_duplex_data_rate_entity.py +1 -1
- extremecloudiq/models/xiq_email_log.py +1 -1
- extremecloudiq/models/xiq_email_template.py +1 -1
- extremecloudiq/models/xiq_end_user.py +1 -1
- extremecloudiq/models/xiq_entitlement_type.py +1 -1
- extremecloudiq/models/xiq_error.py +1 -1
- extremecloudiq/models/xiq_exos_device.py +1 -1
- extremecloudiq/models/xiq_exos_devices.py +1 -1
- extremecloudiq/models/xiq_expiration_action_type.py +1 -1
- extremecloudiq/models/xiq_expiration_settings.py +1 -1
- extremecloudiq/models/xiq_expiration_type.py +1 -1
- extremecloudiq/models/xiq_external_account.py +1 -1
- extremecloudiq/models/xiq_external_radius_server.py +1 -1
- extremecloudiq/models/xiq_external_user.py +1 -1
- extremecloudiq/models/xiq_external_user_directory.py +1 -1
- extremecloudiq/models/xiq_external_user_directory_entry.py +1 -1
- extremecloudiq/models/xiq_external_user_directory_type.py +1 -1
- extremecloudiq/models/xiq_extreme_device.py +1 -1
- extremecloudiq/models/xiq_extreme_devices.py +1 -1
- extremecloudiq/models/xiq_extreme_portal_link_param.py +1 -1
- extremecloudiq/models/xiq_failure_onboard_device.py +1 -1
- extremecloudiq/models/xiq_feedback_type.py +1 -1
- extremecloudiq/models/xiq_firmware_activate_option.py +1 -1
- extremecloudiq/models/xiq_firmware_upgrade_policy.py +1 -1
- extremecloudiq/models/xiq_flap_count_entity.py +1 -1
- extremecloudiq/models/xiq_floor.py +1 -1
- extremecloudiq/models/xiq_forensic_bucket.py +1 -1
- extremecloudiq/models/xiq_ftm_settings.py +1 -1
- extremecloudiq/models/xiq_ftm_settings_request.py +1 -1
- extremecloudiq/models/xiq_gateway_ip_type.py +101 -0
- extremecloudiq/models/xiq_generate_api_token_request.py +1 -1
- extremecloudiq/models/xiq_generate_api_token_response.py +1 -1
- extremecloudiq/models/xiq_get_port_assignment_details_response.py +1 -1
- extremecloudiq/models/xiq_grant_external_user_request.py +1 -1
- extremecloudiq/models/xiq_hiq_context.py +1 -1
- extremecloudiq/models/xiq_hiq_status.py +1 -1
- extremecloudiq/models/xiq_init_key_based_pcg_network_policy_request.py +1 -1
- extremecloudiq/models/xiq_initialize_location_request.py +1 -1
- extremecloudiq/models/xiq_internal_radius_device.py +1 -1
- extremecloudiq/models/xiq_internal_radius_server.py +1 -1
- extremecloudiq/models/xiq_internal_radius_server_authentication_method.py +1 -1
- extremecloudiq/models/xiq_internal_radius_server_authentication_method_group.py +1 -1
- extremecloudiq/models/xiq_iot_application_id.py +1 -1
- extremecloudiq/models/xiq_iot_profile.py +1 -1
- extremecloudiq/models/xiq_iot_profile_request.py +1 -1
- extremecloudiq/models/xiq_iot_profile_thread_gateway.py +1 -1
- extremecloudiq/models/xiq_iotp_tg_white_list_entry.py +1 -1
- extremecloudiq/models/xiq_key_based_pcg.py +1 -1
- extremecloudiq/models/xiq_key_based_pcg_user.py +1 -1
- extremecloudiq/models/xiq_key_based_pcg_user_base_info.py +1 -1
- extremecloudiq/models/xiq_l3_address_profile.py +1 -1
- extremecloudiq/models/xiq_l3_address_type.py +1 -1
- extremecloudiq/models/xiq_ldap_protocol_type.py +1 -1
- extremecloudiq/models/xiq_ldap_server.py +1 -1
- extremecloudiq/models/xiq_ldap_server_verification_mode.py +1 -1
- extremecloudiq/models/xiq_license_detail_health_state.py +1 -1
- extremecloudiq/models/xiq_license_detail_status.py +1 -1
- extremecloudiq/models/xiq_license_health_color.py +1 -1
- extremecloudiq/models/xiq_license_health_state.py +1 -1
- extremecloudiq/models/xiq_license_mode.py +1 -1
- extremecloudiq/models/xiq_license_quick_filter.py +1 -1
- extremecloudiq/models/xiq_license_status.py +1 -1
- extremecloudiq/models/xiq_license_summary.py +1 -1
- extremecloudiq/models/xiq_license_type.py +1 -1
- extremecloudiq/models/xiq_list_alert_policies.py +1 -1
- extremecloudiq/models/xiq_list_license_details_response.py +1 -1
- extremecloudiq/models/xiq_list_licenses_response.py +1 -1
- extremecloudiq/models/xiq_location.py +1 -1
- extremecloudiq/models/xiq_location_legend.py +1 -1
- extremecloudiq/models/xiq_location_tree_device.py +1 -1
- extremecloudiq/models/xiq_location_tree_map.py +1 -1
- extremecloudiq/models/xiq_location_type.py +1 -1
- extremecloudiq/models/xiq_login_request.py +1 -1
- extremecloudiq/models/xiq_login_response.py +1 -1
- extremecloudiq/models/xiq_measurement_unit.py +1 -1
- extremecloudiq/models/xiq_nac_entitlement_allocation.py +1 -1
- extremecloudiq/models/xiq_nac_entitlement_allocation_detail.py +1 -1
- extremecloudiq/models/xiq_network_policy.py +1 -1
- extremecloudiq/models/xiq_network_policy_field.py +1 -1
- extremecloudiq/models/xiq_network_policy_type.py +1 -1
- extremecloudiq/models/xiq_network_policy_view.py +1 -1
- extremecloudiq/models/xiq_onboard_device_request.py +1 -1
- extremecloudiq/models/xiq_onboard_error.py +1 -1
- extremecloudiq/models/xiq_onboard_key_based_pcg_request.py +1 -1
- extremecloudiq/models/xiq_operation_metadata.py +1 -1
- extremecloudiq/models/xiq_operation_object.py +1 -1
- extremecloudiq/models/xiq_operation_status.py +1 -1
- extremecloudiq/models/xiq_organization.py +1 -1
- extremecloudiq/models/xiq_organization_type.py +1 -1
- extremecloudiq/models/xiq_packet_capture.py +1 -1
- extremecloudiq/models/xiq_packet_capture_field.py +1 -1
- extremecloudiq/models/xiq_packet_capture_sort_field.py +1 -1
- extremecloudiq/models/xiq_packet_capture_status.py +1 -1
- extremecloudiq/models/xiq_password_character_type.py +1 -1
- extremecloudiq/models/xiq_password_db_location.py +1 -1
- extremecloudiq/models/xiq_password_settings.py +1 -1
- extremecloudiq/models/xiq_password_type.py +1 -1
- extremecloudiq/models/xiq_pcg_assign_ports_request.py +1 -1
- extremecloudiq/models/xiq_pcg_assign_ports_response.py +1 -1
- extremecloudiq/models/xiq_pcg_port_assignment.py +1 -1
- extremecloudiq/models/xiq_pcg_port_assignment_entry.py +1 -1
- extremecloudiq/models/xiq_pcg_port_assignment_entry_detail.py +1 -1
- extremecloudiq/models/xiq_pcg_port_assignment_entry_device_meta.py +1 -1
- extremecloudiq/models/xiq_pcg_port_assignment_entry_eth_user_meta.py +1 -1
- extremecloudiq/models/xiq_pcg_type.py +1 -1
- extremecloudiq/models/xiq_permission.py +1 -1
- extremecloudiq/models/xiq_poe_flapping_stats_response.py +1 -1
- extremecloudiq/models/xiq_policy_rule_protocol_type.py +1 -1
- extremecloudiq/models/xiq_port_efficiency_speed_duplex_stats_response.py +1 -1
- extremecloudiq/models/xiq_port_efficiency_stats_response.py +1 -1
- extremecloudiq/models/xiq_post_expiration_action.py +1 -1
- extremecloudiq/models/xiq_psk_generation_method.py +1 -1
- extremecloudiq/models/xiq_quality_index.py +1 -1
- extremecloudiq/models/xiq_radio.py +1 -1
- extremecloudiq/models/xiq_radio_entity.py +1 -1
- extremecloudiq/models/xiq_radio_mode.py +1 -1
- extremecloudiq/models/xiq_radio_profile.py +1 -1
- extremecloudiq/models/xiq_radius_client.py +1 -1
- extremecloudiq/models/xiq_radius_client_object.py +1 -1
- extremecloudiq/models/xiq_radius_client_object_entry.py +1 -1
- extremecloudiq/models/xiq_radius_client_object_type.py +1 -1
- extremecloudiq/models/xiq_radius_proxy.py +1 -1
- extremecloudiq/models/xiq_radius_proxy_format_type.py +1 -1
- extremecloudiq/models/xiq_radius_proxy_realm.py +1 -1
- extremecloudiq/models/xiq_radius_server_type.py +1 -1
- extremecloudiq/models/xiq_regenerate_end_user_password_response.py +1 -1
- extremecloudiq/models/xiq_rf_environment_type.py +1 -1
- extremecloudiq/models/xiq_rp_channel_selection.py +1 -1
- extremecloudiq/models/xiq_rp_mac_oui_profile.py +1 -1
- extremecloudiq/models/xiq_rp_miscellaneous_settings.py +1 -1
- extremecloudiq/models/xiq_rp_neighborhood_analysis.py +1 -1
- extremecloudiq/models/xiq_rp_radio_usage_optimization.py +1 -1
- extremecloudiq/models/xiq_rp_sensor_scan_settings.py +1 -1
- extremecloudiq/models/xiq_rp_wmm_qos_settings.py +1 -1
- extremecloudiq/models/xiq_send_cli_request.py +1 -1
- extremecloudiq/models/xiq_send_cli_response.py +1 -1
- extremecloudiq/models/xiq_server_role.py +1 -1
- extremecloudiq/models/xiq_sessions_data_entity.py +1 -1
- extremecloudiq/models/xiq_set_nac_entitlement_allocation_request.py +1 -1
- extremecloudiq/models/xiq_set_ssid_mode_dot1x_request.py +1 -1
- extremecloudiq/models/xiq_set_ssid_mode_ppsk_request.py +1 -1
- extremecloudiq/models/xiq_set_ssid_mode_psk_request.py +1 -1
- extremecloudiq/models/xiq_set_ssid_mode_wep_request.py +1 -1
- extremecloudiq/models/xiq_site.py +1 -1
- extremecloudiq/models/xiq_sites_by_wired_entity.py +1 -1
- extremecloudiq/models/xiq_sites_by_wireless_entity.py +1 -1
- extremecloudiq/models/xiq_sms_log.py +1 -1
- extremecloudiq/models/xiq_sms_log_status.py +1 -1
- extremecloudiq/models/xiq_sms_template.py +1 -1
- extremecloudiq/models/xiq_sort_field.py +1 -1
- extremecloudiq/models/xiq_sort_order.py +1 -1
- extremecloudiq/models/xiq_speed_duplex_entity.py +1 -1
- extremecloudiq/models/xiq_ssid.py +1 -1
- extremecloudiq/models/xiq_ssid_access_security_type.py +1 -1
- extremecloudiq/models/xiq_ssid_advanced_settings.py +1 -1
- extremecloudiq/models/xiq_ssid_dot1x_encryption_method.py +1 -1
- extremecloudiq/models/xiq_ssid_dot1x_key_management.py +1 -1
- extremecloudiq/models/xiq_ssid_key_type.py +1 -1
- extremecloudiq/models/xiq_ssid_ppsk_key_management.py +1 -1
- extremecloudiq/models/xiq_ssid_psk_encryption_method.py +1 -1
- extremecloudiq/models/xiq_ssid_psk_key_management.py +1 -1
- extremecloudiq/models/xiq_ssid_sae_group.py +1 -1
- extremecloudiq/models/xiq_ssid_status.py +1 -1
- extremecloudiq/models/xiq_ssid_wep_authentication_method.py +1 -1
- extremecloudiq/models/xiq_ssid_wep_default_key.py +1 -1
- extremecloudiq/models/xiq_ssid_wep_encryption_method.py +1 -1
- extremecloudiq/models/xiq_ssid_wep_key_management.py +1 -1
- extremecloudiq/models/xiq_storage.py +1 -1
- extremecloudiq/models/xiq_subscription_data_type.py +1 -1
- extremecloudiq/models/xiq_subscription_message_type.py +1 -1
- extremecloudiq/models/xiq_subscription_status.py +1 -1
- extremecloudiq/models/xiq_success_onboard_device.py +1 -1
- extremecloudiq/models/xiq_thread_start_commissioner_request.py +1 -1
- extremecloudiq/models/xiq_thread_stop_commissioner_request.py +1 -1
- extremecloudiq/models/xiq_top_applications_usage.py +1 -1
- extremecloudiq/models/xiq_trend_indicator.py +1 -1
- extremecloudiq/models/xiq_tunnel_concentrator.py +1 -1
- extremecloudiq/models/xiq_tunnel_concentrator_request.py +1 -1
- extremecloudiq/models/xiq_update_action_anomaly_details.py +1 -1
- extremecloudiq/models/xiq_update_alert_email_subscription_request.py +1 -1
- extremecloudiq/models/xiq_update_alert_rule_request.py +1 -1
- extremecloudiq/models/xiq_update_alert_webhook_subscription_request.py +1 -1
- extremecloudiq/models/xiq_update_anomalies_and_devices_request.py +1 -1
- extremecloudiq/models/xiq_update_building_request.py +1 -1
- extremecloudiq/models/xiq_update_classification_request.py +1 -1
- extremecloudiq/models/xiq_update_classification_rule_request.py +1 -1
- extremecloudiq/models/xiq_update_cloud_config_group_request.py +1 -1
- extremecloudiq/models/xiq_update_device_level_ssid_status.py +1 -1
- extremecloudiq/models/xiq_update_end_user_request.py +1 -1
- extremecloudiq/models/xiq_update_external_radius_server_request.py +1 -1
- extremecloudiq/models/xiq_update_external_user_request.py +1 -1
- extremecloudiq/models/xiq_update_floor_request.py +1 -1
- extremecloudiq/models/xiq_update_internal_radius_server_request.py +1 -1
- extremecloudiq/models/xiq_update_key_based_pcg_users_request.py +1 -1
- extremecloudiq/models/xiq_update_ldap_server_request.py +1 -1
- extremecloudiq/models/xiq_update_location_request.py +1 -1
- extremecloudiq/models/xiq_update_network_policy_request.py +1 -1
- extremecloudiq/models/xiq_update_radio_profile_request.py +1 -1
- extremecloudiq/models/xiq_update_radius_client.py +1 -1
- extremecloudiq/models/xiq_update_radius_client_object_request.py +1 -1
- extremecloudiq/models/xiq_update_radius_proxy_realm.py +1 -1
- extremecloudiq/models/xiq_update_radius_proxy_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_channel_selection_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_mac_oui_profile_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_miscellaneous_settings_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_neighborhood_analysis_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_radio_usage_optimization_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_sensor_scan_settings_request.py +1 -1
- extremecloudiq/models/xiq_update_rp_wmm_qos_settings_request.py +1 -1
- extremecloudiq/models/xiq_update_site_request.py +1 -1
- extremecloudiq/models/xiq_update_ssid_advanced_settings_request.py +1 -1
- extremecloudiq/models/xiq_update_user_group_request.py +1 -1
- extremecloudiq/models/xiq_update_user_profile_request.py +1 -1
- extremecloudiq/models/xiq_update_user_request.py +1 -1
- extremecloudiq/models/xiq_update_vlan_object_classified_entry_request.py +1 -1
- extremecloudiq/models/xiq_update_vlan_profile_request.py +1 -1
- extremecloudiq/models/xiq_user.py +1 -1
- extremecloudiq/models/xiq_user_group.py +1 -1
- extremecloudiq/models/xiq_user_profile.py +1 -1
- extremecloudiq/models/xiq_user_role.py +1 -1
- extremecloudiq/models/xiq_valid_daily_settings.py +1 -1
- extremecloudiq/models/xiq_valid_during_date_settings.py +1 -1
- extremecloudiq/models/xiq_valid_for_time_period_settings.py +1 -1
- extremecloudiq/models/xiq_valid_time_period_after_first_login.py +1 -1
- extremecloudiq/models/xiq_valid_time_period_after_id_creation.py +1 -1
- extremecloudiq/models/xiq_valid_time_period_after_type.py +1 -1
- extremecloudiq/models/xiq_viq.py +1 -1
- extremecloudiq/models/xiq_viq_license.py +1 -1
- extremecloudiq/models/xiq_viq_linked_cuid_info.py +1 -1
- extremecloudiq/models/xiq_vlan_object_classified_entry.py +1 -1
- extremecloudiq/models/xiq_vlan_profile.py +1 -1
- extremecloudiq/models/xiq_vlan_profile_filter.py +1 -1
- extremecloudiq/models/xiq_voss_device.py +1 -1
- extremecloudiq/models/xiq_voss_devices.py +1 -1
- extremecloudiq/models/xiq_webhook_subscription.py +1 -1
- extremecloudiq/models/xiq_wgs84.py +1 -1
- extremecloudiq/models/xiq_wifi_capacity_client_list_response.py +1 -1
- extremecloudiq/models/xiq_wifi_capacity_stats_response.py +1 -1
- extremecloudiq/models/xiq_wifi_efficiency_client_list_response.py +1 -1
- extremecloudiq/models/xiq_wifi_efficiency_stats_response.py +1 -1
- extremecloudiq/models/xiq_wing_device.py +1 -1
- extremecloudiq/models/xiq_wing_devices.py +1 -1
- extremecloudiq/models/xiq_wired_event_entity.py +1 -1
- extremecloudiq/models/xiq_wired_filter_type.py +1 -1
- extremecloudiq/models/xiq_wired_hardware_by_location_response.py +1 -1
- extremecloudiq/models/xiq_wired_hardware_entity.py +1 -1
- extremecloudiq/models/xiq_wired_hardware_response.py +1 -1
- extremecloudiq/models/xiq_wired_quality_index_response.py +1 -1
- extremecloudiq/models/xiq_wired_view_type.py +1 -1
- extremecloudiq/models/xiq_wireless_apps_response.py +1 -1
- extremecloudiq/models/xiq_wireless_client.py +1 -1
- extremecloudiq/models/xiq_wireless_connectivity_performance_response.py +1 -1
- extremecloudiq/models/xiq_wireless_event_retries_entity.py +1 -1
- extremecloudiq/models/xiq_wireless_filter_type.py +1 -1
- extremecloudiq/models/xiq_wireless_if_name.py +1 -1
- extremecloudiq/models/xiq_wireless_performance_entity.py +1 -1
- extremecloudiq/models/xiq_wireless_performance_retries_entity.py +1 -1
- extremecloudiq/models/xiq_wireless_quality_index_by_location_response.py +1 -1
- extremecloudiq/models/xiq_wireless_quality_index_response.py +1 -1
- extremecloudiq/models/xiq_wireless_time_to_connect_entity.py +1 -1
- extremecloudiq/models/xiq_wireless_time_to_connect_response.py +1 -1
- extremecloudiq/models/xiq_wireless_views_list_type.py +1 -1
- extremecloudiq/models/xiq_wireless_views_type_response.py +1 -1
- extremecloudiq/models/xiq_zsubelement.py +1 -1
- extremecloudiq/models/xiq_zsubelement_above_floor.py +1 -1
- extremecloudiq/rest.py +1 -1
- {extremecloudiq_api-24.1.0.65.dist-info → extremecloudiq_api-24.2.0.52.dist-info}/METADATA +1 -1
- extremecloudiq_api-24.2.0.52.dist-info/RECORD +588 -0
- extremecloudiq_api-24.1.0.65.dist-info/RECORD +0 -561
- {extremecloudiq_api-24.1.0.65.dist-info → extremecloudiq_api-24.2.0.52.dist-info}/WHEEL +0 -0
- {extremecloudiq_api-24.1.0.65.dist-info → extremecloudiq_api-24.2.0.52.dist-info}/top_level.txt +0 -0
extremecloudiq/api/device_api.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 24.
|
8
|
+
The version of the OpenAPI document: 24.2.0.52
|
9
9
|
Contact: support@extremenetworks.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -2219,18 +2219,18 @@ class DeviceApi(object):
|
|
2219
2219
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2220
2220
|
collection_formats=collection_formats)
|
2221
2221
|
|
2222
|
-
def
|
2223
|
-
"""Create a
|
2222
|
+
def create_device_ipv4_interface(self, id, xiq_device_create_configure_ipv4_interface, **kwargs): # noqa: E501
|
2223
|
+
"""Create an IPv4 Interface for a device # noqa: E501
|
2224
2224
|
|
2225
|
-
Create a
|
2225
|
+
Create the IPv4 Interface for a specific device. # noqa: E501
|
2226
2226
|
This method makes a synchronous HTTP request by default. To make an
|
2227
2227
|
asynchronous HTTP request, please pass async_req=True
|
2228
|
-
>>> thread = api.
|
2228
|
+
>>> thread = api.create_device_ipv4_interface(id, xiq_device_create_configure_ipv4_interface, async_req=True)
|
2229
2229
|
>>> result = thread.get()
|
2230
2230
|
|
2231
2231
|
:param async_req bool: execute request asynchronously
|
2232
|
-
:param int id:
|
2233
|
-
:param
|
2232
|
+
:param int id: Device ID (required)
|
2233
|
+
:param XiqDeviceCreateConfigureIpv4Interface xiq_device_create_configure_ipv4_interface: The payload to create a new IPv4 Interface attribute (required)
|
2234
2234
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2235
2235
|
be returned without reading/decoding response
|
2236
2236
|
data. Default is True.
|
@@ -2238,25 +2238,25 @@ class DeviceApi(object):
|
|
2238
2238
|
number provided, it will be total request
|
2239
2239
|
timeout. It can also be a pair (tuple) of
|
2240
2240
|
(connection, read) timeouts.
|
2241
|
-
:return:
|
2241
|
+
:return: XiqDeviceConfigureIpv4InterfaceResponse
|
2242
2242
|
If the method is called asynchronously,
|
2243
2243
|
returns the request thread.
|
2244
2244
|
"""
|
2245
2245
|
kwargs['_return_http_data_only'] = True
|
2246
|
-
return self.
|
2246
|
+
return self.create_device_ipv4_interface_with_http_info(id, xiq_device_create_configure_ipv4_interface, **kwargs) # noqa: E501
|
2247
2247
|
|
2248
|
-
def
|
2249
|
-
"""Create a
|
2248
|
+
def create_device_ipv4_interface_with_http_info(self, id, xiq_device_create_configure_ipv4_interface, **kwargs): # noqa: E501
|
2249
|
+
"""Create an IPv4 Interface for a device # noqa: E501
|
2250
2250
|
|
2251
|
-
Create a
|
2251
|
+
Create the IPv4 Interface for a specific device. # noqa: E501
|
2252
2252
|
This method makes a synchronous HTTP request by default. To make an
|
2253
2253
|
asynchronous HTTP request, please pass async_req=True
|
2254
|
-
>>> thread = api.
|
2254
|
+
>>> thread = api.create_device_ipv4_interface_with_http_info(id, xiq_device_create_configure_ipv4_interface, async_req=True)
|
2255
2255
|
>>> result = thread.get()
|
2256
2256
|
|
2257
2257
|
:param async_req bool: execute request asynchronously
|
2258
|
-
:param int id:
|
2259
|
-
:param
|
2258
|
+
:param int id: Device ID (required)
|
2259
|
+
:param XiqDeviceCreateConfigureIpv4Interface xiq_device_create_configure_ipv4_interface: The payload to create a new IPv4 Interface attribute (required)
|
2260
2260
|
:param _return_http_data_only: response data without head status code
|
2261
2261
|
and headers
|
2262
2262
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2266,7 +2266,7 @@ class DeviceApi(object):
|
|
2266
2266
|
number provided, it will be total request
|
2267
2267
|
timeout. It can also be a pair (tuple) of
|
2268
2268
|
(connection, read) timeouts.
|
2269
|
-
:return:
|
2269
|
+
:return: tuple(XiqDeviceConfigureIpv4InterfaceResponse, status_code(int), headers(HTTPHeaderDict))
|
2270
2270
|
If the method is called asynchronously,
|
2271
2271
|
returns the request thread.
|
2272
2272
|
"""
|
@@ -2275,7 +2275,7 @@ class DeviceApi(object):
|
|
2275
2275
|
|
2276
2276
|
all_params = [
|
2277
2277
|
'id',
|
2278
|
-
'
|
2278
|
+
'xiq_device_create_configure_ipv4_interface'
|
2279
2279
|
]
|
2280
2280
|
all_params.extend(
|
2281
2281
|
[
|
@@ -2290,18 +2290,18 @@ class DeviceApi(object):
|
|
2290
2290
|
if key not in all_params:
|
2291
2291
|
raise ApiTypeError(
|
2292
2292
|
"Got an unexpected keyword argument '%s'"
|
2293
|
-
" to method
|
2293
|
+
" to method create_device_ipv4_interface" % key
|
2294
2294
|
)
|
2295
2295
|
local_var_params[key] = val
|
2296
2296
|
del local_var_params['kwargs']
|
2297
2297
|
# verify the required parameter 'id' is set
|
2298
2298
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2299
2299
|
local_var_params['id'] is None): # noqa: E501
|
2300
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
2301
|
-
# verify the required parameter '
|
2302
|
-
if self.api_client.client_side_validation and ('
|
2303
|
-
local_var_params['
|
2304
|
-
raise ApiValueError("Missing the required parameter `
|
2300
|
+
raise ApiValueError("Missing the required parameter `id` when calling `create_device_ipv4_interface`") # noqa: E501
|
2301
|
+
# verify the required parameter 'xiq_device_create_configure_ipv4_interface' is set
|
2302
|
+
if self.api_client.client_side_validation and ('xiq_device_create_configure_ipv4_interface' not in local_var_params or # noqa: E501
|
2303
|
+
local_var_params['xiq_device_create_configure_ipv4_interface'] is None): # noqa: E501
|
2304
|
+
raise ApiValueError("Missing the required parameter `xiq_device_create_configure_ipv4_interface` when calling `create_device_ipv4_interface`") # noqa: E501
|
2305
2305
|
|
2306
2306
|
collection_formats = {}
|
2307
2307
|
|
@@ -2317,8 +2317,8 @@ class DeviceApi(object):
|
|
2317
2317
|
local_var_files = {}
|
2318
2318
|
|
2319
2319
|
body_params = None
|
2320
|
-
if '
|
2321
|
-
body_params = local_var_params['
|
2320
|
+
if 'xiq_device_create_configure_ipv4_interface' in local_var_params:
|
2321
|
+
body_params = local_var_params['xiq_device_create_configure_ipv4_interface']
|
2322
2322
|
# HTTP header `Accept`
|
2323
2323
|
header_params['Accept'] = self.api_client.select_header_accept(
|
2324
2324
|
['application/json']) # noqa: E501
|
@@ -2331,14 +2331,14 @@ class DeviceApi(object):
|
|
2331
2331
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2332
2332
|
|
2333
2333
|
return self.api_client.call_api(
|
2334
|
-
'/devices/{id}/config/vlan-
|
2334
|
+
'/devices/{id}/config/vlan-ipv4-intf', 'POST',
|
2335
2335
|
path_params,
|
2336
2336
|
query_params,
|
2337
2337
|
header_params,
|
2338
2338
|
body=body_params,
|
2339
2339
|
post_params=form_params,
|
2340
2340
|
files=local_var_files,
|
2341
|
-
response_type=
|
2341
|
+
response_type='XiqDeviceConfigureIpv4InterfaceResponse', # noqa: E501
|
2342
2342
|
auth_settings=auth_settings,
|
2343
2343
|
async_req=local_var_params.get('async_req'),
|
2344
2344
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -2346,18 +2346,18 @@ class DeviceApi(object):
|
|
2346
2346
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2347
2347
|
collection_formats=collection_formats)
|
2348
2348
|
|
2349
|
-
def
|
2350
|
-
"""
|
2349
|
+
def create_device_ipv4_static_route(self, id, xiq_device_create_configure_ipv4_static_route, **kwargs): # noqa: E501
|
2350
|
+
"""Create an IPv4 Static Route for a device # noqa: E501
|
2351
2351
|
|
2352
|
-
|
2352
|
+
Create the IPv4 Static Route for a specific device. # noqa: E501
|
2353
2353
|
This method makes a synchronous HTTP request by default. To make an
|
2354
2354
|
asynchronous HTTP request, please pass async_req=True
|
2355
|
-
>>> thread = api.
|
2355
|
+
>>> thread = api.create_device_ipv4_static_route(id, xiq_device_create_configure_ipv4_static_route, async_req=True)
|
2356
2356
|
>>> result = thread.get()
|
2357
2357
|
|
2358
2358
|
:param async_req bool: execute request asynchronously
|
2359
|
-
:param int id:
|
2360
|
-
:param
|
2359
|
+
:param int id: Device ID (required)
|
2360
|
+
:param XiqDeviceCreateConfigureIpv4StaticRoute xiq_device_create_configure_ipv4_static_route: The payload to create a new IPv4 Static Route attribute (required)
|
2361
2361
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2362
2362
|
be returned without reading/decoding response
|
2363
2363
|
data. Default is True.
|
@@ -2365,25 +2365,25 @@ class DeviceApi(object):
|
|
2365
2365
|
number provided, it will be total request
|
2366
2366
|
timeout. It can also be a pair (tuple) of
|
2367
2367
|
(connection, read) timeouts.
|
2368
|
-
:return:
|
2368
|
+
:return: XiqDeviceUpdateConfigureIpv4StaticRoute
|
2369
2369
|
If the method is called asynchronously,
|
2370
2370
|
returns the request thread.
|
2371
2371
|
"""
|
2372
2372
|
kwargs['_return_http_data_only'] = True
|
2373
|
-
return self.
|
2373
|
+
return self.create_device_ipv4_static_route_with_http_info(id, xiq_device_create_configure_ipv4_static_route, **kwargs) # noqa: E501
|
2374
2374
|
|
2375
|
-
def
|
2376
|
-
"""
|
2375
|
+
def create_device_ipv4_static_route_with_http_info(self, id, xiq_device_create_configure_ipv4_static_route, **kwargs): # noqa: E501
|
2376
|
+
"""Create an IPv4 Static Route for a device # noqa: E501
|
2377
2377
|
|
2378
|
-
|
2378
|
+
Create the IPv4 Static Route for a specific device. # noqa: E501
|
2379
2379
|
This method makes a synchronous HTTP request by default. To make an
|
2380
2380
|
asynchronous HTTP request, please pass async_req=True
|
2381
|
-
>>> thread = api.
|
2381
|
+
>>> thread = api.create_device_ipv4_static_route_with_http_info(id, xiq_device_create_configure_ipv4_static_route, async_req=True)
|
2382
2382
|
>>> result = thread.get()
|
2383
2383
|
|
2384
2384
|
:param async_req bool: execute request asynchronously
|
2385
|
-
:param int id:
|
2386
|
-
:param
|
2385
|
+
:param int id: Device ID (required)
|
2386
|
+
:param XiqDeviceCreateConfigureIpv4StaticRoute xiq_device_create_configure_ipv4_static_route: The payload to create a new IPv4 Static Route attribute (required)
|
2387
2387
|
:param _return_http_data_only: response data without head status code
|
2388
2388
|
and headers
|
2389
2389
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2393,7 +2393,7 @@ class DeviceApi(object):
|
|
2393
2393
|
number provided, it will be total request
|
2394
2394
|
timeout. It can also be a pair (tuple) of
|
2395
2395
|
(connection, read) timeouts.
|
2396
|
-
:return:
|
2396
|
+
:return: tuple(XiqDeviceUpdateConfigureIpv4StaticRoute, status_code(int), headers(HTTPHeaderDict))
|
2397
2397
|
If the method is called asynchronously,
|
2398
2398
|
returns the request thread.
|
2399
2399
|
"""
|
@@ -2402,7 +2402,7 @@ class DeviceApi(object):
|
|
2402
2402
|
|
2403
2403
|
all_params = [
|
2404
2404
|
'id',
|
2405
|
-
'
|
2405
|
+
'xiq_device_create_configure_ipv4_static_route'
|
2406
2406
|
]
|
2407
2407
|
all_params.extend(
|
2408
2408
|
[
|
@@ -2417,14 +2417,18 @@ class DeviceApi(object):
|
|
2417
2417
|
if key not in all_params:
|
2418
2418
|
raise ApiTypeError(
|
2419
2419
|
"Got an unexpected keyword argument '%s'"
|
2420
|
-
" to method
|
2420
|
+
" to method create_device_ipv4_static_route" % key
|
2421
2421
|
)
|
2422
2422
|
local_var_params[key] = val
|
2423
2423
|
del local_var_params['kwargs']
|
2424
2424
|
# verify the required parameter 'id' is set
|
2425
2425
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2426
2426
|
local_var_params['id'] is None): # noqa: E501
|
2427
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
2427
|
+
raise ApiValueError("Missing the required parameter `id` when calling `create_device_ipv4_static_route`") # noqa: E501
|
2428
|
+
# verify the required parameter 'xiq_device_create_configure_ipv4_static_route' is set
|
2429
|
+
if self.api_client.client_side_validation and ('xiq_device_create_configure_ipv4_static_route' not in local_var_params or # noqa: E501
|
2430
|
+
local_var_params['xiq_device_create_configure_ipv4_static_route'] is None): # noqa: E501
|
2431
|
+
raise ApiValueError("Missing the required parameter `xiq_device_create_configure_ipv4_static_route` when calling `create_device_ipv4_static_route`") # noqa: E501
|
2428
2432
|
|
2429
2433
|
collection_formats = {}
|
2430
2434
|
|
@@ -2433,8 +2437,6 @@ class DeviceApi(object):
|
|
2433
2437
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
2434
2438
|
|
2435
2439
|
query_params = []
|
2436
|
-
if 'force_delete' in local_var_params and local_var_params['force_delete'] is not None: # noqa: E501
|
2437
|
-
query_params.append(('force_delete', local_var_params['force_delete'])) # noqa: E501
|
2438
2440
|
|
2439
2441
|
header_params = {}
|
2440
2442
|
|
@@ -2442,22 +2444,28 @@ class DeviceApi(object):
|
|
2442
2444
|
local_var_files = {}
|
2443
2445
|
|
2444
2446
|
body_params = None
|
2447
|
+
if 'xiq_device_create_configure_ipv4_static_route' in local_var_params:
|
2448
|
+
body_params = local_var_params['xiq_device_create_configure_ipv4_static_route']
|
2445
2449
|
# HTTP header `Accept`
|
2446
2450
|
header_params['Accept'] = self.api_client.select_header_accept(
|
2447
2451
|
['application/json']) # noqa: E501
|
2448
2452
|
|
2453
|
+
# HTTP header `Content-Type`
|
2454
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
2455
|
+
['application/json']) # noqa: E501
|
2456
|
+
|
2449
2457
|
# Authentication setting
|
2450
2458
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2451
2459
|
|
2452
2460
|
return self.api_client.call_api(
|
2453
|
-
'/devices/{id}', '
|
2461
|
+
'/devices/{id}/config/vlan-ipv4-static', 'POST',
|
2454
2462
|
path_params,
|
2455
2463
|
query_params,
|
2456
2464
|
header_params,
|
2457
2465
|
body=body_params,
|
2458
2466
|
post_params=form_params,
|
2459
2467
|
files=local_var_files,
|
2460
|
-
response_type=
|
2468
|
+
response_type='XiqDeviceUpdateConfigureIpv4StaticRoute', # noqa: E501
|
2461
2469
|
auth_settings=auth_settings,
|
2462
2470
|
async_req=local_var_params.get('async_req'),
|
2463
2471
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -2465,18 +2473,18 @@ class DeviceApi(object):
|
|
2465
2473
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2466
2474
|
collection_formats=collection_formats)
|
2467
2475
|
|
2468
|
-
def
|
2469
|
-
"""
|
2476
|
+
def create_device_vlan_attrs(self, id, xiq_device_create_vlan_attributes, **kwargs): # noqa: E501
|
2477
|
+
"""Create a Vlan attribute # noqa: E501
|
2470
2478
|
|
2471
|
-
|
2479
|
+
Create a new VLAN attribute. # noqa: E501
|
2472
2480
|
This method makes a synchronous HTTP request by default. To make an
|
2473
2481
|
asynchronous HTTP request, please pass async_req=True
|
2474
|
-
>>> thread = api.
|
2482
|
+
>>> thread = api.create_device_vlan_attrs(id, xiq_device_create_vlan_attributes, async_req=True)
|
2475
2483
|
>>> result = thread.get()
|
2476
2484
|
|
2477
2485
|
:param async_req bool: execute request asynchronously
|
2478
|
-
:param int id:
|
2479
|
-
:param
|
2486
|
+
:param int id: id (required)
|
2487
|
+
:param XiqDeviceCreateVlanAttributes xiq_device_create_vlan_attributes: The payload to create a new VLAN attribute (required)
|
2480
2488
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2481
2489
|
be returned without reading/decoding response
|
2482
2490
|
data. Default is True.
|
@@ -2489,20 +2497,20 @@ class DeviceApi(object):
|
|
2489
2497
|
returns the request thread.
|
2490
2498
|
"""
|
2491
2499
|
kwargs['_return_http_data_only'] = True
|
2492
|
-
return self.
|
2500
|
+
return self.create_device_vlan_attrs_with_http_info(id, xiq_device_create_vlan_attributes, **kwargs) # noqa: E501
|
2493
2501
|
|
2494
|
-
def
|
2495
|
-
"""
|
2502
|
+
def create_device_vlan_attrs_with_http_info(self, id, xiq_device_create_vlan_attributes, **kwargs): # noqa: E501
|
2503
|
+
"""Create a Vlan attribute # noqa: E501
|
2496
2504
|
|
2497
|
-
|
2505
|
+
Create a new VLAN attribute. # noqa: E501
|
2498
2506
|
This method makes a synchronous HTTP request by default. To make an
|
2499
2507
|
asynchronous HTTP request, please pass async_req=True
|
2500
|
-
>>> thread = api.
|
2508
|
+
>>> thread = api.create_device_vlan_attrs_with_http_info(id, xiq_device_create_vlan_attributes, async_req=True)
|
2501
2509
|
>>> result = thread.get()
|
2502
2510
|
|
2503
2511
|
:param async_req bool: execute request asynchronously
|
2504
|
-
:param int id:
|
2505
|
-
:param
|
2512
|
+
:param int id: id (required)
|
2513
|
+
:param XiqDeviceCreateVlanAttributes xiq_device_create_vlan_attributes: The payload to create a new VLAN attribute (required)
|
2506
2514
|
:param _return_http_data_only: response data without head status code
|
2507
2515
|
and headers
|
2508
2516
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2521,7 +2529,7 @@ class DeviceApi(object):
|
|
2521
2529
|
|
2522
2530
|
all_params = [
|
2523
2531
|
'id',
|
2524
|
-
'
|
2532
|
+
'xiq_device_create_vlan_attributes'
|
2525
2533
|
]
|
2526
2534
|
all_params.extend(
|
2527
2535
|
[
|
@@ -2536,18 +2544,18 @@ class DeviceApi(object):
|
|
2536
2544
|
if key not in all_params:
|
2537
2545
|
raise ApiTypeError(
|
2538
2546
|
"Got an unexpected keyword argument '%s'"
|
2539
|
-
" to method
|
2547
|
+
" to method create_device_vlan_attrs" % key
|
2540
2548
|
)
|
2541
2549
|
local_var_params[key] = val
|
2542
2550
|
del local_var_params['kwargs']
|
2543
2551
|
# verify the required parameter 'id' is set
|
2544
2552
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2545
2553
|
local_var_params['id'] is None): # noqa: E501
|
2546
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
2547
|
-
# verify the required parameter '
|
2548
|
-
if self.api_client.client_side_validation and ('
|
2549
|
-
local_var_params['
|
2550
|
-
raise ApiValueError("Missing the required parameter `
|
2554
|
+
raise ApiValueError("Missing the required parameter `id` when calling `create_device_vlan_attrs`") # noqa: E501
|
2555
|
+
# verify the required parameter 'xiq_device_create_vlan_attributes' is set
|
2556
|
+
if self.api_client.client_side_validation and ('xiq_device_create_vlan_attributes' not in local_var_params or # noqa: E501
|
2557
|
+
local_var_params['xiq_device_create_vlan_attributes'] is None): # noqa: E501
|
2558
|
+
raise ApiValueError("Missing the required parameter `xiq_device_create_vlan_attributes` when calling `create_device_vlan_attrs`") # noqa: E501
|
2551
2559
|
|
2552
2560
|
collection_formats = {}
|
2553
2561
|
|
@@ -2556,9 +2564,6 @@ class DeviceApi(object):
|
|
2556
2564
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
2557
2565
|
|
2558
2566
|
query_params = []
|
2559
|
-
if 'vlan_ids' in local_var_params and local_var_params['vlan_ids'] is not None: # noqa: E501
|
2560
|
-
query_params.append(('vlanIds', local_var_params['vlan_ids'])) # noqa: E501
|
2561
|
-
collection_formats['vlanIds'] = 'multi' # noqa: E501
|
2562
2567
|
|
2563
2568
|
header_params = {}
|
2564
2569
|
|
@@ -2566,15 +2571,21 @@ class DeviceApi(object):
|
|
2566
2571
|
local_var_files = {}
|
2567
2572
|
|
2568
2573
|
body_params = None
|
2574
|
+
if 'xiq_device_create_vlan_attributes' in local_var_params:
|
2575
|
+
body_params = local_var_params['xiq_device_create_vlan_attributes']
|
2569
2576
|
# HTTP header `Accept`
|
2570
2577
|
header_params['Accept'] = self.api_client.select_header_accept(
|
2571
2578
|
['application/json']) # noqa: E501
|
2572
2579
|
|
2580
|
+
# HTTP header `Content-Type`
|
2581
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
2582
|
+
['application/json']) # noqa: E501
|
2583
|
+
|
2573
2584
|
# Authentication setting
|
2574
2585
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2575
2586
|
|
2576
2587
|
return self.api_client.call_api(
|
2577
|
-
'/devices/{id}/config/vlan-attributes', '
|
2588
|
+
'/devices/{id}/config/vlan-attributes', 'POST',
|
2578
2589
|
path_params,
|
2579
2590
|
query_params,
|
2580
2591
|
header_params,
|
@@ -2589,18 +2600,18 @@ class DeviceApi(object):
|
|
2589
2600
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2590
2601
|
collection_formats=collection_formats)
|
2591
2602
|
|
2592
|
-
def
|
2593
|
-
"""Delete
|
2603
|
+
def delete_device(self, id, **kwargs): # noqa: E501
|
2604
|
+
"""Delete a device # noqa: E501
|
2594
2605
|
|
2595
|
-
|
2606
|
+
Delete a specific device. # noqa: E501
|
2596
2607
|
This method makes a synchronous HTTP request by default. To make an
|
2597
2608
|
asynchronous HTTP request, please pass async_req=True
|
2598
|
-
>>> thread = api.
|
2609
|
+
>>> thread = api.delete_device(id, async_req=True)
|
2599
2610
|
>>> result = thread.get()
|
2600
2611
|
|
2601
2612
|
:param async_req bool: execute request asynchronously
|
2602
|
-
:param
|
2603
|
-
:param bool force_delete: Force deletion of
|
2613
|
+
:param int id: The device ID (required)
|
2614
|
+
:param bool force_delete: Force deletion of device
|
2604
2615
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2605
2616
|
be returned without reading/decoding response
|
2606
2617
|
data. Default is True.
|
@@ -2613,20 +2624,20 @@ class DeviceApi(object):
|
|
2613
2624
|
returns the request thread.
|
2614
2625
|
"""
|
2615
2626
|
kwargs['_return_http_data_only'] = True
|
2616
|
-
return self.
|
2627
|
+
return self.delete_device_with_http_info(id, **kwargs) # noqa: E501
|
2617
2628
|
|
2618
|
-
def
|
2619
|
-
"""Delete
|
2629
|
+
def delete_device_with_http_info(self, id, **kwargs): # noqa: E501
|
2630
|
+
"""Delete a device # noqa: E501
|
2620
2631
|
|
2621
|
-
|
2632
|
+
Delete a specific device. # noqa: E501
|
2622
2633
|
This method makes a synchronous HTTP request by default. To make an
|
2623
2634
|
asynchronous HTTP request, please pass async_req=True
|
2624
|
-
>>> thread = api.
|
2635
|
+
>>> thread = api.delete_device_with_http_info(id, async_req=True)
|
2625
2636
|
>>> result = thread.get()
|
2626
2637
|
|
2627
2638
|
:param async_req bool: execute request asynchronously
|
2628
|
-
:param
|
2629
|
-
:param bool force_delete: Force deletion of
|
2639
|
+
:param int id: The device ID (required)
|
2640
|
+
:param bool force_delete: Force deletion of device
|
2630
2641
|
:param _return_http_data_only: response data without head status code
|
2631
2642
|
and headers
|
2632
2643
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2644,7 +2655,7 @@ class DeviceApi(object):
|
|
2644
2655
|
local_var_params = locals()
|
2645
2656
|
|
2646
2657
|
all_params = [
|
2647
|
-
'
|
2658
|
+
'id',
|
2648
2659
|
'force_delete'
|
2649
2660
|
]
|
2650
2661
|
all_params.extend(
|
@@ -2660,18 +2671,20 @@ class DeviceApi(object):
|
|
2660
2671
|
if key not in all_params:
|
2661
2672
|
raise ApiTypeError(
|
2662
2673
|
"Got an unexpected keyword argument '%s'"
|
2663
|
-
" to method
|
2674
|
+
" to method delete_device" % key
|
2664
2675
|
)
|
2665
2676
|
local_var_params[key] = val
|
2666
2677
|
del local_var_params['kwargs']
|
2667
|
-
# verify the required parameter '
|
2668
|
-
if self.api_client.client_side_validation and ('
|
2669
|
-
local_var_params['
|
2670
|
-
raise ApiValueError("Missing the required parameter `
|
2678
|
+
# verify the required parameter 'id' is set
|
2679
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2680
|
+
local_var_params['id'] is None): # noqa: E501
|
2681
|
+
raise ApiValueError("Missing the required parameter `id` when calling `delete_device`") # noqa: E501
|
2671
2682
|
|
2672
2683
|
collection_formats = {}
|
2673
2684
|
|
2674
2685
|
path_params = {}
|
2686
|
+
if 'id' in local_var_params:
|
2687
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
2675
2688
|
|
2676
2689
|
query_params = []
|
2677
2690
|
if 'force_delete' in local_var_params and local_var_params['force_delete'] is not None: # noqa: E501
|
@@ -2683,21 +2696,15 @@ class DeviceApi(object):
|
|
2683
2696
|
local_var_files = {}
|
2684
2697
|
|
2685
2698
|
body_params = None
|
2686
|
-
if 'xiq_device_filter' in local_var_params:
|
2687
|
-
body_params = local_var_params['xiq_device_filter']
|
2688
2699
|
# HTTP header `Accept`
|
2689
2700
|
header_params['Accept'] = self.api_client.select_header_accept(
|
2690
2701
|
['application/json']) # noqa: E501
|
2691
2702
|
|
2692
|
-
# HTTP header `Content-Type`
|
2693
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
2694
|
-
['application/json']) # noqa: E501
|
2695
|
-
|
2696
2703
|
# Authentication setting
|
2697
2704
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2698
2705
|
|
2699
2706
|
return self.api_client.call_api(
|
2700
|
-
'/devices
|
2707
|
+
'/devices/{id}', 'DELETE',
|
2701
2708
|
path_params,
|
2702
2709
|
query_params,
|
2703
2710
|
header_params,
|
@@ -2712,17 +2719,18 @@ class DeviceApi(object):
|
|
2712
2719
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2713
2720
|
collection_formats=collection_formats)
|
2714
2721
|
|
2715
|
-
def
|
2716
|
-
"""Delete
|
2722
|
+
def delete_device_ipv4_interfaces(self, id, interface_ids, **kwargs): # noqa: E501
|
2723
|
+
"""Delete one or more IPv4 Interfaces for a device # noqa: E501
|
2717
2724
|
|
2718
|
-
Delete
|
2725
|
+
Delete one or more IPv4 Interfaces for a specific device. # noqa: E501
|
2719
2726
|
This method makes a synchronous HTTP request by default. To make an
|
2720
2727
|
asynchronous HTTP request, please pass async_req=True
|
2721
|
-
>>> thread = api.
|
2728
|
+
>>> thread = api.delete_device_ipv4_interfaces(id, interface_ids, async_req=True)
|
2722
2729
|
>>> result = thread.get()
|
2723
2730
|
|
2724
2731
|
:param async_req bool: execute request asynchronously
|
2725
|
-
:param int id:
|
2732
|
+
:param int id: Device ID (required)
|
2733
|
+
:param list[int] interface_ids: IPv4 Interfaces IDs (required)
|
2726
2734
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2727
2735
|
be returned without reading/decoding response
|
2728
2736
|
data. Default is True.
|
@@ -2735,19 +2743,20 @@ class DeviceApi(object):
|
|
2735
2743
|
returns the request thread.
|
2736
2744
|
"""
|
2737
2745
|
kwargs['_return_http_data_only'] = True
|
2738
|
-
return self.
|
2746
|
+
return self.delete_device_ipv4_interfaces_with_http_info(id, interface_ids, **kwargs) # noqa: E501
|
2739
2747
|
|
2740
|
-
def
|
2741
|
-
"""Delete
|
2748
|
+
def delete_device_ipv4_interfaces_with_http_info(self, id, interface_ids, **kwargs): # noqa: E501
|
2749
|
+
"""Delete one or more IPv4 Interfaces for a device # noqa: E501
|
2742
2750
|
|
2743
|
-
Delete
|
2751
|
+
Delete one or more IPv4 Interfaces for a specific device. # noqa: E501
|
2744
2752
|
This method makes a synchronous HTTP request by default. To make an
|
2745
2753
|
asynchronous HTTP request, please pass async_req=True
|
2746
|
-
>>> thread = api.
|
2754
|
+
>>> thread = api.delete_device_ipv4_interfaces_with_http_info(id, interface_ids, async_req=True)
|
2747
2755
|
>>> result = thread.get()
|
2748
2756
|
|
2749
2757
|
:param async_req bool: execute request asynchronously
|
2750
|
-
:param int id:
|
2758
|
+
:param int id: Device ID (required)
|
2759
|
+
:param list[int] interface_ids: IPv4 Interfaces IDs (required)
|
2751
2760
|
:param _return_http_data_only: response data without head status code
|
2752
2761
|
and headers
|
2753
2762
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2765,7 +2774,8 @@ class DeviceApi(object):
|
|
2765
2774
|
local_var_params = locals()
|
2766
2775
|
|
2767
2776
|
all_params = [
|
2768
|
-
'id'
|
2777
|
+
'id',
|
2778
|
+
'interface_ids'
|
2769
2779
|
]
|
2770
2780
|
all_params.extend(
|
2771
2781
|
[
|
@@ -2780,14 +2790,18 @@ class DeviceApi(object):
|
|
2780
2790
|
if key not in all_params:
|
2781
2791
|
raise ApiTypeError(
|
2782
2792
|
"Got an unexpected keyword argument '%s'"
|
2783
|
-
" to method
|
2793
|
+
" to method delete_device_ipv4_interfaces" % key
|
2784
2794
|
)
|
2785
2795
|
local_var_params[key] = val
|
2786
2796
|
del local_var_params['kwargs']
|
2787
2797
|
# verify the required parameter 'id' is set
|
2788
2798
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2789
2799
|
local_var_params['id'] is None): # noqa: E501
|
2790
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
2800
|
+
raise ApiValueError("Missing the required parameter `id` when calling `delete_device_ipv4_interfaces`") # noqa: E501
|
2801
|
+
# verify the required parameter 'interface_ids' is set
|
2802
|
+
if self.api_client.client_side_validation and ('interface_ids' not in local_var_params or # noqa: E501
|
2803
|
+
local_var_params['interface_ids'] is None): # noqa: E501
|
2804
|
+
raise ApiValueError("Missing the required parameter `interface_ids` when calling `delete_device_ipv4_interfaces`") # noqa: E501
|
2791
2805
|
|
2792
2806
|
collection_formats = {}
|
2793
2807
|
|
@@ -2796,6 +2810,9 @@ class DeviceApi(object):
|
|
2796
2810
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
2797
2811
|
|
2798
2812
|
query_params = []
|
2813
|
+
if 'interface_ids' in local_var_params and local_var_params['interface_ids'] is not None: # noqa: E501
|
2814
|
+
query_params.append(('interfaceIds', local_var_params['interface_ids'])) # noqa: E501
|
2815
|
+
collection_formats['interfaceIds'] = 'multi' # noqa: E501
|
2799
2816
|
|
2800
2817
|
header_params = {}
|
2801
2818
|
|
@@ -2811,7 +2828,7 @@ class DeviceApi(object):
|
|
2811
2828
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2812
2829
|
|
2813
2830
|
return self.api_client.call_api(
|
2814
|
-
'/devices/{id}/
|
2831
|
+
'/devices/{id}/config/vlan-ipv4-intf', 'DELETE',
|
2815
2832
|
path_params,
|
2816
2833
|
query_params,
|
2817
2834
|
header_params,
|
@@ -2826,18 +2843,18 @@ class DeviceApi(object):
|
|
2826
2843
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2827
2844
|
collection_formats=collection_formats)
|
2828
2845
|
|
2829
|
-
def
|
2830
|
-
"""
|
2846
|
+
def delete_device_ipv4_static_routes(self, id, static_route_ids, **kwargs): # noqa: E501
|
2847
|
+
"""Delete one or more IPv4 Static Routes for a device # noqa: E501
|
2831
2848
|
|
2832
|
-
|
2849
|
+
Delete one or more IPv4 Static Routes for a specific device. # noqa: E501
|
2833
2850
|
This method makes a synchronous HTTP request by default. To make an
|
2834
2851
|
asynchronous HTTP request, please pass async_req=True
|
2835
|
-
>>> thread = api.
|
2852
|
+
>>> thread = api.delete_device_ipv4_static_routes(id, static_route_ids, async_req=True)
|
2836
2853
|
>>> result = thread.get()
|
2837
2854
|
|
2838
2855
|
:param async_req bool: execute request asynchronously
|
2839
|
-
:param int id:
|
2840
|
-
:param
|
2856
|
+
:param int id: Device ID (required)
|
2857
|
+
:param list[int] static_route_ids: IPv4 Static Routes IDs (required)
|
2841
2858
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2842
2859
|
be returned without reading/decoding response
|
2843
2860
|
data. Default is True.
|
@@ -2845,25 +2862,25 @@ class DeviceApi(object):
|
|
2845
2862
|
number provided, it will be total request
|
2846
2863
|
timeout. It can also be a pair (tuple) of
|
2847
2864
|
(connection, read) timeouts.
|
2848
|
-
:return:
|
2865
|
+
:return: None
|
2849
2866
|
If the method is called asynchronously,
|
2850
2867
|
returns the request thread.
|
2851
2868
|
"""
|
2852
2869
|
kwargs['_return_http_data_only'] = True
|
2853
|
-
return self.
|
2870
|
+
return self.delete_device_ipv4_static_routes_with_http_info(id, static_route_ids, **kwargs) # noqa: E501
|
2854
2871
|
|
2855
|
-
def
|
2856
|
-
"""
|
2872
|
+
def delete_device_ipv4_static_routes_with_http_info(self, id, static_route_ids, **kwargs): # noqa: E501
|
2873
|
+
"""Delete one or more IPv4 Static Routes for a device # noqa: E501
|
2857
2874
|
|
2858
|
-
|
2875
|
+
Delete one or more IPv4 Static Routes for a specific device. # noqa: E501
|
2859
2876
|
This method makes a synchronous HTTP request by default. To make an
|
2860
2877
|
asynchronous HTTP request, please pass async_req=True
|
2861
|
-
>>> thread = api.
|
2878
|
+
>>> thread = api.delete_device_ipv4_static_routes_with_http_info(id, static_route_ids, async_req=True)
|
2862
2879
|
>>> result = thread.get()
|
2863
2880
|
|
2864
2881
|
:param async_req bool: execute request asynchronously
|
2865
|
-
:param int id:
|
2866
|
-
:param
|
2882
|
+
:param int id: Device ID (required)
|
2883
|
+
:param list[int] static_route_ids: IPv4 Static Routes IDs (required)
|
2867
2884
|
:param _return_http_data_only: response data without head status code
|
2868
2885
|
and headers
|
2869
2886
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2873,7 +2890,7 @@ class DeviceApi(object):
|
|
2873
2890
|
number provided, it will be total request
|
2874
2891
|
timeout. It can also be a pair (tuple) of
|
2875
2892
|
(connection, read) timeouts.
|
2876
|
-
:return:
|
2893
|
+
:return: None
|
2877
2894
|
If the method is called asynchronously,
|
2878
2895
|
returns the request thread.
|
2879
2896
|
"""
|
@@ -2882,7 +2899,7 @@ class DeviceApi(object):
|
|
2882
2899
|
|
2883
2900
|
all_params = [
|
2884
2901
|
'id',
|
2885
|
-
'
|
2902
|
+
'static_route_ids'
|
2886
2903
|
]
|
2887
2904
|
all_params.extend(
|
2888
2905
|
[
|
@@ -2897,18 +2914,18 @@ class DeviceApi(object):
|
|
2897
2914
|
if key not in all_params:
|
2898
2915
|
raise ApiTypeError(
|
2899
2916
|
"Got an unexpected keyword argument '%s'"
|
2900
|
-
" to method
|
2917
|
+
" to method delete_device_ipv4_static_routes" % key
|
2901
2918
|
)
|
2902
2919
|
local_var_params[key] = val
|
2903
2920
|
del local_var_params['kwargs']
|
2904
2921
|
# verify the required parameter 'id' is set
|
2905
2922
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
2906
2923
|
local_var_params['id'] is None): # noqa: E501
|
2907
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
2908
|
-
# verify the required parameter '
|
2909
|
-
if self.api_client.client_side_validation and ('
|
2910
|
-
local_var_params['
|
2911
|
-
raise ApiValueError("Missing the required parameter `
|
2924
|
+
raise ApiValueError("Missing the required parameter `id` when calling `delete_device_ipv4_static_routes`") # noqa: E501
|
2925
|
+
# verify the required parameter 'static_route_ids' is set
|
2926
|
+
if self.api_client.client_side_validation and ('static_route_ids' not in local_var_params or # noqa: E501
|
2927
|
+
local_var_params['static_route_ids'] is None): # noqa: E501
|
2928
|
+
raise ApiValueError("Missing the required parameter `static_route_ids` when calling `delete_device_ipv4_static_routes`") # noqa: E501
|
2912
2929
|
|
2913
2930
|
collection_formats = {}
|
2914
2931
|
|
@@ -2917,8 +2934,9 @@ class DeviceApi(object):
|
|
2917
2934
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
2918
2935
|
|
2919
2936
|
query_params = []
|
2920
|
-
if '
|
2921
|
-
query_params.append(('
|
2937
|
+
if 'static_route_ids' in local_var_params and local_var_params['static_route_ids'] is not None: # noqa: E501
|
2938
|
+
query_params.append(('staticRouteIds', local_var_params['static_route_ids'])) # noqa: E501
|
2939
|
+
collection_formats['staticRouteIds'] = 'multi' # noqa: E501
|
2922
2940
|
|
2923
2941
|
header_params = {}
|
2924
2942
|
|
@@ -2928,20 +2946,20 @@ class DeviceApi(object):
|
|
2928
2946
|
body_params = None
|
2929
2947
|
# HTTP header `Accept`
|
2930
2948
|
header_params['Accept'] = self.api_client.select_header_accept(
|
2931
|
-
['application/json'
|
2949
|
+
['application/json']) # noqa: E501
|
2932
2950
|
|
2933
2951
|
# Authentication setting
|
2934
2952
|
auth_settings = ['BearerAuth'] # noqa: E501
|
2935
2953
|
|
2936
2954
|
return self.api_client.call_api(
|
2937
|
-
'/devices/{id}/
|
2955
|
+
'/devices/{id}/config/vlan-ipv4-static', 'DELETE',
|
2938
2956
|
path_params,
|
2939
2957
|
query_params,
|
2940
2958
|
header_params,
|
2941
2959
|
body=body_params,
|
2942
2960
|
post_params=form_params,
|
2943
2961
|
files=local_var_files,
|
2944
|
-
response_type=
|
2962
|
+
response_type=None, # noqa: E501
|
2945
2963
|
auth_settings=auth_settings,
|
2946
2964
|
async_req=local_var_params.get('async_req'),
|
2947
2965
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -2949,19 +2967,18 @@ class DeviceApi(object):
|
|
2949
2967
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2950
2968
|
collection_formats=collection_formats)
|
2951
2969
|
|
2952
|
-
def
|
2953
|
-
"""
|
2970
|
+
def delete_device_vlan_attributes(self, id, vlan_ids, **kwargs): # noqa: E501
|
2971
|
+
"""Delete vlan attributes # noqa: E501
|
2954
2972
|
|
2955
|
-
|
2973
|
+
Delete one or more VLAN attributes. # noqa: E501
|
2956
2974
|
This method makes a synchronous HTTP request by default. To make an
|
2957
2975
|
asynchronous HTTP request, please pass async_req=True
|
2958
|
-
>>> thread = api.
|
2976
|
+
>>> thread = api.delete_device_vlan_attributes(id, vlan_ids, async_req=True)
|
2959
2977
|
>>> result = thread.get()
|
2960
2978
|
|
2961
2979
|
:param async_req bool: execute request asynchronously
|
2962
|
-
:param int id: The device
|
2963
|
-
:param list[
|
2964
|
-
:param list[XiqDeviceField] fields: The device fields to return
|
2980
|
+
:param int id: The device id (required)
|
2981
|
+
:param list[int] vlan_ids: VLAN ids to be deleted (required)
|
2965
2982
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2966
2983
|
be returned without reading/decoding response
|
2967
2984
|
data. Default is True.
|
@@ -2969,26 +2986,25 @@ class DeviceApi(object):
|
|
2969
2986
|
number provided, it will be total request
|
2970
2987
|
timeout. It can also be a pair (tuple) of
|
2971
2988
|
(connection, read) timeouts.
|
2972
|
-
:return:
|
2989
|
+
:return: None
|
2973
2990
|
If the method is called asynchronously,
|
2974
2991
|
returns the request thread.
|
2975
2992
|
"""
|
2976
2993
|
kwargs['_return_http_data_only'] = True
|
2977
|
-
return self.
|
2994
|
+
return self.delete_device_vlan_attributes_with_http_info(id, vlan_ids, **kwargs) # noqa: E501
|
2978
2995
|
|
2979
|
-
def
|
2980
|
-
"""
|
2996
|
+
def delete_device_vlan_attributes_with_http_info(self, id, vlan_ids, **kwargs): # noqa: E501
|
2997
|
+
"""Delete vlan attributes # noqa: E501
|
2981
2998
|
|
2982
|
-
|
2999
|
+
Delete one or more VLAN attributes. # noqa: E501
|
2983
3000
|
This method makes a synchronous HTTP request by default. To make an
|
2984
3001
|
asynchronous HTTP request, please pass async_req=True
|
2985
|
-
>>> thread = api.
|
3002
|
+
>>> thread = api.delete_device_vlan_attributes_with_http_info(id, vlan_ids, async_req=True)
|
2986
3003
|
>>> result = thread.get()
|
2987
3004
|
|
2988
3005
|
:param async_req bool: execute request asynchronously
|
2989
|
-
:param int id: The device
|
2990
|
-
:param list[
|
2991
|
-
:param list[XiqDeviceField] fields: The device fields to return
|
3006
|
+
:param int id: The device id (required)
|
3007
|
+
:param list[int] vlan_ids: VLAN ids to be deleted (required)
|
2992
3008
|
:param _return_http_data_only: response data without head status code
|
2993
3009
|
and headers
|
2994
3010
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2998,7 +3014,7 @@ class DeviceApi(object):
|
|
2998
3014
|
number provided, it will be total request
|
2999
3015
|
timeout. It can also be a pair (tuple) of
|
3000
3016
|
(connection, read) timeouts.
|
3001
|
-
:return:
|
3017
|
+
:return: None
|
3002
3018
|
If the method is called asynchronously,
|
3003
3019
|
returns the request thread.
|
3004
3020
|
"""
|
@@ -3007,8 +3023,7 @@ class DeviceApi(object):
|
|
3007
3023
|
|
3008
3024
|
all_params = [
|
3009
3025
|
'id',
|
3010
|
-
'
|
3011
|
-
'fields'
|
3026
|
+
'vlan_ids'
|
3012
3027
|
]
|
3013
3028
|
all_params.extend(
|
3014
3029
|
[
|
@@ -3023,14 +3038,18 @@ class DeviceApi(object):
|
|
3023
3038
|
if key not in all_params:
|
3024
3039
|
raise ApiTypeError(
|
3025
3040
|
"Got an unexpected keyword argument '%s'"
|
3026
|
-
" to method
|
3041
|
+
" to method delete_device_vlan_attributes" % key
|
3027
3042
|
)
|
3028
3043
|
local_var_params[key] = val
|
3029
3044
|
del local_var_params['kwargs']
|
3030
3045
|
# verify the required parameter 'id' is set
|
3031
3046
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3032
3047
|
local_var_params['id'] is None): # noqa: E501
|
3033
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
3048
|
+
raise ApiValueError("Missing the required parameter `id` when calling `delete_device_vlan_attributes`") # noqa: E501
|
3049
|
+
# verify the required parameter 'vlan_ids' is set
|
3050
|
+
if self.api_client.client_side_validation and ('vlan_ids' not in local_var_params or # noqa: E501
|
3051
|
+
local_var_params['vlan_ids'] is None): # noqa: E501
|
3052
|
+
raise ApiValueError("Missing the required parameter `vlan_ids` when calling `delete_device_vlan_attributes`") # noqa: E501
|
3034
3053
|
|
3035
3054
|
collection_formats = {}
|
3036
3055
|
|
@@ -3039,13 +3058,10 @@ class DeviceApi(object):
|
|
3039
3058
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
3040
3059
|
|
3041
3060
|
query_params = []
|
3042
|
-
if '
|
3043
|
-
query_params.append(('
|
3044
|
-
collection_formats['
|
3045
|
-
|
3046
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
3047
|
-
collection_formats['fields'] = 'multi' # noqa: E501
|
3048
|
-
|
3061
|
+
if 'vlan_ids' in local_var_params and local_var_params['vlan_ids'] is not None: # noqa: E501
|
3062
|
+
query_params.append(('vlanIds', local_var_params['vlan_ids'])) # noqa: E501
|
3063
|
+
collection_formats['vlanIds'] = 'multi' # noqa: E501
|
3064
|
+
|
3049
3065
|
header_params = {}
|
3050
3066
|
|
3051
3067
|
form_params = []
|
@@ -3060,14 +3076,14 @@ class DeviceApi(object):
|
|
3060
3076
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3061
3077
|
|
3062
3078
|
return self.api_client.call_api(
|
3063
|
-
'/devices/{id}', '
|
3079
|
+
'/devices/{id}/config/vlan-attributes', 'DELETE',
|
3064
3080
|
path_params,
|
3065
3081
|
query_params,
|
3066
3082
|
header_params,
|
3067
3083
|
body=body_params,
|
3068
3084
|
post_params=form_params,
|
3069
3085
|
files=local_var_files,
|
3070
|
-
response_type=
|
3086
|
+
response_type=None, # noqa: E501
|
3071
3087
|
auth_settings=auth_settings,
|
3072
3088
|
async_req=local_var_params.get('async_req'),
|
3073
3089
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3075,20 +3091,18 @@ class DeviceApi(object):
|
|
3075
3091
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3076
3092
|
collection_formats=collection_formats)
|
3077
3093
|
|
3078
|
-
def
|
3079
|
-
"""
|
3094
|
+
def delete_devices(self, xiq_device_filter, **kwargs): # noqa: E501
|
3095
|
+
"""Delete devices # noqa: E501
|
3080
3096
|
|
3081
|
-
|
3097
|
+
Bulk delete the devices matching the filter criteria. # noqa: E501
|
3082
3098
|
This method makes a synchronous HTTP request by default. To make an
|
3083
3099
|
asynchronous HTTP request, please pass async_req=True
|
3084
|
-
>>> thread = api.
|
3100
|
+
>>> thread = api.delete_devices(xiq_device_filter, async_req=True)
|
3085
3101
|
>>> result = thread.get()
|
3086
3102
|
|
3087
3103
|
:param async_req bool: execute request asynchronously
|
3088
|
-
:param
|
3089
|
-
:param
|
3090
|
-
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3091
|
-
:param int interval: The aggregate interval in milliseconds (required)
|
3104
|
+
:param XiqDeviceFilter xiq_device_filter: (required)
|
3105
|
+
:param bool force_delete: Force deletion of devices
|
3092
3106
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3093
3107
|
be returned without reading/decoding response
|
3094
3108
|
data. Default is True.
|
@@ -3096,27 +3110,25 @@ class DeviceApi(object):
|
|
3096
3110
|
number provided, it will be total request
|
3097
3111
|
timeout. It can also be a pair (tuple) of
|
3098
3112
|
(connection, read) timeouts.
|
3099
|
-
:return:
|
3113
|
+
:return: None
|
3100
3114
|
If the method is called asynchronously,
|
3101
3115
|
returns the request thread.
|
3102
3116
|
"""
|
3103
3117
|
kwargs['_return_http_data_only'] = True
|
3104
|
-
return self.
|
3118
|
+
return self.delete_devices_with_http_info(xiq_device_filter, **kwargs) # noqa: E501
|
3105
3119
|
|
3106
|
-
def
|
3107
|
-
"""
|
3120
|
+
def delete_devices_with_http_info(self, xiq_device_filter, **kwargs): # noqa: E501
|
3121
|
+
"""Delete devices # noqa: E501
|
3108
3122
|
|
3109
|
-
|
3123
|
+
Bulk delete the devices matching the filter criteria. # noqa: E501
|
3110
3124
|
This method makes a synchronous HTTP request by default. To make an
|
3111
3125
|
asynchronous HTTP request, please pass async_req=True
|
3112
|
-
>>> thread = api.
|
3126
|
+
>>> thread = api.delete_devices_with_http_info(xiq_device_filter, async_req=True)
|
3113
3127
|
>>> result = thread.get()
|
3114
3128
|
|
3115
3129
|
:param async_req bool: execute request asynchronously
|
3116
|
-
:param
|
3117
|
-
:param
|
3118
|
-
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3119
|
-
:param int interval: The aggregate interval in milliseconds (required)
|
3130
|
+
:param XiqDeviceFilter xiq_device_filter: (required)
|
3131
|
+
:param bool force_delete: Force deletion of devices
|
3120
3132
|
:param _return_http_data_only: response data without head status code
|
3121
3133
|
and headers
|
3122
3134
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3126,7 +3138,7 @@ class DeviceApi(object):
|
|
3126
3138
|
number provided, it will be total request
|
3127
3139
|
timeout. It can also be a pair (tuple) of
|
3128
3140
|
(connection, read) timeouts.
|
3129
|
-
:return:
|
3141
|
+
:return: None
|
3130
3142
|
If the method is called asynchronously,
|
3131
3143
|
returns the request thread.
|
3132
3144
|
"""
|
@@ -3134,10 +3146,8 @@ class DeviceApi(object):
|
|
3134
3146
|
local_var_params = locals()
|
3135
3147
|
|
3136
3148
|
all_params = [
|
3137
|
-
'
|
3138
|
-
'
|
3139
|
-
'end_time',
|
3140
|
-
'interval'
|
3149
|
+
'xiq_device_filter',
|
3150
|
+
'force_delete'
|
3141
3151
|
]
|
3142
3152
|
all_params.extend(
|
3143
3153
|
[
|
@@ -3152,40 +3162,22 @@ class DeviceApi(object):
|
|
3152
3162
|
if key not in all_params:
|
3153
3163
|
raise ApiTypeError(
|
3154
3164
|
"Got an unexpected keyword argument '%s'"
|
3155
|
-
" to method
|
3165
|
+
" to method delete_devices" % key
|
3156
3166
|
)
|
3157
3167
|
local_var_params[key] = val
|
3158
3168
|
del local_var_params['kwargs']
|
3159
|
-
# verify the required parameter '
|
3160
|
-
if self.api_client.client_side_validation and ('
|
3161
|
-
local_var_params['
|
3162
|
-
raise ApiValueError("Missing the required parameter `
|
3163
|
-
# verify the required parameter 'start_time' is set
|
3164
|
-
if self.api_client.client_side_validation and ('start_time' not in local_var_params or # noqa: E501
|
3165
|
-
local_var_params['start_time'] is None): # noqa: E501
|
3166
|
-
raise ApiValueError("Missing the required parameter `start_time` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3167
|
-
# verify the required parameter 'end_time' is set
|
3168
|
-
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
|
3169
|
-
local_var_params['end_time'] is None): # noqa: E501
|
3170
|
-
raise ApiValueError("Missing the required parameter `end_time` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3171
|
-
# verify the required parameter 'interval' is set
|
3172
|
-
if self.api_client.client_side_validation and ('interval' not in local_var_params or # noqa: E501
|
3173
|
-
local_var_params['interval'] is None): # noqa: E501
|
3174
|
-
raise ApiValueError("Missing the required parameter `interval` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3169
|
+
# verify the required parameter 'xiq_device_filter' is set
|
3170
|
+
if self.api_client.client_side_validation and ('xiq_device_filter' not in local_var_params or # noqa: E501
|
3171
|
+
local_var_params['xiq_device_filter'] is None): # noqa: E501
|
3172
|
+
raise ApiValueError("Missing the required parameter `xiq_device_filter` when calling `delete_devices`") # noqa: E501
|
3175
3173
|
|
3176
3174
|
collection_formats = {}
|
3177
3175
|
|
3178
3176
|
path_params = {}
|
3179
|
-
if 'id' in local_var_params:
|
3180
|
-
path_params['id'] = local_var_params['id'] # noqa: E501
|
3181
3177
|
|
3182
3178
|
query_params = []
|
3183
|
-
if '
|
3184
|
-
query_params.append(('
|
3185
|
-
if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
|
3186
|
-
query_params.append(('endTime', local_var_params['end_time'])) # noqa: E501
|
3187
|
-
if 'interval' in local_var_params and local_var_params['interval'] is not None: # noqa: E501
|
3188
|
-
query_params.append(('interval', local_var_params['interval'])) # noqa: E501
|
3179
|
+
if 'force_delete' in local_var_params and local_var_params['force_delete'] is not None: # noqa: E501
|
3180
|
+
query_params.append(('force_delete', local_var_params['force_delete'])) # noqa: E501
|
3189
3181
|
|
3190
3182
|
header_params = {}
|
3191
3183
|
|
@@ -3193,22 +3185,28 @@ class DeviceApi(object):
|
|
3193
3185
|
local_var_files = {}
|
3194
3186
|
|
3195
3187
|
body_params = None
|
3188
|
+
if 'xiq_device_filter' in local_var_params:
|
3189
|
+
body_params = local_var_params['xiq_device_filter']
|
3196
3190
|
# HTTP header `Accept`
|
3197
3191
|
header_params['Accept'] = self.api_client.select_header_accept(
|
3198
3192
|
['application/json']) # noqa: E501
|
3199
3193
|
|
3194
|
+
# HTTP header `Content-Type`
|
3195
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
3196
|
+
['application/json']) # noqa: E501
|
3197
|
+
|
3200
3198
|
# Authentication setting
|
3201
3199
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3202
3200
|
|
3203
3201
|
return self.api_client.call_api(
|
3204
|
-
'/devices
|
3202
|
+
'/devices/:delete', 'POST',
|
3205
3203
|
path_params,
|
3206
3204
|
query_params,
|
3207
3205
|
header_params,
|
3208
3206
|
body=body_params,
|
3209
3207
|
post_params=form_params,
|
3210
3208
|
files=local_var_files,
|
3211
|
-
response_type=
|
3209
|
+
response_type=None, # noqa: E501
|
3212
3210
|
auth_settings=auth_settings,
|
3213
3211
|
async_req=local_var_params.get('async_req'),
|
3214
3212
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3216,13 +3214,13 @@ class DeviceApi(object):
|
|
3216
3214
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3217
3215
|
collection_formats=collection_formats)
|
3218
3216
|
|
3219
|
-
def
|
3220
|
-
"""
|
3217
|
+
def delete_ftm_settings(self, id, **kwargs): # noqa: E501
|
3218
|
+
"""Delete FTM Settings by device ID # noqa: E501
|
3221
3219
|
|
3222
|
-
|
3220
|
+
Delete FTM Settings by device ID. # noqa: E501
|
3223
3221
|
This method makes a synchronous HTTP request by default. To make an
|
3224
3222
|
asynchronous HTTP request, please pass async_req=True
|
3225
|
-
>>> thread = api.
|
3223
|
+
>>> thread = api.delete_ftm_settings(id, async_req=True)
|
3226
3224
|
>>> result = thread.get()
|
3227
3225
|
|
3228
3226
|
:param async_req bool: execute request asynchronously
|
@@ -3234,20 +3232,20 @@ class DeviceApi(object):
|
|
3234
3232
|
number provided, it will be total request
|
3235
3233
|
timeout. It can also be a pair (tuple) of
|
3236
3234
|
(connection, read) timeouts.
|
3237
|
-
:return:
|
3235
|
+
:return: None
|
3238
3236
|
If the method is called asynchronously,
|
3239
3237
|
returns the request thread.
|
3240
3238
|
"""
|
3241
3239
|
kwargs['_return_http_data_only'] = True
|
3242
|
-
return self.
|
3240
|
+
return self.delete_ftm_settings_with_http_info(id, **kwargs) # noqa: E501
|
3243
3241
|
|
3244
|
-
def
|
3245
|
-
"""
|
3242
|
+
def delete_ftm_settings_with_http_info(self, id, **kwargs): # noqa: E501
|
3243
|
+
"""Delete FTM Settings by device ID # noqa: E501
|
3246
3244
|
|
3247
|
-
|
3245
|
+
Delete FTM Settings by device ID. # noqa: E501
|
3248
3246
|
This method makes a synchronous HTTP request by default. To make an
|
3249
3247
|
asynchronous HTTP request, please pass async_req=True
|
3250
|
-
>>> thread = api.
|
3248
|
+
>>> thread = api.delete_ftm_settings_with_http_info(id, async_req=True)
|
3251
3249
|
>>> result = thread.get()
|
3252
3250
|
|
3253
3251
|
:param async_req bool: execute request asynchronously
|
@@ -3261,7 +3259,7 @@ class DeviceApi(object):
|
|
3261
3259
|
number provided, it will be total request
|
3262
3260
|
timeout. It can also be a pair (tuple) of
|
3263
3261
|
(connection, read) timeouts.
|
3264
|
-
:return:
|
3262
|
+
:return: None
|
3265
3263
|
If the method is called asynchronously,
|
3266
3264
|
returns the request thread.
|
3267
3265
|
"""
|
@@ -3284,14 +3282,14 @@ class DeviceApi(object):
|
|
3284
3282
|
if key not in all_params:
|
3285
3283
|
raise ApiTypeError(
|
3286
3284
|
"Got an unexpected keyword argument '%s'"
|
3287
|
-
" to method
|
3285
|
+
" to method delete_ftm_settings" % key
|
3288
3286
|
)
|
3289
3287
|
local_var_params[key] = val
|
3290
3288
|
del local_var_params['kwargs']
|
3291
3289
|
# verify the required parameter 'id' is set
|
3292
3290
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3293
3291
|
local_var_params['id'] is None): # noqa: E501
|
3294
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
3292
|
+
raise ApiValueError("Missing the required parameter `id` when calling `delete_ftm_settings`") # noqa: E501
|
3295
3293
|
|
3296
3294
|
collection_formats = {}
|
3297
3295
|
|
@@ -3315,14 +3313,14 @@ class DeviceApi(object):
|
|
3315
3313
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3316
3314
|
|
3317
3315
|
return self.api_client.call_api(
|
3318
|
-
'/devices/{id}/
|
3316
|
+
'/devices/{id}/ftm-settings', 'DELETE',
|
3319
3317
|
path_params,
|
3320
3318
|
query_params,
|
3321
3319
|
header_params,
|
3322
3320
|
body=body_params,
|
3323
3321
|
post_params=form_params,
|
3324
3322
|
files=local_var_files,
|
3325
|
-
response_type=
|
3323
|
+
response_type=None, # noqa: E501
|
3326
3324
|
auth_settings=auth_settings,
|
3327
3325
|
async_req=local_var_params.get('async_req'),
|
3328
3326
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3330,17 +3328,18 @@ class DeviceApi(object):
|
|
3330
3328
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3331
3329
|
collection_formats=collection_formats)
|
3332
3330
|
|
3333
|
-
def
|
3334
|
-
"""
|
3331
|
+
def download_device_gallery_image(self, id, image_name, **kwargs): # noqa: E501
|
3332
|
+
"""Download device gallery image. # noqa: E501
|
3335
3333
|
|
3336
|
-
|
3334
|
+
Download the image file from the device media gallery. # noqa: E501
|
3337
3335
|
This method makes a synchronous HTTP request by default. To make an
|
3338
3336
|
asynchronous HTTP request, please pass async_req=True
|
3339
|
-
>>> thread = api.
|
3337
|
+
>>> thread = api.download_device_gallery_image(id, image_name, async_req=True)
|
3340
3338
|
>>> result = thread.get()
|
3341
3339
|
|
3342
3340
|
:param async_req bool: execute request asynchronously
|
3343
3341
|
:param int id: The device ID (required)
|
3342
|
+
:param str image_name: The image name (required)
|
3344
3343
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3345
3344
|
be returned without reading/decoding response
|
3346
3345
|
data. Default is True.
|
@@ -3348,24 +3347,25 @@ class DeviceApi(object):
|
|
3348
3347
|
number provided, it will be total request
|
3349
3348
|
timeout. It can also be a pair (tuple) of
|
3350
3349
|
(connection, read) timeouts.
|
3351
|
-
:return:
|
3350
|
+
:return: file
|
3352
3351
|
If the method is called asynchronously,
|
3353
3352
|
returns the request thread.
|
3354
3353
|
"""
|
3355
3354
|
kwargs['_return_http_data_only'] = True
|
3356
|
-
return self.
|
3355
|
+
return self.download_device_gallery_image_with_http_info(id, image_name, **kwargs) # noqa: E501
|
3357
3356
|
|
3358
|
-
def
|
3359
|
-
"""
|
3357
|
+
def download_device_gallery_image_with_http_info(self, id, image_name, **kwargs): # noqa: E501
|
3358
|
+
"""Download device gallery image. # noqa: E501
|
3360
3359
|
|
3361
|
-
|
3360
|
+
Download the image file from the device media gallery. # noqa: E501
|
3362
3361
|
This method makes a synchronous HTTP request by default. To make an
|
3363
3362
|
asynchronous HTTP request, please pass async_req=True
|
3364
|
-
>>> thread = api.
|
3363
|
+
>>> thread = api.download_device_gallery_image_with_http_info(id, image_name, async_req=True)
|
3365
3364
|
>>> result = thread.get()
|
3366
3365
|
|
3367
3366
|
:param async_req bool: execute request asynchronously
|
3368
3367
|
:param int id: The device ID (required)
|
3368
|
+
:param str image_name: The image name (required)
|
3369
3369
|
:param _return_http_data_only: response data without head status code
|
3370
3370
|
and headers
|
3371
3371
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3375,7 +3375,7 @@ class DeviceApi(object):
|
|
3375
3375
|
number provided, it will be total request
|
3376
3376
|
timeout. It can also be a pair (tuple) of
|
3377
3377
|
(connection, read) timeouts.
|
3378
|
-
:return: tuple(
|
3378
|
+
:return: tuple(file, status_code(int), headers(HTTPHeaderDict))
|
3379
3379
|
If the method is called asynchronously,
|
3380
3380
|
returns the request thread.
|
3381
3381
|
"""
|
@@ -3383,7 +3383,8 @@ class DeviceApi(object):
|
|
3383
3383
|
local_var_params = locals()
|
3384
3384
|
|
3385
3385
|
all_params = [
|
3386
|
-
'id'
|
3386
|
+
'id',
|
3387
|
+
'image_name'
|
3387
3388
|
]
|
3388
3389
|
all_params.extend(
|
3389
3390
|
[
|
@@ -3398,14 +3399,18 @@ class DeviceApi(object):
|
|
3398
3399
|
if key not in all_params:
|
3399
3400
|
raise ApiTypeError(
|
3400
3401
|
"Got an unexpected keyword argument '%s'"
|
3401
|
-
" to method
|
3402
|
+
" to method download_device_gallery_image" % key
|
3402
3403
|
)
|
3403
3404
|
local_var_params[key] = val
|
3404
3405
|
del local_var_params['kwargs']
|
3405
3406
|
# verify the required parameter 'id' is set
|
3406
3407
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3407
3408
|
local_var_params['id'] is None): # noqa: E501
|
3408
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
3409
|
+
raise ApiValueError("Missing the required parameter `id` when calling `download_device_gallery_image`") # noqa: E501
|
3410
|
+
# verify the required parameter 'image_name' is set
|
3411
|
+
if self.api_client.client_side_validation and ('image_name' not in local_var_params or # noqa: E501
|
3412
|
+
local_var_params['image_name'] is None): # noqa: E501
|
3413
|
+
raise ApiValueError("Missing the required parameter `image_name` when calling `download_device_gallery_image`") # noqa: E501
|
3409
3414
|
|
3410
3415
|
collection_formats = {}
|
3411
3416
|
|
@@ -3414,6 +3419,8 @@ class DeviceApi(object):
|
|
3414
3419
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
3415
3420
|
|
3416
3421
|
query_params = []
|
3422
|
+
if 'image_name' in local_var_params and local_var_params['image_name'] is not None: # noqa: E501
|
3423
|
+
query_params.append(('imageName', local_var_params['image_name'])) # noqa: E501
|
3417
3424
|
|
3418
3425
|
header_params = {}
|
3419
3426
|
|
@@ -3423,20 +3430,20 @@ class DeviceApi(object):
|
|
3423
3430
|
body_params = None
|
3424
3431
|
# HTTP header `Accept`
|
3425
3432
|
header_params['Accept'] = self.api_client.select_header_accept(
|
3426
|
-
['application/json']) # noqa: E501
|
3433
|
+
['application/json', 'application/octet-stream']) # noqa: E501
|
3427
3434
|
|
3428
3435
|
# Authentication setting
|
3429
3436
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3430
3437
|
|
3431
3438
|
return self.api_client.call_api(
|
3432
|
-
'/devices/{id}/
|
3439
|
+
'/devices/{id}/gallery-image', 'GET',
|
3433
3440
|
path_params,
|
3434
3441
|
query_params,
|
3435
3442
|
header_params,
|
3436
3443
|
body=body_params,
|
3437
3444
|
post_params=form_params,
|
3438
3445
|
files=local_var_files,
|
3439
|
-
response_type='
|
3446
|
+
response_type='file', # noqa: E501
|
3440
3447
|
auth_settings=auth_settings,
|
3441
3448
|
async_req=local_var_params.get('async_req'),
|
3442
3449
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3444,17 +3451,19 @@ class DeviceApi(object):
|
|
3444
3451
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3445
3452
|
collection_formats=collection_formats)
|
3446
3453
|
|
3447
|
-
def
|
3448
|
-
"""Get
|
3454
|
+
def get_device(self, id, **kwargs): # noqa: E501
|
3455
|
+
"""Get device info for a specific device # noqa: E501
|
3449
3456
|
|
3450
|
-
Get
|
3457
|
+
Get device info for a specific device. # noqa: E501
|
3451
3458
|
This method makes a synchronous HTTP request by default. To make an
|
3452
3459
|
asynchronous HTTP request, please pass async_req=True
|
3453
|
-
>>> thread = api.
|
3460
|
+
>>> thread = api.get_device(id, async_req=True)
|
3454
3461
|
>>> result = thread.get()
|
3455
3462
|
|
3456
3463
|
:param async_req bool: execute request asynchronously
|
3457
3464
|
:param int id: The device ID (required)
|
3465
|
+
:param list[XiqDeviceView] views: The views to return device fields (Check details at XiqDeviceView schema)
|
3466
|
+
:param list[XiqDeviceField] fields: The device fields to return
|
3458
3467
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3459
3468
|
be returned without reading/decoding response
|
3460
3469
|
data. Default is True.
|
@@ -3462,24 +3471,26 @@ class DeviceApi(object):
|
|
3462
3471
|
number provided, it will be total request
|
3463
3472
|
timeout. It can also be a pair (tuple) of
|
3464
3473
|
(connection, read) timeouts.
|
3465
|
-
:return:
|
3474
|
+
:return: XiqDevice
|
3466
3475
|
If the method is called asynchronously,
|
3467
3476
|
returns the request thread.
|
3468
3477
|
"""
|
3469
3478
|
kwargs['_return_http_data_only'] = True
|
3470
|
-
return self.
|
3479
|
+
return self.get_device_with_http_info(id, **kwargs) # noqa: E501
|
3471
3480
|
|
3472
|
-
def
|
3473
|
-
"""Get
|
3481
|
+
def get_device_with_http_info(self, id, **kwargs): # noqa: E501
|
3482
|
+
"""Get device info for a specific device # noqa: E501
|
3474
3483
|
|
3475
|
-
Get
|
3484
|
+
Get device info for a specific device. # noqa: E501
|
3476
3485
|
This method makes a synchronous HTTP request by default. To make an
|
3477
3486
|
asynchronous HTTP request, please pass async_req=True
|
3478
|
-
>>> thread = api.
|
3487
|
+
>>> thread = api.get_device_with_http_info(id, async_req=True)
|
3479
3488
|
>>> result = thread.get()
|
3480
3489
|
|
3481
3490
|
:param async_req bool: execute request asynchronously
|
3482
3491
|
:param int id: The device ID (required)
|
3492
|
+
:param list[XiqDeviceView] views: The views to return device fields (Check details at XiqDeviceView schema)
|
3493
|
+
:param list[XiqDeviceField] fields: The device fields to return
|
3483
3494
|
:param _return_http_data_only: response data without head status code
|
3484
3495
|
and headers
|
3485
3496
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3489,7 +3500,7 @@ class DeviceApi(object):
|
|
3489
3500
|
number provided, it will be total request
|
3490
3501
|
timeout. It can also be a pair (tuple) of
|
3491
3502
|
(connection, read) timeouts.
|
3492
|
-
:return: tuple(
|
3503
|
+
:return: tuple(XiqDevice, status_code(int), headers(HTTPHeaderDict))
|
3493
3504
|
If the method is called asynchronously,
|
3494
3505
|
returns the request thread.
|
3495
3506
|
"""
|
@@ -3497,7 +3508,9 @@ class DeviceApi(object):
|
|
3497
3508
|
local_var_params = locals()
|
3498
3509
|
|
3499
3510
|
all_params = [
|
3500
|
-
'id'
|
3511
|
+
'id',
|
3512
|
+
'views',
|
3513
|
+
'fields'
|
3501
3514
|
]
|
3502
3515
|
all_params.extend(
|
3503
3516
|
[
|
@@ -3512,14 +3525,14 @@ class DeviceApi(object):
|
|
3512
3525
|
if key not in all_params:
|
3513
3526
|
raise ApiTypeError(
|
3514
3527
|
"Got an unexpected keyword argument '%s'"
|
3515
|
-
" to method
|
3528
|
+
" to method get_device" % key
|
3516
3529
|
)
|
3517
3530
|
local_var_params[key] = val
|
3518
3531
|
del local_var_params['kwargs']
|
3519
3532
|
# verify the required parameter 'id' is set
|
3520
3533
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3521
3534
|
local_var_params['id'] is None): # noqa: E501
|
3522
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
3535
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device`") # noqa: E501
|
3523
3536
|
|
3524
3537
|
collection_formats = {}
|
3525
3538
|
|
@@ -3528,6 +3541,12 @@ class DeviceApi(object):
|
|
3528
3541
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
3529
3542
|
|
3530
3543
|
query_params = []
|
3544
|
+
if 'views' in local_var_params and local_var_params['views'] is not None: # noqa: E501
|
3545
|
+
query_params.append(('views', local_var_params['views'])) # noqa: E501
|
3546
|
+
collection_formats['views'] = 'multi' # noqa: E501
|
3547
|
+
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
3548
|
+
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
3549
|
+
collection_formats['fields'] = 'multi' # noqa: E501
|
3531
3550
|
|
3532
3551
|
header_params = {}
|
3533
3552
|
|
@@ -3543,14 +3562,1113 @@ class DeviceApi(object):
|
|
3543
3562
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3544
3563
|
|
3545
3564
|
return self.api_client.call_api(
|
3546
|
-
'/devices/{id}
|
3565
|
+
'/devices/{id}', 'GET',
|
3566
|
+
path_params,
|
3567
|
+
query_params,
|
3568
|
+
header_params,
|
3569
|
+
body=body_params,
|
3570
|
+
post_params=form_params,
|
3571
|
+
files=local_var_files,
|
3572
|
+
response_type='XiqDevice', # noqa: E501
|
3573
|
+
auth_settings=auth_settings,
|
3574
|
+
async_req=local_var_params.get('async_req'),
|
3575
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
3576
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
3577
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
3578
|
+
collection_formats=collection_formats)
|
3579
|
+
|
3580
|
+
def get_device_cpu_memory_history(self, id, start_time, end_time, interval, **kwargs): # noqa: E501
|
3581
|
+
"""Get device CPU/memory usage history # noqa: E501
|
3582
|
+
|
3583
|
+
Get average device CPU and memory usage history. # noqa: E501
|
3584
|
+
This method makes a synchronous HTTP request by default. To make an
|
3585
|
+
asynchronous HTTP request, please pass async_req=True
|
3586
|
+
>>> thread = api.get_device_cpu_memory_history(id, start_time, end_time, interval, async_req=True)
|
3587
|
+
>>> result = thread.get()
|
3588
|
+
|
3589
|
+
:param async_req bool: execute request asynchronously
|
3590
|
+
:param int id: Device ID (required)
|
3591
|
+
:param int start_time: The start time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3592
|
+
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3593
|
+
:param int interval: The aggregate interval in milliseconds (required)
|
3594
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3595
|
+
be returned without reading/decoding response
|
3596
|
+
data. Default is True.
|
3597
|
+
:param _request_timeout: timeout setting for this request. If one
|
3598
|
+
number provided, it will be total request
|
3599
|
+
timeout. It can also be a pair (tuple) of
|
3600
|
+
(connection, read) timeouts.
|
3601
|
+
:return: list[XiqDeviceCpuMemoryUsage]
|
3602
|
+
If the method is called asynchronously,
|
3603
|
+
returns the request thread.
|
3604
|
+
"""
|
3605
|
+
kwargs['_return_http_data_only'] = True
|
3606
|
+
return self.get_device_cpu_memory_history_with_http_info(id, start_time, end_time, interval, **kwargs) # noqa: E501
|
3607
|
+
|
3608
|
+
def get_device_cpu_memory_history_with_http_info(self, id, start_time, end_time, interval, **kwargs): # noqa: E501
|
3609
|
+
"""Get device CPU/memory usage history # noqa: E501
|
3610
|
+
|
3611
|
+
Get average device CPU and memory usage history. # noqa: E501
|
3612
|
+
This method makes a synchronous HTTP request by default. To make an
|
3613
|
+
asynchronous HTTP request, please pass async_req=True
|
3614
|
+
>>> thread = api.get_device_cpu_memory_history_with_http_info(id, start_time, end_time, interval, async_req=True)
|
3615
|
+
>>> result = thread.get()
|
3616
|
+
|
3617
|
+
:param async_req bool: execute request asynchronously
|
3618
|
+
:param int id: Device ID (required)
|
3619
|
+
:param int start_time: The start time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3620
|
+
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
|
3621
|
+
:param int interval: The aggregate interval in milliseconds (required)
|
3622
|
+
:param _return_http_data_only: response data without head status code
|
3623
|
+
and headers
|
3624
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3625
|
+
be returned without reading/decoding response
|
3626
|
+
data. Default is True.
|
3627
|
+
:param _request_timeout: timeout setting for this request. If one
|
3628
|
+
number provided, it will be total request
|
3629
|
+
timeout. It can also be a pair (tuple) of
|
3630
|
+
(connection, read) timeouts.
|
3631
|
+
:return: tuple(list[XiqDeviceCpuMemoryUsage], status_code(int), headers(HTTPHeaderDict))
|
3632
|
+
If the method is called asynchronously,
|
3633
|
+
returns the request thread.
|
3634
|
+
"""
|
3635
|
+
|
3636
|
+
local_var_params = locals()
|
3637
|
+
|
3638
|
+
all_params = [
|
3639
|
+
'id',
|
3640
|
+
'start_time',
|
3641
|
+
'end_time',
|
3642
|
+
'interval'
|
3643
|
+
]
|
3644
|
+
all_params.extend(
|
3645
|
+
[
|
3646
|
+
'async_req',
|
3647
|
+
'_return_http_data_only',
|
3648
|
+
'_preload_content',
|
3649
|
+
'_request_timeout'
|
3650
|
+
]
|
3651
|
+
)
|
3652
|
+
|
3653
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
3654
|
+
if key not in all_params:
|
3655
|
+
raise ApiTypeError(
|
3656
|
+
"Got an unexpected keyword argument '%s'"
|
3657
|
+
" to method get_device_cpu_memory_history" % key
|
3658
|
+
)
|
3659
|
+
local_var_params[key] = val
|
3660
|
+
del local_var_params['kwargs']
|
3661
|
+
# verify the required parameter 'id' is set
|
3662
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3663
|
+
local_var_params['id'] is None): # noqa: E501
|
3664
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3665
|
+
# verify the required parameter 'start_time' is set
|
3666
|
+
if self.api_client.client_side_validation and ('start_time' not in local_var_params or # noqa: E501
|
3667
|
+
local_var_params['start_time'] is None): # noqa: E501
|
3668
|
+
raise ApiValueError("Missing the required parameter `start_time` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3669
|
+
# verify the required parameter 'end_time' is set
|
3670
|
+
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
|
3671
|
+
local_var_params['end_time'] is None): # noqa: E501
|
3672
|
+
raise ApiValueError("Missing the required parameter `end_time` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3673
|
+
# verify the required parameter 'interval' is set
|
3674
|
+
if self.api_client.client_side_validation and ('interval' not in local_var_params or # noqa: E501
|
3675
|
+
local_var_params['interval'] is None): # noqa: E501
|
3676
|
+
raise ApiValueError("Missing the required parameter `interval` when calling `get_device_cpu_memory_history`") # noqa: E501
|
3677
|
+
|
3678
|
+
collection_formats = {}
|
3679
|
+
|
3680
|
+
path_params = {}
|
3681
|
+
if 'id' in local_var_params:
|
3682
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
3683
|
+
|
3684
|
+
query_params = []
|
3685
|
+
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
3686
|
+
query_params.append(('startTime', local_var_params['start_time'])) # noqa: E501
|
3687
|
+
if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
|
3688
|
+
query_params.append(('endTime', local_var_params['end_time'])) # noqa: E501
|
3689
|
+
if 'interval' in local_var_params and local_var_params['interval'] is not None: # noqa: E501
|
3690
|
+
query_params.append(('interval', local_var_params['interval'])) # noqa: E501
|
3691
|
+
|
3692
|
+
header_params = {}
|
3693
|
+
|
3694
|
+
form_params = []
|
3695
|
+
local_var_files = {}
|
3696
|
+
|
3697
|
+
body_params = None
|
3698
|
+
# HTTP header `Accept`
|
3699
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
3700
|
+
['application/json']) # noqa: E501
|
3701
|
+
|
3702
|
+
# Authentication setting
|
3703
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
3704
|
+
|
3705
|
+
return self.api_client.call_api(
|
3706
|
+
'/devices/{id}/history/cpu-mem', 'GET',
|
3707
|
+
path_params,
|
3708
|
+
query_params,
|
3709
|
+
header_params,
|
3710
|
+
body=body_params,
|
3711
|
+
post_params=form_params,
|
3712
|
+
files=local_var_files,
|
3713
|
+
response_type='list[XiqDeviceCpuMemoryUsage]', # noqa: E501
|
3714
|
+
auth_settings=auth_settings,
|
3715
|
+
async_req=local_var_params.get('async_req'),
|
3716
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
3717
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
3718
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
3719
|
+
collection_formats=collection_formats)
|
3720
|
+
|
3721
|
+
def get_device_ibeacon(self, id, **kwargs): # noqa: E501
|
3722
|
+
"""Get the device iBeacon setting # noqa: E501
|
3723
|
+
|
3724
|
+
Get the device iBeacon setting by device ID. # noqa: E501
|
3725
|
+
This method makes a synchronous HTTP request by default. To make an
|
3726
|
+
asynchronous HTTP request, please pass async_req=True
|
3727
|
+
>>> thread = api.get_device_ibeacon(id, async_req=True)
|
3728
|
+
>>> result = thread.get()
|
3729
|
+
|
3730
|
+
:param async_req bool: execute request asynchronously
|
3731
|
+
:param int id: The device ID (required)
|
3732
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3733
|
+
be returned without reading/decoding response
|
3734
|
+
data. Default is True.
|
3735
|
+
:param _request_timeout: timeout setting for this request. If one
|
3736
|
+
number provided, it will be total request
|
3737
|
+
timeout. It can also be a pair (tuple) of
|
3738
|
+
(connection, read) timeouts.
|
3739
|
+
:return: XiqDeviceIbeacon
|
3740
|
+
If the method is called asynchronously,
|
3741
|
+
returns the request thread.
|
3742
|
+
"""
|
3743
|
+
kwargs['_return_http_data_only'] = True
|
3744
|
+
return self.get_device_ibeacon_with_http_info(id, **kwargs) # noqa: E501
|
3745
|
+
|
3746
|
+
def get_device_ibeacon_with_http_info(self, id, **kwargs): # noqa: E501
|
3747
|
+
"""Get the device iBeacon setting # noqa: E501
|
3748
|
+
|
3749
|
+
Get the device iBeacon setting by device ID. # noqa: E501
|
3750
|
+
This method makes a synchronous HTTP request by default. To make an
|
3751
|
+
asynchronous HTTP request, please pass async_req=True
|
3752
|
+
>>> thread = api.get_device_ibeacon_with_http_info(id, async_req=True)
|
3753
|
+
>>> result = thread.get()
|
3754
|
+
|
3755
|
+
:param async_req bool: execute request asynchronously
|
3756
|
+
:param int id: The device ID (required)
|
3757
|
+
:param _return_http_data_only: response data without head status code
|
3758
|
+
and headers
|
3759
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3760
|
+
be returned without reading/decoding response
|
3761
|
+
data. Default is True.
|
3762
|
+
:param _request_timeout: timeout setting for this request. If one
|
3763
|
+
number provided, it will be total request
|
3764
|
+
timeout. It can also be a pair (tuple) of
|
3765
|
+
(connection, read) timeouts.
|
3766
|
+
:return: tuple(XiqDeviceIbeacon, status_code(int), headers(HTTPHeaderDict))
|
3767
|
+
If the method is called asynchronously,
|
3768
|
+
returns the request thread.
|
3769
|
+
"""
|
3770
|
+
|
3771
|
+
local_var_params = locals()
|
3772
|
+
|
3773
|
+
all_params = [
|
3774
|
+
'id'
|
3775
|
+
]
|
3776
|
+
all_params.extend(
|
3777
|
+
[
|
3778
|
+
'async_req',
|
3779
|
+
'_return_http_data_only',
|
3780
|
+
'_preload_content',
|
3781
|
+
'_request_timeout'
|
3782
|
+
]
|
3783
|
+
)
|
3784
|
+
|
3785
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
3786
|
+
if key not in all_params:
|
3787
|
+
raise ApiTypeError(
|
3788
|
+
"Got an unexpected keyword argument '%s'"
|
3789
|
+
" to method get_device_ibeacon" % key
|
3790
|
+
)
|
3791
|
+
local_var_params[key] = val
|
3792
|
+
del local_var_params['kwargs']
|
3793
|
+
# verify the required parameter 'id' is set
|
3794
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3795
|
+
local_var_params['id'] is None): # noqa: E501
|
3796
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_ibeacon`") # noqa: E501
|
3797
|
+
|
3798
|
+
collection_formats = {}
|
3799
|
+
|
3800
|
+
path_params = {}
|
3801
|
+
if 'id' in local_var_params:
|
3802
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
3803
|
+
|
3804
|
+
query_params = []
|
3805
|
+
|
3806
|
+
header_params = {}
|
3807
|
+
|
3808
|
+
form_params = []
|
3809
|
+
local_var_files = {}
|
3810
|
+
|
3811
|
+
body_params = None
|
3812
|
+
# HTTP header `Accept`
|
3813
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
3814
|
+
['application/json']) # noqa: E501
|
3815
|
+
|
3816
|
+
# Authentication setting
|
3817
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
3818
|
+
|
3819
|
+
return self.api_client.call_api(
|
3820
|
+
'/devices/{id}/ibeacon', 'GET',
|
3821
|
+
path_params,
|
3822
|
+
query_params,
|
3823
|
+
header_params,
|
3824
|
+
body=body_params,
|
3825
|
+
post_params=form_params,
|
3826
|
+
files=local_var_files,
|
3827
|
+
response_type='XiqDeviceIbeacon', # noqa: E501
|
3828
|
+
auth_settings=auth_settings,
|
3829
|
+
async_req=local_var_params.get('async_req'),
|
3830
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
3831
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
3832
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
3833
|
+
collection_formats=collection_formats)
|
3834
|
+
|
3835
|
+
def get_device_ipv4_interfaces(self, id, **kwargs): # noqa: E501
|
3836
|
+
"""Get IPv4 Interfaces for a device # noqa: E501
|
3837
|
+
|
3838
|
+
Get the IPv4 Interfaces for a specific device. # noqa: E501
|
3839
|
+
This method makes a synchronous HTTP request by default. To make an
|
3840
|
+
asynchronous HTTP request, please pass async_req=True
|
3841
|
+
>>> thread = api.get_device_ipv4_interfaces(id, async_req=True)
|
3842
|
+
>>> result = thread.get()
|
3843
|
+
|
3844
|
+
:param async_req bool: execute request asynchronously
|
3845
|
+
:param int id: Device ID (required)
|
3846
|
+
:param int page: Page number, min = 1
|
3847
|
+
:param int limit: Page Size, min = 1, max = 100
|
3848
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3849
|
+
be returned without reading/decoding response
|
3850
|
+
data. Default is True.
|
3851
|
+
:param _request_timeout: timeout setting for this request. If one
|
3852
|
+
number provided, it will be total request
|
3853
|
+
timeout. It can also be a pair (tuple) of
|
3854
|
+
(connection, read) timeouts.
|
3855
|
+
:return: PagedXiqDeviceConfigureIpv4Interface
|
3856
|
+
If the method is called asynchronously,
|
3857
|
+
returns the request thread.
|
3858
|
+
"""
|
3859
|
+
kwargs['_return_http_data_only'] = True
|
3860
|
+
return self.get_device_ipv4_interfaces_with_http_info(id, **kwargs) # noqa: E501
|
3861
|
+
|
3862
|
+
def get_device_ipv4_interfaces_with_http_info(self, id, **kwargs): # noqa: E501
|
3863
|
+
"""Get IPv4 Interfaces for a device # noqa: E501
|
3864
|
+
|
3865
|
+
Get the IPv4 Interfaces for a specific device. # noqa: E501
|
3866
|
+
This method makes a synchronous HTTP request by default. To make an
|
3867
|
+
asynchronous HTTP request, please pass async_req=True
|
3868
|
+
>>> thread = api.get_device_ipv4_interfaces_with_http_info(id, async_req=True)
|
3869
|
+
>>> result = thread.get()
|
3870
|
+
|
3871
|
+
:param async_req bool: execute request asynchronously
|
3872
|
+
:param int id: Device ID (required)
|
3873
|
+
:param int page: Page number, min = 1
|
3874
|
+
:param int limit: Page Size, min = 1, max = 100
|
3875
|
+
:param _return_http_data_only: response data without head status code
|
3876
|
+
and headers
|
3877
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3878
|
+
be returned without reading/decoding response
|
3879
|
+
data. Default is True.
|
3880
|
+
:param _request_timeout: timeout setting for this request. If one
|
3881
|
+
number provided, it will be total request
|
3882
|
+
timeout. It can also be a pair (tuple) of
|
3883
|
+
(connection, read) timeouts.
|
3884
|
+
:return: tuple(PagedXiqDeviceConfigureIpv4Interface, status_code(int), headers(HTTPHeaderDict))
|
3885
|
+
If the method is called asynchronously,
|
3886
|
+
returns the request thread.
|
3887
|
+
"""
|
3888
|
+
|
3889
|
+
local_var_params = locals()
|
3890
|
+
|
3891
|
+
all_params = [
|
3892
|
+
'id',
|
3893
|
+
'page',
|
3894
|
+
'limit'
|
3895
|
+
]
|
3896
|
+
all_params.extend(
|
3897
|
+
[
|
3898
|
+
'async_req',
|
3899
|
+
'_return_http_data_only',
|
3900
|
+
'_preload_content',
|
3901
|
+
'_request_timeout'
|
3902
|
+
]
|
3903
|
+
)
|
3904
|
+
|
3905
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
3906
|
+
if key not in all_params:
|
3907
|
+
raise ApiTypeError(
|
3908
|
+
"Got an unexpected keyword argument '%s'"
|
3909
|
+
" to method get_device_ipv4_interfaces" % key
|
3910
|
+
)
|
3911
|
+
local_var_params[key] = val
|
3912
|
+
del local_var_params['kwargs']
|
3913
|
+
# verify the required parameter 'id' is set
|
3914
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3915
|
+
local_var_params['id'] is None): # noqa: E501
|
3916
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_ipv4_interfaces`") # noqa: E501
|
3917
|
+
|
3918
|
+
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
3919
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `get_device_ipv4_interfaces`, must be a value greater than or equal to `1`") # noqa: E501
|
3920
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 100: # noqa: E501
|
3921
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `get_device_ipv4_interfaces`, must be a value less than or equal to `100`") # noqa: E501
|
3922
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
3923
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `get_device_ipv4_interfaces`, must be a value greater than or equal to `1`") # noqa: E501
|
3924
|
+
collection_formats = {}
|
3925
|
+
|
3926
|
+
path_params = {}
|
3927
|
+
if 'id' in local_var_params:
|
3928
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
3929
|
+
|
3930
|
+
query_params = []
|
3931
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
3932
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
3933
|
+
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
3934
|
+
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
3935
|
+
|
3936
|
+
header_params = {}
|
3937
|
+
|
3938
|
+
form_params = []
|
3939
|
+
local_var_files = {}
|
3940
|
+
|
3941
|
+
body_params = None
|
3942
|
+
# HTTP header `Accept`
|
3943
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
3944
|
+
['application/json']) # noqa: E501
|
3945
|
+
|
3946
|
+
# Authentication setting
|
3947
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
3948
|
+
|
3949
|
+
return self.api_client.call_api(
|
3950
|
+
'/devices/{id}/config/vlan-ipv4-intf', 'GET',
|
3951
|
+
path_params,
|
3952
|
+
query_params,
|
3953
|
+
header_params,
|
3954
|
+
body=body_params,
|
3955
|
+
post_params=form_params,
|
3956
|
+
files=local_var_files,
|
3957
|
+
response_type='PagedXiqDeviceConfigureIpv4Interface', # noqa: E501
|
3958
|
+
auth_settings=auth_settings,
|
3959
|
+
async_req=local_var_params.get('async_req'),
|
3960
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
3961
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
3962
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
3963
|
+
collection_formats=collection_formats)
|
3964
|
+
|
3965
|
+
def get_device_ipv4_static_routes(self, id, **kwargs): # noqa: E501
|
3966
|
+
"""Get IPv4 Static Route for a device # noqa: E501
|
3967
|
+
|
3968
|
+
Get the IPv4 Static Route for a specific device. # noqa: E501
|
3969
|
+
This method makes a synchronous HTTP request by default. To make an
|
3970
|
+
asynchronous HTTP request, please pass async_req=True
|
3971
|
+
>>> thread = api.get_device_ipv4_static_routes(id, async_req=True)
|
3972
|
+
>>> result = thread.get()
|
3973
|
+
|
3974
|
+
:param async_req bool: execute request asynchronously
|
3975
|
+
:param int id: Device ID (required)
|
3976
|
+
:param int page: Page number, min = 1
|
3977
|
+
:param int limit: Page Size, min = 1, max = 100
|
3978
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3979
|
+
be returned without reading/decoding response
|
3980
|
+
data. Default is True.
|
3981
|
+
:param _request_timeout: timeout setting for this request. If one
|
3982
|
+
number provided, it will be total request
|
3983
|
+
timeout. It can also be a pair (tuple) of
|
3984
|
+
(connection, read) timeouts.
|
3985
|
+
:return: PagedXiqDeviceConfigureIpv4StaticRoute
|
3986
|
+
If the method is called asynchronously,
|
3987
|
+
returns the request thread.
|
3988
|
+
"""
|
3989
|
+
kwargs['_return_http_data_only'] = True
|
3990
|
+
return self.get_device_ipv4_static_routes_with_http_info(id, **kwargs) # noqa: E501
|
3991
|
+
|
3992
|
+
def get_device_ipv4_static_routes_with_http_info(self, id, **kwargs): # noqa: E501
|
3993
|
+
"""Get IPv4 Static Route for a device # noqa: E501
|
3994
|
+
|
3995
|
+
Get the IPv4 Static Route for a specific device. # noqa: E501
|
3996
|
+
This method makes a synchronous HTTP request by default. To make an
|
3997
|
+
asynchronous HTTP request, please pass async_req=True
|
3998
|
+
>>> thread = api.get_device_ipv4_static_routes_with_http_info(id, async_req=True)
|
3999
|
+
>>> result = thread.get()
|
4000
|
+
|
4001
|
+
:param async_req bool: execute request asynchronously
|
4002
|
+
:param int id: Device ID (required)
|
4003
|
+
:param int page: Page number, min = 1
|
4004
|
+
:param int limit: Page Size, min = 1, max = 100
|
4005
|
+
:param _return_http_data_only: response data without head status code
|
4006
|
+
and headers
|
4007
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4008
|
+
be returned without reading/decoding response
|
4009
|
+
data. Default is True.
|
4010
|
+
:param _request_timeout: timeout setting for this request. If one
|
4011
|
+
number provided, it will be total request
|
4012
|
+
timeout. It can also be a pair (tuple) of
|
4013
|
+
(connection, read) timeouts.
|
4014
|
+
:return: tuple(PagedXiqDeviceConfigureIpv4StaticRoute, status_code(int), headers(HTTPHeaderDict))
|
4015
|
+
If the method is called asynchronously,
|
4016
|
+
returns the request thread.
|
4017
|
+
"""
|
4018
|
+
|
4019
|
+
local_var_params = locals()
|
4020
|
+
|
4021
|
+
all_params = [
|
4022
|
+
'id',
|
4023
|
+
'page',
|
4024
|
+
'limit'
|
4025
|
+
]
|
4026
|
+
all_params.extend(
|
4027
|
+
[
|
4028
|
+
'async_req',
|
4029
|
+
'_return_http_data_only',
|
4030
|
+
'_preload_content',
|
4031
|
+
'_request_timeout'
|
4032
|
+
]
|
4033
|
+
)
|
4034
|
+
|
4035
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4036
|
+
if key not in all_params:
|
4037
|
+
raise ApiTypeError(
|
4038
|
+
"Got an unexpected keyword argument '%s'"
|
4039
|
+
" to method get_device_ipv4_static_routes" % key
|
4040
|
+
)
|
4041
|
+
local_var_params[key] = val
|
4042
|
+
del local_var_params['kwargs']
|
4043
|
+
# verify the required parameter 'id' is set
|
4044
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4045
|
+
local_var_params['id'] is None): # noqa: E501
|
4046
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_ipv4_static_routes`") # noqa: E501
|
4047
|
+
|
4048
|
+
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
4049
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `get_device_ipv4_static_routes`, must be a value greater than or equal to `1`") # noqa: E501
|
4050
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 100: # noqa: E501
|
4051
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `get_device_ipv4_static_routes`, must be a value less than or equal to `100`") # noqa: E501
|
4052
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
4053
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `get_device_ipv4_static_routes`, must be a value greater than or equal to `1`") # noqa: E501
|
4054
|
+
collection_formats = {}
|
4055
|
+
|
4056
|
+
path_params = {}
|
4057
|
+
if 'id' in local_var_params:
|
4058
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
4059
|
+
|
4060
|
+
query_params = []
|
4061
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
4062
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
4063
|
+
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
4064
|
+
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
4065
|
+
|
4066
|
+
header_params = {}
|
4067
|
+
|
4068
|
+
form_params = []
|
4069
|
+
local_var_files = {}
|
4070
|
+
|
4071
|
+
body_params = None
|
4072
|
+
# HTTP header `Accept`
|
4073
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4074
|
+
['application/json']) # noqa: E501
|
4075
|
+
|
4076
|
+
# Authentication setting
|
4077
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4078
|
+
|
4079
|
+
return self.api_client.call_api(
|
4080
|
+
'/devices/{id}/config/vlan-ipv4-static', 'GET',
|
4081
|
+
path_params,
|
4082
|
+
query_params,
|
4083
|
+
header_params,
|
4084
|
+
body=body_params,
|
4085
|
+
post_params=form_params,
|
4086
|
+
files=local_var_files,
|
4087
|
+
response_type='PagedXiqDeviceConfigureIpv4StaticRoute', # noqa: E501
|
4088
|
+
auth_settings=auth_settings,
|
4089
|
+
async_req=local_var_params.get('async_req'),
|
4090
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4091
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
4092
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
4093
|
+
collection_formats=collection_formats)
|
4094
|
+
|
4095
|
+
def get_device_level_ssid_status(self, id, **kwargs): # noqa: E501
|
4096
|
+
"""Get SSID status for a device # noqa: E501
|
4097
|
+
|
4098
|
+
Get the SSIDs status on each wifi interface for a specific device. # noqa: E501
|
4099
|
+
This method makes a synchronous HTTP request by default. To make an
|
4100
|
+
asynchronous HTTP request, please pass async_req=True
|
4101
|
+
>>> thread = api.get_device_level_ssid_status(id, async_req=True)
|
4102
|
+
>>> result = thread.get()
|
4103
|
+
|
4104
|
+
:param async_req bool: execute request asynchronously
|
4105
|
+
:param int id: The device ID (required)
|
4106
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4107
|
+
be returned without reading/decoding response
|
4108
|
+
data. Default is True.
|
4109
|
+
:param _request_timeout: timeout setting for this request. If one
|
4110
|
+
number provided, it will be total request
|
4111
|
+
timeout. It can also be a pair (tuple) of
|
4112
|
+
(connection, read) timeouts.
|
4113
|
+
:return: dict(str, XiqDeviceLevelSsidStatus)
|
4114
|
+
If the method is called asynchronously,
|
4115
|
+
returns the request thread.
|
4116
|
+
"""
|
4117
|
+
kwargs['_return_http_data_only'] = True
|
4118
|
+
return self.get_device_level_ssid_status_with_http_info(id, **kwargs) # noqa: E501
|
4119
|
+
|
4120
|
+
def get_device_level_ssid_status_with_http_info(self, id, **kwargs): # noqa: E501
|
4121
|
+
"""Get SSID status for a device # noqa: E501
|
4122
|
+
|
4123
|
+
Get the SSIDs status on each wifi interface for a specific device. # noqa: E501
|
4124
|
+
This method makes a synchronous HTTP request by default. To make an
|
4125
|
+
asynchronous HTTP request, please pass async_req=True
|
4126
|
+
>>> thread = api.get_device_level_ssid_status_with_http_info(id, async_req=True)
|
4127
|
+
>>> result = thread.get()
|
4128
|
+
|
4129
|
+
:param async_req bool: execute request asynchronously
|
4130
|
+
:param int id: The device ID (required)
|
4131
|
+
:param _return_http_data_only: response data without head status code
|
4132
|
+
and headers
|
4133
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4134
|
+
be returned without reading/decoding response
|
4135
|
+
data. Default is True.
|
4136
|
+
:param _request_timeout: timeout setting for this request. If one
|
4137
|
+
number provided, it will be total request
|
4138
|
+
timeout. It can also be a pair (tuple) of
|
4139
|
+
(connection, read) timeouts.
|
4140
|
+
:return: tuple(dict(str, XiqDeviceLevelSsidStatus), status_code(int), headers(HTTPHeaderDict))
|
4141
|
+
If the method is called asynchronously,
|
4142
|
+
returns the request thread.
|
4143
|
+
"""
|
4144
|
+
|
4145
|
+
local_var_params = locals()
|
4146
|
+
|
4147
|
+
all_params = [
|
4148
|
+
'id'
|
4149
|
+
]
|
4150
|
+
all_params.extend(
|
4151
|
+
[
|
4152
|
+
'async_req',
|
4153
|
+
'_return_http_data_only',
|
4154
|
+
'_preload_content',
|
4155
|
+
'_request_timeout'
|
4156
|
+
]
|
4157
|
+
)
|
4158
|
+
|
4159
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4160
|
+
if key not in all_params:
|
4161
|
+
raise ApiTypeError(
|
4162
|
+
"Got an unexpected keyword argument '%s'"
|
4163
|
+
" to method get_device_level_ssid_status" % key
|
4164
|
+
)
|
4165
|
+
local_var_params[key] = val
|
4166
|
+
del local_var_params['kwargs']
|
4167
|
+
# verify the required parameter 'id' is set
|
4168
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4169
|
+
local_var_params['id'] is None): # noqa: E501
|
4170
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_level_ssid_status`") # noqa: E501
|
4171
|
+
|
4172
|
+
collection_formats = {}
|
4173
|
+
|
4174
|
+
path_params = {}
|
4175
|
+
if 'id' in local_var_params:
|
4176
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
4177
|
+
|
4178
|
+
query_params = []
|
4179
|
+
|
4180
|
+
header_params = {}
|
4181
|
+
|
4182
|
+
form_params = []
|
4183
|
+
local_var_files = {}
|
4184
|
+
|
4185
|
+
body_params = None
|
4186
|
+
# HTTP header `Accept`
|
4187
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4188
|
+
['application/json']) # noqa: E501
|
4189
|
+
|
4190
|
+
# Authentication setting
|
4191
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4192
|
+
|
4193
|
+
return self.api_client.call_api(
|
4194
|
+
'/devices/{id}/ssid/status', 'GET',
|
4195
|
+
path_params,
|
4196
|
+
query_params,
|
4197
|
+
header_params,
|
4198
|
+
body=body_params,
|
4199
|
+
post_params=form_params,
|
4200
|
+
files=local_var_files,
|
4201
|
+
response_type='dict(str, XiqDeviceLevelSsidStatus)', # noqa: E501
|
4202
|
+
auth_settings=auth_settings,
|
4203
|
+
async_req=local_var_params.get('async_req'),
|
4204
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4205
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
4206
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
4207
|
+
collection_formats=collection_formats)
|
4208
|
+
|
4209
|
+
def get_device_location(self, id, **kwargs): # noqa: E501
|
4210
|
+
"""Get location for a device # noqa: E501
|
4211
|
+
|
4212
|
+
Get the location info for a specific device. # noqa: E501
|
4213
|
+
This method makes a synchronous HTTP request by default. To make an
|
4214
|
+
asynchronous HTTP request, please pass async_req=True
|
4215
|
+
>>> thread = api.get_device_location(id, async_req=True)
|
4216
|
+
>>> result = thread.get()
|
4217
|
+
|
4218
|
+
:param async_req bool: execute request asynchronously
|
4219
|
+
:param int id: The device ID (required)
|
4220
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4221
|
+
be returned without reading/decoding response
|
4222
|
+
data. Default is True.
|
4223
|
+
:param _request_timeout: timeout setting for this request. If one
|
4224
|
+
number provided, it will be total request
|
4225
|
+
timeout. It can also be a pair (tuple) of
|
4226
|
+
(connection, read) timeouts.
|
4227
|
+
:return: XiqDeviceLocation
|
4228
|
+
If the method is called asynchronously,
|
4229
|
+
returns the request thread.
|
4230
|
+
"""
|
4231
|
+
kwargs['_return_http_data_only'] = True
|
4232
|
+
return self.get_device_location_with_http_info(id, **kwargs) # noqa: E501
|
4233
|
+
|
4234
|
+
def get_device_location_with_http_info(self, id, **kwargs): # noqa: E501
|
4235
|
+
"""Get location for a device # noqa: E501
|
4236
|
+
|
4237
|
+
Get the location info for a specific device. # noqa: E501
|
4238
|
+
This method makes a synchronous HTTP request by default. To make an
|
4239
|
+
asynchronous HTTP request, please pass async_req=True
|
4240
|
+
>>> thread = api.get_device_location_with_http_info(id, async_req=True)
|
4241
|
+
>>> result = thread.get()
|
4242
|
+
|
4243
|
+
:param async_req bool: execute request asynchronously
|
4244
|
+
:param int id: The device ID (required)
|
4245
|
+
:param _return_http_data_only: response data without head status code
|
4246
|
+
and headers
|
4247
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4248
|
+
be returned without reading/decoding response
|
4249
|
+
data. Default is True.
|
4250
|
+
:param _request_timeout: timeout setting for this request. If one
|
4251
|
+
number provided, it will be total request
|
4252
|
+
timeout. It can also be a pair (tuple) of
|
4253
|
+
(connection, read) timeouts.
|
4254
|
+
:return: tuple(XiqDeviceLocation, status_code(int), headers(HTTPHeaderDict))
|
4255
|
+
If the method is called asynchronously,
|
4256
|
+
returns the request thread.
|
4257
|
+
"""
|
4258
|
+
|
4259
|
+
local_var_params = locals()
|
4260
|
+
|
4261
|
+
all_params = [
|
4262
|
+
'id'
|
4263
|
+
]
|
4264
|
+
all_params.extend(
|
4265
|
+
[
|
4266
|
+
'async_req',
|
4267
|
+
'_return_http_data_only',
|
4268
|
+
'_preload_content',
|
4269
|
+
'_request_timeout'
|
4270
|
+
]
|
4271
|
+
)
|
4272
|
+
|
4273
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4274
|
+
if key not in all_params:
|
4275
|
+
raise ApiTypeError(
|
4276
|
+
"Got an unexpected keyword argument '%s'"
|
4277
|
+
" to method get_device_location" % key
|
4278
|
+
)
|
4279
|
+
local_var_params[key] = val
|
4280
|
+
del local_var_params['kwargs']
|
4281
|
+
# verify the required parameter 'id' is set
|
4282
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4283
|
+
local_var_params['id'] is None): # noqa: E501
|
4284
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_location`") # noqa: E501
|
4285
|
+
|
4286
|
+
collection_formats = {}
|
4287
|
+
|
4288
|
+
path_params = {}
|
4289
|
+
if 'id' in local_var_params:
|
4290
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
4291
|
+
|
4292
|
+
query_params = []
|
4293
|
+
|
4294
|
+
header_params = {}
|
4295
|
+
|
4296
|
+
form_params = []
|
4297
|
+
local_var_files = {}
|
4298
|
+
|
4299
|
+
body_params = None
|
4300
|
+
# HTTP header `Accept`
|
4301
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4302
|
+
['application/json']) # noqa: E501
|
4303
|
+
|
4304
|
+
# Authentication setting
|
4305
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4306
|
+
|
4307
|
+
return self.api_client.call_api(
|
4308
|
+
'/devices/{id}/location', 'GET',
|
4309
|
+
path_params,
|
4310
|
+
query_params,
|
4311
|
+
header_params,
|
4312
|
+
body=body_params,
|
4313
|
+
post_params=form_params,
|
4314
|
+
files=local_var_files,
|
4315
|
+
response_type='XiqDeviceLocation', # noqa: E501
|
4316
|
+
auth_settings=auth_settings,
|
4317
|
+
async_req=local_var_params.get('async_req'),
|
4318
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4319
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
4320
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
4321
|
+
collection_formats=collection_formats)
|
4322
|
+
|
4323
|
+
def get_device_network_policy(self, id, **kwargs): # noqa: E501
|
4324
|
+
"""Get network policy for a device # noqa: E501
|
4325
|
+
|
4326
|
+
Get the network policy for a specific device. # noqa: E501
|
4327
|
+
This method makes a synchronous HTTP request by default. To make an
|
4328
|
+
asynchronous HTTP request, please pass async_req=True
|
4329
|
+
>>> thread = api.get_device_network_policy(id, async_req=True)
|
4330
|
+
>>> result = thread.get()
|
4331
|
+
|
4332
|
+
:param async_req bool: execute request asynchronously
|
4333
|
+
:param int id: The device ID (required)
|
4334
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4335
|
+
be returned without reading/decoding response
|
4336
|
+
data. Default is True.
|
4337
|
+
:param _request_timeout: timeout setting for this request. If one
|
4338
|
+
number provided, it will be total request
|
4339
|
+
timeout. It can also be a pair (tuple) of
|
4340
|
+
(connection, read) timeouts.
|
4341
|
+
:return: XiqNetworkPolicy
|
4342
|
+
If the method is called asynchronously,
|
4343
|
+
returns the request thread.
|
4344
|
+
"""
|
4345
|
+
kwargs['_return_http_data_only'] = True
|
4346
|
+
return self.get_device_network_policy_with_http_info(id, **kwargs) # noqa: E501
|
4347
|
+
|
4348
|
+
def get_device_network_policy_with_http_info(self, id, **kwargs): # noqa: E501
|
4349
|
+
"""Get network policy for a device # noqa: E501
|
4350
|
+
|
4351
|
+
Get the network policy for a specific device. # noqa: E501
|
4352
|
+
This method makes a synchronous HTTP request by default. To make an
|
4353
|
+
asynchronous HTTP request, please pass async_req=True
|
4354
|
+
>>> thread = api.get_device_network_policy_with_http_info(id, async_req=True)
|
4355
|
+
>>> result = thread.get()
|
4356
|
+
|
4357
|
+
:param async_req bool: execute request asynchronously
|
4358
|
+
:param int id: The device ID (required)
|
4359
|
+
:param _return_http_data_only: response data without head status code
|
4360
|
+
and headers
|
4361
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4362
|
+
be returned without reading/decoding response
|
4363
|
+
data. Default is True.
|
4364
|
+
:param _request_timeout: timeout setting for this request. If one
|
4365
|
+
number provided, it will be total request
|
4366
|
+
timeout. It can also be a pair (tuple) of
|
4367
|
+
(connection, read) timeouts.
|
4368
|
+
:return: tuple(XiqNetworkPolicy, status_code(int), headers(HTTPHeaderDict))
|
4369
|
+
If the method is called asynchronously,
|
4370
|
+
returns the request thread.
|
4371
|
+
"""
|
4372
|
+
|
4373
|
+
local_var_params = locals()
|
4374
|
+
|
4375
|
+
all_params = [
|
4376
|
+
'id'
|
4377
|
+
]
|
4378
|
+
all_params.extend(
|
4379
|
+
[
|
4380
|
+
'async_req',
|
4381
|
+
'_return_http_data_only',
|
4382
|
+
'_preload_content',
|
4383
|
+
'_request_timeout'
|
4384
|
+
]
|
4385
|
+
)
|
4386
|
+
|
4387
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4388
|
+
if key not in all_params:
|
4389
|
+
raise ApiTypeError(
|
4390
|
+
"Got an unexpected keyword argument '%s'"
|
4391
|
+
" to method get_device_network_policy" % key
|
4392
|
+
)
|
4393
|
+
local_var_params[key] = val
|
4394
|
+
del local_var_params['kwargs']
|
4395
|
+
# verify the required parameter 'id' is set
|
4396
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4397
|
+
local_var_params['id'] is None): # noqa: E501
|
4398
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_network_policy`") # noqa: E501
|
4399
|
+
|
4400
|
+
collection_formats = {}
|
4401
|
+
|
4402
|
+
path_params = {}
|
4403
|
+
if 'id' in local_var_params:
|
4404
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
4405
|
+
|
4406
|
+
query_params = []
|
4407
|
+
|
4408
|
+
header_params = {}
|
4409
|
+
|
4410
|
+
form_params = []
|
4411
|
+
local_var_files = {}
|
4412
|
+
|
4413
|
+
body_params = None
|
4414
|
+
# HTTP header `Accept`
|
4415
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4416
|
+
['application/json']) # noqa: E501
|
4417
|
+
|
4418
|
+
# Authentication setting
|
4419
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4420
|
+
|
4421
|
+
return self.api_client.call_api(
|
4422
|
+
'/devices/{id}/network-policy', 'GET',
|
4423
|
+
path_params,
|
4424
|
+
query_params,
|
4425
|
+
header_params,
|
4426
|
+
body=body_params,
|
4427
|
+
post_params=form_params,
|
4428
|
+
files=local_var_files,
|
4429
|
+
response_type='XiqNetworkPolicy', # noqa: E501
|
4430
|
+
auth_settings=auth_settings,
|
4431
|
+
async_req=local_var_params.get('async_req'),
|
4432
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4433
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
4434
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
4435
|
+
collection_formats=collection_formats)
|
4436
|
+
|
4437
|
+
def get_device_stats(self, **kwargs): # noqa: E501
|
4438
|
+
"""Get device stats # noqa: E501
|
4439
|
+
|
4440
|
+
Get device stats, such as total device count, managed device count, connected device count, etc. # noqa: E501
|
4441
|
+
This method makes a synchronous HTTP request by default. To make an
|
4442
|
+
asynchronous HTTP request, please pass async_req=True
|
4443
|
+
>>> thread = api.get_device_stats(async_req=True)
|
4444
|
+
>>> result = thread.get()
|
4445
|
+
|
4446
|
+
:param async_req bool: execute request asynchronously
|
4447
|
+
:param int location_id: The location ID
|
4448
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4449
|
+
be returned without reading/decoding response
|
4450
|
+
data. Default is True.
|
4451
|
+
:param _request_timeout: timeout setting for this request. If one
|
4452
|
+
number provided, it will be total request
|
4453
|
+
timeout. It can also be a pair (tuple) of
|
4454
|
+
(connection, read) timeouts.
|
4455
|
+
:return: XiqDeviceStats
|
4456
|
+
If the method is called asynchronously,
|
4457
|
+
returns the request thread.
|
4458
|
+
"""
|
4459
|
+
kwargs['_return_http_data_only'] = True
|
4460
|
+
return self.get_device_stats_with_http_info(**kwargs) # noqa: E501
|
4461
|
+
|
4462
|
+
def get_device_stats_with_http_info(self, **kwargs): # noqa: E501
|
4463
|
+
"""Get device stats # noqa: E501
|
4464
|
+
|
4465
|
+
Get device stats, such as total device count, managed device count, connected device count, etc. # noqa: E501
|
4466
|
+
This method makes a synchronous HTTP request by default. To make an
|
4467
|
+
asynchronous HTTP request, please pass async_req=True
|
4468
|
+
>>> thread = api.get_device_stats_with_http_info(async_req=True)
|
4469
|
+
>>> result = thread.get()
|
4470
|
+
|
4471
|
+
:param async_req bool: execute request asynchronously
|
4472
|
+
:param int location_id: The location ID
|
4473
|
+
:param _return_http_data_only: response data without head status code
|
4474
|
+
and headers
|
4475
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4476
|
+
be returned without reading/decoding response
|
4477
|
+
data. Default is True.
|
4478
|
+
:param _request_timeout: timeout setting for this request. If one
|
4479
|
+
number provided, it will be total request
|
4480
|
+
timeout. It can also be a pair (tuple) of
|
4481
|
+
(connection, read) timeouts.
|
4482
|
+
:return: tuple(XiqDeviceStats, status_code(int), headers(HTTPHeaderDict))
|
4483
|
+
If the method is called asynchronously,
|
4484
|
+
returns the request thread.
|
4485
|
+
"""
|
4486
|
+
|
4487
|
+
local_var_params = locals()
|
4488
|
+
|
4489
|
+
all_params = [
|
4490
|
+
'location_id'
|
4491
|
+
]
|
4492
|
+
all_params.extend(
|
4493
|
+
[
|
4494
|
+
'async_req',
|
4495
|
+
'_return_http_data_only',
|
4496
|
+
'_preload_content',
|
4497
|
+
'_request_timeout'
|
4498
|
+
]
|
4499
|
+
)
|
4500
|
+
|
4501
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4502
|
+
if key not in all_params:
|
4503
|
+
raise ApiTypeError(
|
4504
|
+
"Got an unexpected keyword argument '%s'"
|
4505
|
+
" to method get_device_stats" % key
|
4506
|
+
)
|
4507
|
+
local_var_params[key] = val
|
4508
|
+
del local_var_params['kwargs']
|
4509
|
+
|
4510
|
+
collection_formats = {}
|
4511
|
+
|
4512
|
+
path_params = {}
|
4513
|
+
|
4514
|
+
query_params = []
|
4515
|
+
if 'location_id' in local_var_params and local_var_params['location_id'] is not None: # noqa: E501
|
4516
|
+
query_params.append(('locationId', local_var_params['location_id'])) # noqa: E501
|
4517
|
+
|
4518
|
+
header_params = {}
|
4519
|
+
|
4520
|
+
form_params = []
|
4521
|
+
local_var_files = {}
|
4522
|
+
|
4523
|
+
body_params = None
|
4524
|
+
# HTTP header `Accept`
|
4525
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4526
|
+
['application/json']) # noqa: E501
|
4527
|
+
|
4528
|
+
# Authentication setting
|
4529
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4530
|
+
|
4531
|
+
return self.api_client.call_api(
|
4532
|
+
'/devices/stats', 'GET',
|
4533
|
+
path_params,
|
4534
|
+
query_params,
|
4535
|
+
header_params,
|
4536
|
+
body=body_params,
|
4537
|
+
post_params=form_params,
|
4538
|
+
files=local_var_files,
|
4539
|
+
response_type='XiqDeviceStats', # noqa: E501
|
4540
|
+
auth_settings=auth_settings,
|
4541
|
+
async_req=local_var_params.get('async_req'),
|
4542
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4543
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
4544
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
4545
|
+
collection_formats=collection_formats)
|
4546
|
+
|
4547
|
+
def get_device_wifi_interface(self, id, start_time, end_time, **kwargs): # noqa: E501
|
4548
|
+
"""Get the device WiFi interfaces stats # noqa: E501
|
4549
|
+
|
4550
|
+
Get the device WiFi interfaces stats by device ID. # noqa: E501
|
4551
|
+
This method makes a synchronous HTTP request by default. To make an
|
4552
|
+
asynchronous HTTP request, please pass async_req=True
|
4553
|
+
>>> thread = api.get_device_wifi_interface(id, start_time, end_time, async_req=True)
|
4554
|
+
>>> result = thread.get()
|
4555
|
+
|
4556
|
+
:param async_req bool: execute request asynchronously
|
4557
|
+
:param int id: The device ID (required)
|
4558
|
+
:param int start_time: The start time for collecting the wifi interfaces stat (required)
|
4559
|
+
:param int end_time: The end time for collecting the wifi interfaces stat (required)
|
4560
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4561
|
+
be returned without reading/decoding response
|
4562
|
+
data. Default is True.
|
4563
|
+
:param _request_timeout: timeout setting for this request. If one
|
4564
|
+
number provided, it will be total request
|
4565
|
+
timeout. It can also be a pair (tuple) of
|
4566
|
+
(connection, read) timeouts.
|
4567
|
+
:return: list[XiqDeviceWifiInterface]
|
4568
|
+
If the method is called asynchronously,
|
4569
|
+
returns the request thread.
|
4570
|
+
"""
|
4571
|
+
kwargs['_return_http_data_only'] = True
|
4572
|
+
return self.get_device_wifi_interface_with_http_info(id, start_time, end_time, **kwargs) # noqa: E501
|
4573
|
+
|
4574
|
+
def get_device_wifi_interface_with_http_info(self, id, start_time, end_time, **kwargs): # noqa: E501
|
4575
|
+
"""Get the device WiFi interfaces stats # noqa: E501
|
4576
|
+
|
4577
|
+
Get the device WiFi interfaces stats by device ID. # noqa: E501
|
4578
|
+
This method makes a synchronous HTTP request by default. To make an
|
4579
|
+
asynchronous HTTP request, please pass async_req=True
|
4580
|
+
>>> thread = api.get_device_wifi_interface_with_http_info(id, start_time, end_time, async_req=True)
|
4581
|
+
>>> result = thread.get()
|
4582
|
+
|
4583
|
+
:param async_req bool: execute request asynchronously
|
4584
|
+
:param int id: The device ID (required)
|
4585
|
+
:param int start_time: The start time for collecting the wifi interfaces stat (required)
|
4586
|
+
:param int end_time: The end time for collecting the wifi interfaces stat (required)
|
4587
|
+
:param _return_http_data_only: response data without head status code
|
4588
|
+
and headers
|
4589
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4590
|
+
be returned without reading/decoding response
|
4591
|
+
data. Default is True.
|
4592
|
+
:param _request_timeout: timeout setting for this request. If one
|
4593
|
+
number provided, it will be total request
|
4594
|
+
timeout. It can also be a pair (tuple) of
|
4595
|
+
(connection, read) timeouts.
|
4596
|
+
:return: tuple(list[XiqDeviceWifiInterface], status_code(int), headers(HTTPHeaderDict))
|
4597
|
+
If the method is called asynchronously,
|
4598
|
+
returns the request thread.
|
4599
|
+
"""
|
4600
|
+
|
4601
|
+
local_var_params = locals()
|
4602
|
+
|
4603
|
+
all_params = [
|
4604
|
+
'id',
|
4605
|
+
'start_time',
|
4606
|
+
'end_time'
|
4607
|
+
]
|
4608
|
+
all_params.extend(
|
4609
|
+
[
|
4610
|
+
'async_req',
|
4611
|
+
'_return_http_data_only',
|
4612
|
+
'_preload_content',
|
4613
|
+
'_request_timeout'
|
4614
|
+
]
|
4615
|
+
)
|
4616
|
+
|
4617
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
4618
|
+
if key not in all_params:
|
4619
|
+
raise ApiTypeError(
|
4620
|
+
"Got an unexpected keyword argument '%s'"
|
4621
|
+
" to method get_device_wifi_interface" % key
|
4622
|
+
)
|
4623
|
+
local_var_params[key] = val
|
4624
|
+
del local_var_params['kwargs']
|
4625
|
+
# verify the required parameter 'id' is set
|
4626
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4627
|
+
local_var_params['id'] is None): # noqa: E501
|
4628
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_device_wifi_interface`") # noqa: E501
|
4629
|
+
# verify the required parameter 'start_time' is set
|
4630
|
+
if self.api_client.client_side_validation and ('start_time' not in local_var_params or # noqa: E501
|
4631
|
+
local_var_params['start_time'] is None): # noqa: E501
|
4632
|
+
raise ApiValueError("Missing the required parameter `start_time` when calling `get_device_wifi_interface`") # noqa: E501
|
4633
|
+
# verify the required parameter 'end_time' is set
|
4634
|
+
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
|
4635
|
+
local_var_params['end_time'] is None): # noqa: E501
|
4636
|
+
raise ApiValueError("Missing the required parameter `end_time` when calling `get_device_wifi_interface`") # noqa: E501
|
4637
|
+
|
4638
|
+
collection_formats = {}
|
4639
|
+
|
4640
|
+
path_params = {}
|
4641
|
+
if 'id' in local_var_params:
|
4642
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
4643
|
+
|
4644
|
+
query_params = []
|
4645
|
+
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
4646
|
+
query_params.append(('startTime', local_var_params['start_time'])) # noqa: E501
|
4647
|
+
if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
|
4648
|
+
query_params.append(('endTime', local_var_params['end_time'])) # noqa: E501
|
4649
|
+
|
4650
|
+
header_params = {}
|
4651
|
+
|
4652
|
+
form_params = []
|
4653
|
+
local_var_files = {}
|
4654
|
+
|
4655
|
+
body_params = None
|
4656
|
+
# HTTP header `Accept`
|
4657
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
4658
|
+
['application/json']) # noqa: E501
|
4659
|
+
|
4660
|
+
# Authentication setting
|
4661
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
4662
|
+
|
4663
|
+
return self.api_client.call_api(
|
4664
|
+
'/devices/{id}/interfaces/wifi', 'GET',
|
3547
4665
|
path_params,
|
3548
4666
|
query_params,
|
3549
4667
|
header_params,
|
3550
4668
|
body=body_params,
|
3551
4669
|
post_params=form_params,
|
3552
4670
|
files=local_var_files,
|
3553
|
-
response_type='
|
4671
|
+
response_type='list[XiqDeviceWifiInterface]', # noqa: E501
|
3554
4672
|
auth_settings=auth_settings,
|
3555
4673
|
async_req=local_var_params.get('async_req'),
|
3556
4674
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3558,13 +4676,13 @@ class DeviceApi(object):
|
|
3558
4676
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3559
4677
|
collection_formats=collection_formats)
|
3560
4678
|
|
3561
|
-
def
|
3562
|
-
"""Get
|
4679
|
+
def get_ftm_settings(self, id, **kwargs): # noqa: E501
|
4680
|
+
"""Get FTM Settings by device ID # noqa: E501
|
3563
4681
|
|
3564
|
-
Get
|
4682
|
+
Get FTM Settings for the specified device ID. # noqa: E501
|
3565
4683
|
This method makes a synchronous HTTP request by default. To make an
|
3566
4684
|
asynchronous HTTP request, please pass async_req=True
|
3567
|
-
>>> thread = api.
|
4685
|
+
>>> thread = api.get_ftm_settings(id, async_req=True)
|
3568
4686
|
>>> result = thread.get()
|
3569
4687
|
|
3570
4688
|
:param async_req bool: execute request asynchronously
|
@@ -3576,20 +4694,20 @@ class DeviceApi(object):
|
|
3576
4694
|
number provided, it will be total request
|
3577
4695
|
timeout. It can also be a pair (tuple) of
|
3578
4696
|
(connection, read) timeouts.
|
3579
|
-
:return:
|
4697
|
+
:return: XiqFtmSettings
|
3580
4698
|
If the method is called asynchronously,
|
3581
4699
|
returns the request thread.
|
3582
4700
|
"""
|
3583
4701
|
kwargs['_return_http_data_only'] = True
|
3584
|
-
return self.
|
4702
|
+
return self.get_ftm_settings_with_http_info(id, **kwargs) # noqa: E501
|
3585
4703
|
|
3586
|
-
def
|
3587
|
-
"""Get
|
4704
|
+
def get_ftm_settings_with_http_info(self, id, **kwargs): # noqa: E501
|
4705
|
+
"""Get FTM Settings by device ID # noqa: E501
|
3588
4706
|
|
3589
|
-
Get
|
4707
|
+
Get FTM Settings for the specified device ID. # noqa: E501
|
3590
4708
|
This method makes a synchronous HTTP request by default. To make an
|
3591
4709
|
asynchronous HTTP request, please pass async_req=True
|
3592
|
-
>>> thread = api.
|
4710
|
+
>>> thread = api.get_ftm_settings_with_http_info(id, async_req=True)
|
3593
4711
|
>>> result = thread.get()
|
3594
4712
|
|
3595
4713
|
:param async_req bool: execute request asynchronously
|
@@ -3603,7 +4721,7 @@ class DeviceApi(object):
|
|
3603
4721
|
number provided, it will be total request
|
3604
4722
|
timeout. It can also be a pair (tuple) of
|
3605
4723
|
(connection, read) timeouts.
|
3606
|
-
:return: tuple(
|
4724
|
+
:return: tuple(XiqFtmSettings, status_code(int), headers(HTTPHeaderDict))
|
3607
4725
|
If the method is called asynchronously,
|
3608
4726
|
returns the request thread.
|
3609
4727
|
"""
|
@@ -3626,14 +4744,14 @@ class DeviceApi(object):
|
|
3626
4744
|
if key not in all_params:
|
3627
4745
|
raise ApiTypeError(
|
3628
4746
|
"Got an unexpected keyword argument '%s'"
|
3629
|
-
" to method
|
4747
|
+
" to method get_ftm_settings" % key
|
3630
4748
|
)
|
3631
4749
|
local_var_params[key] = val
|
3632
4750
|
del local_var_params['kwargs']
|
3633
4751
|
# verify the required parameter 'id' is set
|
3634
4752
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3635
4753
|
local_var_params['id'] is None): # noqa: E501
|
3636
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
4754
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_ftm_settings`") # noqa: E501
|
3637
4755
|
|
3638
4756
|
collection_formats = {}
|
3639
4757
|
|
@@ -3657,14 +4775,14 @@ class DeviceApi(object):
|
|
3657
4775
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3658
4776
|
|
3659
4777
|
return self.api_client.call_api(
|
3660
|
-
'/devices/{id}/
|
4778
|
+
'/devices/{id}/ftm-settings', 'GET',
|
3661
4779
|
path_params,
|
3662
4780
|
query_params,
|
3663
4781
|
header_params,
|
3664
4782
|
body=body_params,
|
3665
4783
|
post_params=form_params,
|
3666
4784
|
files=local_var_files,
|
3667
|
-
response_type='
|
4785
|
+
response_type='XiqFtmSettings', # noqa: E501
|
3668
4786
|
auth_settings=auth_settings,
|
3669
4787
|
async_req=local_var_params.get('async_req'),
|
3670
4788
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3672,17 +4790,17 @@ class DeviceApi(object):
|
|
3672
4790
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3673
4791
|
collection_formats=collection_formats)
|
3674
4792
|
|
3675
|
-
def
|
3676
|
-
"""Get device
|
4793
|
+
def get_xiq_device_installation_report(self, id, **kwargs): # noqa: E501
|
4794
|
+
"""Get device installation report # noqa: E501
|
3677
4795
|
|
3678
|
-
Get device
|
4796
|
+
Get device installation report of a specific device. # noqa: E501
|
3679
4797
|
This method makes a synchronous HTTP request by default. To make an
|
3680
4798
|
asynchronous HTTP request, please pass async_req=True
|
3681
|
-
>>> thread = api.
|
4799
|
+
>>> thread = api.get_xiq_device_installation_report(id, async_req=True)
|
3682
4800
|
>>> result = thread.get()
|
3683
4801
|
|
3684
4802
|
:param async_req bool: execute request asynchronously
|
3685
|
-
:param int
|
4803
|
+
:param int id: The device ID (required)
|
3686
4804
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3687
4805
|
be returned without reading/decoding response
|
3688
4806
|
data. Default is True.
|
@@ -3690,24 +4808,24 @@ class DeviceApi(object):
|
|
3690
4808
|
number provided, it will be total request
|
3691
4809
|
timeout. It can also be a pair (tuple) of
|
3692
4810
|
(connection, read) timeouts.
|
3693
|
-
:return:
|
4811
|
+
:return: XiqDeviceInstallationReport
|
3694
4812
|
If the method is called asynchronously,
|
3695
4813
|
returns the request thread.
|
3696
4814
|
"""
|
3697
4815
|
kwargs['_return_http_data_only'] = True
|
3698
|
-
return self.
|
4816
|
+
return self.get_xiq_device_installation_report_with_http_info(id, **kwargs) # noqa: E501
|
3699
4817
|
|
3700
|
-
def
|
3701
|
-
"""Get device
|
4818
|
+
def get_xiq_device_installation_report_with_http_info(self, id, **kwargs): # noqa: E501
|
4819
|
+
"""Get device installation report # noqa: E501
|
3702
4820
|
|
3703
|
-
Get device
|
4821
|
+
Get device installation report of a specific device. # noqa: E501
|
3704
4822
|
This method makes a synchronous HTTP request by default. To make an
|
3705
4823
|
asynchronous HTTP request, please pass async_req=True
|
3706
|
-
>>> thread = api.
|
4824
|
+
>>> thread = api.get_xiq_device_installation_report_with_http_info(id, async_req=True)
|
3707
4825
|
>>> result = thread.get()
|
3708
4826
|
|
3709
4827
|
:param async_req bool: execute request asynchronously
|
3710
|
-
:param int
|
4828
|
+
:param int id: The device ID (required)
|
3711
4829
|
:param _return_http_data_only: response data without head status code
|
3712
4830
|
and headers
|
3713
4831
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3717,7 +4835,7 @@ class DeviceApi(object):
|
|
3717
4835
|
number provided, it will be total request
|
3718
4836
|
timeout. It can also be a pair (tuple) of
|
3719
4837
|
(connection, read) timeouts.
|
3720
|
-
:return: tuple(
|
4838
|
+
:return: tuple(XiqDeviceInstallationReport, status_code(int), headers(HTTPHeaderDict))
|
3721
4839
|
If the method is called asynchronously,
|
3722
4840
|
returns the request thread.
|
3723
4841
|
"""
|
@@ -3725,7 +4843,7 @@ class DeviceApi(object):
|
|
3725
4843
|
local_var_params = locals()
|
3726
4844
|
|
3727
4845
|
all_params = [
|
3728
|
-
'
|
4846
|
+
'id'
|
3729
4847
|
]
|
3730
4848
|
all_params.extend(
|
3731
4849
|
[
|
@@ -3740,18 +4858,22 @@ class DeviceApi(object):
|
|
3740
4858
|
if key not in all_params:
|
3741
4859
|
raise ApiTypeError(
|
3742
4860
|
"Got an unexpected keyword argument '%s'"
|
3743
|
-
" to method
|
4861
|
+
" to method get_xiq_device_installation_report" % key
|
3744
4862
|
)
|
3745
4863
|
local_var_params[key] = val
|
3746
4864
|
del local_var_params['kwargs']
|
4865
|
+
# verify the required parameter 'id' is set
|
4866
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4867
|
+
local_var_params['id'] is None): # noqa: E501
|
4868
|
+
raise ApiValueError("Missing the required parameter `id` when calling `get_xiq_device_installation_report`") # noqa: E501
|
3747
4869
|
|
3748
4870
|
collection_formats = {}
|
3749
4871
|
|
3750
4872
|
path_params = {}
|
4873
|
+
if 'id' in local_var_params:
|
4874
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
3751
4875
|
|
3752
4876
|
query_params = []
|
3753
|
-
if 'location_id' in local_var_params and local_var_params['location_id'] is not None: # noqa: E501
|
3754
|
-
query_params.append(('locationId', local_var_params['location_id'])) # noqa: E501
|
3755
4877
|
|
3756
4878
|
header_params = {}
|
3757
4879
|
|
@@ -3767,14 +4889,14 @@ class DeviceApi(object):
|
|
3767
4889
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3768
4890
|
|
3769
4891
|
return self.api_client.call_api(
|
3770
|
-
'/devices/
|
4892
|
+
'/devices/{id}/installation-report', 'GET',
|
3771
4893
|
path_params,
|
3772
4894
|
query_params,
|
3773
4895
|
header_params,
|
3774
4896
|
body=body_params,
|
3775
4897
|
post_params=form_params,
|
3776
4898
|
files=local_var_files,
|
3777
|
-
response_type='
|
4899
|
+
response_type='XiqDeviceInstallationReport', # noqa: E501
|
3778
4900
|
auth_settings=auth_settings,
|
3779
4901
|
async_req=local_var_params.get('async_req'),
|
3780
4902
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3782,19 +4904,21 @@ class DeviceApi(object):
|
|
3782
4904
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3783
4905
|
collection_formats=collection_formats)
|
3784
4906
|
|
3785
|
-
def
|
3786
|
-
"""
|
4907
|
+
def list_device_alarm(self, id, start_time, end_time, **kwargs): # noqa: E501
|
4908
|
+
"""List alarms for a device # noqa: E501
|
3787
4909
|
|
3788
|
-
|
4910
|
+
List alarms for a specific device. # noqa: E501
|
3789
4911
|
This method makes a synchronous HTTP request by default. To make an
|
3790
4912
|
asynchronous HTTP request, please pass async_req=True
|
3791
|
-
>>> thread = api.
|
4913
|
+
>>> thread = api.list_device_alarm(id, start_time, end_time, async_req=True)
|
3792
4914
|
>>> result = thread.get()
|
3793
4915
|
|
3794
4916
|
:param async_req bool: execute request asynchronously
|
3795
|
-
:param int id:
|
3796
|
-
:param int start_time: The start time for
|
3797
|
-
:param int end_time: The end time for
|
4917
|
+
:param int id: Device ID (required)
|
4918
|
+
:param int start_time: The start time for query alarm (required)
|
4919
|
+
:param int end_time: The end time for query alarm (required)
|
4920
|
+
:param int page: Page number, min = 1
|
4921
|
+
:param int limit: Page Size, min = 1, max = 100
|
3798
4922
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3799
4923
|
be returned without reading/decoding response
|
3800
4924
|
data. Default is True.
|
@@ -3802,26 +4926,28 @@ class DeviceApi(object):
|
|
3802
4926
|
number provided, it will be total request
|
3803
4927
|
timeout. It can also be a pair (tuple) of
|
3804
4928
|
(connection, read) timeouts.
|
3805
|
-
:return:
|
4929
|
+
:return: PagedXiqDeviceAlarm
|
3806
4930
|
If the method is called asynchronously,
|
3807
4931
|
returns the request thread.
|
3808
4932
|
"""
|
3809
4933
|
kwargs['_return_http_data_only'] = True
|
3810
|
-
return self.
|
4934
|
+
return self.list_device_alarm_with_http_info(id, start_time, end_time, **kwargs) # noqa: E501
|
3811
4935
|
|
3812
|
-
def
|
3813
|
-
"""
|
4936
|
+
def list_device_alarm_with_http_info(self, id, start_time, end_time, **kwargs): # noqa: E501
|
4937
|
+
"""List alarms for a device # noqa: E501
|
3814
4938
|
|
3815
|
-
|
4939
|
+
List alarms for a specific device. # noqa: E501
|
3816
4940
|
This method makes a synchronous HTTP request by default. To make an
|
3817
4941
|
asynchronous HTTP request, please pass async_req=True
|
3818
|
-
>>> thread = api.
|
4942
|
+
>>> thread = api.list_device_alarm_with_http_info(id, start_time, end_time, async_req=True)
|
3819
4943
|
>>> result = thread.get()
|
3820
4944
|
|
3821
4945
|
:param async_req bool: execute request asynchronously
|
3822
|
-
:param int id:
|
3823
|
-
:param int start_time: The start time for
|
3824
|
-
:param int end_time: The end time for
|
4946
|
+
:param int id: Device ID (required)
|
4947
|
+
:param int start_time: The start time for query alarm (required)
|
4948
|
+
:param int end_time: The end time for query alarm (required)
|
4949
|
+
:param int page: Page number, min = 1
|
4950
|
+
:param int limit: Page Size, min = 1, max = 100
|
3825
4951
|
:param _return_http_data_only: response data without head status code
|
3826
4952
|
and headers
|
3827
4953
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3831,7 +4957,7 @@ class DeviceApi(object):
|
|
3831
4957
|
number provided, it will be total request
|
3832
4958
|
timeout. It can also be a pair (tuple) of
|
3833
4959
|
(connection, read) timeouts.
|
3834
|
-
:return: tuple(
|
4960
|
+
:return: tuple(PagedXiqDeviceAlarm, status_code(int), headers(HTTPHeaderDict))
|
3835
4961
|
If the method is called asynchronously,
|
3836
4962
|
returns the request thread.
|
3837
4963
|
"""
|
@@ -3841,7 +4967,9 @@ class DeviceApi(object):
|
|
3841
4967
|
all_params = [
|
3842
4968
|
'id',
|
3843
4969
|
'start_time',
|
3844
|
-
'end_time'
|
4970
|
+
'end_time',
|
4971
|
+
'page',
|
4972
|
+
'limit'
|
3845
4973
|
]
|
3846
4974
|
all_params.extend(
|
3847
4975
|
[
|
@@ -3856,23 +4984,29 @@ class DeviceApi(object):
|
|
3856
4984
|
if key not in all_params:
|
3857
4985
|
raise ApiTypeError(
|
3858
4986
|
"Got an unexpected keyword argument '%s'"
|
3859
|
-
" to method
|
4987
|
+
" to method list_device_alarm" % key
|
3860
4988
|
)
|
3861
4989
|
local_var_params[key] = val
|
3862
4990
|
del local_var_params['kwargs']
|
3863
4991
|
# verify the required parameter 'id' is set
|
3864
4992
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3865
4993
|
local_var_params['id'] is None): # noqa: E501
|
3866
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
4994
|
+
raise ApiValueError("Missing the required parameter `id` when calling `list_device_alarm`") # noqa: E501
|
3867
4995
|
# verify the required parameter 'start_time' is set
|
3868
4996
|
if self.api_client.client_side_validation and ('start_time' not in local_var_params or # noqa: E501
|
3869
4997
|
local_var_params['start_time'] is None): # noqa: E501
|
3870
|
-
raise ApiValueError("Missing the required parameter `start_time` when calling `
|
4998
|
+
raise ApiValueError("Missing the required parameter `start_time` when calling `list_device_alarm`") # noqa: E501
|
3871
4999
|
# verify the required parameter 'end_time' is set
|
3872
5000
|
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
|
3873
5001
|
local_var_params['end_time'] is None): # noqa: E501
|
3874
|
-
raise ApiValueError("Missing the required parameter `end_time` when calling `
|
5002
|
+
raise ApiValueError("Missing the required parameter `end_time` when calling `list_device_alarm`") # noqa: E501
|
3875
5003
|
|
5004
|
+
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
5005
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_device_alarm`, must be a value greater than or equal to `1`") # noqa: E501
|
5006
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 100: # noqa: E501
|
5007
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_alarm`, must be a value less than or equal to `100`") # noqa: E501
|
5008
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
5009
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_alarm`, must be a value greater than or equal to `1`") # noqa: E501
|
3876
5010
|
collection_formats = {}
|
3877
5011
|
|
3878
5012
|
path_params = {}
|
@@ -3880,6 +5014,10 @@ class DeviceApi(object):
|
|
3880
5014
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
3881
5015
|
|
3882
5016
|
query_params = []
|
5017
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
5018
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
5019
|
+
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
5020
|
+
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
3883
5021
|
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
3884
5022
|
query_params.append(('startTime', local_var_params['start_time'])) # noqa: E501
|
3885
5023
|
if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
|
@@ -3899,14 +5037,14 @@ class DeviceApi(object):
|
|
3899
5037
|
auth_settings = ['BearerAuth'] # noqa: E501
|
3900
5038
|
|
3901
5039
|
return self.api_client.call_api(
|
3902
|
-
'/devices/{id}/
|
5040
|
+
'/devices/{id}/alarms', 'GET',
|
3903
5041
|
path_params,
|
3904
5042
|
query_params,
|
3905
5043
|
header_params,
|
3906
5044
|
body=body_params,
|
3907
5045
|
post_params=form_params,
|
3908
5046
|
files=local_var_files,
|
3909
|
-
response_type='
|
5047
|
+
response_type='PagedXiqDeviceAlarm', # noqa: E501
|
3910
5048
|
auth_settings=auth_settings,
|
3911
5049
|
async_req=local_var_params.get('async_req'),
|
3912
5050
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -3914,17 +5052,23 @@ class DeviceApi(object):
|
|
3914
5052
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3915
5053
|
collection_formats=collection_formats)
|
3916
5054
|
|
3917
|
-
def
|
3918
|
-
"""Get
|
5055
|
+
def list_device_monitor_ipv4_routing(self, id, **kwargs): # noqa: E501
|
5056
|
+
"""Get IPv4 Routing information for a device # noqa: E501
|
3919
5057
|
|
3920
|
-
Get
|
5058
|
+
Get IPv4 Routing information that is monitored for a device. # noqa: E501
|
3921
5059
|
This method makes a synchronous HTTP request by default. To make an
|
3922
5060
|
asynchronous HTTP request, please pass async_req=True
|
3923
|
-
>>> thread = api.
|
5061
|
+
>>> thread = api.list_device_monitor_ipv4_routing(id, async_req=True)
|
3924
5062
|
>>> result = thread.get()
|
3925
5063
|
|
3926
5064
|
:param async_req bool: execute request asynchronously
|
3927
|
-
:param int id:
|
5065
|
+
:param int id: Device ID (required)
|
5066
|
+
:param int page: Page number, min = 1
|
5067
|
+
:param int limit: Page Size, min = 1, max = 100
|
5068
|
+
:param XiqDeviceIpv4RoutingSortField sort_by: Sort field (DESTINATION by default)
|
5069
|
+
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
5070
|
+
:param XiqDeviceIpv4RoutingRouteOriginField route_origin: Route Origin (ALL by default)
|
5071
|
+
:param XiqDeviceIpv4RoutingStatusField status: Status (ALL by default)
|
3928
5072
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3929
5073
|
be returned without reading/decoding response
|
3930
5074
|
data. Default is True.
|
@@ -3932,24 +5076,30 @@ class DeviceApi(object):
|
|
3932
5076
|
number provided, it will be total request
|
3933
5077
|
timeout. It can also be a pair (tuple) of
|
3934
5078
|
(connection, read) timeouts.
|
3935
|
-
:return:
|
5079
|
+
:return: PagedXiqDeviceMonitorIpv4Routing
|
3936
5080
|
If the method is called asynchronously,
|
3937
5081
|
returns the request thread.
|
3938
5082
|
"""
|
3939
5083
|
kwargs['_return_http_data_only'] = True
|
3940
|
-
return self.
|
5084
|
+
return self.list_device_monitor_ipv4_routing_with_http_info(id, **kwargs) # noqa: E501
|
3941
5085
|
|
3942
|
-
def
|
3943
|
-
"""Get
|
5086
|
+
def list_device_monitor_ipv4_routing_with_http_info(self, id, **kwargs): # noqa: E501
|
5087
|
+
"""Get IPv4 Routing information for a device # noqa: E501
|
3944
5088
|
|
3945
|
-
Get
|
5089
|
+
Get IPv4 Routing information that is monitored for a device. # noqa: E501
|
3946
5090
|
This method makes a synchronous HTTP request by default. To make an
|
3947
5091
|
asynchronous HTTP request, please pass async_req=True
|
3948
|
-
>>> thread = api.
|
5092
|
+
>>> thread = api.list_device_monitor_ipv4_routing_with_http_info(id, async_req=True)
|
3949
5093
|
>>> result = thread.get()
|
3950
5094
|
|
3951
5095
|
:param async_req bool: execute request asynchronously
|
3952
|
-
:param int id:
|
5096
|
+
:param int id: Device ID (required)
|
5097
|
+
:param int page: Page number, min = 1
|
5098
|
+
:param int limit: Page Size, min = 1, max = 100
|
5099
|
+
:param XiqDeviceIpv4RoutingSortField sort_by: Sort field (DESTINATION by default)
|
5100
|
+
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
5101
|
+
:param XiqDeviceIpv4RoutingRouteOriginField route_origin: Route Origin (ALL by default)
|
5102
|
+
:param XiqDeviceIpv4RoutingStatusField status: Status (ALL by default)
|
3953
5103
|
:param _return_http_data_only: response data without head status code
|
3954
5104
|
and headers
|
3955
5105
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -3959,7 +5109,7 @@ class DeviceApi(object):
|
|
3959
5109
|
number provided, it will be total request
|
3960
5110
|
timeout. It can also be a pair (tuple) of
|
3961
5111
|
(connection, read) timeouts.
|
3962
|
-
:return: tuple(
|
5112
|
+
:return: tuple(PagedXiqDeviceMonitorIpv4Routing, status_code(int), headers(HTTPHeaderDict))
|
3963
5113
|
If the method is called asynchronously,
|
3964
5114
|
returns the request thread.
|
3965
5115
|
"""
|
@@ -3967,7 +5117,13 @@ class DeviceApi(object):
|
|
3967
5117
|
local_var_params = locals()
|
3968
5118
|
|
3969
5119
|
all_params = [
|
3970
|
-
'id'
|
5120
|
+
'id',
|
5121
|
+
'page',
|
5122
|
+
'limit',
|
5123
|
+
'sort_by',
|
5124
|
+
'sort_order',
|
5125
|
+
'route_origin',
|
5126
|
+
'status'
|
3971
5127
|
]
|
3972
5128
|
all_params.extend(
|
3973
5129
|
[
|
@@ -3982,15 +5138,21 @@ class DeviceApi(object):
|
|
3982
5138
|
if key not in all_params:
|
3983
5139
|
raise ApiTypeError(
|
3984
5140
|
"Got an unexpected keyword argument '%s'"
|
3985
|
-
" to method
|
5141
|
+
" to method list_device_monitor_ipv4_routing" % key
|
3986
5142
|
)
|
3987
5143
|
local_var_params[key] = val
|
3988
5144
|
del local_var_params['kwargs']
|
3989
5145
|
# verify the required parameter 'id' is set
|
3990
5146
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
3991
5147
|
local_var_params['id'] is None): # noqa: E501
|
3992
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
5148
|
+
raise ApiValueError("Missing the required parameter `id` when calling `list_device_monitor_ipv4_routing`") # noqa: E501
|
3993
5149
|
|
5150
|
+
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
5151
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_device_monitor_ipv4_routing`, must be a value greater than or equal to `1`") # noqa: E501
|
5152
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 100: # noqa: E501
|
5153
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_ipv4_routing`, must be a value less than or equal to `100`") # noqa: E501
|
5154
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
5155
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_ipv4_routing`, must be a value greater than or equal to `1`") # noqa: E501
|
3994
5156
|
collection_formats = {}
|
3995
5157
|
|
3996
5158
|
path_params = {}
|
@@ -3998,6 +5160,18 @@ class DeviceApi(object):
|
|
3998
5160
|
path_params['id'] = local_var_params['id'] # noqa: E501
|
3999
5161
|
|
4000
5162
|
query_params = []
|
5163
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
5164
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
5165
|
+
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
5166
|
+
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
5167
|
+
if 'sort_by' in local_var_params and local_var_params['sort_by'] is not None: # noqa: E501
|
5168
|
+
query_params.append(('sortBy', local_var_params['sort_by'])) # noqa: E501
|
5169
|
+
if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
|
5170
|
+
query_params.append(('sortOrder', local_var_params['sort_order'])) # noqa: E501
|
5171
|
+
if 'route_origin' in local_var_params and local_var_params['route_origin'] is not None: # noqa: E501
|
5172
|
+
query_params.append(('routeOrigin', local_var_params['route_origin'])) # noqa: E501
|
5173
|
+
if 'status' in local_var_params and local_var_params['status'] is not None: # noqa: E501
|
5174
|
+
query_params.append(('status', local_var_params['status'])) # noqa: E501
|
4001
5175
|
|
4002
5176
|
header_params = {}
|
4003
5177
|
|
@@ -4013,14 +5187,14 @@ class DeviceApi(object):
|
|
4013
5187
|
auth_settings = ['BearerAuth'] # noqa: E501
|
4014
5188
|
|
4015
5189
|
return self.api_client.call_api(
|
4016
|
-
'/devices/{id}/
|
5190
|
+
'/devices/{id}/monitor/ipv4-routing', 'GET',
|
4017
5191
|
path_params,
|
4018
5192
|
query_params,
|
4019
5193
|
header_params,
|
4020
5194
|
body=body_params,
|
4021
5195
|
post_params=form_params,
|
4022
5196
|
files=local_var_files,
|
4023
|
-
response_type='
|
5197
|
+
response_type='PagedXiqDeviceMonitorIpv4Routing', # noqa: E501
|
4024
5198
|
auth_settings=auth_settings,
|
4025
5199
|
async_req=local_var_params.get('async_req'),
|
4026
5200
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -4028,17 +5202,17 @@ class DeviceApi(object):
|
|
4028
5202
|
_request_timeout=local_var_params.get('_request_timeout'),
|
4029
5203
|
collection_formats=collection_formats)
|
4030
5204
|
|
4031
|
-
def
|
4032
|
-
"""Get
|
5205
|
+
def list_device_monitor_ipv4_routing_timeline(self, id, **kwargs): # noqa: E501
|
5206
|
+
"""Get IPv4 Routing Timeline information per Routing Instance for a device # noqa: E501
|
4033
5207
|
|
4034
|
-
Get
|
5208
|
+
Get IPv4 Routing Summary Timeline information per Routing Instance that is monitored for a device. # noqa: E501
|
4035
5209
|
This method makes a synchronous HTTP request by default. To make an
|
4036
5210
|
asynchronous HTTP request, please pass async_req=True
|
4037
|
-
>>> thread = api.
|
5211
|
+
>>> thread = api.list_device_monitor_ipv4_routing_timeline(id, async_req=True)
|
4038
5212
|
>>> result = thread.get()
|
4039
5213
|
|
4040
5214
|
:param async_req bool: execute request asynchronously
|
4041
|
-
:param int id:
|
5215
|
+
:param int id: Device ID (required)
|
4042
5216
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4043
5217
|
be returned without reading/decoding response
|
4044
5218
|
data. Default is True.
|
@@ -4046,24 +5220,24 @@ class DeviceApi(object):
|
|
4046
5220
|
number provided, it will be total request
|
4047
5221
|
timeout. It can also be a pair (tuple) of
|
4048
5222
|
(connection, read) timeouts.
|
4049
|
-
:return:
|
5223
|
+
:return: XiqDeviceMonitorIpv4RoutingTimeline
|
4050
5224
|
If the method is called asynchronously,
|
4051
5225
|
returns the request thread.
|
4052
5226
|
"""
|
4053
5227
|
kwargs['_return_http_data_only'] = True
|
4054
|
-
return self.
|
5228
|
+
return self.list_device_monitor_ipv4_routing_timeline_with_http_info(id, **kwargs) # noqa: E501
|
4055
5229
|
|
4056
|
-
def
|
4057
|
-
"""Get
|
5230
|
+
def list_device_monitor_ipv4_routing_timeline_with_http_info(self, id, **kwargs): # noqa: E501
|
5231
|
+
"""Get IPv4 Routing Timeline information per Routing Instance for a device # noqa: E501
|
4058
5232
|
|
4059
|
-
Get
|
5233
|
+
Get IPv4 Routing Summary Timeline information per Routing Instance that is monitored for a device. # noqa: E501
|
4060
5234
|
This method makes a synchronous HTTP request by default. To make an
|
4061
5235
|
asynchronous HTTP request, please pass async_req=True
|
4062
|
-
>>> thread = api.
|
5236
|
+
>>> thread = api.list_device_monitor_ipv4_routing_timeline_with_http_info(id, async_req=True)
|
4063
5237
|
>>> result = thread.get()
|
4064
5238
|
|
4065
5239
|
:param async_req bool: execute request asynchronously
|
4066
|
-
:param int id:
|
5240
|
+
:param int id: Device ID (required)
|
4067
5241
|
:param _return_http_data_only: response data without head status code
|
4068
5242
|
and headers
|
4069
5243
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -4073,7 +5247,7 @@ class DeviceApi(object):
|
|
4073
5247
|
number provided, it will be total request
|
4074
5248
|
timeout. It can also be a pair (tuple) of
|
4075
5249
|
(connection, read) timeouts.
|
4076
|
-
:return: tuple(
|
5250
|
+
:return: tuple(XiqDeviceMonitorIpv4RoutingTimeline, status_code(int), headers(HTTPHeaderDict))
|
4077
5251
|
If the method is called asynchronously,
|
4078
5252
|
returns the request thread.
|
4079
5253
|
"""
|
@@ -4096,14 +5270,14 @@ class DeviceApi(object):
|
|
4096
5270
|
if key not in all_params:
|
4097
5271
|
raise ApiTypeError(
|
4098
5272
|
"Got an unexpected keyword argument '%s'"
|
4099
|
-
" to method
|
5273
|
+
" to method list_device_monitor_ipv4_routing_timeline" % key
|
4100
5274
|
)
|
4101
5275
|
local_var_params[key] = val
|
4102
5276
|
del local_var_params['kwargs']
|
4103
5277
|
# verify the required parameter 'id' is set
|
4104
5278
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4105
5279
|
local_var_params['id'] is None): # noqa: E501
|
4106
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
5280
|
+
raise ApiValueError("Missing the required parameter `id` when calling `list_device_monitor_ipv4_routing_timeline`") # noqa: E501
|
4107
5281
|
|
4108
5282
|
collection_formats = {}
|
4109
5283
|
|
@@ -4127,14 +5301,14 @@ class DeviceApi(object):
|
|
4127
5301
|
auth_settings = ['BearerAuth'] # noqa: E501
|
4128
5302
|
|
4129
5303
|
return self.api_client.call_api(
|
4130
|
-
'/devices/{id}/
|
5304
|
+
'/devices/{id}/monitor/ipv4-routing-timeline', 'GET',
|
4131
5305
|
path_params,
|
4132
5306
|
query_params,
|
4133
5307
|
header_params,
|
4134
5308
|
body=body_params,
|
4135
5309
|
post_params=form_params,
|
4136
5310
|
files=local_var_files,
|
4137
|
-
response_type='
|
5311
|
+
response_type='XiqDeviceMonitorIpv4RoutingTimeline', # noqa: E501
|
4138
5312
|
auth_settings=auth_settings,
|
4139
5313
|
async_req=local_var_params.get('async_req'),
|
4140
5314
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -4142,21 +5316,21 @@ class DeviceApi(object):
|
|
4142
5316
|
_request_timeout=local_var_params.get('_request_timeout'),
|
4143
5317
|
collection_formats=collection_formats)
|
4144
5318
|
|
4145
|
-
def
|
4146
|
-
"""
|
5319
|
+
def list_device_monitor_vlan_attributes(self, id, **kwargs): # noqa: E501
|
5320
|
+
"""Get VLAN attributes per VLAN for a device # noqa: E501
|
4147
5321
|
|
4148
|
-
|
5322
|
+
Get VLAN attributes that are monitored per VLAN for a device. # noqa: E501
|
4149
5323
|
This method makes a synchronous HTTP request by default. To make an
|
4150
5324
|
asynchronous HTTP request, please pass async_req=True
|
4151
|
-
>>> thread = api.
|
5325
|
+
>>> thread = api.list_device_monitor_vlan_attributes(id, async_req=True)
|
4152
5326
|
>>> result = thread.get()
|
4153
5327
|
|
4154
5328
|
:param async_req bool: execute request asynchronously
|
4155
5329
|
:param int id: Device ID (required)
|
4156
|
-
:param int start_time: The start time for query alarm (required)
|
4157
|
-
:param int end_time: The end time for query alarm (required)
|
4158
5330
|
:param int page: Page number, min = 1
|
4159
|
-
:param int limit: Page Size, min = 1, max =
|
5331
|
+
:param int limit: Page Size, min = 1, max = 4095
|
5332
|
+
:param XiqDeviceVlanSortField sort_by: Sort field (VLAN_ID by default)
|
5333
|
+
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
4160
5334
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4161
5335
|
be returned without reading/decoding response
|
4162
5336
|
data. Default is True.
|
@@ -4164,28 +5338,28 @@ class DeviceApi(object):
|
|
4164
5338
|
number provided, it will be total request
|
4165
5339
|
timeout. It can also be a pair (tuple) of
|
4166
5340
|
(connection, read) timeouts.
|
4167
|
-
:return:
|
5341
|
+
:return: PagedXiqDeviceMonitorVlanAttributes
|
4168
5342
|
If the method is called asynchronously,
|
4169
5343
|
returns the request thread.
|
4170
5344
|
"""
|
4171
5345
|
kwargs['_return_http_data_only'] = True
|
4172
|
-
return self.
|
5346
|
+
return self.list_device_monitor_vlan_attributes_with_http_info(id, **kwargs) # noqa: E501
|
4173
5347
|
|
4174
|
-
def
|
4175
|
-
"""
|
5348
|
+
def list_device_monitor_vlan_attributes_with_http_info(self, id, **kwargs): # noqa: E501
|
5349
|
+
"""Get VLAN attributes per VLAN for a device # noqa: E501
|
4176
5350
|
|
4177
|
-
|
5351
|
+
Get VLAN attributes that are monitored per VLAN for a device. # noqa: E501
|
4178
5352
|
This method makes a synchronous HTTP request by default. To make an
|
4179
5353
|
asynchronous HTTP request, please pass async_req=True
|
4180
|
-
>>> thread = api.
|
5354
|
+
>>> thread = api.list_device_monitor_vlan_attributes_with_http_info(id, async_req=True)
|
4181
5355
|
>>> result = thread.get()
|
4182
5356
|
|
4183
5357
|
:param async_req bool: execute request asynchronously
|
4184
5358
|
:param int id: Device ID (required)
|
4185
|
-
:param int start_time: The start time for query alarm (required)
|
4186
|
-
:param int end_time: The end time for query alarm (required)
|
4187
5359
|
:param int page: Page number, min = 1
|
4188
|
-
:param int limit: Page Size, min = 1, max =
|
5360
|
+
:param int limit: Page Size, min = 1, max = 4095
|
5361
|
+
:param XiqDeviceVlanSortField sort_by: Sort field (VLAN_ID by default)
|
5362
|
+
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
4189
5363
|
:param _return_http_data_only: response data without head status code
|
4190
5364
|
and headers
|
4191
5365
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -4195,7 +5369,7 @@ class DeviceApi(object):
|
|
4195
5369
|
number provided, it will be total request
|
4196
5370
|
timeout. It can also be a pair (tuple) of
|
4197
5371
|
(connection, read) timeouts.
|
4198
|
-
:return: tuple(
|
5372
|
+
:return: tuple(PagedXiqDeviceMonitorVlanAttributes, status_code(int), headers(HTTPHeaderDict))
|
4199
5373
|
If the method is called asynchronously,
|
4200
5374
|
returns the request thread.
|
4201
5375
|
"""
|
@@ -4204,10 +5378,10 @@ class DeviceApi(object):
|
|
4204
5378
|
|
4205
5379
|
all_params = [
|
4206
5380
|
'id',
|
4207
|
-
'start_time',
|
4208
|
-
'end_time',
|
4209
5381
|
'page',
|
4210
|
-
'limit'
|
5382
|
+
'limit',
|
5383
|
+
'sort_by',
|
5384
|
+
'sort_order'
|
4211
5385
|
]
|
4212
5386
|
all_params.extend(
|
4213
5387
|
[
|
@@ -4222,29 +5396,21 @@ class DeviceApi(object):
|
|
4222
5396
|
if key not in all_params:
|
4223
5397
|
raise ApiTypeError(
|
4224
5398
|
"Got an unexpected keyword argument '%s'"
|
4225
|
-
" to method
|
4226
|
-
)
|
4227
|
-
local_var_params[key] = val
|
4228
|
-
del local_var_params['kwargs']
|
4229
|
-
# verify the required parameter 'id' is set
|
4230
|
-
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4231
|
-
local_var_params['id'] is None): # noqa: E501
|
4232
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
4233
|
-
# verify the required parameter 'start_time' is set
|
4234
|
-
if self.api_client.client_side_validation and ('start_time' not in local_var_params or # noqa: E501
|
4235
|
-
local_var_params['start_time'] is None): # noqa: E501
|
4236
|
-
raise ApiValueError("Missing the required parameter `start_time` when calling `list_device_alarm`") # noqa: E501
|
4237
|
-
# verify the required parameter 'end_time' is set
|
4238
|
-
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
|
4239
|
-
local_var_params['end_time'] is None): # noqa: E501
|
4240
|
-
raise ApiValueError("Missing the required parameter `end_time` when calling `list_device_alarm`") # noqa: E501
|
5399
|
+
" to method list_device_monitor_vlan_attributes" % key
|
5400
|
+
)
|
5401
|
+
local_var_params[key] = val
|
5402
|
+
del local_var_params['kwargs']
|
5403
|
+
# verify the required parameter 'id' is set
|
5404
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
5405
|
+
local_var_params['id'] is None): # noqa: E501
|
5406
|
+
raise ApiValueError("Missing the required parameter `id` when calling `list_device_monitor_vlan_attributes`") # noqa: E501
|
4241
5407
|
|
4242
5408
|
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
4243
|
-
raise ApiValueError("Invalid value for parameter `page` when calling `
|
4244
|
-
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] >
|
4245
|
-
raise ApiValueError("Invalid value for parameter `limit` when calling `
|
5409
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_device_monitor_vlan_attributes`, must be a value greater than or equal to `1`") # noqa: E501
|
5410
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 4095: # noqa: E501
|
5411
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_vlan_attributes`, must be a value less than or equal to `4095`") # noqa: E501
|
4246
5412
|
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
4247
|
-
raise ApiValueError("Invalid value for parameter `limit` when calling `
|
5413
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_vlan_attributes`, must be a value greater than or equal to `1`") # noqa: E501
|
4248
5414
|
collection_formats = {}
|
4249
5415
|
|
4250
5416
|
path_params = {}
|
@@ -4256,10 +5422,10 @@ class DeviceApi(object):
|
|
4256
5422
|
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
4257
5423
|
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
4258
5424
|
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
4259
|
-
if '
|
4260
|
-
query_params.append(('
|
4261
|
-
if '
|
4262
|
-
query_params.append(('
|
5425
|
+
if 'sort_by' in local_var_params and local_var_params['sort_by'] is not None: # noqa: E501
|
5426
|
+
query_params.append(('sortBy', local_var_params['sort_by'])) # noqa: E501
|
5427
|
+
if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
|
5428
|
+
query_params.append(('sortOrder', local_var_params['sort_order'])) # noqa: E501
|
4263
5429
|
|
4264
5430
|
header_params = {}
|
4265
5431
|
|
@@ -4275,14 +5441,14 @@ class DeviceApi(object):
|
|
4275
5441
|
auth_settings = ['BearerAuth'] # noqa: E501
|
4276
5442
|
|
4277
5443
|
return self.api_client.call_api(
|
4278
|
-
'/devices/{id}/
|
5444
|
+
'/devices/{id}/monitor/vlan-attr', 'GET',
|
4279
5445
|
path_params,
|
4280
5446
|
query_params,
|
4281
5447
|
header_params,
|
4282
5448
|
body=body_params,
|
4283
5449
|
post_params=form_params,
|
4284
5450
|
files=local_var_files,
|
4285
|
-
response_type='
|
5451
|
+
response_type='PagedXiqDeviceMonitorVlanAttributes', # noqa: E501
|
4286
5452
|
auth_settings=auth_settings,
|
4287
5453
|
async_req=local_var_params.get('async_req'),
|
4288
5454
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -4290,20 +5456,20 @@ class DeviceApi(object):
|
|
4290
5456
|
_request_timeout=local_var_params.get('_request_timeout'),
|
4291
5457
|
collection_formats=collection_formats)
|
4292
5458
|
|
4293
|
-
def
|
4294
|
-
"""Get VLAN
|
5459
|
+
def list_device_monitor_vlan_ipv4_interfaces(self, id, **kwargs): # noqa: E501
|
5460
|
+
"""Get VLAN IPv4 Interfaces per VLAN for a device # noqa: E501
|
4295
5461
|
|
4296
|
-
Get VLAN
|
5462
|
+
Get VLAN IPv4 Interfaces that are monitored per VLAN for a device. # noqa: E501
|
4297
5463
|
This method makes a synchronous HTTP request by default. To make an
|
4298
5464
|
asynchronous HTTP request, please pass async_req=True
|
4299
|
-
>>> thread = api.
|
5465
|
+
>>> thread = api.list_device_monitor_vlan_ipv4_interfaces(id, async_req=True)
|
4300
5466
|
>>> result = thread.get()
|
4301
5467
|
|
4302
5468
|
:param async_req bool: execute request asynchronously
|
4303
5469
|
:param int id: Device ID (required)
|
4304
5470
|
:param int page: Page number, min = 1
|
4305
|
-
:param int limit: Page Size, min = 1, max =
|
4306
|
-
:param
|
5471
|
+
:param int limit: Page Size, min = 1, max = 2048
|
5472
|
+
:param XiqDeviceVlanIpv4InterfacesSortField sort_by: Sort field (VLAN_ID by default)
|
4307
5473
|
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
4308
5474
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4309
5475
|
be returned without reading/decoding response
|
@@ -4312,27 +5478,27 @@ class DeviceApi(object):
|
|
4312
5478
|
number provided, it will be total request
|
4313
5479
|
timeout. It can also be a pair (tuple) of
|
4314
5480
|
(connection, read) timeouts.
|
4315
|
-
:return:
|
5481
|
+
:return: PagedXiqDeviceMonitorVlanIpv4Interfaces
|
4316
5482
|
If the method is called asynchronously,
|
4317
5483
|
returns the request thread.
|
4318
5484
|
"""
|
4319
5485
|
kwargs['_return_http_data_only'] = True
|
4320
|
-
return self.
|
5486
|
+
return self.list_device_monitor_vlan_ipv4_interfaces_with_http_info(id, **kwargs) # noqa: E501
|
4321
5487
|
|
4322
|
-
def
|
4323
|
-
"""Get VLAN
|
5488
|
+
def list_device_monitor_vlan_ipv4_interfaces_with_http_info(self, id, **kwargs): # noqa: E501
|
5489
|
+
"""Get VLAN IPv4 Interfaces per VLAN for a device # noqa: E501
|
4324
5490
|
|
4325
|
-
Get VLAN
|
5491
|
+
Get VLAN IPv4 Interfaces that are monitored per VLAN for a device. # noqa: E501
|
4326
5492
|
This method makes a synchronous HTTP request by default. To make an
|
4327
5493
|
asynchronous HTTP request, please pass async_req=True
|
4328
|
-
>>> thread = api.
|
5494
|
+
>>> thread = api.list_device_monitor_vlan_ipv4_interfaces_with_http_info(id, async_req=True)
|
4329
5495
|
>>> result = thread.get()
|
4330
5496
|
|
4331
5497
|
:param async_req bool: execute request asynchronously
|
4332
5498
|
:param int id: Device ID (required)
|
4333
5499
|
:param int page: Page number, min = 1
|
4334
|
-
:param int limit: Page Size, min = 1, max =
|
4335
|
-
:param
|
5500
|
+
:param int limit: Page Size, min = 1, max = 2048
|
5501
|
+
:param XiqDeviceVlanIpv4InterfacesSortField sort_by: Sort field (VLAN_ID by default)
|
4336
5502
|
:param XiqSortOrder sort_order: Sort order (Ascending by default)
|
4337
5503
|
:param _return_http_data_only: response data without head status code
|
4338
5504
|
and headers
|
@@ -4343,7 +5509,7 @@ class DeviceApi(object):
|
|
4343
5509
|
number provided, it will be total request
|
4344
5510
|
timeout. It can also be a pair (tuple) of
|
4345
5511
|
(connection, read) timeouts.
|
4346
|
-
:return: tuple(
|
5512
|
+
:return: tuple(PagedXiqDeviceMonitorVlanIpv4Interfaces, status_code(int), headers(HTTPHeaderDict))
|
4347
5513
|
If the method is called asynchronously,
|
4348
5514
|
returns the request thread.
|
4349
5515
|
"""
|
@@ -4370,21 +5536,21 @@ class DeviceApi(object):
|
|
4370
5536
|
if key not in all_params:
|
4371
5537
|
raise ApiTypeError(
|
4372
5538
|
"Got an unexpected keyword argument '%s'"
|
4373
|
-
" to method
|
5539
|
+
" to method list_device_monitor_vlan_ipv4_interfaces" % key
|
4374
5540
|
)
|
4375
5541
|
local_var_params[key] = val
|
4376
5542
|
del local_var_params['kwargs']
|
4377
5543
|
# verify the required parameter 'id' is set
|
4378
5544
|
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
4379
5545
|
local_var_params['id'] is None): # noqa: E501
|
4380
|
-
raise ApiValueError("Missing the required parameter `id` when calling `
|
5546
|
+
raise ApiValueError("Missing the required parameter `id` when calling `list_device_monitor_vlan_ipv4_interfaces`") # noqa: E501
|
4381
5547
|
|
4382
5548
|
if self.api_client.client_side_validation and 'page' in local_var_params and local_var_params['page'] < 1: # noqa: E501
|
4383
|
-
raise ApiValueError("Invalid value for parameter `page` when calling `
|
4384
|
-
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] >
|
4385
|
-
raise ApiValueError("Invalid value for parameter `limit` when calling `
|
5549
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_device_monitor_vlan_ipv4_interfaces`, must be a value greater than or equal to `1`") # noqa: E501
|
5550
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 2048: # noqa: E501
|
5551
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_vlan_ipv4_interfaces`, must be a value less than or equal to `2048`") # noqa: E501
|
4386
5552
|
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
4387
|
-
raise ApiValueError("Invalid value for parameter `limit` when calling `
|
5553
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_device_monitor_vlan_ipv4_interfaces`, must be a value greater than or equal to `1`") # noqa: E501
|
4388
5554
|
collection_formats = {}
|
4389
5555
|
|
4390
5556
|
path_params = {}
|
@@ -4415,14 +5581,14 @@ class DeviceApi(object):
|
|
4415
5581
|
auth_settings = ['BearerAuth'] # noqa: E501
|
4416
5582
|
|
4417
5583
|
return self.api_client.call_api(
|
4418
|
-
'/devices/{id}/monitor/vlan-
|
5584
|
+
'/devices/{id}/monitor/vlan-ipv4-intf', 'GET',
|
4419
5585
|
path_params,
|
4420
5586
|
query_params,
|
4421
5587
|
header_params,
|
4422
5588
|
body=body_params,
|
4423
5589
|
post_params=form_params,
|
4424
5590
|
files=local_var_files,
|
4425
|
-
response_type='
|
5591
|
+
response_type='PagedXiqDeviceMonitorVlanIpv4Interfaces', # noqa: E501
|
4426
5592
|
auth_settings=auth_settings,
|
4427
5593
|
async_req=local_var_params.get('async_req'),
|
4428
5594
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -7078,6 +8244,278 @@ class DeviceApi(object):
|
|
7078
8244
|
_request_timeout=local_var_params.get('_request_timeout'),
|
7079
8245
|
collection_formats=collection_formats)
|
7080
8246
|
|
8247
|
+
def update_device_ipv4_interface(self, id, ipv4_interface_id, xiq_device_update_configure_ipv4_interface, **kwargs): # noqa: E501
|
8248
|
+
"""Update an IPv4 Interface for a device # noqa: E501
|
8249
|
+
|
8250
|
+
Update the IPv4 Interface for a specific device. # noqa: E501
|
8251
|
+
This method makes a synchronous HTTP request by default. To make an
|
8252
|
+
asynchronous HTTP request, please pass async_req=True
|
8253
|
+
>>> thread = api.update_device_ipv4_interface(id, ipv4_interface_id, xiq_device_update_configure_ipv4_interface, async_req=True)
|
8254
|
+
>>> result = thread.get()
|
8255
|
+
|
8256
|
+
:param async_req bool: execute request asynchronously
|
8257
|
+
:param int id: Device ID (required)
|
8258
|
+
:param int ipv4_interface_id: IPv4 Interface ID of the entry to be changed (required)
|
8259
|
+
:param XiqDeviceUpdateConfigureIpv4Interface xiq_device_update_configure_ipv4_interface: The payload to create a new IPv4 Interface attribute (required)
|
8260
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8261
|
+
be returned without reading/decoding response
|
8262
|
+
data. Default is True.
|
8263
|
+
:param _request_timeout: timeout setting for this request. If one
|
8264
|
+
number provided, it will be total request
|
8265
|
+
timeout. It can also be a pair (tuple) of
|
8266
|
+
(connection, read) timeouts.
|
8267
|
+
:return: XiqDeviceConfigureIpv4InterfaceResponse
|
8268
|
+
If the method is called asynchronously,
|
8269
|
+
returns the request thread.
|
8270
|
+
"""
|
8271
|
+
kwargs['_return_http_data_only'] = True
|
8272
|
+
return self.update_device_ipv4_interface_with_http_info(id, ipv4_interface_id, xiq_device_update_configure_ipv4_interface, **kwargs) # noqa: E501
|
8273
|
+
|
8274
|
+
def update_device_ipv4_interface_with_http_info(self, id, ipv4_interface_id, xiq_device_update_configure_ipv4_interface, **kwargs): # noqa: E501
|
8275
|
+
"""Update an IPv4 Interface for a device # noqa: E501
|
8276
|
+
|
8277
|
+
Update the IPv4 Interface for a specific device. # noqa: E501
|
8278
|
+
This method makes a synchronous HTTP request by default. To make an
|
8279
|
+
asynchronous HTTP request, please pass async_req=True
|
8280
|
+
>>> thread = api.update_device_ipv4_interface_with_http_info(id, ipv4_interface_id, xiq_device_update_configure_ipv4_interface, async_req=True)
|
8281
|
+
>>> result = thread.get()
|
8282
|
+
|
8283
|
+
:param async_req bool: execute request asynchronously
|
8284
|
+
:param int id: Device ID (required)
|
8285
|
+
:param int ipv4_interface_id: IPv4 Interface ID of the entry to be changed (required)
|
8286
|
+
:param XiqDeviceUpdateConfigureIpv4Interface xiq_device_update_configure_ipv4_interface: The payload to create a new IPv4 Interface attribute (required)
|
8287
|
+
:param _return_http_data_only: response data without head status code
|
8288
|
+
and headers
|
8289
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8290
|
+
be returned without reading/decoding response
|
8291
|
+
data. Default is True.
|
8292
|
+
:param _request_timeout: timeout setting for this request. If one
|
8293
|
+
number provided, it will be total request
|
8294
|
+
timeout. It can also be a pair (tuple) of
|
8295
|
+
(connection, read) timeouts.
|
8296
|
+
:return: tuple(XiqDeviceConfigureIpv4InterfaceResponse, status_code(int), headers(HTTPHeaderDict))
|
8297
|
+
If the method is called asynchronously,
|
8298
|
+
returns the request thread.
|
8299
|
+
"""
|
8300
|
+
|
8301
|
+
local_var_params = locals()
|
8302
|
+
|
8303
|
+
all_params = [
|
8304
|
+
'id',
|
8305
|
+
'ipv4_interface_id',
|
8306
|
+
'xiq_device_update_configure_ipv4_interface'
|
8307
|
+
]
|
8308
|
+
all_params.extend(
|
8309
|
+
[
|
8310
|
+
'async_req',
|
8311
|
+
'_return_http_data_only',
|
8312
|
+
'_preload_content',
|
8313
|
+
'_request_timeout'
|
8314
|
+
]
|
8315
|
+
)
|
8316
|
+
|
8317
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
8318
|
+
if key not in all_params:
|
8319
|
+
raise ApiTypeError(
|
8320
|
+
"Got an unexpected keyword argument '%s'"
|
8321
|
+
" to method update_device_ipv4_interface" % key
|
8322
|
+
)
|
8323
|
+
local_var_params[key] = val
|
8324
|
+
del local_var_params['kwargs']
|
8325
|
+
# verify the required parameter 'id' is set
|
8326
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
8327
|
+
local_var_params['id'] is None): # noqa: E501
|
8328
|
+
raise ApiValueError("Missing the required parameter `id` when calling `update_device_ipv4_interface`") # noqa: E501
|
8329
|
+
# verify the required parameter 'ipv4_interface_id' is set
|
8330
|
+
if self.api_client.client_side_validation and ('ipv4_interface_id' not in local_var_params or # noqa: E501
|
8331
|
+
local_var_params['ipv4_interface_id'] is None): # noqa: E501
|
8332
|
+
raise ApiValueError("Missing the required parameter `ipv4_interface_id` when calling `update_device_ipv4_interface`") # noqa: E501
|
8333
|
+
# verify the required parameter 'xiq_device_update_configure_ipv4_interface' is set
|
8334
|
+
if self.api_client.client_side_validation and ('xiq_device_update_configure_ipv4_interface' not in local_var_params or # noqa: E501
|
8335
|
+
local_var_params['xiq_device_update_configure_ipv4_interface'] is None): # noqa: E501
|
8336
|
+
raise ApiValueError("Missing the required parameter `xiq_device_update_configure_ipv4_interface` when calling `update_device_ipv4_interface`") # noqa: E501
|
8337
|
+
|
8338
|
+
collection_formats = {}
|
8339
|
+
|
8340
|
+
path_params = {}
|
8341
|
+
if 'id' in local_var_params:
|
8342
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
8343
|
+
if 'ipv4_interface_id' in local_var_params:
|
8344
|
+
path_params['ipv4InterfaceId'] = local_var_params['ipv4_interface_id'] # noqa: E501
|
8345
|
+
|
8346
|
+
query_params = []
|
8347
|
+
|
8348
|
+
header_params = {}
|
8349
|
+
|
8350
|
+
form_params = []
|
8351
|
+
local_var_files = {}
|
8352
|
+
|
8353
|
+
body_params = None
|
8354
|
+
if 'xiq_device_update_configure_ipv4_interface' in local_var_params:
|
8355
|
+
body_params = local_var_params['xiq_device_update_configure_ipv4_interface']
|
8356
|
+
# HTTP header `Accept`
|
8357
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
8358
|
+
['application/json']) # noqa: E501
|
8359
|
+
|
8360
|
+
# HTTP header `Content-Type`
|
8361
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
8362
|
+
['application/json']) # noqa: E501
|
8363
|
+
|
8364
|
+
# Authentication setting
|
8365
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
8366
|
+
|
8367
|
+
return self.api_client.call_api(
|
8368
|
+
'/devices/{id}/config/vlan-ipv4-intf/{ipv4InterfaceId}', 'PATCH',
|
8369
|
+
path_params,
|
8370
|
+
query_params,
|
8371
|
+
header_params,
|
8372
|
+
body=body_params,
|
8373
|
+
post_params=form_params,
|
8374
|
+
files=local_var_files,
|
8375
|
+
response_type='XiqDeviceConfigureIpv4InterfaceResponse', # noqa: E501
|
8376
|
+
auth_settings=auth_settings,
|
8377
|
+
async_req=local_var_params.get('async_req'),
|
8378
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
8379
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
8380
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
8381
|
+
collection_formats=collection_formats)
|
8382
|
+
|
8383
|
+
def update_device_ipv4_static_route(self, id, ipv4_static_route_id, xiq_device_update_configure_ipv4_static_route, **kwargs): # noqa: E501
|
8384
|
+
"""Update an IPv4 Static Route for a device # noqa: E501
|
8385
|
+
|
8386
|
+
Update the IPv4 Static Route for a specific device. # noqa: E501
|
8387
|
+
This method makes a synchronous HTTP request by default. To make an
|
8388
|
+
asynchronous HTTP request, please pass async_req=True
|
8389
|
+
>>> thread = api.update_device_ipv4_static_route(id, ipv4_static_route_id, xiq_device_update_configure_ipv4_static_route, async_req=True)
|
8390
|
+
>>> result = thread.get()
|
8391
|
+
|
8392
|
+
:param async_req bool: execute request asynchronously
|
8393
|
+
:param int id: Device ID (required)
|
8394
|
+
:param int ipv4_static_route_id: IPv4 Static Route ID of the entry to be changed (required)
|
8395
|
+
:param XiqDeviceUpdateConfigureIpv4StaticRoute xiq_device_update_configure_ipv4_static_route: The payload to create a new IPv4 Static Route attribute (required)
|
8396
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8397
|
+
be returned without reading/decoding response
|
8398
|
+
data. Default is True.
|
8399
|
+
:param _request_timeout: timeout setting for this request. If one
|
8400
|
+
number provided, it will be total request
|
8401
|
+
timeout. It can also be a pair (tuple) of
|
8402
|
+
(connection, read) timeouts.
|
8403
|
+
:return: XiqDeviceUpdateConfigureIpv4StaticRoute
|
8404
|
+
If the method is called asynchronously,
|
8405
|
+
returns the request thread.
|
8406
|
+
"""
|
8407
|
+
kwargs['_return_http_data_only'] = True
|
8408
|
+
return self.update_device_ipv4_static_route_with_http_info(id, ipv4_static_route_id, xiq_device_update_configure_ipv4_static_route, **kwargs) # noqa: E501
|
8409
|
+
|
8410
|
+
def update_device_ipv4_static_route_with_http_info(self, id, ipv4_static_route_id, xiq_device_update_configure_ipv4_static_route, **kwargs): # noqa: E501
|
8411
|
+
"""Update an IPv4 Static Route for a device # noqa: E501
|
8412
|
+
|
8413
|
+
Update the IPv4 Static Route for a specific device. # noqa: E501
|
8414
|
+
This method makes a synchronous HTTP request by default. To make an
|
8415
|
+
asynchronous HTTP request, please pass async_req=True
|
8416
|
+
>>> thread = api.update_device_ipv4_static_route_with_http_info(id, ipv4_static_route_id, xiq_device_update_configure_ipv4_static_route, async_req=True)
|
8417
|
+
>>> result = thread.get()
|
8418
|
+
|
8419
|
+
:param async_req bool: execute request asynchronously
|
8420
|
+
:param int id: Device ID (required)
|
8421
|
+
:param int ipv4_static_route_id: IPv4 Static Route ID of the entry to be changed (required)
|
8422
|
+
:param XiqDeviceUpdateConfigureIpv4StaticRoute xiq_device_update_configure_ipv4_static_route: The payload to create a new IPv4 Static Route attribute (required)
|
8423
|
+
:param _return_http_data_only: response data without head status code
|
8424
|
+
and headers
|
8425
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8426
|
+
be returned without reading/decoding response
|
8427
|
+
data. Default is True.
|
8428
|
+
:param _request_timeout: timeout setting for this request. If one
|
8429
|
+
number provided, it will be total request
|
8430
|
+
timeout. It can also be a pair (tuple) of
|
8431
|
+
(connection, read) timeouts.
|
8432
|
+
:return: tuple(XiqDeviceUpdateConfigureIpv4StaticRoute, status_code(int), headers(HTTPHeaderDict))
|
8433
|
+
If the method is called asynchronously,
|
8434
|
+
returns the request thread.
|
8435
|
+
"""
|
8436
|
+
|
8437
|
+
local_var_params = locals()
|
8438
|
+
|
8439
|
+
all_params = [
|
8440
|
+
'id',
|
8441
|
+
'ipv4_static_route_id',
|
8442
|
+
'xiq_device_update_configure_ipv4_static_route'
|
8443
|
+
]
|
8444
|
+
all_params.extend(
|
8445
|
+
[
|
8446
|
+
'async_req',
|
8447
|
+
'_return_http_data_only',
|
8448
|
+
'_preload_content',
|
8449
|
+
'_request_timeout'
|
8450
|
+
]
|
8451
|
+
)
|
8452
|
+
|
8453
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
8454
|
+
if key not in all_params:
|
8455
|
+
raise ApiTypeError(
|
8456
|
+
"Got an unexpected keyword argument '%s'"
|
8457
|
+
" to method update_device_ipv4_static_route" % key
|
8458
|
+
)
|
8459
|
+
local_var_params[key] = val
|
8460
|
+
del local_var_params['kwargs']
|
8461
|
+
# verify the required parameter 'id' is set
|
8462
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
8463
|
+
local_var_params['id'] is None): # noqa: E501
|
8464
|
+
raise ApiValueError("Missing the required parameter `id` when calling `update_device_ipv4_static_route`") # noqa: E501
|
8465
|
+
# verify the required parameter 'ipv4_static_route_id' is set
|
8466
|
+
if self.api_client.client_side_validation and ('ipv4_static_route_id' not in local_var_params or # noqa: E501
|
8467
|
+
local_var_params['ipv4_static_route_id'] is None): # noqa: E501
|
8468
|
+
raise ApiValueError("Missing the required parameter `ipv4_static_route_id` when calling `update_device_ipv4_static_route`") # noqa: E501
|
8469
|
+
# verify the required parameter 'xiq_device_update_configure_ipv4_static_route' is set
|
8470
|
+
if self.api_client.client_side_validation and ('xiq_device_update_configure_ipv4_static_route' not in local_var_params or # noqa: E501
|
8471
|
+
local_var_params['xiq_device_update_configure_ipv4_static_route'] is None): # noqa: E501
|
8472
|
+
raise ApiValueError("Missing the required parameter `xiq_device_update_configure_ipv4_static_route` when calling `update_device_ipv4_static_route`") # noqa: E501
|
8473
|
+
|
8474
|
+
collection_formats = {}
|
8475
|
+
|
8476
|
+
path_params = {}
|
8477
|
+
if 'id' in local_var_params:
|
8478
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
8479
|
+
if 'ipv4_static_route_id' in local_var_params:
|
8480
|
+
path_params['ipv4StaticRouteId'] = local_var_params['ipv4_static_route_id'] # noqa: E501
|
8481
|
+
|
8482
|
+
query_params = []
|
8483
|
+
|
8484
|
+
header_params = {}
|
8485
|
+
|
8486
|
+
form_params = []
|
8487
|
+
local_var_files = {}
|
8488
|
+
|
8489
|
+
body_params = None
|
8490
|
+
if 'xiq_device_update_configure_ipv4_static_route' in local_var_params:
|
8491
|
+
body_params = local_var_params['xiq_device_update_configure_ipv4_static_route']
|
8492
|
+
# HTTP header `Accept`
|
8493
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
8494
|
+
['application/json']) # noqa: E501
|
8495
|
+
|
8496
|
+
# HTTP header `Content-Type`
|
8497
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
8498
|
+
['application/json']) # noqa: E501
|
8499
|
+
|
8500
|
+
# Authentication setting
|
8501
|
+
auth_settings = ['BearerAuth'] # noqa: E501
|
8502
|
+
|
8503
|
+
return self.api_client.call_api(
|
8504
|
+
'/devices/{id}/config/vlan-ipv4-static/{ipv4StaticRouteId}', 'PATCH',
|
8505
|
+
path_params,
|
8506
|
+
query_params,
|
8507
|
+
header_params,
|
8508
|
+
body=body_params,
|
8509
|
+
post_params=form_params,
|
8510
|
+
files=local_var_files,
|
8511
|
+
response_type='XiqDeviceUpdateConfigureIpv4StaticRoute', # noqa: E501
|
8512
|
+
auth_settings=auth_settings,
|
8513
|
+
async_req=local_var_params.get('async_req'),
|
8514
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
8515
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
8516
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
8517
|
+
collection_formats=collection_formats)
|
8518
|
+
|
7081
8519
|
def update_device_vlan_attributes(self, id, vlan_id, xiq_device_update_vlan_attributes, **kwargs): # noqa: E501
|
7082
8520
|
"""Change vlan attributes # noqa: E501
|
7083
8521
|
|