From 358a918299e76af7332c6ba3ec5da1117f3214e9 Mon Sep 17 00:00:00 2001 From: Agustinus Tegawinata Date: Tue, 27 Nov 2018 11:02:22 -0800 Subject: [PATCH] 1.0.9-260 --- README.md | 204 +++- intersight/__init__.py | 122 ++- intersight/api_client.py | 2 +- intersight/apis/__init__.py | 22 +- intersight/apis/aaa_audit_record_api.py | 8 +- .../apis/adapter_ext_eth_interface_api.py | 8 +- .../apis/adapter_host_eth_interface_api.py | 8 +- .../apis/adapter_host_fc_interface_api.py | 8 +- .../apis/adapter_host_iscsi_interface_api.py | 8 +- intersight/apis/adapter_unit_api.py | 8 +- intersight/apis/asset_cluster_member_api.py | 8 +- intersight/apis/asset_device_claim_api.py | 2 +- .../apis/asset_device_configuration_api.py | 8 +- .../apis/asset_device_registration_api.py | 8 +- intersight/apis/bios_policy_api.py | 8 +- intersight/apis/bios_unit_api.py | 8 +- intersight/apis/boot_precision_policy_api.py | 8 +- intersight/apis/compute_blade_api.py | 8 +- intersight/apis/compute_board_api.py | 8 +- .../apis/compute_physical_summary_api.py | 8 +- intersight/apis/compute_rack_unit_api.py | 8 +- intersight/apis/compute_server_setting_api.py | 8 +- intersight/apis/cond_alarm_api.py | 8 +- intersight/apis/cond_hcl_status_api.py | 8 +- intersight/apis/cond_hcl_status_detail_api.py | 8 +- intersight/apis/cond_hcl_status_job_api.py | 8 +- intersight/apis/crypt_encryption_token_api.py | 8 +- intersight/apis/cvd_deployment_task_api.py | 712 ++++++++++++++ intersight/apis/cvd_template_api.py | 712 ++++++++++++++ intersight/apis/cvd_validation_task_api.py | 712 ++++++++++++++ intersight/apis/deviceconnector_policy_api.py | 712 ++++++++++++++ .../apis/deviceinfo_serial_number_info_api.py | 8 +- intersight/apis/equipment_chassis_api.py | 8 +- .../apis/equipment_device_summary_api.py | 8 +- intersight/apis/equipment_fan_api.py | 8 +- intersight/apis/equipment_fan_module_api.py | 8 +- intersight/apis/equipment_fex_api.py | 8 +- intersight/apis/equipment_io_card_api.py | 8 +- intersight/apis/equipment_io_expander_api.py | 504 ++++++++++ intersight/apis/equipment_locator_led_api.py | 8 +- intersight/apis/equipment_psu_api.py | 8 +- .../apis/equipment_rack_enclosure_api.py | 504 ++++++++++ .../apis/equipment_rack_enclosure_slot_api.py | 504 ++++++++++ intersight/apis/equipment_switch_card_api.py | 8 +- .../equipment_system_io_controller_api.py | 8 +- intersight/apis/equipment_tpm_api.py | 504 ++++++++++ intersight/apis/ether_physical_port_api.py | 8 +- intersight/apis/fault_instance_api.py | 8 +- intersight/apis/fc_physical_port_api.py | 8 +- intersight/apis/feedback_feedback_post_api.py | 2 +- intersight/apis/firmware_distributable_api.py | 8 +- intersight/apis/firmware_eula_api.py | 8 +- .../apis/firmware_running_firmware_api.py | 8 +- intersight/apis/firmware_upgrade_api.py | 8 +- .../apis/firmware_upgrade_status_api.py | 8 +- intersight/apis/graphics_card_api.py | 8 +- intersight/apis/graphics_controller_api.py | 8 +- .../apis/hcl_compatibility_status_api.py | 2 +- intersight/apis/hcl_driver_image_api.py | 282 ++++++ intersight/apis/hcl_operating_system_api.py | 282 ++++++ .../apis/hcl_operating_system_vendor_api.py | 282 ++++++ intersight/apis/hcl_service_status_api.py | 8 +- .../apis/hcl_supported_driver_name_api.py | 2 +- intersight/apis/hyperflex_alarm_api.py | 216 +---- intersight/apis/hyperflex_app_catalog_api.py | 8 +- .../apis/hyperflex_auto_support_policy_api.py | 8 +- intersight/apis/hyperflex_cluster_api.py | 334 +------ .../hyperflex_cluster_network_policy_api.py | 8 +- .../apis/hyperflex_cluster_profile_api.py | 8 +- .../hyperflex_cluster_storage_policy_api.py | 8 +- .../apis/hyperflex_config_result_api.py | 8 +- .../apis/hyperflex_config_result_entry_api.py | 8 +- .../hyperflex_ext_fc_storage_policy_api.py | 8 +- .../hyperflex_ext_iscsi_storage_policy_api.py | 8 +- .../hyperflex_feature_limit_external_api.py | 8 +- .../hyperflex_feature_limit_internal_api.py | 8 +- intersight/apis/hyperflex_hxdp_version_api.py | 8 +- .../hyperflex_local_credential_policy_api.py | 8 +- intersight/apis/hyperflex_node_api.py | 282 ++++++ .../apis/hyperflex_node_config_policy_api.py | 8 +- intersight/apis/hyperflex_node_profile_api.py | 8 +- .../hyperflex_proxy_setting_policy_api.py | 8 +- .../hyperflex_server_firmware_version_api.py | 8 +- intersight/apis/hyperflex_server_model_api.py | 8 +- .../apis/hyperflex_sys_config_policy_api.py | 8 +- .../apis/hyperflex_ucsm_config_policy_api.py | 8 +- .../hyperflex_vcenter_config_policy_api.py | 8 +- intersight/apis/iaas_connector_pack_api.py | 8 +- intersight/apis/iaas_device_status_api.py | 8 +- intersight/apis/iaas_license_info_api.py | 8 +- intersight/apis/iaas_most_run_tasks_api.py | 282 ++++++ intersight/apis/iaas_ucsd_info_api.py | 8 +- .../apis/iaas_ucsd_managed_infra_api.py | 282 ++++++ intersight/apis/iam_account_api.py | 8 +- intersight/apis/iam_api_key_api.py | 8 +- intersight/apis/iam_domain_group_api.py | 8 +- .../apis/iam_end_point_privilege_api.py | 8 +- intersight/apis/iam_end_point_role_api.py | 8 +- intersight/apis/iam_end_point_user_api.py | 8 +- .../apis/iam_end_point_user_policy_api.py | 8 +- .../apis/iam_end_point_user_role_api.py | 8 +- intersight/apis/iam_idp_api.py | 8 +- intersight/apis/iam_idp_reference_api.py | 8 +- intersight/apis/iam_ldap_group_api.py | 8 +- intersight/apis/iam_ldap_policy_api.py | 8 +- intersight/apis/iam_ldap_provider_api.py | 8 +- intersight/apis/iam_permission_api.py | 8 +- intersight/apis/iam_privilege_api.py | 8 +- intersight/apis/iam_privilege_set_api.py | 8 +- intersight/apis/iam_qualifier_api.py | 8 +- intersight/apis/iam_resource_limits_api.py | 8 +- intersight/apis/iam_role_api.py | 8 +- intersight/apis/iam_service_provider_api.py | 8 +- intersight/apis/iam_session_api.py | 8 +- intersight/apis/iam_session_limits_api.py | 8 +- intersight/apis/iam_system_api.py | 8 +- intersight/apis/iam_user_api.py | 8 +- intersight/apis/iam_user_group_api.py | 8 +- intersight/apis/iam_user_preference_api.py | 8 +- intersight/apis/inventory_device_info_api.py | 8 +- .../apis/inventory_dn_mo_binding_api.py | 8 +- .../apis/inventory_generic_inventory_api.py | 8 +- .../inventory_generic_inventory_holder_api.py | 8 +- intersight/apis/inventory_request_api.py | 2 +- intersight/apis/ipmioverlan_policy_api.py | 8 +- intersight/apis/kvm_policy_api.py | 8 +- .../apis/license_account_license_data_api.py | 8 +- intersight/apis/license_customer_op_api.py | 8 +- intersight/apis/license_license_info_api.py | 8 +- .../apis/license_smartlicense_token_api.py | 8 +- intersight/apis/ls_service_profile_api.py | 8 +- intersight/apis/management_controller_api.py | 8 +- intersight/apis/management_entity_api.py | 8 +- intersight/apis/management_interface_api.py | 8 +- intersight/apis/memory_array_api.py | 8 +- intersight/apis/memory_unit_api.py | 8 +- intersight/apis/meta_definition_api.py | 8 +- intersight/apis/network_element_api.py | 8 +- .../apis/network_element_summary_api.py | 8 +- intersight/apis/networkconfig_policy_api.py | 8 +- intersight/apis/ntp_policy_api.py | 8 +- intersight/apis/oauth_oauth_user_api.py | 44 +- intersight/apis/pci_device_api.py | 504 ++++++++++ intersight/apis/port_group_api.py | 8 +- intersight/apis/port_sub_group_api.py | 8 +- intersight/apis/processor_unit_api.py | 8 +- intersight/apis/resource_group_api.py | 712 ++++++++++++++ intersight/apis/sdcard_policy_api.py | 8 +- intersight/apis/search_search_item_api.py | 8 +- intersight/apis/search_suggest_item_api.py | 2 +- intersight/apis/search_tag_item_api.py | 8 +- intersight/apis/security_unit_api.py | 8 +- .../apis/server_config_change_detail_api.py | 8 +- intersight/apis/server_config_result_api.py | 8 +- .../apis/server_config_result_entry_api.py | 8 +- intersight/apis/server_profile_api.py | 8 +- intersight/apis/smtp_policy_api.py | 8 +- intersight/apis/snmp_policy_api.py | 8 +- .../softwarerepository_authorization_api.py | 608 ++++++++++++ intersight/apis/sol_policy_api.py | 8 +- intersight/apis/ssh_policy_api.py | 8 +- intersight/apis/storage_controller_api.py | 8 +- .../apis/storage_disk_group_policy_api.py | 8 +- intersight/apis/storage_enclosure_api.py | 8 +- .../apis/storage_flex_flash_controller_api.py | 8 +- ...storage_flex_flash_controller_props_api.py | 8 +- .../storage_flex_flash_physical_drive_api.py | 8 +- .../storage_flex_flash_virtual_drive_api.py | 8 +- .../apis/storage_flex_util_controller_api.py | 8 +- .../storage_flex_util_physical_drive_api.py | 8 +- .../storage_flex_util_virtual_drive_api.py | 8 +- intersight/apis/storage_physical_disk_api.py | 8 +- .../storage_physical_disk_extension_api.py | 8 +- .../apis/storage_physical_disk_usage_api.py | 8 +- intersight/apis/storage_sas_expander_api.py | 8 +- intersight/apis/storage_storage_policy_api.py | 8 +- intersight/apis/storage_vd_member_ep_api.py | 8 +- intersight/apis/storage_virtual_drive_api.py | 8 +- .../storage_virtual_drive_extension_api.py | 504 ++++++++++ intersight/apis/syslog_policy_api.py | 8 +- intersight/apis/task_workflow_action_api.py | 8 +- intersight/apis/telemetry_time_series_api.py | 145 +++ intersight/apis/terminal_audit_log_api.py | 8 +- .../apis/testcrypt_administrator_api.py | 12 +- intersight/apis/testcrypt_credential_api.py | 12 +- .../apis/testcrypt_read_only_user_api.py | 12 +- .../apis/testcrypt_shadow_credential_api.py | 12 +- intersight/apis/top_system_api.py | 8 +- intersight/apis/vmedia_policy_api.py | 8 +- .../apis/workflow_build_task_meta_api.py | 8 +- .../workflow_build_task_meta_owner_api.py | 8 +- ...kflow_pending_dynamic_workflow_info_api.py | 8 +- intersight/apis/workflow_task_info_api.py | 8 +- intersight/apis/workflow_task_meta_api.py | 8 +- intersight/apis/workflow_workflow_info_api.py | 112 ++- intersight/apis/workflow_workflow_meta_api.py | 8 +- intersight/configuration.py | 4 +- intersight/models/__init__.py | 100 +- .../models/aaa_abstract_audit_record.py | 36 +- .../models/aaa_abstract_audit_record_ref.py | 2 +- intersight/models/aaa_audit_record.py | 36 +- intersight/models/aaa_audit_record_list.py | 2 +- .../models/aaa_audit_record_local_ref.py | 2 +- intersight/models/aaa_audit_record_ref.py | 2 +- .../models/adapter_ext_eth_interface.py | 36 +- .../models/adapter_ext_eth_interface_list.py | 2 +- .../models/adapter_ext_eth_interface_ref.py | 2 +- .../models/adapter_host_eth_interface.py | 36 +- .../models/adapter_host_eth_interface_list.py | 2 +- .../models/adapter_host_eth_interface_ref.py | 2 +- .../models/adapter_host_fc_interface.py | 36 +- .../models/adapter_host_fc_interface_list.py | 2 +- .../models/adapter_host_fc_interface_ref.py | 2 +- .../models/adapter_host_iscsi_interface.py | 36 +- .../adapter_host_iscsi_interface_list.py | 2 +- .../adapter_host_iscsi_interface_ref.py | 2 +- intersight/models/adapter_unit.py | 36 +- intersight/models/adapter_unit_list.py | 2 +- intersight/models/adapter_unit_ref.py | 2 +- intersight/models/asset_cluster_member.py | 64 +- .../models/asset_cluster_member_list.py | 2 +- intersight/models/asset_cluster_member_ref.py | 2 +- .../asset_connection_control_message_ref.py | 2 +- intersight/models/asset_device_claim.py | 36 +- intersight/models/asset_device_claim_ref.py | 2 +- .../models/asset_device_configuration.py | 36 +- .../models/asset_device_configuration_list.py | 2 +- .../models/asset_device_configuration_ref.py | 2 +- intersight/models/asset_device_connection.py | 64 +- .../models/asset_device_connection_ref.py | 2 +- .../models/asset_device_registration.py | 92 +- .../models/asset_device_registration_list.py | 2 +- .../models/asset_device_registration_ref.py | 2 +- intersight/models/asset_security_token_ref.py | 2 +- intersight/models/bios_deploy_task_ref.py | 2 +- intersight/models/bios_policy.py | 898 +++++++++++++++--- intersight/models/bios_policy_list.py | 2 +- intersight/models/bios_policy_ref.py | 2 +- intersight/models/bios_unit.py | 36 +- intersight/models/bios_unit_list.py | 2 +- intersight/models/bios_unit_ref.py | 2 +- intersight/models/bios_validation_task_ref.py | 2 +- intersight/models/boot_bootloader.py | 181 ++++ intersight/models/boot_bootloader_ref.py | 149 +++ intersight/models/boot_device_base.py | 2 +- intersight/models/boot_device_base_ref.py | 2 +- intersight/models/boot_iscsi_ref.py | 2 +- intersight/models/boot_local_cdd_ref.py | 149 +++ intersight/models/boot_local_disk_ref.py | 2 +- intersight/models/boot_nvme_ref.py | 2 +- intersight/models/boot_pch_storage_ref.py | 2 +- .../models/boot_precision_deploy_task_ref.py | 2 +- intersight/models/boot_precision_policy.py | 36 +- .../models/boot_precision_policy_list.py | 2 +- .../models/boot_precision_policy_ref.py | 2 +- .../boot_precision_validation_task_ref.py | 2 +- intersight/models/boot_pxe_ref.py | 2 +- intersight/models/boot_san_ref.py | 2 +- intersight/models/boot_sd_card_ref.py | 2 +- intersight/models/boot_uefi_shell_ref.py | 2 +- intersight/models/boot_usb_ref.py | 2 +- intersight/models/boot_virtual_media_ref.py | 2 +- intersight/models/comm_ip_v4_interface.py | 2 +- intersight/models/comm_ip_v4_interface_ref.py | 2 +- intersight/models/comm_ip_v6_interface.py | 2 +- intersight/models/comm_ip_v6_interface_ref.py | 2 +- intersight/models/compute_blade.py | 88 +- intersight/models/compute_blade_list.py | 2 +- intersight/models/compute_blade_ref.py | 2 +- intersight/models/compute_board.py | 62 +- intersight/models/compute_board_list.py | 2 +- intersight/models/compute_board_ref.py | 2 +- intersight/models/compute_ip_address.py | 2 +- intersight/models/compute_ip_address_ref.py | 2 +- .../compute_locator_led_operation_task_ref.py | 2 +- .../compute_operation_result_handler_ref.py | 2 +- intersight/models/compute_physical.py | 36 +- intersight/models/compute_physical_ref.py | 2 +- intersight/models/compute_physical_summary.py | 62 +- .../models/compute_physical_summary_list.py | 2 +- .../models/compute_physical_summary_ref.py | 2 +- intersight/models/compute_rack_unit.py | 88 +- intersight/models/compute_rack_unit_list.py | 2 +- intersight/models/compute_rack_unit_ref.py | 2 +- intersight/models/compute_server_config.py | 2 +- .../models/compute_server_config_ref.py | 2 +- .../compute_server_operation_task_ref.py | 2 +- intersight/models/compute_server_setting.py | 36 +- .../models/compute_server_setting_list.py | 2 +- .../models/compute_server_setting_ref.py | 2 +- intersight/models/cond_alarm.py | 48 +- intersight/models/cond_alarm_list.py | 2 +- intersight/models/cond_alarm_ref.py | 2 +- intersight/models/cond_hcl_status.py | 36 +- intersight/models/cond_hcl_status_detail.py | 36 +- .../models/cond_hcl_status_detail_list.py | 2 +- .../models/cond_hcl_status_detail_ref.py | 2 +- intersight/models/cond_hcl_status_job.py | 36 +- intersight/models/cond_hcl_status_job_list.py | 2 +- intersight/models/cond_hcl_status_job_ref.py | 2 +- intersight/models/cond_hcl_status_list.py | 2 +- intersight/models/cond_hcl_status_ref.py | 2 +- intersight/models/connector_auth_message.py | 2 +- .../models/connector_auth_message_ref.py | 2 +- .../models/connector_close_stream_message.py | 2 +- .../connector_close_stream_message_ref.py | 2 +- .../models/connector_command_message_ref.py | 2 +- .../models/connector_control_message_ref.py | 2 +- .../connector_event_channel_control_ref.py | 2 +- intersight/models/connector_event_ref.py | 2 +- .../models/connector_fetch_stream_message.py | 2 +- .../connector_fetch_stream_message_ref.py | 2 +- .../connector_job_async_response_ref.py | 2 +- .../models/connector_job_message_ref.py | 2 +- intersight/models/connector_start_stream.py | 2 +- .../models/connector_start_stream_ref.py | 2 +- intersight/models/connector_stream_input.py | 2 +- .../models/connector_stream_input_ref.py | 2 +- intersight/models/connector_stream_message.py | 2 +- .../models/connector_stream_message_ref.py | 2 +- intersight/models/connector_stream_ref.py | 2 +- .../models/connector_xml_api_message_ref.py | 2 +- .../connectorpack_connector_pack_summary.py | 2 +- ...onnectorpack_connector_pack_summary_ref.py | 2 +- .../models/connectorpack_upgrade_ref.py | 2 +- intersight/models/crypt_account_key_ref.py | 2 +- intersight/models/crypt_decrypt_ref.py | 2 +- intersight/models/crypt_encrypt_ref.py | 2 +- intersight/models/crypt_encryption_key_ref.py | 2 +- intersight/models/crypt_encryption_token.py | 36 +- .../models/crypt_encryption_token_list.py | 2 +- .../models/crypt_encryption_token_ref.py | 2 +- intersight/models/cvd_deployment_task.py | 489 ++++++++++ intersight/models/cvd_deployment_task_list.py | 153 +++ intersight/models/cvd_deployment_task_ref.py | 149 +++ intersight/models/cvd_input_meta.py | 209 ++++ intersight/models/cvd_input_meta_ref.py | 149 +++ intersight/models/cvd_template.py | 601 ++++++++++++ intersight/models/cvd_template_list.py | 153 +++ intersight/models/cvd_template_ref.py | 149 +++ intersight/models/cvd_validation_task.py | 489 ++++++++++ intersight/models/cvd_validation_task_list.py | 153 +++ intersight/models/cvd_validation_task_ref.py | 149 +++ .../models/deviceconnector_deploy_task_ref.py | 149 +++ intersight/models/deviceconnector_policy.py | 517 ++++++++++ .../models/deviceconnector_policy_list.py | 153 +++ .../models/deviceconnector_policy_ref.py | 149 +++ .../deviceconnector_validation_task_ref.py | 149 +++ .../models/deviceinfo_serial_number_info.py | 36 +- .../deviceinfo_serial_number_info_list.py | 2 +- .../deviceinfo_serial_number_info_ref.py | 2 +- .../models/devops_abstract_trigger_details.py | 2 +- .../devops_abstract_trigger_details_ref.py | 2 +- .../models/devops_notification_trigger.py | 2 +- .../models/devops_notification_trigger_ref.py | 2 +- intersight/models/devops_trigger_ref.py | 2 +- intersight/models/epansible_runner_ref.py | 2 +- intersight/models/equipment_base.py | 36 +- intersight/models/equipment_base_ref.py | 2 +- intersight/models/equipment_chassis.py | 36 +- intersight/models/equipment_chassis_list.py | 2 +- intersight/models/equipment_chassis_ref.py | 2 +- intersight/models/equipment_device_summary.py | 36 +- .../models/equipment_device_summary_list.py | 2 +- .../models/equipment_device_summary_ref.py | 2 +- intersight/models/equipment_fan.py | 36 +- intersight/models/equipment_fan_list.py | 2 +- intersight/models/equipment_fan_module.py | 62 +- .../models/equipment_fan_module_list.py | 2 +- intersight/models/equipment_fan_module_ref.py | 2 +- intersight/models/equipment_fan_ref.py | 2 +- intersight/models/equipment_fex.py | 36 +- intersight/models/equipment_fex_list.py | 2 +- intersight/models/equipment_fex_ref.py | 2 +- intersight/models/equipment_io_card.py | 36 +- intersight/models/equipment_io_card_list.py | 2 +- intersight/models/equipment_io_card_ref.py | 2 +- intersight/models/equipment_io_expander.py | 663 +++++++++++++ .../models/equipment_io_expander_list.py | 153 +++ .../models/equipment_io_expander_ref.py | 149 +++ intersight/models/equipment_locator_led.py | 36 +- .../models/equipment_locator_led_list.py | 2 +- .../models/equipment_locator_led_ref.py | 2 +- intersight/models/equipment_psu.py | 62 +- intersight/models/equipment_psu_list.py | 2 +- intersight/models/equipment_psu_ref.py | 2 +- intersight/models/equipment_rack_enclosure.py | 689 ++++++++++++++ .../models/equipment_rack_enclosure_list.py | 153 +++ .../models/equipment_rack_enclosure_ref.py | 149 +++ .../models/equipment_rack_enclosure_slot.py | 689 ++++++++++++++ .../equipment_rack_enclosure_slot_list.py | 153 +++ .../equipment_rack_enclosure_slot_ref.py | 149 +++ intersight/models/equipment_switch_card.py | 36 +- .../models/equipment_switch_card_list.py | 2 +- .../models/equipment_switch_card_ref.py | 2 +- .../models/equipment_system_io_controller.py | 36 +- .../equipment_system_io_controller_list.py | 2 +- .../equipment_system_io_controller_ref.py | 2 +- intersight/models/equipment_tpm.py | 767 +++++++++++++++ intersight/models/equipment_tpm_list.py | 153 +++ intersight/models/equipment_tpm_ref.py | 149 +++ intersight/models/error.py | 2 +- intersight/models/ether_physical_port.py | 36 +- intersight/models/ether_physical_port_list.py | 2 +- intersight/models/ether_physical_port_ref.py | 2 +- intersight/models/extsearch_app_config_ref.py | 2 +- intersight/models/extsearch_import_ref.py | 2 +- intersight/models/fault_instance.py | 36 +- intersight/models/fault_instance_list.py | 2 +- intersight/models/fault_instance_ref.py | 2 +- intersight/models/fc_physical_port.py | 36 +- intersight/models/fc_physical_port_list.py | 2 +- intersight/models/fc_physical_port_ref.py | 2 +- intersight/models/feedback_feedback_data.py | 2 +- .../models/feedback_feedback_data_ref.py | 2 +- intersight/models/feedback_feedback_post.py | 36 +- .../models/feedback_feedback_post_ref.py | 2 +- intersight/models/feedback_feedback_ref.py | 2 +- .../models/feedback_feedback_settings_ref.py | 2 +- .../models/feedback_history_item_ref.py | 2 +- intersight/models/firmware_cifs_server.py | 6 +- intersight/models/firmware_cifs_server_ref.py | 2 +- intersight/models/firmware_direct_download.py | 2 +- .../models/firmware_direct_download_ref.py | 2 +- intersight/models/firmware_distributable.py | 64 +- .../models/firmware_distributable_list.py | 2 +- .../models/firmware_distributable_ref.py | 2 +- .../models/firmware_download_spec_ref.py | 2 +- intersight/models/firmware_eula.py | 36 +- intersight/models/firmware_eula_list.py | 2 +- intersight/models/firmware_eula_ref.py | 2 +- intersight/models/firmware_http_server.py | 6 +- intersight/models/firmware_http_server_ref.py | 2 +- intersight/models/firmware_network_share.py | 2 +- .../models/firmware_network_share_ref.py | 2 +- intersight/models/firmware_nfs_server.py | 6 +- intersight/models/firmware_nfs_server_ref.py | 2 +- .../models/firmware_running_firmware.py | 36 +- .../models/firmware_running_firmware_list.py | 2 +- .../models/firmware_running_firmware_ref.py | 2 +- intersight/models/firmware_upgrade.py | 36 +- intersight/models/firmware_upgrade_list.py | 2 +- intersight/models/firmware_upgrade_ref.py | 2 +- intersight/models/firmware_upgrade_status.py | 36 +- .../models/firmware_upgrade_status_list.py | 2 +- .../models/firmware_upgrade_status_ref.py | 2 +- ...imc_cancel_pending_firmware_upgrade_ref.py | 2 +- ...mwareimc_check_for_existing_upgrade_ref.py | 2 +- ...imc_firmware_upgrade_result_handler_ref.py | 2 +- .../firmwareimc_huu_firmware_upgrade_ref.py | 2 +- .../firmwareimc_initiate_download_ref.py | 2 +- .../firmwareimc_wait_for_download_ref.py | 2 +- ...rmwareimc_wait_for_firmware_upgrade_ref.py | 2 +- intersight/models/graphics_card.py | 36 +- intersight/models/graphics_card_list.py | 2 +- intersight/models/graphics_card_ref.py | 2 +- intersight/models/graphics_controller.py | 36 +- intersight/models/graphics_controller_list.py | 2 +- intersight/models/graphics_controller_ref.py | 2 +- .../models/hcl_compatibility_info_ref.py | 2 +- intersight/models/hcl_compatibility_status.py | 38 +- .../models/hcl_compatibility_status_ref.py | 2 +- intersight/models/hcl_data_import_log_ref.py | 2 +- intersight/models/hcl_driver.py | 2 +- intersight/models/hcl_driver_image.py | 467 +++++++++ intersight/models/hcl_driver_image_list.py | 153 +++ intersight/models/hcl_driver_image_ref.py | 149 +++ intersight/models/hcl_driver_ref.py | 2 +- intersight/models/hcl_firmware.py | 36 +- intersight/models/hcl_firmware_ref.py | 2 +- .../hcl_hardware_compatibility_profile.py | 32 +- .../hcl_hardware_compatibility_profile_ref.py | 2 +- intersight/models/hcl_note_ref.py | 2 +- intersight/models/hcl_operating_system.py | 433 +++++++++ .../models/hcl_operating_system_list.py | 153 +++ intersight/models/hcl_operating_system_ref.py | 149 +++ .../models/hcl_operating_system_vendor.py | 405 ++++++++ .../hcl_operating_system_vendor_list.py | 153 +++ .../models/hcl_operating_system_vendor_ref.py | 149 +++ intersight/models/hcl_product.py | 2 +- intersight/models/hcl_product_ref.py | 2 +- intersight/models/hcl_service_status.py | 36 +- intersight/models/hcl_service_status_list.py | 2 +- intersight/models/hcl_service_status_ref.py | 2 +- .../models/hcl_supported_driver_name.py | 36 +- .../models/hcl_supported_driver_name_ref.py | 2 +- .../hxdpconnector_hx_inventory_msg_ref.py | 2 +- .../models/hyperflex_abstract_app_setting.py | 2 +- .../hyperflex_abstract_app_setting_ref.py | 2 +- intersight/models/hyperflex_alarm.py | 36 +- intersight/models/hyperflex_alarm_list.py | 2 +- intersight/models/hyperflex_alarm_ref.py | 2 +- intersight/models/hyperflex_app_catalog.py | 36 +- .../models/hyperflex_app_catalog_list.py | 2 +- .../models/hyperflex_app_catalog_ref.py | 2 +- .../hyperflex_app_setting_constraint.py | 2 +- .../hyperflex_app_setting_constraint_ref.py | 2 +- .../models/hyperflex_auto_support_policy.py | 36 +- .../hyperflex_auto_support_policy_list.py | 2 +- .../hyperflex_auto_support_policy_ref.py | 2 +- intersight/models/hyperflex_cluster.py | 94 +- intersight/models/hyperflex_cluster_list.py | 2 +- .../hyperflex_cluster_network_policy.py | 36 +- .../hyperflex_cluster_network_policy_list.py | 2 +- .../hyperflex_cluster_network_policy_ref.py | 2 +- .../models/hyperflex_cluster_profile.py | 36 +- .../models/hyperflex_cluster_profile_list.py | 2 +- .../models/hyperflex_cluster_profile_ref.py | 2 +- intersight/models/hyperflex_cluster_ref.py | 2 +- .../hyperflex_cluster_storage_policy.py | 36 +- .../hyperflex_cluster_storage_policy_list.py | 2 +- .../hyperflex_cluster_storage_policy_ref.py | 2 +- intersight/models/hyperflex_config_result.py | 36 +- .../models/hyperflex_config_result_entry.py | 36 +- .../hyperflex_config_result_entry_list.py | 2 +- .../hyperflex_config_result_entry_ref.py | 2 +- .../models/hyperflex_config_result_list.py | 2 +- .../models/hyperflex_config_result_ref.py | 2 +- .../models/hyperflex_credentials_ref.py | 2 +- .../models/hyperflex_ext_fc_storage_policy.py | 36 +- .../hyperflex_ext_fc_storage_policy_list.py | 2 +- .../hyperflex_ext_fc_storage_policy_ref.py | 2 +- .../hyperflex_ext_iscsi_storage_policy.py | 36 +- ...hyperflex_ext_iscsi_storage_policy_list.py | 2 +- .../hyperflex_ext_iscsi_storage_policy_ref.py | 2 +- .../models/hyperflex_feature_limit_entry.py | 2 +- .../hyperflex_feature_limit_entry_ref.py | 2 +- .../hyperflex_feature_limit_external.py | 36 +- .../hyperflex_feature_limit_external_list.py | 2 +- .../hyperflex_feature_limit_external_ref.py | 2 +- .../hyperflex_feature_limit_internal.py | 36 +- .../hyperflex_feature_limit_internal_list.py | 2 +- .../hyperflex_feature_limit_internal_ref.py | 2 +- intersight/models/hyperflex_hx_link_dt.py | 207 ++++ intersight/models/hyperflex_hx_link_dt_ref.py | 149 +++ .../models/hyperflex_hx_network_address_dt.py | 175 ++++ .../hyperflex_hx_network_address_dt_ref.py | 149 +++ intersight/models/hyperflex_hx_uu_id_dt.py | 149 +++ .../models/hyperflex_hx_uu_id_dt_ref.py | 149 +++ intersight/models/hyperflex_hxdp_version.py | 36 +- .../models/hyperflex_hxdp_version_list.py | 2 +- .../models/hyperflex_hxdp_version_ref.py | 2 +- .../models/hyperflex_installer_image_ref.py | 2 +- intersight/models/hyperflex_ip_addr_range.py | 2 +- .../models/hyperflex_ip_addr_range_ref.py | 2 +- .../hyperflex_local_credential_policy.py | 48 +- .../hyperflex_local_credential_policy_list.py | 2 +- .../hyperflex_local_credential_policy_ref.py | 2 +- .../hyperflex_logical_availability_zone.py | 2 +- ...hyperflex_logical_availability_zone_ref.py | 2 +- .../models/hyperflex_mac_addr_prefix_range.py | 2 +- .../hyperflex_mac_addr_prefix_range_ref.py | 2 +- .../hyperflex_managed_object_reference.py | 2 +- .../hyperflex_managed_object_reference_ref.py | 2 +- intersight/models/hyperflex_named_vlan.py | 2 +- intersight/models/hyperflex_named_vlan_ref.py | 2 +- intersight/models/hyperflex_named_vsan.py | 2 +- intersight/models/hyperflex_named_vsan_ref.py | 2 +- intersight/models/hyperflex_node.py | 751 +++++++++++++++ .../models/hyperflex_node_config_policy.py | 36 +- .../hyperflex_node_config_policy_list.py | 2 +- .../hyperflex_node_config_policy_ref.py | 2 +- intersight/models/hyperflex_node_list.py | 153 +++ intersight/models/hyperflex_node_profile.py | 36 +- .../models/hyperflex_node_profile_list.py | 2 +- .../models/hyperflex_node_profile_ref.py | 2 +- intersight/models/hyperflex_node_ref.py | 149 +++ .../models/hyperflex_proxy_setting_policy.py | 36 +- .../hyperflex_proxy_setting_policy_list.py | 2 +- .../hyperflex_proxy_setting_policy_ref.py | 2 +- .../hyperflex_server_firmware_version.py | 36 +- ...hyperflex_server_firmware_version_entry.py | 2 +- ...rflex_server_firmware_version_entry_ref.py | 2 +- .../hyperflex_server_firmware_version_list.py | 2 +- .../hyperflex_server_firmware_version_ref.py | 2 +- intersight/models/hyperflex_server_model.py | 36 +- .../models/hyperflex_server_model_entry.py | 2 +- .../hyperflex_server_model_entry_ref.py | 2 +- .../models/hyperflex_server_model_list.py | 2 +- .../models/hyperflex_server_model_ref.py | 2 +- ...erflex_st_platform_cluster_healing_info.py | 8 +- ...ex_st_platform_cluster_healing_info_ref.py | 2 +- ...lex_st_platform_cluster_resiliency_info.py | 8 +- ...st_platform_cluster_resiliency_info_ref.py | 2 +- intersight/models/hyperflex_summary.py | 8 +- intersight/models/hyperflex_summary_ref.py | 2 +- .../models/hyperflex_sys_config_policy.py | 36 +- .../hyperflex_sys_config_policy_list.py | 2 +- .../models/hyperflex_sys_config_policy_ref.py | 2 +- .../models/hyperflex_ucsm_config_policy.py | 36 +- .../hyperflex_ucsm_config_policy_list.py | 2 +- .../hyperflex_ucsm_config_policy_ref.py | 2 +- .../models/hyperflex_vcenter_config_policy.py | 44 +- .../hyperflex_vcenter_config_policy_list.py | 2 +- .../hyperflex_vcenter_config_policy_ref.py | 2 +- .../models/hyperflex_wwxn_prefix_range.py | 2 +- .../models/hyperflex_wwxn_prefix_range_ref.py | 2 +- intersight/models/i18n_message.py | 2 +- intersight/models/i18n_message_param.py | 2 +- intersight/models/i18n_message_param_ref.py | 2 +- intersight/models/i18n_message_ref.py | 2 +- intersight/models/iaas_connector_pack.py | 36 +- intersight/models/iaas_connector_pack_list.py | 2 +- intersight/models/iaas_connector_pack_ref.py | 2 +- intersight/models/iaas_device_status.py | 72 +- intersight/models/iaas_device_status_list.py | 2 +- intersight/models/iaas_device_status_ref.py | 2 +- intersight/models/iaas_license_info.py | 36 +- intersight/models/iaas_license_info_list.py | 2 +- intersight/models/iaas_license_info_ref.py | 2 +- intersight/models/iaas_license_keys_info.py | 2 +- .../models/iaas_license_keys_info_ref.py | 2 +- .../models/iaas_license_utilization_info.py | 2 +- .../iaas_license_utilization_info_ref.py | 2 +- intersight/models/iaas_most_run_tasks.py | 515 ++++++++++ intersight/models/iaas_most_run_tasks_list.py | 153 +++ intersight/models/iaas_most_run_tasks_ref.py | 149 +++ intersight/models/iaas_ucsd_info.py | 120 ++- intersight/models/iaas_ucsd_info_list.py | 2 +- intersight/models/iaas_ucsd_info_ref.py | 2 +- intersight/models/iaas_ucsd_managed_infra.py | 711 ++++++++++++++ .../models/iaas_ucsd_managed_infra_list.py | 153 +++ .../models/iaas_ucsd_managed_infra_ref.py | 149 +++ intersight/models/iam_account.py | 36 +- intersight/models/iam_account_list.py | 2 +- intersight/models/iam_account_permissions.py | 2 +- .../models/iam_account_permissions_ref.py | 2 +- intersight/models/iam_account_ref.py | 2 +- intersight/models/iam_api_key.py | 36 +- intersight/models/iam_api_key_list.py | 2 +- intersight/models/iam_api_key_ref.py | 2 +- intersight/models/iam_domain_group.py | 36 +- intersight/models/iam_domain_group_list.py | 2 +- intersight/models/iam_domain_group_ref.py | 2 +- .../iam_end_point_password_properties.py | 2 +- .../iam_end_point_password_properties_ref.py | 2 +- intersight/models/iam_end_point_privilege.py | 36 +- .../models/iam_end_point_privilege_list.py | 2 +- .../models/iam_end_point_privilege_ref.py | 2 +- intersight/models/iam_end_point_role.py | 36 +- intersight/models/iam_end_point_role_list.py | 2 +- intersight/models/iam_end_point_role_ref.py | 2 +- intersight/models/iam_end_point_user.py | 36 +- .../iam_end_point_user_deploy_task_ref.py | 2 +- intersight/models/iam_end_point_user_list.py | 2 +- .../models/iam_end_point_user_policy.py | 36 +- .../models/iam_end_point_user_policy_list.py | 2 +- .../models/iam_end_point_user_policy_ref.py | 2 +- intersight/models/iam_end_point_user_ref.py | 2 +- intersight/models/iam_end_point_user_role.py | 36 +- .../models/iam_end_point_user_role_list.py | 2 +- .../models/iam_end_point_user_role_ref.py | 2 +- .../iam_end_point_user_validation_task_ref.py | 2 +- intersight/models/iam_idp.py | 36 +- intersight/models/iam_idp_list.py | 2 +- intersight/models/iam_idp_ref.py | 2 +- intersight/models/iam_idp_reference.py | 36 +- intersight/models/iam_idp_reference_list.py | 2 +- intersight/models/iam_idp_reference_ref.py | 2 +- intersight/models/iam_ldap_base_properties.py | 2 +- .../models/iam_ldap_base_properties_ref.py | 2 +- intersight/models/iam_ldap_credentials_ref.py | 149 +++ intersight/models/iam_ldap_deploy_task_ref.py | 2 +- intersight/models/iam_ldap_dns_parameters.py | 2 +- .../models/iam_ldap_dns_parameters_ref.py | 2 +- intersight/models/iam_ldap_group.py | 36 +- intersight/models/iam_ldap_group_list.py | 2 +- intersight/models/iam_ldap_group_ref.py | 2 +- intersight/models/iam_ldap_policy.py | 36 +- intersight/models/iam_ldap_policy_list.py | 2 +- intersight/models/iam_ldap_policy_ref.py | 2 +- intersight/models/iam_ldap_provider.py | 36 +- intersight/models/iam_ldap_provider_list.py | 2 +- intersight/models/iam_ldap_provider_ref.py | 2 +- .../models/iam_ldap_validation_task_ref.py | 2 +- intersight/models/iam_permission.py | 36 +- intersight/models/iam_permission_list.py | 2 +- intersight/models/iam_permission_ref.py | 2 +- intersight/models/iam_permission_reference.py | 2 +- .../models/iam_permission_reference_ref.py | 2 +- intersight/models/iam_privilege.py | 36 +- intersight/models/iam_privilege_list.py | 2 +- intersight/models/iam_privilege_ref.py | 2 +- intersight/models/iam_privilege_set.py | 36 +- intersight/models/iam_privilege_set_list.py | 2 +- intersight/models/iam_privilege_set_ref.py | 2 +- intersight/models/iam_qualifier.py | 36 +- intersight/models/iam_qualifier_list.py | 2 +- intersight/models/iam_qualifier_ref.py | 2 +- intersight/models/iam_resource_limits.py | 36 +- intersight/models/iam_resource_limits_list.py | 2 +- intersight/models/iam_resource_limits_ref.py | 2 +- intersight/models/iam_role.py | 36 +- intersight/models/iam_role_list.py | 2 +- intersight/models/iam_role_ref.py | 2 +- intersight/models/iam_service_provider.py | 36 +- .../models/iam_service_provider_list.py | 2 +- intersight/models/iam_service_provider_ref.py | 2 +- intersight/models/iam_session.py | 36 +- intersight/models/iam_session_limits.py | 36 +- intersight/models/iam_session_limits_list.py | 2 +- intersight/models/iam_session_limits_ref.py | 2 +- intersight/models/iam_session_list.py | 2 +- intersight/models/iam_session_ref.py | 2 +- intersight/models/iam_sp_console_ref.py | 2 +- intersight/models/iam_sp_engine_ref.py | 2 +- .../models/iam_sso_session_attributes.py | 2 +- .../models/iam_sso_session_attributes_ref.py | 2 +- intersight/models/iam_system.py | 36 +- intersight/models/iam_system_list.py | 2 +- intersight/models/iam_system_ref.py | 2 +- intersight/models/iam_user.py | 36 +- intersight/models/iam_user_group.py | 36 +- intersight/models/iam_user_group_list.py | 2 +- intersight/models/iam_user_group_ref.py | 2 +- intersight/models/iam_user_list.py | 2 +- intersight/models/iam_user_login_time_ref.py | 2 +- intersight/models/iam_user_preference.py | 36 +- intersight/models/iam_user_preference_list.py | 2 +- intersight/models/iam_user_preference_ref.py | 2 +- intersight/models/iam_user_ref.py | 2 +- ...ctor_sd_card_image_download_message_ref.py | 2 +- intersight/models/inventory_base.py | 36 +- intersight/models/inventory_base_ref.py | 2 +- intersight/models/inventory_device_info.py | 64 +- .../models/inventory_device_info_list.py | 2 +- .../models/inventory_device_info_ref.py | 2 +- intersight/models/inventory_dn_mo_binding.py | 36 +- .../models/inventory_dn_mo_binding_list.py | 2 +- .../models/inventory_dn_mo_binding_ref.py | 2 +- .../models/inventory_generic_inventory.py | 36 +- .../inventory_generic_inventory_holder.py | 36 +- ...inventory_generic_inventory_holder_list.py | 2 +- .../inventory_generic_inventory_holder_ref.py | 2 +- .../inventory_generic_inventory_list.py | 2 +- .../models/inventory_generic_inventory_ref.py | 2 +- intersight/models/inventory_inventory_mo.py | 2 +- .../models/inventory_inventory_mo_ref.py | 2 +- intersight/models/inventory_job_info.py | 2 +- intersight/models/inventory_job_info_ref.py | 2 +- intersight/models/inventory_request.py | 36 +- intersight/models/inventory_request_ref.py | 2 +- .../inventory_scoped_inventory_task_ref.py | 2 +- .../models/ipmioverlan_deploy_task_ref.py | 2 +- intersight/models/ipmioverlan_policy.py | 36 +- intersight/models/ipmioverlan_policy_list.py | 2 +- intersight/models/ipmioverlan_policy_ref.py | 2 +- .../models/ipmioverlan_validation_task_ref.py | 2 +- intersight/models/kvm_deploy_task_ref.py | 2 +- intersight/models/kvm_policy.py | 36 +- intersight/models/kvm_policy_list.py | 2 +- intersight/models/kvm_policy_ref.py | 2 +- intersight/models/kvm_validation_task_ref.py | 2 +- .../models/license_account_license_data.py | 36 +- .../license_account_license_data_list.py | 2 +- .../license_account_license_data_ref.py | 2 +- intersight/models/license_customer_op.py | 36 +- intersight/models/license_customer_op_list.py | 2 +- intersight/models/license_customer_op_ref.py | 2 +- intersight/models/license_license_info.py | 36 +- .../models/license_license_info_list.py | 2 +- intersight/models/license_license_info_ref.py | 2 +- .../models/license_smartlicense_token.py | 36 +- .../models/license_smartlicense_token_list.py | 2 +- .../models/license_smartlicense_token_ref.py | 2 +- .../models/license_sync_response_ref.py | 2 +- intersight/models/ls_service_profile.py | 36 +- intersight/models/ls_service_profile_list.py | 2 +- intersight/models/ls_service_profile_ref.py | 2 +- intersight/models/management_controller.py | 36 +- .../models/management_controller_list.py | 2 +- .../models/management_controller_ref.py | 2 +- intersight/models/management_entity.py | 36 +- intersight/models/management_entity_list.py | 2 +- intersight/models/management_entity_ref.py | 2 +- intersight/models/management_interface.py | 36 +- .../models/management_interface_list.py | 2 +- intersight/models/management_interface_ref.py | 2 +- intersight/models/memory_array.py | 36 +- intersight/models/memory_array_list.py | 2 +- intersight/models/memory_array_ref.py | 2 +- intersight/models/memory_unit.py | 36 +- intersight/models/memory_unit_list.py | 2 +- intersight/models/memory_unit_ref.py | 2 +- intersight/models/meta_definition.py | 68 +- intersight/models/meta_definition_list.py | 2 +- intersight/models/meta_definition_ref.py | 2 +- intersight/models/meta_prop_definition.py | 2 +- intersight/models/meta_prop_definition_ref.py | 2 +- .../models/meta_relationship_definition.py | 2 +- .../meta_relationship_definition_ref.py | 2 +- intersight/models/mo_base_complex_type.py | 2 +- intersight/models/mo_base_complex_type_ref.py | 2 +- intersight/models/mo_base_mo.py | 40 +- intersight/models/mo_base_mo_ref.py | 2 +- .../models/mo_interest_registration_ref.py | 2 +- intersight/models/mo_mo_ref.py | 2 +- intersight/models/mo_mo_ref_ref.py | 2 +- intersight/models/mo_tag.py | 2 +- intersight/models/mo_tag_ref.py | 2 +- intersight/models/mo_version_context.py | 243 +++++ intersight/models/mo_version_context_ref.py | 149 +++ intersight/models/network_element.py | 36 +- intersight/models/network_element_list.py | 2 +- intersight/models/network_element_ref.py | 2 +- intersight/models/network_element_summary.py | 36 +- .../models/network_element_summary_list.py | 2 +- .../models/network_element_summary_ref.py | 2 +- .../models/networkconfig_deploy_task_ref.py | 2 +- intersight/models/networkconfig_policy.py | 36 +- .../models/networkconfig_policy_list.py | 2 +- intersight/models/networkconfig_policy_ref.py | 2 +- .../networkconfig_validation_task_ref.py | 2 +- intersight/models/notifs_condition.py | 187 ++++ intersight/models/notifs_condition_ref.py | 149 +++ .../models/notifs_mo_subscription_ref.py | 2 +- intersight/models/ntp_deploy_task_ref.py | 2 +- intersight/models/ntp_policy.py | 36 +- intersight/models/ntp_policy_list.py | 2 +- intersight/models/ntp_policy_ref.py | 2 +- intersight/models/ntp_validation_task_ref.py | 2 +- intersight/models/oauth2_auth_token_ref.py | 2 +- intersight/models/oauth_access_token.py | 2 +- intersight/models/oauth_access_token_ref.py | 2 +- intersight/models/oauth_oauth_user.py | 36 +- intersight/models/oauth_oauth_user_list.py | 2 +- intersight/models/oauth_oauth_user_ref.py | 2 +- intersight/models/pci_device.py | 663 +++++++++++++ intersight/models/pci_device_list.py | 153 +++ intersight/models/pci_device_ref.py | 149 +++ .../policy_abstract_config_change_detail.py | 36 +- ...olicy_abstract_config_change_detail_ref.py | 2 +- .../models/policy_abstract_config_profile.py | 36 +- .../policy_abstract_config_profile_ref.py | 2 +- .../models/policy_abstract_config_result.py | 36 +- .../policy_abstract_config_result_entry.py | 36 +- ...policy_abstract_config_result_entry_ref.py | 2 +- .../policy_abstract_config_result_ref.py | 2 +- intersight/models/policy_abstract_policy.py | 36 +- .../models/policy_abstract_policy_ref.py | 2 +- intersight/models/policy_abstract_profile.py | 36 +- .../models/policy_abstract_profile_ref.py | 2 +- .../models/policy_analyze_impact_task_ref.py | 2 +- intersight/models/policy_config_change.py | 2 +- .../policy_config_change_detail_type_ref.py | 2 +- intersight/models/policy_config_change_ref.py | 2 +- intersight/models/policy_config_context.py | 2 +- .../models/policy_config_context_ref.py | 2 +- .../models/policy_config_result_context.py | 2 +- .../policy_config_result_context_ref.py | 2 +- .../models/policy_take_snapshot_task_ref.py | 2 +- intersight/models/port_group.py | 36 +- intersight/models/port_group_list.py | 2 +- intersight/models/port_group_ref.py | 2 +- intersight/models/port_physical.py | 36 +- intersight/models/port_physical_ref.py | 2 +- intersight/models/port_sub_group.py | 36 +- intersight/models/port_sub_group_list.py | 2 +- intersight/models/port_sub_group_ref.py | 2 +- intersight/models/processor_unit.py | 36 +- intersight/models/processor_unit_list.py | 2 +- intersight/models/processor_unit_ref.py | 2 +- .../qatask_execution_status_task_ref.py | 2 +- .../models/qatask_expobackoff_retry_ref.py | 2 +- .../models/qatask_fail_async_task_ref.py | 2 +- .../models/qatask_failed_no_retry_ref.py | 2 +- .../models/qatask_huu_firmware_upgrade_ref.py | 2 +- .../models/qatask_initiate_download_ref.py | 2 +- .../models/qatask_retry30timeout60task_ref.py | 2 +- intersight/models/qatask_retry_fixed_ref.py | 2 +- .../models/qatask_success_async_task_ref.py | 2 +- .../models/qatask_taskin_scheuled_ref.py | 2 +- .../qatask_timeoutwf_exponential_ref.py | 2 +- .../models/qatask_timeoutwf_fixed_ref.py | 2 +- intersight/models/qatask_ucs_task1_ref.py | 2 +- intersight/models/qatask_ucs_task2_ref.py | 2 +- intersight/models/qatask_ucs_task3_ref.py | 2 +- intersight/models/qatask_ucs_task4_ref.py | 2 +- intersight/models/qatask_ucs_task5_ref.py | 2 +- intersight/models/qatask_ucs_task6_ref.py | 2 +- intersight/models/qatask_ucs_task7_ref.py | 2 +- intersight/models/qatask_ucs_task8_ref.py | 2 +- intersight/models/qatask_ucs_task9_ref.py | 2 +- .../models/qatask_wait_for_download_ref.py | 2 +- .../qatask_wait_for_firmware_upgrade_ref.py | 2 +- intersight/models/resource_group.py | 489 ++++++++++ intersight/models/resource_group_list.py | 153 +++ intersight/models/resource_group_ref.py | 149 +++ intersight/models/sdcard_deploy_task_ref.py | 2 +- intersight/models/sdcard_diagnostics_ref.py | 2 +- intersight/models/sdcard_drivers_ref.py | 2 +- .../models/sdcard_host_upgrade_utility_ref.py | 2 +- .../models/sdcard_operating_system_ref.py | 2 +- intersight/models/sdcard_partition.py | 2 +- intersight/models/sdcard_partition_ref.py | 2 +- intersight/models/sdcard_policy.py | 36 +- intersight/models/sdcard_policy_list.py | 2 +- intersight/models/sdcard_policy_ref.py | 2 +- ...sdcard_server_configuration_utility_ref.py | 2 +- .../models/sdcard_user_partition_ref.py | 2 +- .../models/sdcard_validation_task_ref.py | 2 +- intersight/models/sdcard_virtual_drive.py | 2 +- intersight/models/sdcard_virtual_drive_ref.py | 2 +- intersight/models/search_search_item.py | 40 +- intersight/models/search_search_item_list.py | 2 +- intersight/models/search_search_item_ref.py | 2 +- intersight/models/search_suggest_item.py | 36 +- intersight/models/search_suggest_item_ref.py | 2 +- intersight/models/search_tag_item.py | 40 +- intersight/models/search_tag_item_list.py | 2 +- intersight/models/search_tag_item_ref.py | 2 +- intersight/models/security_unit.py | 36 +- intersight/models/security_unit_list.py | 2 +- intersight/models/security_unit_ref.py | 2 +- .../models/server_config_change_detail.py | 36 +- .../server_config_change_detail_list.py | 2 +- .../models/server_config_change_detail_ref.py | 2 +- intersight/models/server_config_result.py | 36 +- .../models/server_config_result_entry.py | 36 +- .../models/server_config_result_entry_list.py | 2 +- .../models/server_config_result_entry_ref.py | 2 +- .../models/server_config_result_list.py | 2 +- intersight/models/server_config_result_ref.py | 2 +- intersight/models/server_profile.py | 68 +- .../models/server_profile_apply_task_ref.py | 2 +- intersight/models/server_profile_list.py | 2 +- intersight/models/server_profile_ref.py | 2 +- .../models/server_result_handler_task_ref.py | 2 +- intersight/models/smtp_deploy_task_ref.py | 2 +- intersight/models/smtp_policy.py | 64 +- intersight/models/smtp_policy_list.py | 2 +- intersight/models/smtp_policy_ref.py | 2 +- intersight/models/smtp_validation_task_ref.py | 2 +- intersight/models/snmp_deploy_task_ref.py | 2 +- intersight/models/snmp_policy.py | 36 +- intersight/models/snmp_policy_list.py | 2 +- intersight/models/snmp_policy_ref.py | 2 +- intersight/models/snmp_trap.py | 2 +- intersight/models/snmp_trap_ref.py | 2 +- intersight/models/snmp_user.py | 2 +- intersight/models/snmp_user_ref.py | 2 +- intersight/models/snmp_validation_task_ref.py | 2 +- .../softwarerepository_authorization.py | 547 +++++++++++ .../softwarerepository_authorization_list.py | 153 +++ .../softwarerepository_authorization_ref.py | 149 +++ intersight/models/sol_deploy_task_ref.py | 2 +- intersight/models/sol_policy.py | 36 +- intersight/models/sol_policy_list.py | 2 +- intersight/models/sol_policy_ref.py | 2 +- intersight/models/sol_validation_task_ref.py | 2 +- intersight/models/ssh_deploy_task_ref.py | 2 +- intersight/models/ssh_policy.py | 36 +- intersight/models/ssh_policy_list.py | 2 +- intersight/models/ssh_policy_ref.py | 2 +- intersight/models/ssh_validation_task_ref.py | 2 +- .../models/storage_analyze_impact_task_ref.py | 2 +- intersight/models/storage_controller.py | 62 +- intersight/models/storage_controller_list.py | 2 +- intersight/models/storage_controller_ref.py | 2 +- intersight/models/storage_deploy_task_ref.py | 2 +- .../models/storage_disk_group_policy.py | 36 +- .../models/storage_disk_group_policy_list.py | 2 +- .../models/storage_disk_group_policy_ref.py | 2 +- intersight/models/storage_enclosure.py | 36 +- intersight/models/storage_enclosure_list.py | 2 +- intersight/models/storage_enclosure_ref.py | 2 +- .../models/storage_flex_flash_controller.py | 36 +- .../storage_flex_flash_controller_list.py | 2 +- .../storage_flex_flash_controller_props.py | 36 +- ...torage_flex_flash_controller_props_list.py | 2 +- ...storage_flex_flash_controller_props_ref.py | 2 +- .../storage_flex_flash_controller_ref.py | 2 +- .../storage_flex_flash_physical_drive.py | 36 +- .../storage_flex_flash_physical_drive_list.py | 2 +- .../storage_flex_flash_physical_drive_ref.py | 2 +- .../storage_flex_flash_virtual_drive.py | 36 +- .../storage_flex_flash_virtual_drive_list.py | 2 +- .../storage_flex_flash_virtual_drive_ref.py | 2 +- .../models/storage_flex_util_controller.py | 36 +- .../storage_flex_util_controller_list.py | 2 +- .../storage_flex_util_controller_ref.py | 2 +- .../storage_flex_util_physical_drive.py | 36 +- .../storage_flex_util_physical_drive_list.py | 2 +- .../storage_flex_util_physical_drive_ref.py | 2 +- .../models/storage_flex_util_virtual_drive.py | 36 +- .../storage_flex_util_virtual_drive_list.py | 2 +- .../storage_flex_util_virtual_drive_ref.py | 2 +- intersight/models/storage_local_disk.py | 2 +- intersight/models/storage_local_disk_ref.py | 2 +- intersight/models/storage_physical_disk.py | 36 +- .../models/storage_physical_disk_extension.py | 36 +- .../storage_physical_disk_extension_list.py | 2 +- .../storage_physical_disk_extension_ref.py | 2 +- .../models/storage_physical_disk_list.py | 2 +- .../models/storage_physical_disk_ref.py | 2 +- .../models/storage_physical_disk_usage.py | 36 +- .../storage_physical_disk_usage_list.py | 2 +- .../models/storage_physical_disk_usage_ref.py | 2 +- .../models/storage_remote_key_setting.py | 2 +- .../models/storage_remote_key_setting_ref.py | 2 +- intersight/models/storage_sas_expander.py | 36 +- .../models/storage_sas_expander_list.py | 2 +- intersight/models/storage_sas_expander_ref.py | 2 +- intersight/models/storage_span_group.py | 2 +- intersight/models/storage_span_group_ref.py | 2 +- intersight/models/storage_storage_policy.py | 36 +- .../models/storage_storage_policy_list.py | 2 +- .../models/storage_storage_policy_ref.py | 2 +- .../models/storage_take_snapshot_task_ref.py | 2 +- .../models/storage_validation_task_ref.py | 2 +- intersight/models/storage_vd_member_ep.py | 36 +- .../models/storage_vd_member_ep_list.py | 2 +- intersight/models/storage_vd_member_ep_ref.py | 2 +- intersight/models/storage_virtual_drive.py | 62 +- .../models/storage_virtual_drive_config.py | 2 +- .../storage_virtual_drive_config_ref.py | 2 +- .../models/storage_virtual_drive_extension.py | 767 +++++++++++++++ .../storage_virtual_drive_extension_list.py | 153 +++ .../storage_virtual_drive_extension_ref.py | 149 +++ .../models/storage_virtual_drive_list.py | 2 +- .../models/storage_virtual_drive_ref.py | 2 +- intersight/models/syslog_deploy_task_ref.py | 2 +- intersight/models/syslog_local_client_base.py | 2 +- .../models/syslog_local_client_base_ref.py | 2 +- .../syslog_local_file_logging_client_ref.py | 2 +- intersight/models/syslog_policy.py | 36 +- intersight/models/syslog_policy_list.py | 2 +- intersight/models/syslog_policy_ref.py | 2 +- .../models/syslog_remote_client_base.py | 2 +- .../models/syslog_remote_client_base_ref.py | 2 +- .../syslog_remote_logging_client_ref.py | 2 +- .../models/syslog_validation_task_ref.py | 2 +- intersight/models/task_file_download_info.py | 2 +- .../models/task_file_download_info_ref.py | 2 +- intersight/models/task_input_task_ref.py | 2 +- intersight/models/task_ucs_task1_ref.py | 2 +- intersight/models/task_ucs_task2_ref.py | 2 +- intersight/models/task_ucs_task3_ref.py | 2 +- intersight/models/task_ucs_task4_ref.py | 2 +- intersight/models/task_ucs_task5_ref.py | 2 +- intersight/models/task_ucs_task6_ref.py | 2 +- intersight/models/task_ucs_task7_ref.py | 2 +- intersight/models/task_ucs_task8_ref.py | 2 +- intersight/models/task_ucs_task9_ref.py | 2 +- intersight/models/task_workflow_action.py | 36 +- .../models/task_workflow_action_list.py | 2 +- intersight/models/task_workflow_action_ref.py | 2 +- intersight/models/telemetry_time_series.py | 377 ++++++++ .../models/telemetry_time_series_ref.py | 149 +++ intersight/models/terminal_audit_log.py | 36 +- intersight/models/terminal_audit_log_list.py | 2 +- intersight/models/terminal_audit_log_ref.py | 2 +- intersight/models/testcrypt_administrator.py | 36 +- .../models/testcrypt_administrator_list.py | 2 +- .../models/testcrypt_administrator_ref.py | 2 +- intersight/models/testcrypt_credential.py | 36 +- .../models/testcrypt_credential_list.py | 2 +- intersight/models/testcrypt_credential_ref.py | 2 +- intersight/models/testcrypt_read_only_user.py | 36 +- .../models/testcrypt_read_only_user_list.py | 2 +- .../models/testcrypt_read_only_user_ref.py | 2 +- .../models/testcrypt_shadow_credential.py | 36 +- .../testcrypt_shadow_credential_list.py | 2 +- .../models/testcrypt_shadow_credential_ref.py | 2 +- intersight/models/testcrypt_user.py | 2 +- intersight/models/testcrypt_user_ref.py | 2 +- intersight/models/top_system.py | 36 +- intersight/models/top_system_list.py | 2 +- intersight/models/top_system_ref.py | 2 +- .../models/ucsdconnector_field_query.py | 153 +++ .../models/ucsdconnector_field_query_ref.py | 149 +++ .../ucsdconnector_inventory_message_ref.py | 2 +- intersight/models/ucsdconnector_sql_query.py | 153 +++ .../models/ucsdconnector_sql_query_ref.py | 149 +++ .../ucsdconnector_telemetry_message_ref.py | 149 +++ .../models/ucsdconnector_telemetry_mo.py | 181 ++++ .../models/ucsdconnector_telemetry_mo_ref.py | 149 +++ intersight/models/views_view.py | 40 +- intersight/models/views_view_ref.py | 2 +- intersight/models/vmedia_deploy_task_ref.py | 2 +- intersight/models/vmedia_mapping.py | 2 +- intersight/models/vmedia_mapping_ref.py | 2 +- intersight/models/vmedia_policy.py | 36 +- intersight/models/vmedia_policy_list.py | 2 +- intersight/models/vmedia_policy_ref.py | 2 +- .../models/vmedia_validation_task_ref.py | 2 +- intersight/models/workflow_build_task_meta.py | 36 +- .../models/workflow_build_task_meta_list.py | 2 +- .../models/workflow_build_task_meta_owner.py | 36 +- .../workflow_build_task_meta_owner_list.py | 2 +- .../workflow_build_task_meta_owner_ref.py | 2 +- .../models/workflow_build_task_meta_ref.py | 2 +- ...kflow_dynamic_workflow_action_task_list.py | 2 +- ...w_dynamic_workflow_action_task_list_ref.py | 2 +- .../models/workflow_input_definition_ref.py | 2 +- .../models/workflow_input_parameter_ref.py | 2 +- .../workflow_pending_dynamic_workflow_info.py | 62 +- ...flow_pending_dynamic_workflow_info_list.py | 2 +- ...kflow_pending_dynamic_workflow_info_ref.py | 2 +- intersight/models/workflow_task_info.py | 36 +- intersight/models/workflow_task_info_list.py | 2 +- intersight/models/workflow_task_info_ref.py | 2 +- intersight/models/workflow_task_meta.py | 36 +- intersight/models/workflow_task_meta_list.py | 2 +- intersight/models/workflow_task_meta_ref.py | 2 +- intersight/models/workflow_task_retry_info.py | 2 +- .../models/workflow_task_retry_info_ref.py | 2 +- intersight/models/workflow_workflow_info.py | 118 ++- .../models/workflow_workflow_info_list.py | 2 +- .../models/workflow_workflow_info_ref.py | 2 +- intersight/models/workflow_workflow_meta.py | 36 +- .../models/workflow_workflow_meta_list.py | 2 +- .../models/workflow_workflow_meta_ref.py | 2 +- intersight/rest.py | 2 +- requirements.txt | 7 +- setup.py | 4 +- 1116 files changed, 39516 insertions(+), 2543 deletions(-) create mode 100644 intersight/apis/cvd_deployment_task_api.py create mode 100644 intersight/apis/cvd_template_api.py create mode 100644 intersight/apis/cvd_validation_task_api.py create mode 100644 intersight/apis/deviceconnector_policy_api.py create mode 100644 intersight/apis/equipment_io_expander_api.py create mode 100644 intersight/apis/equipment_rack_enclosure_api.py create mode 100644 intersight/apis/equipment_rack_enclosure_slot_api.py create mode 100644 intersight/apis/equipment_tpm_api.py create mode 100644 intersight/apis/hcl_driver_image_api.py create mode 100644 intersight/apis/hcl_operating_system_api.py create mode 100644 intersight/apis/hcl_operating_system_vendor_api.py create mode 100644 intersight/apis/hyperflex_node_api.py create mode 100644 intersight/apis/iaas_most_run_tasks_api.py create mode 100644 intersight/apis/iaas_ucsd_managed_infra_api.py create mode 100644 intersight/apis/pci_device_api.py create mode 100644 intersight/apis/resource_group_api.py create mode 100644 intersight/apis/softwarerepository_authorization_api.py create mode 100644 intersight/apis/storage_virtual_drive_extension_api.py create mode 100644 intersight/apis/telemetry_time_series_api.py create mode 100644 intersight/models/boot_bootloader.py create mode 100644 intersight/models/boot_bootloader_ref.py create mode 100644 intersight/models/boot_local_cdd_ref.py create mode 100644 intersight/models/cvd_deployment_task.py create mode 100644 intersight/models/cvd_deployment_task_list.py create mode 100644 intersight/models/cvd_deployment_task_ref.py create mode 100644 intersight/models/cvd_input_meta.py create mode 100644 intersight/models/cvd_input_meta_ref.py create mode 100644 intersight/models/cvd_template.py create mode 100644 intersight/models/cvd_template_list.py create mode 100644 intersight/models/cvd_template_ref.py create mode 100644 intersight/models/cvd_validation_task.py create mode 100644 intersight/models/cvd_validation_task_list.py create mode 100644 intersight/models/cvd_validation_task_ref.py create mode 100644 intersight/models/deviceconnector_deploy_task_ref.py create mode 100644 intersight/models/deviceconnector_policy.py create mode 100644 intersight/models/deviceconnector_policy_list.py create mode 100644 intersight/models/deviceconnector_policy_ref.py create mode 100644 intersight/models/deviceconnector_validation_task_ref.py create mode 100644 intersight/models/equipment_io_expander.py create mode 100644 intersight/models/equipment_io_expander_list.py create mode 100644 intersight/models/equipment_io_expander_ref.py create mode 100644 intersight/models/equipment_rack_enclosure.py create mode 100644 intersight/models/equipment_rack_enclosure_list.py create mode 100644 intersight/models/equipment_rack_enclosure_ref.py create mode 100644 intersight/models/equipment_rack_enclosure_slot.py create mode 100644 intersight/models/equipment_rack_enclosure_slot_list.py create mode 100644 intersight/models/equipment_rack_enclosure_slot_ref.py create mode 100644 intersight/models/equipment_tpm.py create mode 100644 intersight/models/equipment_tpm_list.py create mode 100644 intersight/models/equipment_tpm_ref.py create mode 100644 intersight/models/hcl_driver_image.py create mode 100644 intersight/models/hcl_driver_image_list.py create mode 100644 intersight/models/hcl_driver_image_ref.py create mode 100644 intersight/models/hcl_operating_system.py create mode 100644 intersight/models/hcl_operating_system_list.py create mode 100644 intersight/models/hcl_operating_system_ref.py create mode 100644 intersight/models/hcl_operating_system_vendor.py create mode 100644 intersight/models/hcl_operating_system_vendor_list.py create mode 100644 intersight/models/hcl_operating_system_vendor_ref.py create mode 100644 intersight/models/hyperflex_hx_link_dt.py create mode 100644 intersight/models/hyperflex_hx_link_dt_ref.py create mode 100644 intersight/models/hyperflex_hx_network_address_dt.py create mode 100644 intersight/models/hyperflex_hx_network_address_dt_ref.py create mode 100644 intersight/models/hyperflex_hx_uu_id_dt.py create mode 100644 intersight/models/hyperflex_hx_uu_id_dt_ref.py create mode 100644 intersight/models/hyperflex_node.py create mode 100644 intersight/models/hyperflex_node_list.py create mode 100644 intersight/models/hyperflex_node_ref.py create mode 100644 intersight/models/iaas_most_run_tasks.py create mode 100644 intersight/models/iaas_most_run_tasks_list.py create mode 100644 intersight/models/iaas_most_run_tasks_ref.py create mode 100644 intersight/models/iaas_ucsd_managed_infra.py create mode 100644 intersight/models/iaas_ucsd_managed_infra_list.py create mode 100644 intersight/models/iaas_ucsd_managed_infra_ref.py create mode 100644 intersight/models/iam_ldap_credentials_ref.py create mode 100644 intersight/models/mo_version_context.py create mode 100644 intersight/models/mo_version_context_ref.py create mode 100644 intersight/models/notifs_condition.py create mode 100644 intersight/models/notifs_condition_ref.py create mode 100644 intersight/models/pci_device.py create mode 100644 intersight/models/pci_device_list.py create mode 100644 intersight/models/pci_device_ref.py create mode 100644 intersight/models/resource_group.py create mode 100644 intersight/models/resource_group_list.py create mode 100644 intersight/models/resource_group_ref.py create mode 100644 intersight/models/softwarerepository_authorization.py create mode 100644 intersight/models/softwarerepository_authorization_list.py create mode 100644 intersight/models/softwarerepository_authorization_ref.py create mode 100644 intersight/models/storage_virtual_drive_extension.py create mode 100644 intersight/models/storage_virtual_drive_extension_list.py create mode 100644 intersight/models/storage_virtual_drive_extension_ref.py create mode 100644 intersight/models/telemetry_time_series.py create mode 100644 intersight/models/telemetry_time_series_ref.py create mode 100644 intersight/models/ucsdconnector_field_query.py create mode 100644 intersight/models/ucsdconnector_field_query_ref.py create mode 100644 intersight/models/ucsdconnector_sql_query.py create mode 100644 intersight/models/ucsdconnector_sql_query_ref.py create mode 100644 intersight/models/ucsdconnector_telemetry_message_ref.py create mode 100644 intersight/models/ucsdconnector_telemetry_mo.py create mode 100644 intersight/models/ucsdconnector_telemetry_mo_ref.py diff --git a/README.md b/README.md index 0f1105e4..1b82544d 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,13 @@ This is Intersight REST API This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: 1.0.7-681 -- Package version: 1.0.2 +- API version: 1.0.9-260 +- Package version: 1.0.0 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. -- Python 2.7 and 3.4+ -- OpenSSL >= 1.0.1. You can check ssl version used by Python with `python -c 'import ssl; print(ssl.OPENSSL_VERSION)'` +Python 2.7 and 3.4+ ## Installation & Usage ### pip install @@ -18,9 +17,9 @@ This Python package is automatically generated by the [Swagger Codegen](https:// If the python package is hosted on Github, you can install directly from Github ```sh -pip install git+https://github.com/CiscoUcs/intersight-python.git +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/CiscoUcs/intersight-python.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) Then import the package: ```python @@ -62,10 +61,11 @@ select = 'select_example' # str | Specifies a subset of properties to return (op orderby = 'orderby_example' # str | Determines what values are used to order a collection of records (optional) expand = 'expand_example' # str | Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames (optional) apply = 'apply_example' # str | Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) (optional) +at = 'at_example' # str | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' (optional) try: # Get a list of 'aaaAuditRecord' instances - api_response = api_instance.aaa_audit_records_get(count=count, inlinecount=inlinecount, top=top, skip=skip, filter=filter, select=select, orderby=orderby, expand=expand, apply=apply) + api_response = api_instance.aaa_audit_records_get(count=count, inlinecount=inlinecount, top=top, skip=skip, filter=filter, select=select, orderby=orderby, expand=expand, apply=apply, at=at) pprint(api_response) except ApiException as e: print("Exception when calling AaaAuditRecordApi->aaa_audit_records_get: %s\n" % e) @@ -149,6 +149,30 @@ Class | Method | HTTP request | Description *CryptEncryptionTokenApi* | [**crypt_encryption_tokens_moid_get**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_moid_get) | **GET** /crypt/EncryptionTokens/{moid} | Get a specific instance of 'cryptEncryptionToken' *CryptEncryptionTokenApi* | [**crypt_encryption_tokens_moid_patch**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_moid_patch) | **PATCH** /crypt/EncryptionTokens/{moid} | Update an instance of 'cryptEncryptionToken' *CryptEncryptionTokenApi* | [**crypt_encryption_tokens_moid_post**](docs/CryptEncryptionTokenApi.md#crypt_encryption_tokens_moid_post) | **POST** /crypt/EncryptionTokens/{moid} | Update an instance of 'cryptEncryptionToken' +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_get**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_get) | **GET** /cvd/DeploymentTasks | Get a list of 'cvdDeploymentTask' instances +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_moid_delete**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_moid_delete) | **DELETE** /cvd/DeploymentTasks/{moid} | Delete an instance of 'cvdDeploymentTask' +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_moid_get**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_moid_get) | **GET** /cvd/DeploymentTasks/{moid} | Get a specific instance of 'cvdDeploymentTask' +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_moid_patch**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_moid_patch) | **PATCH** /cvd/DeploymentTasks/{moid} | Update an instance of 'cvdDeploymentTask' +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_moid_post**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_moid_post) | **POST** /cvd/DeploymentTasks/{moid} | Update an instance of 'cvdDeploymentTask' +*CvdDeploymentTaskApi* | [**cvd_deployment_tasks_post**](docs/CvdDeploymentTaskApi.md#cvd_deployment_tasks_post) | **POST** /cvd/DeploymentTasks | Create an instance of 'cvdDeploymentTask' +*CvdTemplateApi* | [**cvd_templates_get**](docs/CvdTemplateApi.md#cvd_templates_get) | **GET** /cvd/Templates | Get a list of 'cvdTemplate' instances +*CvdTemplateApi* | [**cvd_templates_moid_delete**](docs/CvdTemplateApi.md#cvd_templates_moid_delete) | **DELETE** /cvd/Templates/{moid} | Delete an instance of 'cvdTemplate' +*CvdTemplateApi* | [**cvd_templates_moid_get**](docs/CvdTemplateApi.md#cvd_templates_moid_get) | **GET** /cvd/Templates/{moid} | Get a specific instance of 'cvdTemplate' +*CvdTemplateApi* | [**cvd_templates_moid_patch**](docs/CvdTemplateApi.md#cvd_templates_moid_patch) | **PATCH** /cvd/Templates/{moid} | Update an instance of 'cvdTemplate' +*CvdTemplateApi* | [**cvd_templates_moid_post**](docs/CvdTemplateApi.md#cvd_templates_moid_post) | **POST** /cvd/Templates/{moid} | Update an instance of 'cvdTemplate' +*CvdTemplateApi* | [**cvd_templates_post**](docs/CvdTemplateApi.md#cvd_templates_post) | **POST** /cvd/Templates | Create an instance of 'cvdTemplate' +*CvdValidationTaskApi* | [**cvd_validation_tasks_get**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_get) | **GET** /cvd/ValidationTasks | Get a list of 'cvdValidationTask' instances +*CvdValidationTaskApi* | [**cvd_validation_tasks_moid_delete**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_moid_delete) | **DELETE** /cvd/ValidationTasks/{moid} | Delete an instance of 'cvdValidationTask' +*CvdValidationTaskApi* | [**cvd_validation_tasks_moid_get**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_moid_get) | **GET** /cvd/ValidationTasks/{moid} | Get a specific instance of 'cvdValidationTask' +*CvdValidationTaskApi* | [**cvd_validation_tasks_moid_patch**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_moid_patch) | **PATCH** /cvd/ValidationTasks/{moid} | Update an instance of 'cvdValidationTask' +*CvdValidationTaskApi* | [**cvd_validation_tasks_moid_post**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_moid_post) | **POST** /cvd/ValidationTasks/{moid} | Update an instance of 'cvdValidationTask' +*CvdValidationTaskApi* | [**cvd_validation_tasks_post**](docs/CvdValidationTaskApi.md#cvd_validation_tasks_post) | **POST** /cvd/ValidationTasks | Create an instance of 'cvdValidationTask' +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_get**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_get) | **GET** /deviceconnector/Policies | Get a list of 'deviceconnectorPolicy' instances +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_moid_delete**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_moid_delete) | **DELETE** /deviceconnector/Policies/{moid} | Delete an instance of 'deviceconnectorPolicy' +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_moid_get**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_moid_get) | **GET** /deviceconnector/Policies/{moid} | Get a specific instance of 'deviceconnectorPolicy' +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_moid_patch**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_moid_patch) | **PATCH** /deviceconnector/Policies/{moid} | Update an instance of 'deviceconnectorPolicy' +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_moid_post**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_moid_post) | **POST** /deviceconnector/Policies/{moid} | Update an instance of 'deviceconnectorPolicy' +*DeviceconnectorPolicyApi* | [**deviceconnector_policies_post**](docs/DeviceconnectorPolicyApi.md#deviceconnector_policies_post) | **POST** /deviceconnector/Policies | Create an instance of 'deviceconnectorPolicy' *DeviceinfoSerialNumberInfoApi* | [**deviceinfo_serial_number_infos_get**](docs/DeviceinfoSerialNumberInfoApi.md#deviceinfo_serial_number_infos_get) | **GET** /deviceinfo/SerialNumberInfos | Get a list of 'deviceinfoSerialNumberInfo' instances *DeviceinfoSerialNumberInfoApi* | [**deviceinfo_serial_number_infos_moid_get**](docs/DeviceinfoSerialNumberInfoApi.md#deviceinfo_serial_number_infos_moid_get) | **GET** /deviceinfo/SerialNumberInfos/{moid} | Get a specific instance of 'deviceinfoSerialNumberInfo' *EquipmentChassisApi* | [**equipment_chasses_get**](docs/EquipmentChassisApi.md#equipment_chasses_get) | **GET** /equipment/Chasses | Get a list of 'equipmentChassis' instances @@ -173,6 +197,10 @@ Class | Method | HTTP request | Description *EquipmentIoCardApi* | [**equipment_io_cards_moid_get**](docs/EquipmentIoCardApi.md#equipment_io_cards_moid_get) | **GET** /equipment/IoCards/{moid} | Get a specific instance of 'equipmentIoCard' *EquipmentIoCardApi* | [**equipment_io_cards_moid_patch**](docs/EquipmentIoCardApi.md#equipment_io_cards_moid_patch) | **PATCH** /equipment/IoCards/{moid} | Update an instance of 'equipmentIoCard' *EquipmentIoCardApi* | [**equipment_io_cards_moid_post**](docs/EquipmentIoCardApi.md#equipment_io_cards_moid_post) | **POST** /equipment/IoCards/{moid} | Update an instance of 'equipmentIoCard' +*EquipmentIoExpanderApi* | [**equipment_io_expanders_get**](docs/EquipmentIoExpanderApi.md#equipment_io_expanders_get) | **GET** /equipment/IoExpanders | Get a list of 'equipmentIoExpander' instances +*EquipmentIoExpanderApi* | [**equipment_io_expanders_moid_get**](docs/EquipmentIoExpanderApi.md#equipment_io_expanders_moid_get) | **GET** /equipment/IoExpanders/{moid} | Get a specific instance of 'equipmentIoExpander' +*EquipmentIoExpanderApi* | [**equipment_io_expanders_moid_patch**](docs/EquipmentIoExpanderApi.md#equipment_io_expanders_moid_patch) | **PATCH** /equipment/IoExpanders/{moid} | Update an instance of 'equipmentIoExpander' +*EquipmentIoExpanderApi* | [**equipment_io_expanders_moid_post**](docs/EquipmentIoExpanderApi.md#equipment_io_expanders_moid_post) | **POST** /equipment/IoExpanders/{moid} | Update an instance of 'equipmentIoExpander' *EquipmentLocatorLedApi* | [**equipment_locator_leds_get**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_get) | **GET** /equipment/LocatorLeds | Get a list of 'equipmentLocatorLed' instances *EquipmentLocatorLedApi* | [**equipment_locator_leds_moid_get**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_moid_get) | **GET** /equipment/LocatorLeds/{moid} | Get a specific instance of 'equipmentLocatorLed' *EquipmentLocatorLedApi* | [**equipment_locator_leds_moid_patch**](docs/EquipmentLocatorLedApi.md#equipment_locator_leds_moid_patch) | **PATCH** /equipment/LocatorLeds/{moid} | Update an instance of 'equipmentLocatorLed' @@ -181,6 +209,14 @@ Class | Method | HTTP request | Description *EquipmentPsuApi* | [**equipment_psus_moid_get**](docs/EquipmentPsuApi.md#equipment_psus_moid_get) | **GET** /equipment/Psus/{moid} | Get a specific instance of 'equipmentPsu' *EquipmentPsuApi* | [**equipment_psus_moid_patch**](docs/EquipmentPsuApi.md#equipment_psus_moid_patch) | **PATCH** /equipment/Psus/{moid} | Update an instance of 'equipmentPsu' *EquipmentPsuApi* | [**equipment_psus_moid_post**](docs/EquipmentPsuApi.md#equipment_psus_moid_post) | **POST** /equipment/Psus/{moid} | Update an instance of 'equipmentPsu' +*EquipmentRackEnclosureApi* | [**equipment_rack_enclosures_get**](docs/EquipmentRackEnclosureApi.md#equipment_rack_enclosures_get) | **GET** /equipment/RackEnclosures | Get a list of 'equipmentRackEnclosure' instances +*EquipmentRackEnclosureApi* | [**equipment_rack_enclosures_moid_get**](docs/EquipmentRackEnclosureApi.md#equipment_rack_enclosures_moid_get) | **GET** /equipment/RackEnclosures/{moid} | Get a specific instance of 'equipmentRackEnclosure' +*EquipmentRackEnclosureApi* | [**equipment_rack_enclosures_moid_patch**](docs/EquipmentRackEnclosureApi.md#equipment_rack_enclosures_moid_patch) | **PATCH** /equipment/RackEnclosures/{moid} | Update an instance of 'equipmentRackEnclosure' +*EquipmentRackEnclosureApi* | [**equipment_rack_enclosures_moid_post**](docs/EquipmentRackEnclosureApi.md#equipment_rack_enclosures_moid_post) | **POST** /equipment/RackEnclosures/{moid} | Update an instance of 'equipmentRackEnclosure' +*EquipmentRackEnclosureSlotApi* | [**equipment_rack_enclosure_slots_get**](docs/EquipmentRackEnclosureSlotApi.md#equipment_rack_enclosure_slots_get) | **GET** /equipment/RackEnclosureSlots | Get a list of 'equipmentRackEnclosureSlot' instances +*EquipmentRackEnclosureSlotApi* | [**equipment_rack_enclosure_slots_moid_get**](docs/EquipmentRackEnclosureSlotApi.md#equipment_rack_enclosure_slots_moid_get) | **GET** /equipment/RackEnclosureSlots/{moid} | Get a specific instance of 'equipmentRackEnclosureSlot' +*EquipmentRackEnclosureSlotApi* | [**equipment_rack_enclosure_slots_moid_patch**](docs/EquipmentRackEnclosureSlotApi.md#equipment_rack_enclosure_slots_moid_patch) | **PATCH** /equipment/RackEnclosureSlots/{moid} | Update an instance of 'equipmentRackEnclosureSlot' +*EquipmentRackEnclosureSlotApi* | [**equipment_rack_enclosure_slots_moid_post**](docs/EquipmentRackEnclosureSlotApi.md#equipment_rack_enclosure_slots_moid_post) | **POST** /equipment/RackEnclosureSlots/{moid} | Update an instance of 'equipmentRackEnclosureSlot' *EquipmentSwitchCardApi* | [**equipment_switch_cards_get**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_get) | **GET** /equipment/SwitchCards | Get a list of 'equipmentSwitchCard' instances *EquipmentSwitchCardApi* | [**equipment_switch_cards_moid_get**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_moid_get) | **GET** /equipment/SwitchCards/{moid} | Get a specific instance of 'equipmentSwitchCard' *EquipmentSwitchCardApi* | [**equipment_switch_cards_moid_patch**](docs/EquipmentSwitchCardApi.md#equipment_switch_cards_moid_patch) | **PATCH** /equipment/SwitchCards/{moid} | Update an instance of 'equipmentSwitchCard' @@ -189,15 +225,14 @@ Class | Method | HTTP request | Description *EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_moid_get**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_moid_get) | **GET** /equipment/SystemIoControllers/{moid} | Get a specific instance of 'equipmentSystemIoController' *EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_moid_patch**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_moid_patch) | **PATCH** /equipment/SystemIoControllers/{moid} | Update an instance of 'equipmentSystemIoController' *EquipmentSystemIoControllerApi* | [**equipment_system_io_controllers_moid_post**](docs/EquipmentSystemIoControllerApi.md#equipment_system_io_controllers_moid_post) | **POST** /equipment/SystemIoControllers/{moid} | Update an instance of 'equipmentSystemIoController' +*EquipmentTpmApi* | [**equipment_tpms_get**](docs/EquipmentTpmApi.md#equipment_tpms_get) | **GET** /equipment/Tpms | Get a list of 'equipmentTpm' instances +*EquipmentTpmApi* | [**equipment_tpms_moid_get**](docs/EquipmentTpmApi.md#equipment_tpms_moid_get) | **GET** /equipment/Tpms/{moid} | Get a specific instance of 'equipmentTpm' +*EquipmentTpmApi* | [**equipment_tpms_moid_patch**](docs/EquipmentTpmApi.md#equipment_tpms_moid_patch) | **PATCH** /equipment/Tpms/{moid} | Update an instance of 'equipmentTpm' +*EquipmentTpmApi* | [**equipment_tpms_moid_post**](docs/EquipmentTpmApi.md#equipment_tpms_moid_post) | **POST** /equipment/Tpms/{moid} | Update an instance of 'equipmentTpm' *EtherPhysicalPortApi* | [**ether_physical_ports_get**](docs/EtherPhysicalPortApi.md#ether_physical_ports_get) | **GET** /ether/PhysicalPorts | Get a list of 'etherPhysicalPort' instances *EtherPhysicalPortApi* | [**ether_physical_ports_moid_get**](docs/EtherPhysicalPortApi.md#ether_physical_ports_moid_get) | **GET** /ether/PhysicalPorts/{moid} | Get a specific instance of 'etherPhysicalPort' *EtherPhysicalPortApi* | [**ether_physical_ports_moid_patch**](docs/EtherPhysicalPortApi.md#ether_physical_ports_moid_patch) | **PATCH** /ether/PhysicalPorts/{moid} | Update an instance of 'etherPhysicalPort' *EtherPhysicalPortApi* | [**ether_physical_ports_moid_post**](docs/EtherPhysicalPortApi.md#ether_physical_ports_moid_post) | **POST** /ether/PhysicalPorts/{moid} | Update an instance of 'etherPhysicalPort' -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_get**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_get) | **GET** /externalsite/Authorizations | Get a list of 'externalsiteAuthorization' instances -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_moid_get**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_moid_get) | **GET** /externalsite/Authorizations/{moid} | Get a specific instance of 'externalsiteAuthorization' -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_moid_patch**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_moid_patch) | **PATCH** /externalsite/Authorizations/{moid} | Update an instance of 'externalsiteAuthorization' -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_moid_post**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_moid_post) | **POST** /externalsite/Authorizations/{moid} | Update an instance of 'externalsiteAuthorization' -*ExternalsiteAuthorizationApi* | [**externalsite_authorizations_post**](docs/ExternalsiteAuthorizationApi.md#externalsite_authorizations_post) | **POST** /externalsite/Authorizations | Create an instance of 'externalsiteAuthorization' *FaultInstanceApi* | [**fault_instances_get**](docs/FaultInstanceApi.md#fault_instances_get) | **GET** /fault/Instances | Get a list of 'faultInstance' instances *FaultInstanceApi* | [**fault_instances_moid_get**](docs/FaultInstanceApi.md#fault_instances_moid_get) | **GET** /fault/Instances/{moid} | Get a specific instance of 'faultInstance' *FaultInstanceApi* | [**fault_instances_moid_patch**](docs/FaultInstanceApi.md#fault_instances_moid_patch) | **PATCH** /fault/Instances/{moid} | Update an instance of 'faultInstance' @@ -231,16 +266,17 @@ Class | Method | HTTP request | Description *GraphicsControllerApi* | [**graphics_controllers_moid_patch**](docs/GraphicsControllerApi.md#graphics_controllers_moid_patch) | **PATCH** /graphics/Controllers/{moid} | Update an instance of 'graphicsController' *GraphicsControllerApi* | [**graphics_controllers_moid_post**](docs/GraphicsControllerApi.md#graphics_controllers_moid_post) | **POST** /graphics/Controllers/{moid} | Update an instance of 'graphicsController' *HclCompatibilityStatusApi* | [**hcl_compatibility_statuses_post**](docs/HclCompatibilityStatusApi.md#hcl_compatibility_statuses_post) | **POST** /hcl/CompatibilityStatuses | Create an instance of 'hclCompatibilityStatus' -*HclDataImportLogApi* | [**hcl_data_import_logs_get**](docs/HclDataImportLogApi.md#hcl_data_import_logs_get) | **GET** /hcl/DataImportLogs | Get a list of 'hclDataImportLog' instances -*HclDataImportLogApi* | [**hcl_data_import_logs_moid_get**](docs/HclDataImportLogApi.md#hcl_data_import_logs_moid_get) | **GET** /hcl/DataImportLogs/{moid} | Get a specific instance of 'hclDataImportLog' -*HclDataImportLogApi* | [**hcl_data_import_logs_post**](docs/HclDataImportLogApi.md#hcl_data_import_logs_post) | **POST** /hcl/DataImportLogs | Create an instance of 'hclDataImportLog' +*HclDriverImageApi* | [**hcl_driver_images_get**](docs/HclDriverImageApi.md#hcl_driver_images_get) | **GET** /hcl/DriverImages | Get a list of 'hclDriverImage' instances +*HclDriverImageApi* | [**hcl_driver_images_moid_get**](docs/HclDriverImageApi.md#hcl_driver_images_moid_get) | **GET** /hcl/DriverImages/{moid} | Get a specific instance of 'hclDriverImage' +*HclOperatingSystemApi* | [**hcl_operating_systems_get**](docs/HclOperatingSystemApi.md#hcl_operating_systems_get) | **GET** /hcl/OperatingSystems | Get a list of 'hclOperatingSystem' instances +*HclOperatingSystemApi* | [**hcl_operating_systems_moid_get**](docs/HclOperatingSystemApi.md#hcl_operating_systems_moid_get) | **GET** /hcl/OperatingSystems/{moid} | Get a specific instance of 'hclOperatingSystem' +*HclOperatingSystemVendorApi* | [**hcl_operating_system_vendors_get**](docs/HclOperatingSystemVendorApi.md#hcl_operating_system_vendors_get) | **GET** /hcl/OperatingSystemVendors | Get a list of 'hclOperatingSystemVendor' instances +*HclOperatingSystemVendorApi* | [**hcl_operating_system_vendors_moid_get**](docs/HclOperatingSystemVendorApi.md#hcl_operating_system_vendors_moid_get) | **GET** /hcl/OperatingSystemVendors/{moid} | Get a specific instance of 'hclOperatingSystemVendor' *HclServiceStatusApi* | [**hcl_service_statuses_get**](docs/HclServiceStatusApi.md#hcl_service_statuses_get) | **GET** /hcl/ServiceStatuses | Get a list of 'hclServiceStatus' instances *HclServiceStatusApi* | [**hcl_service_statuses_moid_get**](docs/HclServiceStatusApi.md#hcl_service_statuses_moid_get) | **GET** /hcl/ServiceStatuses/{moid} | Get a specific instance of 'hclServiceStatus' *HclSupportedDriverNameApi* | [**hcl_supported_driver_names_post**](docs/HclSupportedDriverNameApi.md#hcl_supported_driver_names_post) | **POST** /hcl/SupportedDriverNames | Create an instance of 'hclSupportedDriverName' *HyperflexAlarmApi* | [**hyperflex_alarms_get**](docs/HyperflexAlarmApi.md#hyperflex_alarms_get) | **GET** /hyperflex/Alarms | Get a list of 'hyperflexAlarm' instances -*HyperflexAlarmApi* | [**hyperflex_alarms_moid_delete**](docs/HyperflexAlarmApi.md#hyperflex_alarms_moid_delete) | **DELETE** /hyperflex/Alarms/{moid} | Delete an instance of 'hyperflexAlarm' *HyperflexAlarmApi* | [**hyperflex_alarms_moid_get**](docs/HyperflexAlarmApi.md#hyperflex_alarms_moid_get) | **GET** /hyperflex/Alarms/{moid} | Get a specific instance of 'hyperflexAlarm' -*HyperflexAlarmApi* | [**hyperflex_alarms_post**](docs/HyperflexAlarmApi.md#hyperflex_alarms_post) | **POST** /hyperflex/Alarms | Create an instance of 'hyperflexAlarm' *HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_get**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_get) | **GET** /hyperflex/AppCatalogs | Get a list of 'hyperflexAppCatalog' instances *HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_moid_delete**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_moid_delete) | **DELETE** /hyperflex/AppCatalogs/{moid} | Delete an instance of 'hyperflexAppCatalog' *HyperflexAppCatalogApi* | [**hyperflex_app_catalogs_moid_get**](docs/HyperflexAppCatalogApi.md#hyperflex_app_catalogs_moid_get) | **GET** /hyperflex/AppCatalogs/{moid} | Get a specific instance of 'hyperflexAppCatalog' @@ -254,10 +290,7 @@ Class | Method | HTTP request | Description *HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_moid_post**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_moid_post) | **POST** /hyperflex/AutoSupportPolicies/{moid} | Update an instance of 'hyperflexAutoSupportPolicy' *HyperflexAutoSupportPolicyApi* | [**hyperflex_auto_support_policies_post**](docs/HyperflexAutoSupportPolicyApi.md#hyperflex_auto_support_policies_post) | **POST** /hyperflex/AutoSupportPolicies | Create an instance of 'hyperflexAutoSupportPolicy' *HyperflexClusterApi* | [**hyperflex_clusters_get**](docs/HyperflexClusterApi.md#hyperflex_clusters_get) | **GET** /hyperflex/Clusters | Get a list of 'hyperflexCluster' instances -*HyperflexClusterApi* | [**hyperflex_clusters_moid_delete**](docs/HyperflexClusterApi.md#hyperflex_clusters_moid_delete) | **DELETE** /hyperflex/Clusters/{moid} | Delete an instance of 'hyperflexCluster' *HyperflexClusterApi* | [**hyperflex_clusters_moid_get**](docs/HyperflexClusterApi.md#hyperflex_clusters_moid_get) | **GET** /hyperflex/Clusters/{moid} | Get a specific instance of 'hyperflexCluster' -*HyperflexClusterApi* | [**hyperflex_clusters_moid_patch**](docs/HyperflexClusterApi.md#hyperflex_clusters_moid_patch) | **PATCH** /hyperflex/Clusters/{moid} | Update an instance of 'hyperflexCluster' -*HyperflexClusterApi* | [**hyperflex_clusters_moid_post**](docs/HyperflexClusterApi.md#hyperflex_clusters_moid_post) | **POST** /hyperflex/Clusters/{moid} | Update an instance of 'hyperflexCluster' *HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_get**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_get) | **GET** /hyperflex/ClusterNetworkPolicies | Get a list of 'hyperflexClusterNetworkPolicy' instances *HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_delete**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_delete) | **DELETE** /hyperflex/ClusterNetworkPolicies/{moid} | Delete an instance of 'hyperflexClusterNetworkPolicy' *HyperflexClusterNetworkPolicyApi* | [**hyperflex_cluster_network_policies_moid_get**](docs/HyperflexClusterNetworkPolicyApi.md#hyperflex_cluster_network_policies_moid_get) | **GET** /hyperflex/ClusterNetworkPolicies/{moid} | Get a specific instance of 'hyperflexClusterNetworkPolicy' @@ -316,6 +349,8 @@ Class | Method | HTTP request | Description *HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_patch**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_patch) | **PATCH** /hyperflex/LocalCredentialPolicies/{moid} | Update an instance of 'hyperflexLocalCredentialPolicy' *HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_moid_post**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_moid_post) | **POST** /hyperflex/LocalCredentialPolicies/{moid} | Update an instance of 'hyperflexLocalCredentialPolicy' *HyperflexLocalCredentialPolicyApi* | [**hyperflex_local_credential_policies_post**](docs/HyperflexLocalCredentialPolicyApi.md#hyperflex_local_credential_policies_post) | **POST** /hyperflex/LocalCredentialPolicies | Create an instance of 'hyperflexLocalCredentialPolicy' +*HyperflexNodeApi* | [**hyperflex_nodes_get**](docs/HyperflexNodeApi.md#hyperflex_nodes_get) | **GET** /hyperflex/Nodes | Get a list of 'hyperflexNode' instances +*HyperflexNodeApi* | [**hyperflex_nodes_moid_get**](docs/HyperflexNodeApi.md#hyperflex_nodes_moid_get) | **GET** /hyperflex/Nodes/{moid} | Get a specific instance of 'hyperflexNode' *HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_get**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_get) | **GET** /hyperflex/NodeConfigPolicies | Get a list of 'hyperflexNodeConfigPolicy' instances *HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_delete**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_delete) | **DELETE** /hyperflex/NodeConfigPolicies/{moid} | Delete an instance of 'hyperflexNodeConfigPolicy' *HyperflexNodeConfigPolicyApi* | [**hyperflex_node_config_policies_moid_get**](docs/HyperflexNodeConfigPolicyApi.md#hyperflex_node_config_policies_moid_get) | **GET** /hyperflex/NodeConfigPolicies/{moid} | Get a specific instance of 'hyperflexNodeConfigPolicy' @@ -370,8 +405,12 @@ Class | Method | HTTP request | Description *IaasDeviceStatusApi* | [**iaas_device_statuses_moid_get**](docs/IaasDeviceStatusApi.md#iaas_device_statuses_moid_get) | **GET** /iaas/DeviceStatuses/{moid} | Get a specific instance of 'iaasDeviceStatus' *IaasLicenseInfoApi* | [**iaas_license_infos_get**](docs/IaasLicenseInfoApi.md#iaas_license_infos_get) | **GET** /iaas/LicenseInfos | Get a list of 'iaasLicenseInfo' instances *IaasLicenseInfoApi* | [**iaas_license_infos_moid_get**](docs/IaasLicenseInfoApi.md#iaas_license_infos_moid_get) | **GET** /iaas/LicenseInfos/{moid} | Get a specific instance of 'iaasLicenseInfo' +*IaasMostRunTasksApi* | [**iaas_most_run_tasks_get**](docs/IaasMostRunTasksApi.md#iaas_most_run_tasks_get) | **GET** /iaas/MostRunTasks | Get a list of 'iaasMostRunTasks' instances +*IaasMostRunTasksApi* | [**iaas_most_run_tasks_moid_get**](docs/IaasMostRunTasksApi.md#iaas_most_run_tasks_moid_get) | **GET** /iaas/MostRunTasks/{moid} | Get a specific instance of 'iaasMostRunTasks' *IaasUcsdInfoApi* | [**iaas_ucsd_infos_get**](docs/IaasUcsdInfoApi.md#iaas_ucsd_infos_get) | **GET** /iaas/UcsdInfos | Get a list of 'iaasUcsdInfo' instances *IaasUcsdInfoApi* | [**iaas_ucsd_infos_moid_get**](docs/IaasUcsdInfoApi.md#iaas_ucsd_infos_moid_get) | **GET** /iaas/UcsdInfos/{moid} | Get a specific instance of 'iaasUcsdInfo' +*IaasUcsdManagedInfraApi* | [**iaas_ucsd_managed_infras_get**](docs/IaasUcsdManagedInfraApi.md#iaas_ucsd_managed_infras_get) | **GET** /iaas/UcsdManagedInfras | Get a list of 'iaasUcsdManagedInfra' instances +*IaasUcsdManagedInfraApi* | [**iaas_ucsd_managed_infras_moid_get**](docs/IaasUcsdManagedInfraApi.md#iaas_ucsd_managed_infras_moid_get) | **GET** /iaas/UcsdManagedInfras/{moid} | Get a specific instance of 'iaasUcsdManagedInfra' *IamAccountApi* | [**iam_accounts_get**](docs/IamAccountApi.md#iam_accounts_get) | **GET** /iam/Accounts | Get a list of 'iamAccount' instances *IamAccountApi* | [**iam_accounts_moid_delete**](docs/IamAccountApi.md#iam_accounts_moid_delete) | **DELETE** /iam/Accounts/{moid} | Delete an instance of 'iamAccount' *IamAccountApi* | [**iam_accounts_moid_get**](docs/IamAccountApi.md#iam_accounts_moid_get) | **GET** /iam/Accounts/{moid} | Get a specific instance of 'iamAccount' @@ -560,6 +599,16 @@ Class | Method | HTTP request | Description *NtpPolicyApi* | [**ntp_policies_moid_patch**](docs/NtpPolicyApi.md#ntp_policies_moid_patch) | **PATCH** /ntp/Policies/{moid} | Update an instance of 'ntpPolicy' *NtpPolicyApi* | [**ntp_policies_moid_post**](docs/NtpPolicyApi.md#ntp_policies_moid_post) | **POST** /ntp/Policies/{moid} | Update an instance of 'ntpPolicy' *NtpPolicyApi* | [**ntp_policies_post**](docs/NtpPolicyApi.md#ntp_policies_post) | **POST** /ntp/Policies | Create an instance of 'ntpPolicy' +*OauthOauthUserApi* | [**oauth_oauth_users_get**](docs/OauthOauthUserApi.md#oauth_oauth_users_get) | **GET** /oauth/OauthUsers | Get a list of 'oauthOauthUser' instances +*OauthOauthUserApi* | [**oauth_oauth_users_moid_delete**](docs/OauthOauthUserApi.md#oauth_oauth_users_moid_delete) | **DELETE** /oauth/OauthUsers/{moid} | Delete an instance of 'oauthOauthUser' +*OauthOauthUserApi* | [**oauth_oauth_users_moid_get**](docs/OauthOauthUserApi.md#oauth_oauth_users_moid_get) | **GET** /oauth/OauthUsers/{moid} | Get a specific instance of 'oauthOauthUser' +*OauthOauthUserApi* | [**oauth_oauth_users_moid_patch**](docs/OauthOauthUserApi.md#oauth_oauth_users_moid_patch) | **PATCH** /oauth/OauthUsers/{moid} | Update an instance of 'oauthOauthUser' +*OauthOauthUserApi* | [**oauth_oauth_users_moid_post**](docs/OauthOauthUserApi.md#oauth_oauth_users_moid_post) | **POST** /oauth/OauthUsers/{moid} | Update an instance of 'oauthOauthUser' +*OauthOauthUserApi* | [**oauth_oauth_users_post**](docs/OauthOauthUserApi.md#oauth_oauth_users_post) | **POST** /oauth/OauthUsers | Create an instance of 'oauthOauthUser' +*PciDeviceApi* | [**pci_devices_get**](docs/PciDeviceApi.md#pci_devices_get) | **GET** /pci/Devices | Get a list of 'pciDevice' instances +*PciDeviceApi* | [**pci_devices_moid_get**](docs/PciDeviceApi.md#pci_devices_moid_get) | **GET** /pci/Devices/{moid} | Get a specific instance of 'pciDevice' +*PciDeviceApi* | [**pci_devices_moid_patch**](docs/PciDeviceApi.md#pci_devices_moid_patch) | **PATCH** /pci/Devices/{moid} | Update an instance of 'pciDevice' +*PciDeviceApi* | [**pci_devices_moid_post**](docs/PciDeviceApi.md#pci_devices_moid_post) | **POST** /pci/Devices/{moid} | Update an instance of 'pciDevice' *PortGroupApi* | [**port_groups_get**](docs/PortGroupApi.md#port_groups_get) | **GET** /port/Groups | Get a list of 'portGroup' instances *PortGroupApi* | [**port_groups_moid_get**](docs/PortGroupApi.md#port_groups_moid_get) | **GET** /port/Groups/{moid} | Get a specific instance of 'portGroup' *PortGroupApi* | [**port_groups_moid_patch**](docs/PortGroupApi.md#port_groups_moid_patch) | **PATCH** /port/Groups/{moid} | Update an instance of 'portGroup' @@ -572,6 +621,12 @@ Class | Method | HTTP request | Description *ProcessorUnitApi* | [**processor_units_moid_get**](docs/ProcessorUnitApi.md#processor_units_moid_get) | **GET** /processor/Units/{moid} | Get a specific instance of 'processorUnit' *ProcessorUnitApi* | [**processor_units_moid_patch**](docs/ProcessorUnitApi.md#processor_units_moid_patch) | **PATCH** /processor/Units/{moid} | Update an instance of 'processorUnit' *ProcessorUnitApi* | [**processor_units_moid_post**](docs/ProcessorUnitApi.md#processor_units_moid_post) | **POST** /processor/Units/{moid} | Update an instance of 'processorUnit' +*ResourceGroupApi* | [**resource_groups_get**](docs/ResourceGroupApi.md#resource_groups_get) | **GET** /resource/Groups | Get a list of 'resourceGroup' instances +*ResourceGroupApi* | [**resource_groups_moid_delete**](docs/ResourceGroupApi.md#resource_groups_moid_delete) | **DELETE** /resource/Groups/{moid} | Delete an instance of 'resourceGroup' +*ResourceGroupApi* | [**resource_groups_moid_get**](docs/ResourceGroupApi.md#resource_groups_moid_get) | **GET** /resource/Groups/{moid} | Get a specific instance of 'resourceGroup' +*ResourceGroupApi* | [**resource_groups_moid_patch**](docs/ResourceGroupApi.md#resource_groups_moid_patch) | **PATCH** /resource/Groups/{moid} | Update an instance of 'resourceGroup' +*ResourceGroupApi* | [**resource_groups_moid_post**](docs/ResourceGroupApi.md#resource_groups_moid_post) | **POST** /resource/Groups/{moid} | Update an instance of 'resourceGroup' +*ResourceGroupApi* | [**resource_groups_post**](docs/ResourceGroupApi.md#resource_groups_post) | **POST** /resource/Groups | Create an instance of 'resourceGroup' *SdcardPolicyApi* | [**sdcard_policies_get**](docs/SdcardPolicyApi.md#sdcard_policies_get) | **GET** /sdcard/Policies | Get a list of 'sdcardPolicy' instances *SdcardPolicyApi* | [**sdcard_policies_moid_delete**](docs/SdcardPolicyApi.md#sdcard_policies_moid_delete) | **DELETE** /sdcard/Policies/{moid} | Delete an instance of 'sdcardPolicy' *SdcardPolicyApi* | [**sdcard_policies_moid_get**](docs/SdcardPolicyApi.md#sdcard_policies_moid_get) | **GET** /sdcard/Policies/{moid} | Get a specific instance of 'sdcardPolicy' @@ -611,6 +666,11 @@ Class | Method | HTTP request | Description *SnmpPolicyApi* | [**snmp_policies_moid_patch**](docs/SnmpPolicyApi.md#snmp_policies_moid_patch) | **PATCH** /snmp/Policies/{moid} | Update an instance of 'snmpPolicy' *SnmpPolicyApi* | [**snmp_policies_moid_post**](docs/SnmpPolicyApi.md#snmp_policies_moid_post) | **POST** /snmp/Policies/{moid} | Update an instance of 'snmpPolicy' *SnmpPolicyApi* | [**snmp_policies_post**](docs/SnmpPolicyApi.md#snmp_policies_post) | **POST** /snmp/Policies | Create an instance of 'snmpPolicy' +*SoftwarerepositoryAuthorizationApi* | [**softwarerepository_authorizations_get**](docs/SoftwarerepositoryAuthorizationApi.md#softwarerepository_authorizations_get) | **GET** /softwarerepository/Authorizations | Get a list of 'softwarerepositoryAuthorization' instances +*SoftwarerepositoryAuthorizationApi* | [**softwarerepository_authorizations_moid_get**](docs/SoftwarerepositoryAuthorizationApi.md#softwarerepository_authorizations_moid_get) | **GET** /softwarerepository/Authorizations/{moid} | Get a specific instance of 'softwarerepositoryAuthorization' +*SoftwarerepositoryAuthorizationApi* | [**softwarerepository_authorizations_moid_patch**](docs/SoftwarerepositoryAuthorizationApi.md#softwarerepository_authorizations_moid_patch) | **PATCH** /softwarerepository/Authorizations/{moid} | Update an instance of 'softwarerepositoryAuthorization' +*SoftwarerepositoryAuthorizationApi* | [**softwarerepository_authorizations_moid_post**](docs/SoftwarerepositoryAuthorizationApi.md#softwarerepository_authorizations_moid_post) | **POST** /softwarerepository/Authorizations/{moid} | Update an instance of 'softwarerepositoryAuthorization' +*SoftwarerepositoryAuthorizationApi* | [**softwarerepository_authorizations_post**](docs/SoftwarerepositoryAuthorizationApi.md#softwarerepository_authorizations_post) | **POST** /softwarerepository/Authorizations | Create an instance of 'softwarerepositoryAuthorization' *SolPolicyApi* | [**sol_policies_get**](docs/SolPolicyApi.md#sol_policies_get) | **GET** /sol/Policies | Get a list of 'solPolicy' instances *SolPolicyApi* | [**sol_policies_moid_delete**](docs/SolPolicyApi.md#sol_policies_moid_delete) | **DELETE** /sol/Policies/{moid} | Delete an instance of 'solPolicy' *SolPolicyApi* | [**sol_policies_moid_get**](docs/SolPolicyApi.md#sol_policies_moid_get) | **GET** /sol/Policies/{moid} | Get a specific instance of 'solPolicy' @@ -695,6 +755,10 @@ Class | Method | HTTP request | Description *StorageVirtualDriveApi* | [**storage_virtual_drives_moid_get**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_moid_get) | **GET** /storage/VirtualDrives/{moid} | Get a specific instance of 'storageVirtualDrive' *StorageVirtualDriveApi* | [**storage_virtual_drives_moid_patch**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_moid_patch) | **PATCH** /storage/VirtualDrives/{moid} | Update an instance of 'storageVirtualDrive' *StorageVirtualDriveApi* | [**storage_virtual_drives_moid_post**](docs/StorageVirtualDriveApi.md#storage_virtual_drives_moid_post) | **POST** /storage/VirtualDrives/{moid} | Update an instance of 'storageVirtualDrive' +*StorageVirtualDriveExtensionApi* | [**storage_virtual_drive_extensions_get**](docs/StorageVirtualDriveExtensionApi.md#storage_virtual_drive_extensions_get) | **GET** /storage/VirtualDriveExtensions | Get a list of 'storageVirtualDriveExtension' instances +*StorageVirtualDriveExtensionApi* | [**storage_virtual_drive_extensions_moid_get**](docs/StorageVirtualDriveExtensionApi.md#storage_virtual_drive_extensions_moid_get) | **GET** /storage/VirtualDriveExtensions/{moid} | Get a specific instance of 'storageVirtualDriveExtension' +*StorageVirtualDriveExtensionApi* | [**storage_virtual_drive_extensions_moid_patch**](docs/StorageVirtualDriveExtensionApi.md#storage_virtual_drive_extensions_moid_patch) | **PATCH** /storage/VirtualDriveExtensions/{moid} | Update an instance of 'storageVirtualDriveExtension' +*StorageVirtualDriveExtensionApi* | [**storage_virtual_drive_extensions_moid_post**](docs/StorageVirtualDriveExtensionApi.md#storage_virtual_drive_extensions_moid_post) | **POST** /storage/VirtualDriveExtensions/{moid} | Update an instance of 'storageVirtualDriveExtension' *SyslogPolicyApi* | [**syslog_policies_get**](docs/SyslogPolicyApi.md#syslog_policies_get) | **GET** /syslog/Policies | Get a list of 'syslogPolicy' instances *SyslogPolicyApi* | [**syslog_policies_moid_delete**](docs/SyslogPolicyApi.md#syslog_policies_moid_delete) | **DELETE** /syslog/Policies/{moid} | Delete an instance of 'syslogPolicy' *SyslogPolicyApi* | [**syslog_policies_moid_get**](docs/SyslogPolicyApi.md#syslog_policies_moid_get) | **GET** /syslog/Policies/{moid} | Get a specific instance of 'syslogPolicy' @@ -706,6 +770,7 @@ Class | Method | HTTP request | Description *TaskWorkflowActionApi* | [**task_workflow_actions_moid_patch**](docs/TaskWorkflowActionApi.md#task_workflow_actions_moid_patch) | **PATCH** /task/WorkflowActions/{moid} | Update an instance of 'taskWorkflowAction' *TaskWorkflowActionApi* | [**task_workflow_actions_moid_post**](docs/TaskWorkflowActionApi.md#task_workflow_actions_moid_post) | **POST** /task/WorkflowActions/{moid} | Update an instance of 'taskWorkflowAction' *TaskWorkflowActionApi* | [**task_workflow_actions_post**](docs/TaskWorkflowActionApi.md#task_workflow_actions_post) | **POST** /task/WorkflowActions | Create an instance of 'taskWorkflowAction' +*TelemetryTimeSeriesApi* | [**telemetry_time_series_post**](docs/TelemetryTimeSeriesApi.md#telemetry_time_series_post) | **POST** /telemetry/TimeSeries | Create an instance of 'telemetryTimeSeries' *TerminalAuditLogApi* | [**terminal_audit_logs_get**](docs/TerminalAuditLogApi.md#terminal_audit_logs_get) | **GET** /terminal/AuditLogs | Get a list of 'terminalAuditLog' instances *TerminalAuditLogApi* | [**terminal_audit_logs_moid_get**](docs/TerminalAuditLogApi.md#terminal_audit_logs_moid_get) | **GET** /terminal/AuditLogs/{moid} | Get a specific instance of 'terminalAuditLog' *TestcryptAdministratorApi* | [**testcrypt_administrators_get**](docs/TestcryptAdministratorApi.md#testcrypt_administrators_get) | **GET** /testcrypt/Administrators | Get a list of 'testcryptAdministrator' instances @@ -748,6 +813,7 @@ Class | Method | HTTP request | Description *WorkflowTaskMetaApi* | [**workflow_task_meta_get**](docs/WorkflowTaskMetaApi.md#workflow_task_meta_get) | **GET** /workflow/TaskMeta | Get a list of 'workflowTaskMeta' instances *WorkflowTaskMetaApi* | [**workflow_task_meta_moid_get**](docs/WorkflowTaskMetaApi.md#workflow_task_meta_moid_get) | **GET** /workflow/TaskMeta/{moid} | Get a specific instance of 'workflowTaskMeta' *WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_get**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_get) | **GET** /workflow/WorkflowInfos | Get a list of 'workflowWorkflowInfo' instances +*WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_moid_delete**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_moid_delete) | **DELETE** /workflow/WorkflowInfos/{moid} | Delete an instance of 'workflowWorkflowInfo' *WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_moid_get**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_moid_get) | **GET** /workflow/WorkflowInfos/{moid} | Get a specific instance of 'workflowWorkflowInfo' *WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_moid_patch**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_moid_patch) | **PATCH** /workflow/WorkflowInfos/{moid} | Update an instance of 'workflowWorkflowInfo' *WorkflowWorkflowInfoApi* | [**workflow_workflow_infos_moid_post**](docs/WorkflowWorkflowInfoApi.md#workflow_workflow_infos_moid_post) | **POST** /workflow/WorkflowInfos/{moid} | Update an instance of 'workflowWorkflowInfo' @@ -769,6 +835,7 @@ Class | Method | HTTP request | Description - [AssetDeviceRegistrationList](docs/AssetDeviceRegistrationList.md) - [BiosPolicyList](docs/BiosPolicyList.md) - [BiosUnitList](docs/BiosUnitList.md) + - [BootBootloader](docs/BootBootloader.md) - [BootDeviceBase](docs/BootDeviceBase.md) - [BootPrecisionPolicyList](docs/BootPrecisionPolicyList.md) - [CommIpV4Interface](docs/CommIpV4Interface.md) @@ -788,6 +855,11 @@ Class | Method | HTTP request | Description - [ConnectorStreamMessage](docs/ConnectorStreamMessage.md) - [ConnectorpackConnectorPackSummary](docs/ConnectorpackConnectorPackSummary.md) - [CryptEncryptionTokenList](docs/CryptEncryptionTokenList.md) + - [CvdDeploymentTaskList](docs/CvdDeploymentTaskList.md) + - [CvdInputMeta](docs/CvdInputMeta.md) + - [CvdTemplateList](docs/CvdTemplateList.md) + - [CvdValidationTaskList](docs/CvdValidationTaskList.md) + - [DeviceconnectorPolicyList](docs/DeviceconnectorPolicyList.md) - [DeviceinfoSerialNumberInfoList](docs/DeviceinfoSerialNumberInfoList.md) - [DevopsAbstractTriggerDetails](docs/DevopsAbstractTriggerDetails.md) - [EquipmentChassisList](docs/EquipmentChassisList.md) @@ -796,13 +868,16 @@ Class | Method | HTTP request | Description - [EquipmentFanModuleList](docs/EquipmentFanModuleList.md) - [EquipmentFexList](docs/EquipmentFexList.md) - [EquipmentIoCardList](docs/EquipmentIoCardList.md) + - [EquipmentIoExpanderList](docs/EquipmentIoExpanderList.md) - [EquipmentLocatorLedList](docs/EquipmentLocatorLedList.md) - [EquipmentPsuList](docs/EquipmentPsuList.md) + - [EquipmentRackEnclosureList](docs/EquipmentRackEnclosureList.md) + - [EquipmentRackEnclosureSlotList](docs/EquipmentRackEnclosureSlotList.md) - [EquipmentSwitchCardList](docs/EquipmentSwitchCardList.md) - [EquipmentSystemIoControllerList](docs/EquipmentSystemIoControllerList.md) + - [EquipmentTpmList](docs/EquipmentTpmList.md) - [Error](docs/Error.md) - [EtherPhysicalPortList](docs/EtherPhysicalPortList.md) - - [ExternalsiteAuthorizationList](docs/ExternalsiteAuthorizationList.md) - [FaultInstanceList](docs/FaultInstanceList.md) - [FcPhysicalPortList](docs/FcPhysicalPortList.md) - [FeedbackFeedbackData](docs/FeedbackFeedbackData.md) @@ -818,10 +893,12 @@ Class | Method | HTTP request | Description - [FirmwareUpgradeStatusList](docs/FirmwareUpgradeStatusList.md) - [GraphicsCardList](docs/GraphicsCardList.md) - [GraphicsControllerList](docs/GraphicsControllerList.md) - - [HclDataImportLogList](docs/HclDataImportLogList.md) - [HclDriver](docs/HclDriver.md) + - [HclDriverImageList](docs/HclDriverImageList.md) - [HclFirmware](docs/HclFirmware.md) - [HclHardwareCompatibilityProfile](docs/HclHardwareCompatibilityProfile.md) + - [HclOperatingSystemList](docs/HclOperatingSystemList.md) + - [HclOperatingSystemVendorList](docs/HclOperatingSystemVendorList.md) - [HclProduct](docs/HclProduct.md) - [HclServiceStatusList](docs/HclServiceStatusList.md) - [HyperflexAbstractAppSetting](docs/HyperflexAbstractAppSetting.md) @@ -839,9 +916,11 @@ Class | Method | HTTP request | Description - [HyperflexExtIscsiStoragePolicyList](docs/HyperflexExtIscsiStoragePolicyList.md) - [HyperflexFeatureLimitExternalList](docs/HyperflexFeatureLimitExternalList.md) - [HyperflexFeatureLimitInternalList](docs/HyperflexFeatureLimitInternalList.md) + - [HyperflexHxLinkDt](docs/HyperflexHxLinkDt.md) + - [HyperflexHxNetworkAddressDt](docs/HyperflexHxNetworkAddressDt.md) + - [HyperflexHxUuIdDt](docs/HyperflexHxUuIdDt.md) - [HyperflexHxdpVersionList](docs/HyperflexHxdpVersionList.md) - [HyperflexIpAddrRange](docs/HyperflexIpAddrRange.md) - - [HyperflexIteratorString](docs/HyperflexIteratorString.md) - [HyperflexLocalCredentialPolicyList](docs/HyperflexLocalCredentialPolicyList.md) - [HyperflexLogicalAvailabilityZone](docs/HyperflexLogicalAvailabilityZone.md) - [HyperflexMacAddrPrefixRange](docs/HyperflexMacAddrPrefixRange.md) @@ -849,6 +928,7 @@ Class | Method | HTTP request | Description - [HyperflexNamedVlan](docs/HyperflexNamedVlan.md) - [HyperflexNamedVsan](docs/HyperflexNamedVsan.md) - [HyperflexNodeConfigPolicyList](docs/HyperflexNodeConfigPolicyList.md) + - [HyperflexNodeList](docs/HyperflexNodeList.md) - [HyperflexNodeProfileList](docs/HyperflexNodeProfileList.md) - [HyperflexProxySettingPolicyList](docs/HyperflexProxySettingPolicyList.md) - [HyperflexServerFirmwareVersionList](docs/HyperflexServerFirmwareVersionList.md) @@ -867,7 +947,9 @@ Class | Method | HTTP request | Description - [IaasLicenseInfoList](docs/IaasLicenseInfoList.md) - [IaasLicenseKeysInfo](docs/IaasLicenseKeysInfo.md) - [IaasLicenseUtilizationInfo](docs/IaasLicenseUtilizationInfo.md) + - [IaasMostRunTasksList](docs/IaasMostRunTasksList.md) - [IaasUcsdInfoList](docs/IaasUcsdInfoList.md) + - [IaasUcsdManagedInfraList](docs/IaasUcsdManagedInfraList.md) - [IamAccountList](docs/IamAccountList.md) - [IamAccountPermissions](docs/IamAccountPermissions.md) - [IamApiKeyList](docs/IamApiKeyList.md) @@ -925,16 +1007,22 @@ Class | Method | HTTP request | Description - [MoBaseMo](docs/MoBaseMo.md) - [MoMoRef](docs/MoMoRef.md) - [MoTag](docs/MoTag.md) + - [MoVersionContext](docs/MoVersionContext.md) - [NetworkElementList](docs/NetworkElementList.md) - [NetworkElementSummaryList](docs/NetworkElementSummaryList.md) - [NetworkconfigPolicyList](docs/NetworkconfigPolicyList.md) + - [NotifsCondition](docs/NotifsCondition.md) - [NtpPolicyList](docs/NtpPolicyList.md) + - [OauthAccessToken](docs/OauthAccessToken.md) + - [OauthOauthUserList](docs/OauthOauthUserList.md) + - [PciDeviceList](docs/PciDeviceList.md) - [PolicyConfigChange](docs/PolicyConfigChange.md) - [PolicyConfigContext](docs/PolicyConfigContext.md) - [PolicyConfigResultContext](docs/PolicyConfigResultContext.md) - [PortGroupList](docs/PortGroupList.md) - [PortSubGroupList](docs/PortSubGroupList.md) - [ProcessorUnitList](docs/ProcessorUnitList.md) + - [ResourceGroupList](docs/ResourceGroupList.md) - [SdcardPartition](docs/SdcardPartition.md) - [SdcardPolicyList](docs/SdcardPolicyList.md) - [SdcardVirtualDrive](docs/SdcardVirtualDrive.md) @@ -949,6 +1037,7 @@ Class | Method | HTTP request | Description - [SnmpPolicyList](docs/SnmpPolicyList.md) - [SnmpTrap](docs/SnmpTrap.md) - [SnmpUser](docs/SnmpUser.md) + - [SoftwarerepositoryAuthorizationList](docs/SoftwarerepositoryAuthorizationList.md) - [SolPolicyList](docs/SolPolicyList.md) - [SshPolicyList](docs/SshPolicyList.md) - [StorageControllerList](docs/StorageControllerList.md) @@ -971,6 +1060,7 @@ Class | Method | HTTP request | Description - [StorageStoragePolicyList](docs/StorageStoragePolicyList.md) - [StorageVdMemberEpList](docs/StorageVdMemberEpList.md) - [StorageVirtualDriveConfig](docs/StorageVirtualDriveConfig.md) + - [StorageVirtualDriveExtensionList](docs/StorageVirtualDriveExtensionList.md) - [StorageVirtualDriveList](docs/StorageVirtualDriveList.md) - [SyslogLocalClientBase](docs/SyslogLocalClientBase.md) - [SyslogPolicyList](docs/SyslogPolicyList.md) @@ -984,6 +1074,9 @@ Class | Method | HTTP request | Description - [TestcryptShadowCredentialList](docs/TestcryptShadowCredentialList.md) - [TestcryptUser](docs/TestcryptUser.md) - [TopSystemList](docs/TopSystemList.md) + - [UcsdconnectorFieldQuery](docs/UcsdconnectorFieldQuery.md) + - [UcsdconnectorSqlQuery](docs/UcsdconnectorSqlQuery.md) + - [UcsdconnectorTelemetryMo](docs/UcsdconnectorTelemetryMo.md) - [VmediaMapping](docs/VmediaMapping.md) - [VmediaPolicyList](docs/VmediaPolicyList.md) - [WorkflowBuildTaskMetaList](docs/WorkflowBuildTaskMetaList.md) @@ -1018,8 +1111,10 @@ Class | Method | HTTP request | Description - [BiosPolicyRef](docs/BiosPolicyRef.md) - [BiosUnitRef](docs/BiosUnitRef.md) - [BiosValidationTaskRef](docs/BiosValidationTaskRef.md) + - [BootBootloaderRef](docs/BootBootloaderRef.md) - [BootDeviceBaseRef](docs/BootDeviceBaseRef.md) - [BootIscsiRef](docs/BootIscsiRef.md) + - [BootLocalCddRef](docs/BootLocalCddRef.md) - [BootLocalDiskRef](docs/BootLocalDiskRef.md) - [BootNvmeRef](docs/BootNvmeRef.md) - [BootPchStorageRef](docs/BootPchStorageRef.md) @@ -1079,6 +1174,16 @@ Class | Method | HTTP request | Description - [CryptEncryptionKeyRef](docs/CryptEncryptionKeyRef.md) - [CryptEncryptionToken](docs/CryptEncryptionToken.md) - [CryptEncryptionTokenRef](docs/CryptEncryptionTokenRef.md) + - [CvdDeploymentTask](docs/CvdDeploymentTask.md) + - [CvdDeploymentTaskRef](docs/CvdDeploymentTaskRef.md) + - [CvdInputMetaRef](docs/CvdInputMetaRef.md) + - [CvdTemplate](docs/CvdTemplate.md) + - [CvdTemplateRef](docs/CvdTemplateRef.md) + - [CvdValidationTask](docs/CvdValidationTask.md) + - [CvdValidationTaskRef](docs/CvdValidationTaskRef.md) + - [DeviceconnectorDeployTaskRef](docs/DeviceconnectorDeployTaskRef.md) + - [DeviceconnectorPolicyRef](docs/DeviceconnectorPolicyRef.md) + - [DeviceconnectorValidationTaskRef](docs/DeviceconnectorValidationTaskRef.md) - [DeviceinfoSerialNumberInfo](docs/DeviceinfoSerialNumberInfo.md) - [DeviceinfoSerialNumberInfoRef](docs/DeviceinfoSerialNumberInfoRef.md) - [DevopsAbstractTriggerDetailsRef](docs/DevopsAbstractTriggerDetailsRef.md) @@ -1093,13 +1198,15 @@ Class | Method | HTTP request | Description - [EquipmentFanRef](docs/EquipmentFanRef.md) - [EquipmentFexRef](docs/EquipmentFexRef.md) - [EquipmentIoCardRef](docs/EquipmentIoCardRef.md) + - [EquipmentIoExpanderRef](docs/EquipmentIoExpanderRef.md) - [EquipmentLocatorLedRef](docs/EquipmentLocatorLedRef.md) - [EquipmentPsuRef](docs/EquipmentPsuRef.md) + - [EquipmentRackEnclosureRef](docs/EquipmentRackEnclosureRef.md) + - [EquipmentRackEnclosureSlotRef](docs/EquipmentRackEnclosureSlotRef.md) - [EquipmentSwitchCardRef](docs/EquipmentSwitchCardRef.md) - [EquipmentSystemIoControllerRef](docs/EquipmentSystemIoControllerRef.md) + - [EquipmentTpmRef](docs/EquipmentTpmRef.md) - [EtherPhysicalPortRef](docs/EtherPhysicalPortRef.md) - - [ExternalsiteAuthorization](docs/ExternalsiteAuthorization.md) - - [ExternalsiteAuthorizationRef](docs/ExternalsiteAuthorizationRef.md) - [ExtsearchAppConfigRef](docs/ExtsearchAppConfigRef.md) - [ExtsearchImportRef](docs/ExtsearchImportRef.md) - [FaultInstanceRef](docs/FaultInstanceRef.md) @@ -1137,12 +1244,17 @@ Class | Method | HTTP request | Description - [HclCompatibilityInfoRef](docs/HclCompatibilityInfoRef.md) - [HclCompatibilityStatus](docs/HclCompatibilityStatus.md) - [HclCompatibilityStatusRef](docs/HclCompatibilityStatusRef.md) - - [HclDataImportLog](docs/HclDataImportLog.md) - [HclDataImportLogRef](docs/HclDataImportLogRef.md) + - [HclDriverImage](docs/HclDriverImage.md) + - [HclDriverImageRef](docs/HclDriverImageRef.md) - [HclDriverRef](docs/HclDriverRef.md) - [HclFirmwareRef](docs/HclFirmwareRef.md) - [HclHardwareCompatibilityProfileRef](docs/HclHardwareCompatibilityProfileRef.md) - [HclNoteRef](docs/HclNoteRef.md) + - [HclOperatingSystem](docs/HclOperatingSystem.md) + - [HclOperatingSystemRef](docs/HclOperatingSystemRef.md) + - [HclOperatingSystemVendor](docs/HclOperatingSystemVendor.md) + - [HclOperatingSystemVendorRef](docs/HclOperatingSystemVendorRef.md) - [HclProductRef](docs/HclProductRef.md) - [HclServiceStatus](docs/HclServiceStatus.md) - [HclServiceStatusRef](docs/HclServiceStatusRef.md) @@ -1172,19 +1284,23 @@ Class | Method | HTTP request | Description - [HyperflexFeatureLimitExternalRef](docs/HyperflexFeatureLimitExternalRef.md) - [HyperflexFeatureLimitInternal](docs/HyperflexFeatureLimitInternal.md) - [HyperflexFeatureLimitInternalRef](docs/HyperflexFeatureLimitInternalRef.md) + - [HyperflexHxLinkDtRef](docs/HyperflexHxLinkDtRef.md) + - [HyperflexHxNetworkAddressDtRef](docs/HyperflexHxNetworkAddressDtRef.md) + - [HyperflexHxUuIdDtRef](docs/HyperflexHxUuIdDtRef.md) - [HyperflexHxdpVersion](docs/HyperflexHxdpVersion.md) - [HyperflexHxdpVersionRef](docs/HyperflexHxdpVersionRef.md) - [HyperflexInstallerImageRef](docs/HyperflexInstallerImageRef.md) - [HyperflexIpAddrRangeRef](docs/HyperflexIpAddrRangeRef.md) - - [HyperflexIteratorStringRef](docs/HyperflexIteratorStringRef.md) - [HyperflexLocalCredentialPolicyRef](docs/HyperflexLocalCredentialPolicyRef.md) - [HyperflexLogicalAvailabilityZoneRef](docs/HyperflexLogicalAvailabilityZoneRef.md) - [HyperflexMacAddrPrefixRangeRef](docs/HyperflexMacAddrPrefixRangeRef.md) - [HyperflexManagedObjectReferenceRef](docs/HyperflexManagedObjectReferenceRef.md) - [HyperflexNamedVlanRef](docs/HyperflexNamedVlanRef.md) - [HyperflexNamedVsanRef](docs/HyperflexNamedVsanRef.md) + - [HyperflexNode](docs/HyperflexNode.md) - [HyperflexNodeConfigPolicyRef](docs/HyperflexNodeConfigPolicyRef.md) - [HyperflexNodeProfileRef](docs/HyperflexNodeProfileRef.md) + - [HyperflexNodeRef](docs/HyperflexNodeRef.md) - [HyperflexProxySettingPolicyRef](docs/HyperflexProxySettingPolicyRef.md) - [HyperflexServerFirmwareVersion](docs/HyperflexServerFirmwareVersion.md) - [HyperflexServerFirmwareVersionEntry](docs/HyperflexServerFirmwareVersionEntry.md) @@ -1211,8 +1327,12 @@ Class | Method | HTTP request | Description - [IaasLicenseInfoRef](docs/IaasLicenseInfoRef.md) - [IaasLicenseKeysInfoRef](docs/IaasLicenseKeysInfoRef.md) - [IaasLicenseUtilizationInfoRef](docs/IaasLicenseUtilizationInfoRef.md) + - [IaasMostRunTasks](docs/IaasMostRunTasks.md) + - [IaasMostRunTasksRef](docs/IaasMostRunTasksRef.md) - [IaasUcsdInfo](docs/IaasUcsdInfo.md) - [IaasUcsdInfoRef](docs/IaasUcsdInfoRef.md) + - [IaasUcsdManagedInfra](docs/IaasUcsdManagedInfra.md) + - [IaasUcsdManagedInfraRef](docs/IaasUcsdManagedInfraRef.md) - [IamAccount](docs/IamAccount.md) - [IamAccountPermissionsRef](docs/IamAccountPermissionsRef.md) - [IamAccountRef](docs/IamAccountRef.md) @@ -1237,6 +1357,7 @@ Class | Method | HTTP request | Description - [IamIdpReference](docs/IamIdpReference.md) - [IamIdpReferenceRef](docs/IamIdpReferenceRef.md) - [IamLdapBasePropertiesRef](docs/IamLdapBasePropertiesRef.md) + - [IamLdapCredentialsRef](docs/IamLdapCredentialsRef.md) - [IamLdapDeployTaskRef](docs/IamLdapDeployTaskRef.md) - [IamLdapDnsParametersRef](docs/IamLdapDnsParametersRef.md) - [IamLdapGroup](docs/IamLdapGroup.md) @@ -1319,22 +1440,23 @@ Class | Method | HTTP request | Description - [MoBaseMoRef](docs/MoBaseMoRef.md) - [MoInterestRegistrationRef](docs/MoInterestRegistrationRef.md) - [MoMoRefRef](docs/MoMoRefRef.md) - - [MoSnapshotRef](docs/MoSnapshotRef.md) - [MoTagRef](docs/MoTagRef.md) + - [MoVersionContextRef](docs/MoVersionContextRef.md) - [NetworkElementRef](docs/NetworkElementRef.md) - [NetworkElementSummaryRef](docs/NetworkElementSummaryRef.md) - [NetworkconfigDeployTaskRef](docs/NetworkconfigDeployTaskRef.md) - [NetworkconfigPolicyRef](docs/NetworkconfigPolicyRef.md) - [NetworkconfigValidationTaskRef](docs/NetworkconfigValidationTaskRef.md) + - [NotifsConditionRef](docs/NotifsConditionRef.md) - [NotifsMoSubscriptionRef](docs/NotifsMoSubscriptionRef.md) - - [NotifsSubscribedRef](docs/NotifsSubscribedRef.md) - [NtpDeployTaskRef](docs/NtpDeployTaskRef.md) - [NtpPolicyRef](docs/NtpPolicyRef.md) - [NtpValidationTaskRef](docs/NtpValidationTaskRef.md) - [Oauth2AuthTokenRef](docs/Oauth2AuthTokenRef.md) - - [PartitionallocConsumerRef](docs/PartitionallocConsumerRef.md) - - [PartitionallocPartRef](docs/PartitionallocPartRef.md) - - [PartitionallocPartitionedRef](docs/PartitionallocPartitionedRef.md) + - [OauthAccessTokenRef](docs/OauthAccessTokenRef.md) + - [OauthOauthUser](docs/OauthOauthUser.md) + - [OauthOauthUserRef](docs/OauthOauthUserRef.md) + - [PciDeviceRef](docs/PciDeviceRef.md) - [PolicyAbstractConfigChangeDetail](docs/PolicyAbstractConfigChangeDetail.md) - [PolicyAbstractConfigChangeDetailRef](docs/PolicyAbstractConfigChangeDetailRef.md) - [PolicyAbstractConfigProfileRef](docs/PolicyAbstractConfigProfileRef.md) @@ -1379,6 +1501,8 @@ Class | Method | HTTP request | Description - [QataskUcsTask9Ref](docs/QataskUcsTask9Ref.md) - [QataskWaitForDownloadRef](docs/QataskWaitForDownloadRef.md) - [QataskWaitForFirmwareUpgradeRef](docs/QataskWaitForFirmwareUpgradeRef.md) + - [ResourceGroup](docs/ResourceGroup.md) + - [ResourceGroupRef](docs/ResourceGroupRef.md) - [SdcardDeployTaskRef](docs/SdcardDeployTaskRef.md) - [SdcardDiagnosticsRef](docs/SdcardDiagnosticsRef.md) - [SdcardDriversRef](docs/SdcardDriversRef.md) @@ -1411,6 +1535,8 @@ Class | Method | HTTP request | Description - [SnmpTrapRef](docs/SnmpTrapRef.md) - [SnmpUserRef](docs/SnmpUserRef.md) - [SnmpValidationTaskRef](docs/SnmpValidationTaskRef.md) + - [SoftwarerepositoryAuthorization](docs/SoftwarerepositoryAuthorization.md) + - [SoftwarerepositoryAuthorizationRef](docs/SoftwarerepositoryAuthorizationRef.md) - [SolDeployTaskRef](docs/SolDeployTaskRef.md) - [SolPolicyRef](docs/SolPolicyRef.md) - [SolValidationTaskRef](docs/SolValidationTaskRef.md) @@ -1441,6 +1567,7 @@ Class | Method | HTTP request | Description - [StorageValidationTaskRef](docs/StorageValidationTaskRef.md) - [StorageVdMemberEpRef](docs/StorageVdMemberEpRef.md) - [StorageVirtualDriveConfigRef](docs/StorageVirtualDriveConfigRef.md) + - [StorageVirtualDriveExtensionRef](docs/StorageVirtualDriveExtensionRef.md) - [StorageVirtualDriveRef](docs/StorageVirtualDriveRef.md) - [SyslogDeployTaskRef](docs/SyslogDeployTaskRef.md) - [SyslogLocalClientBaseRef](docs/SyslogLocalClientBaseRef.md) @@ -1462,6 +1589,8 @@ Class | Method | HTTP request | Description - [TaskUcsTask9Ref](docs/TaskUcsTask9Ref.md) - [TaskWorkflowAction](docs/TaskWorkflowAction.md) - [TaskWorkflowActionRef](docs/TaskWorkflowActionRef.md) + - [TelemetryTimeSeries](docs/TelemetryTimeSeries.md) + - [TelemetryTimeSeriesRef](docs/TelemetryTimeSeriesRef.md) - [TerminalAuditLog](docs/TerminalAuditLog.md) - [TerminalAuditLogRef](docs/TerminalAuditLogRef.md) - [TestcryptAdministrator](docs/TestcryptAdministrator.md) @@ -1474,7 +1603,11 @@ Class | Method | HTTP request | Description - [TestcryptShadowCredentialRef](docs/TestcryptShadowCredentialRef.md) - [TestcryptUserRef](docs/TestcryptUserRef.md) - [TopSystemRef](docs/TopSystemRef.md) + - [UcsdconnectorFieldQueryRef](docs/UcsdconnectorFieldQueryRef.md) - [UcsdconnectorInventoryMessageRef](docs/UcsdconnectorInventoryMessageRef.md) + - [UcsdconnectorSqlQueryRef](docs/UcsdconnectorSqlQueryRef.md) + - [UcsdconnectorTelemetryMessageRef](docs/UcsdconnectorTelemetryMessageRef.md) + - [UcsdconnectorTelemetryMoRef](docs/UcsdconnectorTelemetryMoRef.md) - [ViewsView](docs/ViewsView.md) - [ViewsViewRef](docs/ViewsViewRef.md) - [VmediaDeployTaskRef](docs/VmediaDeployTaskRef.md) @@ -1506,6 +1639,7 @@ Class | Method | HTTP request | Description - [BootPrecisionPolicy](docs/BootPrecisionPolicy.md) - [ComputePhysicalSummary](docs/ComputePhysicalSummary.md) - [ComputeServerSetting](docs/ComputeServerSetting.md) + - [DeviceconnectorPolicy](docs/DeviceconnectorPolicy.md) - [EquipmentBase](docs/EquipmentBase.md) - [EquipmentDeviceSummary](docs/EquipmentDeviceSummary.md) - [EquipmentLocatorLed](docs/EquipmentLocatorLed.md) @@ -1556,6 +1690,7 @@ Class | Method | HTTP request | Description - [StoragePhysicalDiskUsage](docs/StoragePhysicalDiskUsage.md) - [StorageStoragePolicy](docs/StorageStoragePolicy.md) - [StorageVdMemberEp](docs/StorageVdMemberEp.md) + - [StorageVirtualDriveExtension](docs/StorageVirtualDriveExtension.md) - [SyslogPolicy](docs/SyslogPolicy.md) - [TopSystem](docs/TopSystem.md) - [VmediaPolicy](docs/VmediaPolicy.md) @@ -1572,9 +1707,13 @@ Class | Method | HTTP request | Description - [EquipmentFanModule](docs/EquipmentFanModule.md) - [EquipmentFex](docs/EquipmentFex.md) - [EquipmentIoCard](docs/EquipmentIoCard.md) + - [EquipmentIoExpander](docs/EquipmentIoExpander.md) - [EquipmentPsu](docs/EquipmentPsu.md) + - [EquipmentRackEnclosure](docs/EquipmentRackEnclosure.md) + - [EquipmentRackEnclosureSlot](docs/EquipmentRackEnclosureSlot.md) - [EquipmentSwitchCard](docs/EquipmentSwitchCard.md) - [EquipmentSystemIoController](docs/EquipmentSystemIoController.md) + - [EquipmentTpm](docs/EquipmentTpm.md) - [EtherPhysicalPort](docs/EtherPhysicalPort.md) - [FcPhysicalPort](docs/FcPhysicalPort.md) - [GraphicsCard](docs/GraphicsCard.md) @@ -1583,6 +1722,7 @@ Class | Method | HTTP request | Description - [MemoryArray](docs/MemoryArray.md) - [MemoryUnit](docs/MemoryUnit.md) - [NetworkElement](docs/NetworkElement.md) + - [PciDevice](docs/PciDevice.md) - [ProcessorUnit](docs/ProcessorUnit.md) - [SecurityUnit](docs/SecurityUnit.md) - [ServerProfile](docs/ServerProfile.md) diff --git a/intersight/__init__.py b/intersight/__init__.py index e03c10ac..073f4113 100644 --- a/intersight/__init__.py +++ b/intersight/__init__.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -25,6 +25,7 @@ from .models.asset_device_registration_list import AssetDeviceRegistrationList from .models.bios_policy_list import BiosPolicyList from .models.bios_unit_list import BiosUnitList +from .models.boot_bootloader import BootBootloader from .models.boot_device_base import BootDeviceBase from .models.boot_precision_policy_list import BootPrecisionPolicyList from .models.comm_ip_v4_interface import CommIpV4Interface @@ -44,6 +45,11 @@ from .models.connector_stream_message import ConnectorStreamMessage from .models.connectorpack_connector_pack_summary import ConnectorpackConnectorPackSummary from .models.crypt_encryption_token_list import CryptEncryptionTokenList +from .models.cvd_deployment_task_list import CvdDeploymentTaskList +from .models.cvd_input_meta import CvdInputMeta +from .models.cvd_template_list import CvdTemplateList +from .models.cvd_validation_task_list import CvdValidationTaskList +from .models.deviceconnector_policy_list import DeviceconnectorPolicyList from .models.deviceinfo_serial_number_info_list import DeviceinfoSerialNumberInfoList from .models.devops_abstract_trigger_details import DevopsAbstractTriggerDetails from .models.equipment_chassis_list import EquipmentChassisList @@ -52,13 +58,16 @@ from .models.equipment_fan_module_list import EquipmentFanModuleList from .models.equipment_fex_list import EquipmentFexList from .models.equipment_io_card_list import EquipmentIoCardList +from .models.equipment_io_expander_list import EquipmentIoExpanderList from .models.equipment_locator_led_list import EquipmentLocatorLedList from .models.equipment_psu_list import EquipmentPsuList +from .models.equipment_rack_enclosure_list import EquipmentRackEnclosureList +from .models.equipment_rack_enclosure_slot_list import EquipmentRackEnclosureSlotList from .models.equipment_switch_card_list import EquipmentSwitchCardList from .models.equipment_system_io_controller_list import EquipmentSystemIoControllerList +from .models.equipment_tpm_list import EquipmentTpmList from .models.error import Error from .models.ether_physical_port_list import EtherPhysicalPortList -from .models.externalsite_authorization_list import ExternalsiteAuthorizationList from .models.fault_instance_list import FaultInstanceList from .models.fc_physical_port_list import FcPhysicalPortList from .models.feedback_feedback_data import FeedbackFeedbackData @@ -74,10 +83,12 @@ from .models.firmware_upgrade_status_list import FirmwareUpgradeStatusList from .models.graphics_card_list import GraphicsCardList from .models.graphics_controller_list import GraphicsControllerList -from .models.hcl_data_import_log_list import HclDataImportLogList from .models.hcl_driver import HclDriver +from .models.hcl_driver_image_list import HclDriverImageList from .models.hcl_firmware import HclFirmware from .models.hcl_hardware_compatibility_profile import HclHardwareCompatibilityProfile +from .models.hcl_operating_system_list import HclOperatingSystemList +from .models.hcl_operating_system_vendor_list import HclOperatingSystemVendorList from .models.hcl_product import HclProduct from .models.hcl_service_status_list import HclServiceStatusList from .models.hyperflex_abstract_app_setting import HyperflexAbstractAppSetting @@ -95,9 +106,11 @@ from .models.hyperflex_ext_iscsi_storage_policy_list import HyperflexExtIscsiStoragePolicyList from .models.hyperflex_feature_limit_external_list import HyperflexFeatureLimitExternalList from .models.hyperflex_feature_limit_internal_list import HyperflexFeatureLimitInternalList +from .models.hyperflex_hx_link_dt import HyperflexHxLinkDt +from .models.hyperflex_hx_network_address_dt import HyperflexHxNetworkAddressDt +from .models.hyperflex_hx_uu_id_dt import HyperflexHxUuIdDt from .models.hyperflex_hxdp_version_list import HyperflexHxdpVersionList from .models.hyperflex_ip_addr_range import HyperflexIpAddrRange -from .models.hyperflex_iterator_string import HyperflexIteratorString from .models.hyperflex_local_credential_policy_list import HyperflexLocalCredentialPolicyList from .models.hyperflex_logical_availability_zone import HyperflexLogicalAvailabilityZone from .models.hyperflex_mac_addr_prefix_range import HyperflexMacAddrPrefixRange @@ -105,6 +118,7 @@ from .models.hyperflex_named_vlan import HyperflexNamedVlan from .models.hyperflex_named_vsan import HyperflexNamedVsan from .models.hyperflex_node_config_policy_list import HyperflexNodeConfigPolicyList +from .models.hyperflex_node_list import HyperflexNodeList from .models.hyperflex_node_profile_list import HyperflexNodeProfileList from .models.hyperflex_proxy_setting_policy_list import HyperflexProxySettingPolicyList from .models.hyperflex_server_firmware_version_list import HyperflexServerFirmwareVersionList @@ -123,7 +137,9 @@ from .models.iaas_license_info_list import IaasLicenseInfoList from .models.iaas_license_keys_info import IaasLicenseKeysInfo from .models.iaas_license_utilization_info import IaasLicenseUtilizationInfo +from .models.iaas_most_run_tasks_list import IaasMostRunTasksList from .models.iaas_ucsd_info_list import IaasUcsdInfoList +from .models.iaas_ucsd_managed_infra_list import IaasUcsdManagedInfraList from .models.iam_account_list import IamAccountList from .models.iam_account_permissions import IamAccountPermissions from .models.iam_api_key_list import IamApiKeyList @@ -181,16 +197,22 @@ from .models.mo_base_mo import MoBaseMo from .models.mo_mo_ref import MoMoRef from .models.mo_tag import MoTag +from .models.mo_version_context import MoVersionContext from .models.network_element_list import NetworkElementList from .models.network_element_summary_list import NetworkElementSummaryList from .models.networkconfig_policy_list import NetworkconfigPolicyList +from .models.notifs_condition import NotifsCondition from .models.ntp_policy_list import NtpPolicyList +from .models.oauth_access_token import OauthAccessToken +from .models.oauth_oauth_user_list import OauthOauthUserList +from .models.pci_device_list import PciDeviceList from .models.policy_config_change import PolicyConfigChange from .models.policy_config_context import PolicyConfigContext from .models.policy_config_result_context import PolicyConfigResultContext from .models.port_group_list import PortGroupList from .models.port_sub_group_list import PortSubGroupList from .models.processor_unit_list import ProcessorUnitList +from .models.resource_group_list import ResourceGroupList from .models.sdcard_partition import SdcardPartition from .models.sdcard_policy_list import SdcardPolicyList from .models.sdcard_virtual_drive import SdcardVirtualDrive @@ -205,6 +227,7 @@ from .models.snmp_policy_list import SnmpPolicyList from .models.snmp_trap import SnmpTrap from .models.snmp_user import SnmpUser +from .models.softwarerepository_authorization_list import SoftwarerepositoryAuthorizationList from .models.sol_policy_list import SolPolicyList from .models.ssh_policy_list import SshPolicyList from .models.storage_controller_list import StorageControllerList @@ -227,6 +250,7 @@ from .models.storage_storage_policy_list import StorageStoragePolicyList from .models.storage_vd_member_ep_list import StorageVdMemberEpList from .models.storage_virtual_drive_config import StorageVirtualDriveConfig +from .models.storage_virtual_drive_extension_list import StorageVirtualDriveExtensionList from .models.storage_virtual_drive_list import StorageVirtualDriveList from .models.syslog_local_client_base import SyslogLocalClientBase from .models.syslog_policy_list import SyslogPolicyList @@ -240,6 +264,9 @@ from .models.testcrypt_shadow_credential_list import TestcryptShadowCredentialList from .models.testcrypt_user import TestcryptUser from .models.top_system_list import TopSystemList +from .models.ucsdconnector_field_query import UcsdconnectorFieldQuery +from .models.ucsdconnector_sql_query import UcsdconnectorSqlQuery +from .models.ucsdconnector_telemetry_mo import UcsdconnectorTelemetryMo from .models.vmedia_mapping import VmediaMapping from .models.vmedia_policy_list import VmediaPolicyList from .models.workflow_build_task_meta_list import WorkflowBuildTaskMetaList @@ -274,8 +301,10 @@ from .models.bios_policy_ref import BiosPolicyRef from .models.bios_unit_ref import BiosUnitRef from .models.bios_validation_task_ref import BiosValidationTaskRef +from .models.boot_bootloader_ref import BootBootloaderRef from .models.boot_device_base_ref import BootDeviceBaseRef from .models.boot_iscsi_ref import BootIscsiRef +from .models.boot_local_cdd_ref import BootLocalCddRef from .models.boot_local_disk_ref import BootLocalDiskRef from .models.boot_nvme_ref import BootNvmeRef from .models.boot_pch_storage_ref import BootPchStorageRef @@ -335,6 +364,16 @@ from .models.crypt_encryption_key_ref import CryptEncryptionKeyRef from .models.crypt_encryption_token import CryptEncryptionToken from .models.crypt_encryption_token_ref import CryptEncryptionTokenRef +from .models.cvd_deployment_task import CvdDeploymentTask +from .models.cvd_deployment_task_ref import CvdDeploymentTaskRef +from .models.cvd_input_meta_ref import CvdInputMetaRef +from .models.cvd_template import CvdTemplate +from .models.cvd_template_ref import CvdTemplateRef +from .models.cvd_validation_task import CvdValidationTask +from .models.cvd_validation_task_ref import CvdValidationTaskRef +from .models.deviceconnector_deploy_task_ref import DeviceconnectorDeployTaskRef +from .models.deviceconnector_policy_ref import DeviceconnectorPolicyRef +from .models.deviceconnector_validation_task_ref import DeviceconnectorValidationTaskRef from .models.deviceinfo_serial_number_info import DeviceinfoSerialNumberInfo from .models.deviceinfo_serial_number_info_ref import DeviceinfoSerialNumberInfoRef from .models.devops_abstract_trigger_details_ref import DevopsAbstractTriggerDetailsRef @@ -349,13 +388,15 @@ from .models.equipment_fan_ref import EquipmentFanRef from .models.equipment_fex_ref import EquipmentFexRef from .models.equipment_io_card_ref import EquipmentIoCardRef +from .models.equipment_io_expander_ref import EquipmentIoExpanderRef from .models.equipment_locator_led_ref import EquipmentLocatorLedRef from .models.equipment_psu_ref import EquipmentPsuRef +from .models.equipment_rack_enclosure_ref import EquipmentRackEnclosureRef +from .models.equipment_rack_enclosure_slot_ref import EquipmentRackEnclosureSlotRef from .models.equipment_switch_card_ref import EquipmentSwitchCardRef from .models.equipment_system_io_controller_ref import EquipmentSystemIoControllerRef +from .models.equipment_tpm_ref import EquipmentTpmRef from .models.ether_physical_port_ref import EtherPhysicalPortRef -from .models.externalsite_authorization import ExternalsiteAuthorization -from .models.externalsite_authorization_ref import ExternalsiteAuthorizationRef from .models.extsearch_app_config_ref import ExtsearchAppConfigRef from .models.extsearch_import_ref import ExtsearchImportRef from .models.fault_instance_ref import FaultInstanceRef @@ -393,12 +434,17 @@ from .models.hcl_compatibility_info_ref import HclCompatibilityInfoRef from .models.hcl_compatibility_status import HclCompatibilityStatus from .models.hcl_compatibility_status_ref import HclCompatibilityStatusRef -from .models.hcl_data_import_log import HclDataImportLog from .models.hcl_data_import_log_ref import HclDataImportLogRef +from .models.hcl_driver_image import HclDriverImage +from .models.hcl_driver_image_ref import HclDriverImageRef from .models.hcl_driver_ref import HclDriverRef from .models.hcl_firmware_ref import HclFirmwareRef from .models.hcl_hardware_compatibility_profile_ref import HclHardwareCompatibilityProfileRef from .models.hcl_note_ref import HclNoteRef +from .models.hcl_operating_system import HclOperatingSystem +from .models.hcl_operating_system_ref import HclOperatingSystemRef +from .models.hcl_operating_system_vendor import HclOperatingSystemVendor +from .models.hcl_operating_system_vendor_ref import HclOperatingSystemVendorRef from .models.hcl_product_ref import HclProductRef from .models.hcl_service_status import HclServiceStatus from .models.hcl_service_status_ref import HclServiceStatusRef @@ -428,19 +474,23 @@ from .models.hyperflex_feature_limit_external_ref import HyperflexFeatureLimitExternalRef from .models.hyperflex_feature_limit_internal import HyperflexFeatureLimitInternal from .models.hyperflex_feature_limit_internal_ref import HyperflexFeatureLimitInternalRef +from .models.hyperflex_hx_link_dt_ref import HyperflexHxLinkDtRef +from .models.hyperflex_hx_network_address_dt_ref import HyperflexHxNetworkAddressDtRef +from .models.hyperflex_hx_uu_id_dt_ref import HyperflexHxUuIdDtRef from .models.hyperflex_hxdp_version import HyperflexHxdpVersion from .models.hyperflex_hxdp_version_ref import HyperflexHxdpVersionRef from .models.hyperflex_installer_image_ref import HyperflexInstallerImageRef from .models.hyperflex_ip_addr_range_ref import HyperflexIpAddrRangeRef -from .models.hyperflex_iterator_string_ref import HyperflexIteratorStringRef from .models.hyperflex_local_credential_policy_ref import HyperflexLocalCredentialPolicyRef from .models.hyperflex_logical_availability_zone_ref import HyperflexLogicalAvailabilityZoneRef from .models.hyperflex_mac_addr_prefix_range_ref import HyperflexMacAddrPrefixRangeRef from .models.hyperflex_managed_object_reference_ref import HyperflexManagedObjectReferenceRef from .models.hyperflex_named_vlan_ref import HyperflexNamedVlanRef from .models.hyperflex_named_vsan_ref import HyperflexNamedVsanRef +from .models.hyperflex_node import HyperflexNode from .models.hyperflex_node_config_policy_ref import HyperflexNodeConfigPolicyRef from .models.hyperflex_node_profile_ref import HyperflexNodeProfileRef +from .models.hyperflex_node_ref import HyperflexNodeRef from .models.hyperflex_proxy_setting_policy_ref import HyperflexProxySettingPolicyRef from .models.hyperflex_server_firmware_version import HyperflexServerFirmwareVersion from .models.hyperflex_server_firmware_version_entry import HyperflexServerFirmwareVersionEntry @@ -467,8 +517,12 @@ from .models.iaas_license_info_ref import IaasLicenseInfoRef from .models.iaas_license_keys_info_ref import IaasLicenseKeysInfoRef from .models.iaas_license_utilization_info_ref import IaasLicenseUtilizationInfoRef +from .models.iaas_most_run_tasks import IaasMostRunTasks +from .models.iaas_most_run_tasks_ref import IaasMostRunTasksRef from .models.iaas_ucsd_info import IaasUcsdInfo from .models.iaas_ucsd_info_ref import IaasUcsdInfoRef +from .models.iaas_ucsd_managed_infra import IaasUcsdManagedInfra +from .models.iaas_ucsd_managed_infra_ref import IaasUcsdManagedInfraRef from .models.iam_account import IamAccount from .models.iam_account_permissions_ref import IamAccountPermissionsRef from .models.iam_account_ref import IamAccountRef @@ -493,6 +547,7 @@ from .models.iam_idp_reference import IamIdpReference from .models.iam_idp_reference_ref import IamIdpReferenceRef from .models.iam_ldap_base_properties_ref import IamLdapBasePropertiesRef +from .models.iam_ldap_credentials_ref import IamLdapCredentialsRef from .models.iam_ldap_deploy_task_ref import IamLdapDeployTaskRef from .models.iam_ldap_dns_parameters_ref import IamLdapDnsParametersRef from .models.iam_ldap_group import IamLdapGroup @@ -575,22 +630,23 @@ from .models.mo_base_mo_ref import MoBaseMoRef from .models.mo_interest_registration_ref import MoInterestRegistrationRef from .models.mo_mo_ref_ref import MoMoRefRef -from .models.mo_snapshot_ref import MoSnapshotRef from .models.mo_tag_ref import MoTagRef +from .models.mo_version_context_ref import MoVersionContextRef from .models.network_element_ref import NetworkElementRef from .models.network_element_summary_ref import NetworkElementSummaryRef from .models.networkconfig_deploy_task_ref import NetworkconfigDeployTaskRef from .models.networkconfig_policy_ref import NetworkconfigPolicyRef from .models.networkconfig_validation_task_ref import NetworkconfigValidationTaskRef +from .models.notifs_condition_ref import NotifsConditionRef from .models.notifs_mo_subscription_ref import NotifsMoSubscriptionRef -from .models.notifs_subscribed_ref import NotifsSubscribedRef from .models.ntp_deploy_task_ref import NtpDeployTaskRef from .models.ntp_policy_ref import NtpPolicyRef from .models.ntp_validation_task_ref import NtpValidationTaskRef from .models.oauth2_auth_token_ref import Oauth2AuthTokenRef -from .models.partitionalloc_consumer_ref import PartitionallocConsumerRef -from .models.partitionalloc_part_ref import PartitionallocPartRef -from .models.partitionalloc_partitioned_ref import PartitionallocPartitionedRef +from .models.oauth_access_token_ref import OauthAccessTokenRef +from .models.oauth_oauth_user import OauthOauthUser +from .models.oauth_oauth_user_ref import OauthOauthUserRef +from .models.pci_device_ref import PciDeviceRef from .models.policy_abstract_config_change_detail import PolicyAbstractConfigChangeDetail from .models.policy_abstract_config_change_detail_ref import PolicyAbstractConfigChangeDetailRef from .models.policy_abstract_config_profile_ref import PolicyAbstractConfigProfileRef @@ -635,6 +691,8 @@ from .models.qatask_ucs_task9_ref import QataskUcsTask9Ref from .models.qatask_wait_for_download_ref import QataskWaitForDownloadRef from .models.qatask_wait_for_firmware_upgrade_ref import QataskWaitForFirmwareUpgradeRef +from .models.resource_group import ResourceGroup +from .models.resource_group_ref import ResourceGroupRef from .models.sdcard_deploy_task_ref import SdcardDeployTaskRef from .models.sdcard_diagnostics_ref import SdcardDiagnosticsRef from .models.sdcard_drivers_ref import SdcardDriversRef @@ -667,6 +725,8 @@ from .models.snmp_trap_ref import SnmpTrapRef from .models.snmp_user_ref import SnmpUserRef from .models.snmp_validation_task_ref import SnmpValidationTaskRef +from .models.softwarerepository_authorization import SoftwarerepositoryAuthorization +from .models.softwarerepository_authorization_ref import SoftwarerepositoryAuthorizationRef from .models.sol_deploy_task_ref import SolDeployTaskRef from .models.sol_policy_ref import SolPolicyRef from .models.sol_validation_task_ref import SolValidationTaskRef @@ -697,6 +757,7 @@ from .models.storage_validation_task_ref import StorageValidationTaskRef from .models.storage_vd_member_ep_ref import StorageVdMemberEpRef from .models.storage_virtual_drive_config_ref import StorageVirtualDriveConfigRef +from .models.storage_virtual_drive_extension_ref import StorageVirtualDriveExtensionRef from .models.storage_virtual_drive_ref import StorageVirtualDriveRef from .models.syslog_deploy_task_ref import SyslogDeployTaskRef from .models.syslog_local_client_base_ref import SyslogLocalClientBaseRef @@ -718,6 +779,8 @@ from .models.task_ucs_task9_ref import TaskUcsTask9Ref from .models.task_workflow_action import TaskWorkflowAction from .models.task_workflow_action_ref import TaskWorkflowActionRef +from .models.telemetry_time_series import TelemetryTimeSeries +from .models.telemetry_time_series_ref import TelemetryTimeSeriesRef from .models.terminal_audit_log import TerminalAuditLog from .models.terminal_audit_log_ref import TerminalAuditLogRef from .models.testcrypt_administrator import TestcryptAdministrator @@ -730,7 +793,11 @@ from .models.testcrypt_shadow_credential_ref import TestcryptShadowCredentialRef from .models.testcrypt_user_ref import TestcryptUserRef from .models.top_system_ref import TopSystemRef +from .models.ucsdconnector_field_query_ref import UcsdconnectorFieldQueryRef from .models.ucsdconnector_inventory_message_ref import UcsdconnectorInventoryMessageRef +from .models.ucsdconnector_sql_query_ref import UcsdconnectorSqlQueryRef +from .models.ucsdconnector_telemetry_message_ref import UcsdconnectorTelemetryMessageRef +from .models.ucsdconnector_telemetry_mo_ref import UcsdconnectorTelemetryMoRef from .models.views_view import ViewsView from .models.views_view_ref import ViewsViewRef from .models.vmedia_deploy_task_ref import VmediaDeployTaskRef @@ -762,6 +829,7 @@ from .models.boot_precision_policy import BootPrecisionPolicy from .models.compute_physical_summary import ComputePhysicalSummary from .models.compute_server_setting import ComputeServerSetting +from .models.deviceconnector_policy import DeviceconnectorPolicy from .models.equipment_base import EquipmentBase from .models.equipment_device_summary import EquipmentDeviceSummary from .models.equipment_locator_led import EquipmentLocatorLed @@ -812,6 +880,7 @@ from .models.storage_physical_disk_usage import StoragePhysicalDiskUsage from .models.storage_storage_policy import StorageStoragePolicy from .models.storage_vd_member_ep import StorageVdMemberEp +from .models.storage_virtual_drive_extension import StorageVirtualDriveExtension from .models.syslog_policy import SyslogPolicy from .models.top_system import TopSystem from .models.vmedia_policy import VmediaPolicy @@ -828,9 +897,13 @@ from .models.equipment_fan_module import EquipmentFanModule from .models.equipment_fex import EquipmentFex from .models.equipment_io_card import EquipmentIoCard +from .models.equipment_io_expander import EquipmentIoExpander from .models.equipment_psu import EquipmentPsu +from .models.equipment_rack_enclosure import EquipmentRackEnclosure +from .models.equipment_rack_enclosure_slot import EquipmentRackEnclosureSlot from .models.equipment_switch_card import EquipmentSwitchCard from .models.equipment_system_io_controller import EquipmentSystemIoController +from .models.equipment_tpm import EquipmentTpm from .models.ether_physical_port import EtherPhysicalPort from .models.fc_physical_port import FcPhysicalPort from .models.graphics_card import GraphicsCard @@ -839,6 +912,7 @@ from .models.memory_array import MemoryArray from .models.memory_unit import MemoryUnit from .models.network_element import NetworkElement +from .models.pci_device import PciDevice from .models.processor_unit import ProcessorUnit from .models.security_unit import SecurityUnit from .models.server_profile import ServerProfile @@ -880,6 +954,10 @@ from .apis.cond_hcl_status_detail_api import CondHclStatusDetailApi from .apis.cond_hcl_status_job_api import CondHclStatusJobApi from .apis.crypt_encryption_token_api import CryptEncryptionTokenApi +from .apis.cvd_deployment_task_api import CvdDeploymentTaskApi +from .apis.cvd_template_api import CvdTemplateApi +from .apis.cvd_validation_task_api import CvdValidationTaskApi +from .apis.deviceconnector_policy_api import DeviceconnectorPolicyApi from .apis.deviceinfo_serial_number_info_api import DeviceinfoSerialNumberInfoApi from .apis.equipment_chassis_api import EquipmentChassisApi from .apis.equipment_device_summary_api import EquipmentDeviceSummaryApi @@ -887,12 +965,15 @@ from .apis.equipment_fan_module_api import EquipmentFanModuleApi from .apis.equipment_fex_api import EquipmentFexApi from .apis.equipment_io_card_api import EquipmentIoCardApi +from .apis.equipment_io_expander_api import EquipmentIoExpanderApi from .apis.equipment_locator_led_api import EquipmentLocatorLedApi from .apis.equipment_psu_api import EquipmentPsuApi +from .apis.equipment_rack_enclosure_api import EquipmentRackEnclosureApi +from .apis.equipment_rack_enclosure_slot_api import EquipmentRackEnclosureSlotApi from .apis.equipment_switch_card_api import EquipmentSwitchCardApi from .apis.equipment_system_io_controller_api import EquipmentSystemIoControllerApi +from .apis.equipment_tpm_api import EquipmentTpmApi from .apis.ether_physical_port_api import EtherPhysicalPortApi -from .apis.externalsite_authorization_api import ExternalsiteAuthorizationApi from .apis.fault_instance_api import FaultInstanceApi from .apis.fc_physical_port_api import FcPhysicalPortApi from .apis.feedback_feedback_post_api import FeedbackFeedbackPostApi @@ -904,7 +985,9 @@ from .apis.graphics_card_api import GraphicsCardApi from .apis.graphics_controller_api import GraphicsControllerApi from .apis.hcl_compatibility_status_api import HclCompatibilityStatusApi -from .apis.hcl_data_import_log_api import HclDataImportLogApi +from .apis.hcl_driver_image_api import HclDriverImageApi +from .apis.hcl_operating_system_api import HclOperatingSystemApi +from .apis.hcl_operating_system_vendor_api import HclOperatingSystemVendorApi from .apis.hcl_service_status_api import HclServiceStatusApi from .apis.hcl_supported_driver_name_api import HclSupportedDriverNameApi from .apis.hyperflex_alarm_api import HyperflexAlarmApi @@ -922,6 +1005,7 @@ from .apis.hyperflex_feature_limit_internal_api import HyperflexFeatureLimitInternalApi from .apis.hyperflex_hxdp_version_api import HyperflexHxdpVersionApi from .apis.hyperflex_local_credential_policy_api import HyperflexLocalCredentialPolicyApi +from .apis.hyperflex_node_api import HyperflexNodeApi from .apis.hyperflex_node_config_policy_api import HyperflexNodeConfigPolicyApi from .apis.hyperflex_node_profile_api import HyperflexNodeProfileApi from .apis.hyperflex_proxy_setting_policy_api import HyperflexProxySettingPolicyApi @@ -933,7 +1017,9 @@ from .apis.iaas_connector_pack_api import IaasConnectorPackApi from .apis.iaas_device_status_api import IaasDeviceStatusApi from .apis.iaas_license_info_api import IaasLicenseInfoApi +from .apis.iaas_most_run_tasks_api import IaasMostRunTasksApi from .apis.iaas_ucsd_info_api import IaasUcsdInfoApi +from .apis.iaas_ucsd_managed_infra_api import IaasUcsdManagedInfraApi from .apis.iam_account_api import IamAccountApi from .apis.iam_api_key_api import IamApiKeyApi from .apis.iam_domain_group_api import IamDomainGroupApi @@ -982,9 +1068,12 @@ from .apis.network_element_summary_api import NetworkElementSummaryApi from .apis.networkconfig_policy_api import NetworkconfigPolicyApi from .apis.ntp_policy_api import NtpPolicyApi +from .apis.oauth_oauth_user_api import OauthOauthUserApi +from .apis.pci_device_api import PciDeviceApi from .apis.port_group_api import PortGroupApi from .apis.port_sub_group_api import PortSubGroupApi from .apis.processor_unit_api import ProcessorUnitApi +from .apis.resource_group_api import ResourceGroupApi from .apis.sdcard_policy_api import SdcardPolicyApi from .apis.search_search_item_api import SearchSearchItemApi from .apis.search_suggest_item_api import SearchSuggestItemApi @@ -996,6 +1085,7 @@ from .apis.server_profile_api import ServerProfileApi from .apis.smtp_policy_api import SmtpPolicyApi from .apis.snmp_policy_api import SnmpPolicyApi +from .apis.softwarerepository_authorization_api import SoftwarerepositoryAuthorizationApi from .apis.sol_policy_api import SolPolicyApi from .apis.ssh_policy_api import SshPolicyApi from .apis.storage_controller_api import StorageControllerApi @@ -1015,8 +1105,10 @@ from .apis.storage_storage_policy_api import StorageStoragePolicyApi from .apis.storage_vd_member_ep_api import StorageVdMemberEpApi from .apis.storage_virtual_drive_api import StorageVirtualDriveApi +from .apis.storage_virtual_drive_extension_api import StorageVirtualDriveExtensionApi from .apis.syslog_policy_api import SyslogPolicyApi from .apis.task_workflow_action_api import TaskWorkflowActionApi +from .apis.telemetry_time_series_api import TelemetryTimeSeriesApi from .apis.terminal_audit_log_api import TerminalAuditLogApi from .apis.testcrypt_administrator_api import TestcryptAdministratorApi from .apis.testcrypt_credential_api import TestcryptCredentialApi diff --git a/intersight/api_client.py b/intersight/api_client.py index 3e43fc90..2115ffcf 100644 --- a/intersight/api_client.py +++ b/intersight/api_client.py @@ -4,7 +4,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/__init__.py b/intersight/apis/__init__.py index cf876e41..2034a409 100644 --- a/intersight/apis/__init__.py +++ b/intersight/apis/__init__.py @@ -24,6 +24,10 @@ from .cond_hcl_status_detail_api import CondHclStatusDetailApi from .cond_hcl_status_job_api import CondHclStatusJobApi from .crypt_encryption_token_api import CryptEncryptionTokenApi +from .cvd_deployment_task_api import CvdDeploymentTaskApi +from .cvd_template_api import CvdTemplateApi +from .cvd_validation_task_api import CvdValidationTaskApi +from .deviceconnector_policy_api import DeviceconnectorPolicyApi from .deviceinfo_serial_number_info_api import DeviceinfoSerialNumberInfoApi from .equipment_chassis_api import EquipmentChassisApi from .equipment_device_summary_api import EquipmentDeviceSummaryApi @@ -31,12 +35,15 @@ from .equipment_fan_module_api import EquipmentFanModuleApi from .equipment_fex_api import EquipmentFexApi from .equipment_io_card_api import EquipmentIoCardApi +from .equipment_io_expander_api import EquipmentIoExpanderApi from .equipment_locator_led_api import EquipmentLocatorLedApi from .equipment_psu_api import EquipmentPsuApi +from .equipment_rack_enclosure_api import EquipmentRackEnclosureApi +from .equipment_rack_enclosure_slot_api import EquipmentRackEnclosureSlotApi from .equipment_switch_card_api import EquipmentSwitchCardApi from .equipment_system_io_controller_api import EquipmentSystemIoControllerApi +from .equipment_tpm_api import EquipmentTpmApi from .ether_physical_port_api import EtherPhysicalPortApi -from .externalsite_authorization_api import ExternalsiteAuthorizationApi from .fault_instance_api import FaultInstanceApi from .fc_physical_port_api import FcPhysicalPortApi from .feedback_feedback_post_api import FeedbackFeedbackPostApi @@ -48,7 +55,9 @@ from .graphics_card_api import GraphicsCardApi from .graphics_controller_api import GraphicsControllerApi from .hcl_compatibility_status_api import HclCompatibilityStatusApi -from .hcl_data_import_log_api import HclDataImportLogApi +from .hcl_driver_image_api import HclDriverImageApi +from .hcl_operating_system_api import HclOperatingSystemApi +from .hcl_operating_system_vendor_api import HclOperatingSystemVendorApi from .hcl_service_status_api import HclServiceStatusApi from .hcl_supported_driver_name_api import HclSupportedDriverNameApi from .hyperflex_alarm_api import HyperflexAlarmApi @@ -66,6 +75,7 @@ from .hyperflex_feature_limit_internal_api import HyperflexFeatureLimitInternalApi from .hyperflex_hxdp_version_api import HyperflexHxdpVersionApi from .hyperflex_local_credential_policy_api import HyperflexLocalCredentialPolicyApi +from .hyperflex_node_api import HyperflexNodeApi from .hyperflex_node_config_policy_api import HyperflexNodeConfigPolicyApi from .hyperflex_node_profile_api import HyperflexNodeProfileApi from .hyperflex_proxy_setting_policy_api import HyperflexProxySettingPolicyApi @@ -77,7 +87,9 @@ from .iaas_connector_pack_api import IaasConnectorPackApi from .iaas_device_status_api import IaasDeviceStatusApi from .iaas_license_info_api import IaasLicenseInfoApi +from .iaas_most_run_tasks_api import IaasMostRunTasksApi from .iaas_ucsd_info_api import IaasUcsdInfoApi +from .iaas_ucsd_managed_infra_api import IaasUcsdManagedInfraApi from .iam_account_api import IamAccountApi from .iam_api_key_api import IamApiKeyApi from .iam_domain_group_api import IamDomainGroupApi @@ -126,9 +138,12 @@ from .network_element_summary_api import NetworkElementSummaryApi from .networkconfig_policy_api import NetworkconfigPolicyApi from .ntp_policy_api import NtpPolicyApi +from .oauth_oauth_user_api import OauthOauthUserApi +from .pci_device_api import PciDeviceApi from .port_group_api import PortGroupApi from .port_sub_group_api import PortSubGroupApi from .processor_unit_api import ProcessorUnitApi +from .resource_group_api import ResourceGroupApi from .sdcard_policy_api import SdcardPolicyApi from .search_search_item_api import SearchSearchItemApi from .search_suggest_item_api import SearchSuggestItemApi @@ -140,6 +155,7 @@ from .server_profile_api import ServerProfileApi from .smtp_policy_api import SmtpPolicyApi from .snmp_policy_api import SnmpPolicyApi +from .softwarerepository_authorization_api import SoftwarerepositoryAuthorizationApi from .sol_policy_api import SolPolicyApi from .ssh_policy_api import SshPolicyApi from .storage_controller_api import StorageControllerApi @@ -159,8 +175,10 @@ from .storage_storage_policy_api import StorageStoragePolicyApi from .storage_vd_member_ep_api import StorageVdMemberEpApi from .storage_virtual_drive_api import StorageVirtualDriveApi +from .storage_virtual_drive_extension_api import StorageVirtualDriveExtensionApi from .syslog_policy_api import SyslogPolicyApi from .task_workflow_action_api import TaskWorkflowActionApi +from .telemetry_time_series_api import TelemetryTimeSeriesApi from .terminal_audit_log_api import TerminalAuditLogApi from .testcrypt_administrator_api import TestcryptAdministratorApi from .testcrypt_credential_api import TestcryptCredentialApi diff --git a/intersight/apis/aaa_audit_record_api.py b/intersight/apis/aaa_audit_record_api.py index 1e7b57db..c9ab5236 100644 --- a/intersight/apis/aaa_audit_record_api.py +++ b/intersight/apis/aaa_audit_record_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def aaa_audit_records_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AaaAuditRecordList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def aaa_audit_records_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AaaAuditRecordList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def aaa_audit_records_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/adapter_ext_eth_interface_api.py b/intersight/apis/adapter_ext_eth_interface_api.py index c03d99f0..288d6663 100644 --- a/intersight/apis/adapter_ext_eth_interface_api.py +++ b/intersight/apis/adapter_ext_eth_interface_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def adapter_ext_eth_interfaces_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterExtEthInterfaceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def adapter_ext_eth_interfaces_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterExtEthInterfaceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def adapter_ext_eth_interfaces_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/adapter_host_eth_interface_api.py b/intersight/apis/adapter_host_eth_interface_api.py index c186b4fe..8afb1c29 100644 --- a/intersight/apis/adapter_host_eth_interface_api.py +++ b/intersight/apis/adapter_host_eth_interface_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def adapter_host_eth_interfaces_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostEthInterfaceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def adapter_host_eth_interfaces_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostEthInterfaceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def adapter_host_eth_interfaces_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/adapter_host_fc_interface_api.py b/intersight/apis/adapter_host_fc_interface_api.py index 07680d05..a35a11e3 100644 --- a/intersight/apis/adapter_host_fc_interface_api.py +++ b/intersight/apis/adapter_host_fc_interface_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def adapter_host_fc_interfaces_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostFcInterfaceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def adapter_host_fc_interfaces_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostFcInterfaceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def adapter_host_fc_interfaces_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/adapter_host_iscsi_interface_api.py b/intersight/apis/adapter_host_iscsi_interface_api.py index 257bb94b..07cfab97 100644 --- a/intersight/apis/adapter_host_iscsi_interface_api.py +++ b/intersight/apis/adapter_host_iscsi_interface_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def adapter_host_iscsi_interfaces_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostIscsiInterfaceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def adapter_host_iscsi_interfaces_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterHostIscsiInterfaceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def adapter_host_iscsi_interfaces_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/adapter_unit_api.py b/intersight/apis/adapter_unit_api.py index 1011d9b8..168113e9 100644 --- a/intersight/apis/adapter_unit_api.py +++ b/intersight/apis/adapter_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def adapter_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def adapter_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AdapterUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def adapter_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/asset_cluster_member_api.py b/intersight/apis/asset_cluster_member_api.py index ea7c4e1b..4e8b4b5d 100644 --- a/intersight/apis/asset_cluster_member_api.py +++ b/intersight/apis/asset_cluster_member_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def asset_cluster_members_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetClusterMemberList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def asset_cluster_members_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetClusterMemberList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def asset_cluster_members_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/asset_device_claim_api.py b/intersight/apis/asset_device_claim_api.py index ba452c87..fa278ff8 100644 --- a/intersight/apis/asset_device_claim_api.py +++ b/intersight/apis/asset_device_claim_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/asset_device_configuration_api.py b/intersight/apis/asset_device_configuration_api.py index 14424fdc..2342bea0 100644 --- a/intersight/apis/asset_device_configuration_api.py +++ b/intersight/apis/asset_device_configuration_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def asset_device_configurations_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetDeviceConfigurationList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def asset_device_configurations_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetDeviceConfigurationList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def asset_device_configurations_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/asset_device_registration_api.py b/intersight/apis/asset_device_registration_api.py index 048c9f01..3ce0418f 100644 --- a/intersight/apis/asset_device_registration_api.py +++ b/intersight/apis/asset_device_registration_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def asset_device_registrations_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetDeviceRegistrationList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def asset_device_registrations_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: AssetDeviceRegistrationList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def asset_device_registrations_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/bios_policy_api.py b/intersight/apis/bios_policy_api.py index 0a8e6fac..d0c4e54a 100644 --- a/intersight/apis/bios_policy_api.py +++ b/intersight/apis/bios_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def bios_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BiosPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def bios_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BiosPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def bios_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/bios_unit_api.py b/intersight/apis/bios_unit_api.py index 61e37959..c2cc461b 100644 --- a/intersight/apis/bios_unit_api.py +++ b/intersight/apis/bios_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def bios_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BiosUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def bios_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BiosUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def bios_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/boot_precision_policy_api.py b/intersight/apis/boot_precision_policy_api.py index 3c1da279..9ddbf8ce 100644 --- a/intersight/apis/boot_precision_policy_api.py +++ b/intersight/apis/boot_precision_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def boot_precision_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BootPrecisionPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def boot_precision_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: BootPrecisionPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def boot_precision_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/compute_blade_api.py b/intersight/apis/compute_blade_api.py index 600a33e2..00d2a863 100644 --- a/intersight/apis/compute_blade_api.py +++ b/intersight/apis/compute_blade_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def compute_blades_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeBladeList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def compute_blades_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeBladeList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def compute_blades_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/compute_board_api.py b/intersight/apis/compute_board_api.py index 9c7e3131..096c39c1 100644 --- a/intersight/apis/compute_board_api.py +++ b/intersight/apis/compute_board_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def compute_boards_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeBoardList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def compute_boards_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeBoardList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def compute_boards_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/compute_physical_summary_api.py b/intersight/apis/compute_physical_summary_api.py index b9c84cf7..762a953e 100644 --- a/intersight/apis/compute_physical_summary_api.py +++ b/intersight/apis/compute_physical_summary_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def compute_physical_summaries_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputePhysicalSummaryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def compute_physical_summaries_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputePhysicalSummaryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def compute_physical_summaries_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/compute_rack_unit_api.py b/intersight/apis/compute_rack_unit_api.py index 8137e576..ce853449 100644 --- a/intersight/apis/compute_rack_unit_api.py +++ b/intersight/apis/compute_rack_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def compute_rack_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeRackUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def compute_rack_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeRackUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def compute_rack_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/compute_server_setting_api.py b/intersight/apis/compute_server_setting_api.py index 66660252..909f9114 100644 --- a/intersight/apis/compute_server_setting_api.py +++ b/intersight/apis/compute_server_setting_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def compute_server_settings_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeServerSettingList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def compute_server_settings_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ComputeServerSettingList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def compute_server_settings_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/cond_alarm_api.py b/intersight/apis/cond_alarm_api.py index ebc402d9..0797808f 100644 --- a/intersight/apis/cond_alarm_api.py +++ b/intersight/apis/cond_alarm_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def cond_alarms_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondAlarmList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def cond_alarms_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondAlarmList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def cond_alarms_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/cond_hcl_status_api.py b/intersight/apis/cond_hcl_status_api.py index 6e8d640c..c97a8833 100644 --- a/intersight/apis/cond_hcl_status_api.py +++ b/intersight/apis/cond_hcl_status_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def cond_hcl_statuses_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def cond_hcl_statuses_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def cond_hcl_statuses_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/cond_hcl_status_detail_api.py b/intersight/apis/cond_hcl_status_detail_api.py index 564e9124..4c84b28d 100644 --- a/intersight/apis/cond_hcl_status_detail_api.py +++ b/intersight/apis/cond_hcl_status_detail_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def cond_hcl_status_details_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusDetailList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def cond_hcl_status_details_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusDetailList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def cond_hcl_status_details_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/cond_hcl_status_job_api.py b/intersight/apis/cond_hcl_status_job_api.py index b5ca6585..aaeed5d2 100644 --- a/intersight/apis/cond_hcl_status_job_api.py +++ b/intersight/apis/cond_hcl_status_job_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def cond_hcl_status_jobs_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusJobList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def cond_hcl_status_jobs_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CondHclStatusJobList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def cond_hcl_status_jobs_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/crypt_encryption_token_api.py b/intersight/apis/crypt_encryption_token_api.py index cb7e9cff..2425cfbf 100644 --- a/intersight/apis/crypt_encryption_token_api.py +++ b/intersight/apis/crypt_encryption_token_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def crypt_encryption_tokens_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CryptEncryptionTokenList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def crypt_encryption_tokens_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: CryptEncryptionTokenList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def crypt_encryption_tokens_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/cvd_deployment_task_api.py b/intersight/apis/cvd_deployment_task_api.py new file mode 100644 index 00000000..ffa82eb7 --- /dev/null +++ b/intersight/apis/cvd_deployment_task_api.py @@ -0,0 +1,712 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class CvdDeploymentTaskApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def cvd_deployment_tasks_get(self, **kwargs): + """ + Get a list of 'cvdDeploymentTask' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdDeploymentTaskList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_get_with_http_info(**kwargs) + else: + (data) = self.cvd_deployment_tasks_get_with_http_info(**kwargs) + return data + + def cvd_deployment_tasks_get_with_http_info(self, **kwargs): + """ + Get a list of 'cvdDeploymentTask' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdDeploymentTaskList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdDeploymentTaskList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_deployment_tasks_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_deployment_tasks_moid_delete_with_http_info(moid, **kwargs) + return data + + def cvd_deployment_tasks_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_deployment_tasks_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_deployment_tasks_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :return: CvdDeploymentTask + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_deployment_tasks_moid_get_with_http_info(moid, **kwargs) + return data + + def cvd_deployment_tasks_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :return: CvdDeploymentTask + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_deployment_tasks_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdDeploymentTask', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_deployment_tasks_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :param CvdDeploymentTask body: cvdDeploymentTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_deployment_tasks_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def cvd_deployment_tasks_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :param CvdDeploymentTask body: cvdDeploymentTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_deployment_tasks_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_deployment_tasks_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_deployment_tasks_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :param CvdDeploymentTask body: cvdDeploymentTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_deployment_tasks_moid_post_with_http_info(moid, body, **kwargs) + return data + + def cvd_deployment_tasks_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdDeploymentTask instance. (required) + :param CvdDeploymentTask body: cvdDeploymentTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_deployment_tasks_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_deployment_tasks_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_deployment_tasks_post(self, body, **kwargs): + """ + Create an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdDeploymentTask body: cvdDeploymentTask to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_deployment_tasks_post_with_http_info(body, **kwargs) + else: + (data) = self.cvd_deployment_tasks_post_with_http_info(body, **kwargs) + return data + + def cvd_deployment_tasks_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'cvdDeploymentTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_deployment_tasks_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdDeploymentTask body: cvdDeploymentTask to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_deployment_tasks_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_deployment_tasks_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/DeploymentTasks', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/cvd_template_api.py b/intersight/apis/cvd_template_api.py new file mode 100644 index 00000000..e5df2a34 --- /dev/null +++ b/intersight/apis/cvd_template_api.py @@ -0,0 +1,712 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class CvdTemplateApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def cvd_templates_get(self, **kwargs): + """ + Get a list of 'cvdTemplate' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdTemplateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_get_with_http_info(**kwargs) + else: + (data) = self.cvd_templates_get_with_http_info(**kwargs) + return data + + def cvd_templates_get_with_http_info(self, **kwargs): + """ + Get a list of 'cvdTemplate' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdTemplateList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdTemplateList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_templates_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_templates_moid_delete_with_http_info(moid, **kwargs) + return data + + def cvd_templates_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_templates_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_templates_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :return: CvdTemplate + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_templates_moid_get_with_http_info(moid, **kwargs) + return data + + def cvd_templates_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :return: CvdTemplate + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_templates_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdTemplate', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_templates_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :param CvdTemplate body: cvdTemplate to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_templates_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def cvd_templates_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :param CvdTemplate body: cvdTemplate to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_templates_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_templates_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_templates_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :param CvdTemplate body: cvdTemplate to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_templates_moid_post_with_http_info(moid, body, **kwargs) + return data + + def cvd_templates_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdTemplate instance. (required) + :param CvdTemplate body: cvdTemplate to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_templates_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_templates_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_templates_post(self, body, **kwargs): + """ + Create an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdTemplate body: cvdTemplate to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_templates_post_with_http_info(body, **kwargs) + else: + (data) = self.cvd_templates_post_with_http_info(body, **kwargs) + return data + + def cvd_templates_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'cvdTemplate' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_templates_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdTemplate body: cvdTemplate to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_templates_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_templates_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/Templates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/cvd_validation_task_api.py b/intersight/apis/cvd_validation_task_api.py new file mode 100644 index 00000000..1f6f30da --- /dev/null +++ b/intersight/apis/cvd_validation_task_api.py @@ -0,0 +1,712 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class CvdValidationTaskApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def cvd_validation_tasks_get(self, **kwargs): + """ + Get a list of 'cvdValidationTask' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdValidationTaskList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_get_with_http_info(**kwargs) + else: + (data) = self.cvd_validation_tasks_get_with_http_info(**kwargs) + return data + + def cvd_validation_tasks_get_with_http_info(self, **kwargs): + """ + Get a list of 'cvdValidationTask' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: CvdValidationTaskList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdValidationTaskList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_validation_tasks_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_validation_tasks_moid_delete_with_http_info(moid, **kwargs) + return data + + def cvd_validation_tasks_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_validation_tasks_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_validation_tasks_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :return: CvdValidationTask + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.cvd_validation_tasks_moid_get_with_http_info(moid, **kwargs) + return data + + def cvd_validation_tasks_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :return: CvdValidationTask + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_validation_tasks_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CvdValidationTask', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_validation_tasks_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :param CvdValidationTask body: cvdValidationTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_validation_tasks_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def cvd_validation_tasks_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :param CvdValidationTask body: cvdValidationTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_validation_tasks_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_validation_tasks_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_validation_tasks_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :param CvdValidationTask body: cvdValidationTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.cvd_validation_tasks_moid_post_with_http_info(moid, body, **kwargs) + return data + + def cvd_validation_tasks_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the cvdValidationTask instance. (required) + :param CvdValidationTask body: cvdValidationTask to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `cvd_validation_tasks_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_validation_tasks_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def cvd_validation_tasks_post(self, body, **kwargs): + """ + Create an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdValidationTask body: cvdValidationTask to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.cvd_validation_tasks_post_with_http_info(body, **kwargs) + else: + (data) = self.cvd_validation_tasks_post_with_http_info(body, **kwargs) + return data + + def cvd_validation_tasks_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'cvdValidationTask' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.cvd_validation_tasks_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param CvdValidationTask body: cvdValidationTask to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method cvd_validation_tasks_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `cvd_validation_tasks_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/cvd/ValidationTasks', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/deviceconnector_policy_api.py b/intersight/apis/deviceconnector_policy_api.py new file mode 100644 index 00000000..1ed815fd --- /dev/null +++ b/intersight/apis/deviceconnector_policy_api.py @@ -0,0 +1,712 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class DeviceconnectorPolicyApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def deviceconnector_policies_get(self, **kwargs): + """ + Get a list of 'deviceconnectorPolicy' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: DeviceconnectorPolicyList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_get_with_http_info(**kwargs) + else: + (data) = self.deviceconnector_policies_get_with_http_info(**kwargs) + return data + + def deviceconnector_policies_get_with_http_info(self, **kwargs): + """ + Get a list of 'deviceconnectorPolicy' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: DeviceconnectorPolicyList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='DeviceconnectorPolicyList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def deviceconnector_policies_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.deviceconnector_policies_moid_delete_with_http_info(moid, **kwargs) + return data + + def deviceconnector_policies_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `deviceconnector_policies_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def deviceconnector_policies_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :return: DeviceconnectorPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.deviceconnector_policies_moid_get_with_http_info(moid, **kwargs) + return data + + def deviceconnector_policies_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :return: DeviceconnectorPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `deviceconnector_policies_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='DeviceconnectorPolicy', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def deviceconnector_policies_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.deviceconnector_policies_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def deviceconnector_policies_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `deviceconnector_policies_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `deviceconnector_policies_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def deviceconnector_policies_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.deviceconnector_policies_moid_post_with_http_info(moid, body, **kwargs) + return data + + def deviceconnector_policies_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the deviceconnectorPolicy instance. (required) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `deviceconnector_policies_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `deviceconnector_policies_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def deviceconnector_policies_post(self, body, **kwargs): + """ + Create an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.deviceconnector_policies_post_with_http_info(body, **kwargs) + else: + (data) = self.deviceconnector_policies_post_with_http_info(body, **kwargs) + return data + + def deviceconnector_policies_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'deviceconnectorPolicy' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.deviceconnector_policies_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param DeviceconnectorPolicy body: deviceconnectorPolicy to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method deviceconnector_policies_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `deviceconnector_policies_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/deviceconnector/Policies', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/deviceinfo_serial_number_info_api.py b/intersight/apis/deviceinfo_serial_number_info_api.py index f47994ad..018620a7 100644 --- a/intersight/apis/deviceinfo_serial_number_info_api.py +++ b/intersight/apis/deviceinfo_serial_number_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def deviceinfo_serial_number_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: DeviceinfoSerialNumberInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def deviceinfo_serial_number_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: DeviceinfoSerialNumberInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def deviceinfo_serial_number_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_chassis_api.py b/intersight/apis/equipment_chassis_api.py index 092b2277..bdcb4b6e 100644 --- a/intersight/apis/equipment_chassis_api.py +++ b/intersight/apis/equipment_chassis_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_chasses_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentChassisList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_chasses_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentChassisList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_chasses_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_device_summary_api.py b/intersight/apis/equipment_device_summary_api.py index 9dbbefbb..f1b4ef31 100644 --- a/intersight/apis/equipment_device_summary_api.py +++ b/intersight/apis/equipment_device_summary_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_device_summaries_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentDeviceSummaryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_device_summaries_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentDeviceSummaryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_device_summaries_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_fan_api.py b/intersight/apis/equipment_fan_api.py index 3e1f405a..78184e76 100644 --- a/intersight/apis/equipment_fan_api.py +++ b/intersight/apis/equipment_fan_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_fans_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFanList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_fans_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFanList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_fans_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_fan_module_api.py b/intersight/apis/equipment_fan_module_api.py index 94a987e9..06f348a5 100644 --- a/intersight/apis/equipment_fan_module_api.py +++ b/intersight/apis/equipment_fan_module_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_fan_modules_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFanModuleList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_fan_modules_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFanModuleList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_fan_modules_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_fex_api.py b/intersight/apis/equipment_fex_api.py index 7034a70a..9653576f 100644 --- a/intersight/apis/equipment_fex_api.py +++ b/intersight/apis/equipment_fex_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_fexes_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFexList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_fexes_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentFexList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_fexes_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_io_card_api.py b/intersight/apis/equipment_io_card_api.py index ae2560c3..62ccdbd3 100644 --- a/intersight/apis/equipment_io_card_api.py +++ b/intersight/apis/equipment_io_card_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_io_cards_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentIoCardList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_io_cards_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentIoCardList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_io_cards_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_io_expander_api.py b/intersight/apis/equipment_io_expander_api.py new file mode 100644 index 00000000..deda2de0 --- /dev/null +++ b/intersight/apis/equipment_io_expander_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class EquipmentIoExpanderApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def equipment_io_expanders_get(self, **kwargs): + """ + Get a list of 'equipmentIoExpander' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentIoExpanderList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_io_expanders_get_with_http_info(**kwargs) + else: + (data) = self.equipment_io_expanders_get_with_http_info(**kwargs) + return data + + def equipment_io_expanders_get_with_http_info(self, **kwargs): + """ + Get a list of 'equipmentIoExpander' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentIoExpanderList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_io_expanders_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/IoExpanders', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentIoExpanderList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_io_expanders_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :return: EquipmentIoExpander + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_io_expanders_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.equipment_io_expanders_moid_get_with_http_info(moid, **kwargs) + return data + + def equipment_io_expanders_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :return: EquipmentIoExpander + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_io_expanders_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_io_expanders_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/IoExpanders/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentIoExpander', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_io_expanders_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :param EquipmentIoExpander body: equipmentIoExpander to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_io_expanders_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_io_expanders_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def equipment_io_expanders_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :param EquipmentIoExpander body: equipmentIoExpander to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_io_expanders_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_io_expanders_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_io_expanders_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/IoExpanders/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_io_expanders_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :param EquipmentIoExpander body: equipmentIoExpander to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_io_expanders_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_io_expanders_moid_post_with_http_info(moid, body, **kwargs) + return data + + def equipment_io_expanders_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentIoExpander' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_io_expanders_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentIoExpander instance. (required) + :param EquipmentIoExpander body: equipmentIoExpander to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_io_expanders_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_io_expanders_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_io_expanders_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/IoExpanders/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/equipment_locator_led_api.py b/intersight/apis/equipment_locator_led_api.py index 8196a59b..40bc94e4 100644 --- a/intersight/apis/equipment_locator_led_api.py +++ b/intersight/apis/equipment_locator_led_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_locator_leds_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentLocatorLedList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_locator_leds_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentLocatorLedList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_locator_leds_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_psu_api.py b/intersight/apis/equipment_psu_api.py index 30ba3d29..ebbd1c0b 100644 --- a/intersight/apis/equipment_psu_api.py +++ b/intersight/apis/equipment_psu_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_psus_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentPsuList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_psus_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentPsuList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_psus_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_rack_enclosure_api.py b/intersight/apis/equipment_rack_enclosure_api.py new file mode 100644 index 00000000..4b09ee9c --- /dev/null +++ b/intersight/apis/equipment_rack_enclosure_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class EquipmentRackEnclosureApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def equipment_rack_enclosures_get(self, **kwargs): + """ + Get a list of 'equipmentRackEnclosure' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentRackEnclosureList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosures_get_with_http_info(**kwargs) + else: + (data) = self.equipment_rack_enclosures_get_with_http_info(**kwargs) + return data + + def equipment_rack_enclosures_get_with_http_info(self, **kwargs): + """ + Get a list of 'equipmentRackEnclosure' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentRackEnclosureList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosures_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosures', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentRackEnclosureList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosures_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :return: EquipmentRackEnclosure + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosures_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.equipment_rack_enclosures_moid_get_with_http_info(moid, **kwargs) + return data + + def equipment_rack_enclosures_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :return: EquipmentRackEnclosure + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosures_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosures_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosures/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentRackEnclosure', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosures_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :param EquipmentRackEnclosure body: equipmentRackEnclosure to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosures_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_rack_enclosures_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def equipment_rack_enclosures_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :param EquipmentRackEnclosure body: equipmentRackEnclosure to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosures_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosures_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_rack_enclosures_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosures/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosures_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :param EquipmentRackEnclosure body: equipmentRackEnclosure to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosures_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_rack_enclosures_moid_post_with_http_info(moid, body, **kwargs) + return data + + def equipment_rack_enclosures_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosure' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosures_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosure instance. (required) + :param EquipmentRackEnclosure body: equipmentRackEnclosure to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosures_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosures_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_rack_enclosures_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosures/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/equipment_rack_enclosure_slot_api.py b/intersight/apis/equipment_rack_enclosure_slot_api.py new file mode 100644 index 00000000..de097d4e --- /dev/null +++ b/intersight/apis/equipment_rack_enclosure_slot_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class EquipmentRackEnclosureSlotApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def equipment_rack_enclosure_slots_get(self, **kwargs): + """ + Get a list of 'equipmentRackEnclosureSlot' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentRackEnclosureSlotList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosure_slots_get_with_http_info(**kwargs) + else: + (data) = self.equipment_rack_enclosure_slots_get_with_http_info(**kwargs) + return data + + def equipment_rack_enclosure_slots_get_with_http_info(self, **kwargs): + """ + Get a list of 'equipmentRackEnclosureSlot' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentRackEnclosureSlotList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosure_slots_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosureSlots', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentRackEnclosureSlotList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosure_slots_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :return: EquipmentRackEnclosureSlot + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosure_slots_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.equipment_rack_enclosure_slots_moid_get_with_http_info(moid, **kwargs) + return data + + def equipment_rack_enclosure_slots_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :return: EquipmentRackEnclosureSlot + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosure_slots_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosure_slots_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosureSlots/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentRackEnclosureSlot', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosure_slots_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :param EquipmentRackEnclosureSlot body: equipmentRackEnclosureSlot to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosure_slots_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_rack_enclosure_slots_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def equipment_rack_enclosure_slots_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :param EquipmentRackEnclosureSlot body: equipmentRackEnclosureSlot to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosure_slots_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosure_slots_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_rack_enclosure_slots_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosureSlots/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_rack_enclosure_slots_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :param EquipmentRackEnclosureSlot body: equipmentRackEnclosureSlot to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_rack_enclosure_slots_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_rack_enclosure_slots_moid_post_with_http_info(moid, body, **kwargs) + return data + + def equipment_rack_enclosure_slots_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentRackEnclosureSlot' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_rack_enclosure_slots_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentRackEnclosureSlot instance. (required) + :param EquipmentRackEnclosureSlot body: equipmentRackEnclosureSlot to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_rack_enclosure_slots_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_rack_enclosure_slots_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_rack_enclosure_slots_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/RackEnclosureSlots/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/equipment_switch_card_api.py b/intersight/apis/equipment_switch_card_api.py index 412ecf7d..25627564 100644 --- a/intersight/apis/equipment_switch_card_api.py +++ b/intersight/apis/equipment_switch_card_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_switch_cards_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentSwitchCardList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_switch_cards_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentSwitchCardList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_switch_cards_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_system_io_controller_api.py b/intersight/apis/equipment_system_io_controller_api.py index baead8d5..80208bf8 100644 --- a/intersight/apis/equipment_system_io_controller_api.py +++ b/intersight/apis/equipment_system_io_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def equipment_system_io_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentSystemIoControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def equipment_system_io_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EquipmentSystemIoControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def equipment_system_io_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/equipment_tpm_api.py b/intersight/apis/equipment_tpm_api.py new file mode 100644 index 00000000..1e162703 --- /dev/null +++ b/intersight/apis/equipment_tpm_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class EquipmentTpmApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def equipment_tpms_get(self, **kwargs): + """ + Get a list of 'equipmentTpm' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentTpmList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_tpms_get_with_http_info(**kwargs) + else: + (data) = self.equipment_tpms_get_with_http_info(**kwargs) + return data + + def equipment_tpms_get_with_http_info(self, **kwargs): + """ + Get a list of 'equipmentTpm' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: EquipmentTpmList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_tpms_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/Tpms', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentTpmList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_tpms_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :return: EquipmentTpm + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_tpms_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.equipment_tpms_moid_get_with_http_info(moid, **kwargs) + return data + + def equipment_tpms_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :return: EquipmentTpm + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_tpms_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_tpms_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/Tpms/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentTpm', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_tpms_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :param EquipmentTpm body: equipmentTpm to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_tpms_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_tpms_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def equipment_tpms_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :param EquipmentTpm body: equipmentTpm to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_tpms_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_tpms_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_tpms_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/Tpms/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def equipment_tpms_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :param EquipmentTpm body: equipmentTpm to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.equipment_tpms_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.equipment_tpms_moid_post_with_http_info(moid, body, **kwargs) + return data + + def equipment_tpms_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'equipmentTpm' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.equipment_tpms_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the equipmentTpm instance. (required) + :param EquipmentTpm body: equipmentTpm to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method equipment_tpms_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `equipment_tpms_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `equipment_tpms_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/equipment/Tpms/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/ether_physical_port_api.py b/intersight/apis/ether_physical_port_api.py index 48fd82bf..438ca0cf 100644 --- a/intersight/apis/ether_physical_port_api.py +++ b/intersight/apis/ether_physical_port_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def ether_physical_ports_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EtherPhysicalPortList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def ether_physical_ports_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: EtherPhysicalPortList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def ether_physical_ports_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/fault_instance_api.py b/intersight/apis/fault_instance_api.py index f560d2f3..6f32c884 100644 --- a/intersight/apis/fault_instance_api.py +++ b/intersight/apis/fault_instance_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def fault_instances_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FaultInstanceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def fault_instances_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FaultInstanceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def fault_instances_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/fc_physical_port_api.py b/intersight/apis/fc_physical_port_api.py index d02aec53..3988c6d4 100644 --- a/intersight/apis/fc_physical_port_api.py +++ b/intersight/apis/fc_physical_port_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def fc_physical_ports_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FcPhysicalPortList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def fc_physical_ports_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FcPhysicalPortList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def fc_physical_ports_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/feedback_feedback_post_api.py b/intersight/apis/feedback_feedback_post_api.py index e2f79e4e..da014dfd 100644 --- a/intersight/apis/feedback_feedback_post_api.py +++ b/intersight/apis/feedback_feedback_post_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/firmware_distributable_api.py b/intersight/apis/firmware_distributable_api.py index 9863317f..e5d8a67f 100644 --- a/intersight/apis/firmware_distributable_api.py +++ b/intersight/apis/firmware_distributable_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def firmware_distributables_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareDistributableList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def firmware_distributables_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareDistributableList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def firmware_distributables_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/firmware_eula_api.py b/intersight/apis/firmware_eula_api.py index 6edc39a9..63817a24 100644 --- a/intersight/apis/firmware_eula_api.py +++ b/intersight/apis/firmware_eula_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def firmware_eulas_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareEulaList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def firmware_eulas_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareEulaList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def firmware_eulas_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/firmware_running_firmware_api.py b/intersight/apis/firmware_running_firmware_api.py index 1ebe768f..81017aae 100644 --- a/intersight/apis/firmware_running_firmware_api.py +++ b/intersight/apis/firmware_running_firmware_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def firmware_running_firmwares_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareRunningFirmwareList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def firmware_running_firmwares_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareRunningFirmwareList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def firmware_running_firmwares_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/firmware_upgrade_api.py b/intersight/apis/firmware_upgrade_api.py index ad5b8518..ab4a9f14 100644 --- a/intersight/apis/firmware_upgrade_api.py +++ b/intersight/apis/firmware_upgrade_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def firmware_upgrades_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareUpgradeList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def firmware_upgrades_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareUpgradeList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def firmware_upgrades_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/firmware_upgrade_status_api.py b/intersight/apis/firmware_upgrade_status_api.py index d6cd549c..5a09d984 100644 --- a/intersight/apis/firmware_upgrade_status_api.py +++ b/intersight/apis/firmware_upgrade_status_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def firmware_upgrade_statuses_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareUpgradeStatusList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def firmware_upgrade_statuses_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: FirmwareUpgradeStatusList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def firmware_upgrade_statuses_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/graphics_card_api.py b/intersight/apis/graphics_card_api.py index 2310f708..6847d352 100644 --- a/intersight/apis/graphics_card_api.py +++ b/intersight/apis/graphics_card_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def graphics_cards_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: GraphicsCardList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def graphics_cards_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: GraphicsCardList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def graphics_cards_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/graphics_controller_api.py b/intersight/apis/graphics_controller_api.py index 02fbc71a..0e5bb571 100644 --- a/intersight/apis/graphics_controller_api.py +++ b/intersight/apis/graphics_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def graphics_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: GraphicsControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def graphics_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: GraphicsControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def graphics_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hcl_compatibility_status_api.py b/intersight/apis/hcl_compatibility_status_api.py index bbc6d2b0..d7ec0749 100644 --- a/intersight/apis/hcl_compatibility_status_api.py +++ b/intersight/apis/hcl_compatibility_status_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/hcl_driver_image_api.py b/intersight/apis/hcl_driver_image_api.py new file mode 100644 index 00000000..34e08224 --- /dev/null +++ b/intersight/apis/hcl_driver_image_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class HclDriverImageApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def hcl_driver_images_get(self, **kwargs): + """ + Get a list of 'hclDriverImage' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_driver_images_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclDriverImageList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_driver_images_get_with_http_info(**kwargs) + else: + (data) = self.hcl_driver_images_get_with_http_info(**kwargs) + return data + + def hcl_driver_images_get_with_http_info(self, **kwargs): + """ + Get a list of 'hclDriverImage' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_driver_images_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclDriverImageList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_driver_images_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/DriverImages', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclDriverImageList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def hcl_driver_images_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hclDriverImage' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_driver_images_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclDriverImage instance. (required) + :return: HclDriverImage + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_driver_images_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hcl_driver_images_moid_get_with_http_info(moid, **kwargs) + return data + + def hcl_driver_images_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hclDriverImage' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_driver_images_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclDriverImage instance. (required) + :return: HclDriverImage + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_driver_images_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `hcl_driver_images_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/DriverImages/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclDriverImage', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/hcl_operating_system_api.py b/intersight/apis/hcl_operating_system_api.py new file mode 100644 index 00000000..a40efbe4 --- /dev/null +++ b/intersight/apis/hcl_operating_system_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class HclOperatingSystemApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def hcl_operating_systems_get(self, **kwargs): + """ + Get a list of 'hclOperatingSystem' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_systems_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclOperatingSystemList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_operating_systems_get_with_http_info(**kwargs) + else: + (data) = self.hcl_operating_systems_get_with_http_info(**kwargs) + return data + + def hcl_operating_systems_get_with_http_info(self, **kwargs): + """ + Get a list of 'hclOperatingSystem' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_systems_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclOperatingSystemList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_operating_systems_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/OperatingSystems', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclOperatingSystemList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def hcl_operating_systems_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hclOperatingSystem' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_systems_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclOperatingSystem instance. (required) + :return: HclOperatingSystem + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_operating_systems_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hcl_operating_systems_moid_get_with_http_info(moid, **kwargs) + return data + + def hcl_operating_systems_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hclOperatingSystem' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_systems_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclOperatingSystem instance. (required) + :return: HclOperatingSystem + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_operating_systems_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `hcl_operating_systems_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/OperatingSystems/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclOperatingSystem', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/hcl_operating_system_vendor_api.py b/intersight/apis/hcl_operating_system_vendor_api.py new file mode 100644 index 00000000..e8a3a5e9 --- /dev/null +++ b/intersight/apis/hcl_operating_system_vendor_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class HclOperatingSystemVendorApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def hcl_operating_system_vendors_get(self, **kwargs): + """ + Get a list of 'hclOperatingSystemVendor' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_system_vendors_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclOperatingSystemVendorList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_operating_system_vendors_get_with_http_info(**kwargs) + else: + (data) = self.hcl_operating_system_vendors_get_with_http_info(**kwargs) + return data + + def hcl_operating_system_vendors_get_with_http_info(self, **kwargs): + """ + Get a list of 'hclOperatingSystemVendor' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_system_vendors_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HclOperatingSystemVendorList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_operating_system_vendors_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/OperatingSystemVendors', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclOperatingSystemVendorList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def hcl_operating_system_vendors_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hclOperatingSystemVendor' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_system_vendors_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclOperatingSystemVendor instance. (required) + :return: HclOperatingSystemVendor + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hcl_operating_system_vendors_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hcl_operating_system_vendors_moid_get_with_http_info(moid, **kwargs) + return data + + def hcl_operating_system_vendors_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hclOperatingSystemVendor' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hcl_operating_system_vendors_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hclOperatingSystemVendor instance. (required) + :return: HclOperatingSystemVendor + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hcl_operating_system_vendors_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `hcl_operating_system_vendors_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hcl/OperatingSystemVendors/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HclOperatingSystemVendor', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/hcl_service_status_api.py b/intersight/apis/hcl_service_status_api.py index 4b0428ec..0d7f5bda 100644 --- a/intersight/apis/hcl_service_status_api.py +++ b/intersight/apis/hcl_service_status_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hcl_service_statuses_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HclServiceStatusList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hcl_service_statuses_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HclServiceStatusList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hcl_service_statuses_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hcl_supported_driver_name_api.py b/intersight/apis/hcl_supported_driver_name_api.py index 9b443984..c74276cc 100644 --- a/intersight/apis/hcl_supported_driver_name_api.py +++ b/intersight/apis/hcl_supported_driver_name_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/hyperflex_alarm_api.py b/intersight/apis/hyperflex_alarm_api.py index 48c710ea..d2529758 100644 --- a/intersight/apis/hyperflex_alarm_api.py +++ b/intersight/apis/hyperflex_alarm_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_alarms_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAlarmList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_alarms_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAlarmList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_alarms_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} @@ -173,110 +177,6 @@ def hyperflex_alarms_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def hyperflex_alarms_moid_delete(self, moid, **kwargs): - """ - Delete an instance of 'hyperflexAlarm' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_alarms_moid_delete(moid, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexAlarm instance. (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.hyperflex_alarms_moid_delete_with_http_info(moid, **kwargs) - else: - (data) = self.hyperflex_alarms_moid_delete_with_http_info(moid, **kwargs) - return data - - def hyperflex_alarms_moid_delete_with_http_info(self, moid, **kwargs): - """ - Delete an instance of 'hyperflexAlarm' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_alarms_moid_delete_with_http_info(moid, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexAlarm instance. (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['moid'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method hyperflex_alarms_moid_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'moid' is set - if ('moid' not in params) or (params['moid'] is None): - raise ValueError("Missing the required parameter `moid` when calling `hyperflex_alarms_moid_delete`") - - - collection_formats = {} - - path_params = {} - if 'moid' in params: - path_params['moid'] = params['moid'] - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = [] - - return self.api_client.call_api('/hyperflex/Alarms/{moid}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - def hyperflex_alarms_moid_get(self, moid, **kwargs): """ Get a specific instance of 'hyperflexAlarm' @@ -380,107 +280,3 @@ def hyperflex_alarms_moid_get_with_http_info(self, moid, **kwargs): _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - - def hyperflex_alarms_post(self, body, **kwargs): - """ - Create an instance of 'hyperflexAlarm' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_alarms_post(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param HyperflexAlarm body: hyperflexAlarm to add (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.hyperflex_alarms_post_with_http_info(body, **kwargs) - else: - (data) = self.hyperflex_alarms_post_with_http_info(body, **kwargs) - return data - - def hyperflex_alarms_post_with_http_info(self, body, **kwargs): - """ - Create an instance of 'hyperflexAlarm' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_alarms_post_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param HyperflexAlarm body: hyperflexAlarm to add (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method hyperflex_alarms_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `hyperflex_alarms_post`") - - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = [] - - return self.api_client.call_api('/hyperflex/Alarms', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/intersight/apis/hyperflex_app_catalog_api.py b/intersight/apis/hyperflex_app_catalog_api.py index e126ab62..26d4483d 100644 --- a/intersight/apis/hyperflex_app_catalog_api.py +++ b/intersight/apis/hyperflex_app_catalog_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_app_catalogs_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAppCatalogList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_app_catalogs_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAppCatalogList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_app_catalogs_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_auto_support_policy_api.py b/intersight/apis/hyperflex_auto_support_policy_api.py index 22b9e5d7..369ae444 100644 --- a/intersight/apis/hyperflex_auto_support_policy_api.py +++ b/intersight/apis/hyperflex_auto_support_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_auto_support_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAutoSupportPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_auto_support_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexAutoSupportPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_auto_support_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_cluster_api.py b/intersight/apis/hyperflex_cluster_api.py index 0c052d3a..2262fd8c 100644 --- a/intersight/apis/hyperflex_cluster_api.py +++ b/intersight/apis/hyperflex_cluster_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_clusters_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_clusters_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_clusters_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} @@ -173,110 +177,6 @@ def hyperflex_clusters_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def hyperflex_clusters_moid_delete(self, moid, **kwargs): - """ - Delete an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_delete(moid, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.hyperflex_clusters_moid_delete_with_http_info(moid, **kwargs) - else: - (data) = self.hyperflex_clusters_moid_delete_with_http_info(moid, **kwargs) - return data - - def hyperflex_clusters_moid_delete_with_http_info(self, moid, **kwargs): - """ - Delete an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_delete_with_http_info(moid, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['moid'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method hyperflex_clusters_moid_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'moid' is set - if ('moid' not in params) or (params['moid'] is None): - raise ValueError("Missing the required parameter `moid` when calling `hyperflex_clusters_moid_delete`") - - - collection_formats = {} - - path_params = {} - if 'moid' in params: - path_params['moid'] = params['moid'] - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = [] - - return self.api_client.call_api('/hyperflex/Clusters/{moid}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - def hyperflex_clusters_moid_get(self, moid, **kwargs): """ Get a specific instance of 'hyperflexCluster' @@ -380,225 +280,3 @@ def hyperflex_clusters_moid_get_with_http_info(self, moid, **kwargs): _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - - def hyperflex_clusters_moid_patch(self, moid, body, **kwargs): - """ - Update an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_patch(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :param HyperflexCluster body: hyperflexCluster to update (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.hyperflex_clusters_moid_patch_with_http_info(moid, body, **kwargs) - else: - (data) = self.hyperflex_clusters_moid_patch_with_http_info(moid, body, **kwargs) - return data - - def hyperflex_clusters_moid_patch_with_http_info(self, moid, body, **kwargs): - """ - Update an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_patch_with_http_info(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :param HyperflexCluster body: hyperflexCluster to update (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['moid', 'body'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method hyperflex_clusters_moid_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'moid' is set - if ('moid' not in params) or (params['moid'] is None): - raise ValueError("Missing the required parameter `moid` when calling `hyperflex_clusters_moid_patch`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `hyperflex_clusters_moid_patch`") - - - collection_formats = {} - - path_params = {} - if 'moid' in params: - path_params['moid'] = params['moid'] - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = [] - - return self.api_client.call_api('/hyperflex/Clusters/{moid}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def hyperflex_clusters_moid_post(self, moid, body, **kwargs): - """ - Update an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_post(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :param HyperflexCluster body: hyperflexCluster to update (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.hyperflex_clusters_moid_post_with_http_info(moid, body, **kwargs) - else: - (data) = self.hyperflex_clusters_moid_post_with_http_info(moid, body, **kwargs) - return data - - def hyperflex_clusters_moid_post_with_http_info(self, moid, body, **kwargs): - """ - Update an instance of 'hyperflexCluster' - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.hyperflex_clusters_moid_post_with_http_info(moid, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str moid: The moid of the hyperflexCluster instance. (required) - :param HyperflexCluster body: hyperflexCluster to update (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['moid', 'body'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method hyperflex_clusters_moid_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'moid' is set - if ('moid' not in params) or (params['moid'] is None): - raise ValueError("Missing the required parameter `moid` when calling `hyperflex_clusters_moid_post`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `hyperflex_clusters_moid_post`") - - - collection_formats = {} - - path_params = {} - if 'moid' in params: - path_params['moid'] = params['moid'] - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = [] - - return self.api_client.call_api('/hyperflex/Clusters/{moid}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/intersight/apis/hyperflex_cluster_network_policy_api.py b/intersight/apis/hyperflex_cluster_network_policy_api.py index 44068606..147441e5 100644 --- a/intersight/apis/hyperflex_cluster_network_policy_api.py +++ b/intersight/apis/hyperflex_cluster_network_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_cluster_network_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterNetworkPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_cluster_network_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterNetworkPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_cluster_network_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_cluster_profile_api.py b/intersight/apis/hyperflex_cluster_profile_api.py index e2951299..cd46150a 100644 --- a/intersight/apis/hyperflex_cluster_profile_api.py +++ b/intersight/apis/hyperflex_cluster_profile_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_cluster_profiles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterProfileList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_cluster_profiles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterProfileList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_cluster_profiles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_cluster_storage_policy_api.py b/intersight/apis/hyperflex_cluster_storage_policy_api.py index ac2bf749..44ac761a 100644 --- a/intersight/apis/hyperflex_cluster_storage_policy_api.py +++ b/intersight/apis/hyperflex_cluster_storage_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_cluster_storage_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_cluster_storage_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexClusterStoragePolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_cluster_storage_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_config_result_api.py b/intersight/apis/hyperflex_config_result_api.py index 307071a7..6e53ad13 100644 --- a/intersight/apis/hyperflex_config_result_api.py +++ b/intersight/apis/hyperflex_config_result_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_config_results_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexConfigResultList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_config_results_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexConfigResultList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_config_results_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_config_result_entry_api.py b/intersight/apis/hyperflex_config_result_entry_api.py index 2b729ab0..2a5fdb41 100644 --- a/intersight/apis/hyperflex_config_result_entry_api.py +++ b/intersight/apis/hyperflex_config_result_entry_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_config_result_entries_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexConfigResultEntryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_config_result_entries_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexConfigResultEntryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_config_result_entries_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_ext_fc_storage_policy_api.py b/intersight/apis/hyperflex_ext_fc_storage_policy_api.py index b959b365..eada6ad0 100644 --- a/intersight/apis/hyperflex_ext_fc_storage_policy_api.py +++ b/intersight/apis/hyperflex_ext_fc_storage_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_ext_fc_storage_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexExtFcStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_ext_fc_storage_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexExtFcStoragePolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_ext_fc_storage_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_ext_iscsi_storage_policy_api.py b/intersight/apis/hyperflex_ext_iscsi_storage_policy_api.py index 12af68f5..95e36374 100644 --- a/intersight/apis/hyperflex_ext_iscsi_storage_policy_api.py +++ b/intersight/apis/hyperflex_ext_iscsi_storage_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_ext_iscsi_storage_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexExtIscsiStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_ext_iscsi_storage_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexExtIscsiStoragePolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_ext_iscsi_storage_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_feature_limit_external_api.py b/intersight/apis/hyperflex_feature_limit_external_api.py index ce8edb78..e5586cf3 100644 --- a/intersight/apis/hyperflex_feature_limit_external_api.py +++ b/intersight/apis/hyperflex_feature_limit_external_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_feature_limit_externals_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexFeatureLimitExternalList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_feature_limit_externals_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexFeatureLimitExternalList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_feature_limit_externals_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_feature_limit_internal_api.py b/intersight/apis/hyperflex_feature_limit_internal_api.py index 3d01e1fe..1ab7ddcf 100644 --- a/intersight/apis/hyperflex_feature_limit_internal_api.py +++ b/intersight/apis/hyperflex_feature_limit_internal_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_feature_limit_internals_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexFeatureLimitInternalList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_feature_limit_internals_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexFeatureLimitInternalList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_feature_limit_internals_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_hxdp_version_api.py b/intersight/apis/hyperflex_hxdp_version_api.py index 8ecc01e7..8a9ee7c0 100644 --- a/intersight/apis/hyperflex_hxdp_version_api.py +++ b/intersight/apis/hyperflex_hxdp_version_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_hxdp_versions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexHxdpVersionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_hxdp_versions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexHxdpVersionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_hxdp_versions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_local_credential_policy_api.py b/intersight/apis/hyperflex_local_credential_policy_api.py index 465094d2..74231590 100644 --- a/intersight/apis/hyperflex_local_credential_policy_api.py +++ b/intersight/apis/hyperflex_local_credential_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_local_credential_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexLocalCredentialPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_local_credential_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexLocalCredentialPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_local_credential_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_node_api.py b/intersight/apis/hyperflex_node_api.py new file mode 100644 index 00000000..1620208a --- /dev/null +++ b/intersight/apis/hyperflex_node_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class HyperflexNodeApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def hyperflex_nodes_get(self, **kwargs): + """ + Get a list of 'hyperflexNode' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hyperflex_nodes_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HyperflexNodeList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_nodes_get_with_http_info(**kwargs) + else: + (data) = self.hyperflex_nodes_get_with_http_info(**kwargs) + return data + + def hyperflex_nodes_get_with_http_info(self, **kwargs): + """ + Get a list of 'hyperflexNode' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hyperflex_nodes_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: HyperflexNodeList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hyperflex_nodes_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hyperflex/Nodes', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexNodeList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def hyperflex_nodes_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexNode' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hyperflex_nodes_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexNode instance. (required) + :return: HyperflexNode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.hyperflex_nodes_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.hyperflex_nodes_moid_get_with_http_info(moid, **kwargs) + return data + + def hyperflex_nodes_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'hyperflexNode' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.hyperflex_nodes_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the hyperflexNode instance. (required) + :return: HyperflexNode + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method hyperflex_nodes_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `hyperflex_nodes_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/hyperflex/Nodes/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='HyperflexNode', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/hyperflex_node_config_policy_api.py b/intersight/apis/hyperflex_node_config_policy_api.py index bca89358..a34f95c0 100644 --- a/intersight/apis/hyperflex_node_config_policy_api.py +++ b/intersight/apis/hyperflex_node_config_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_node_config_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexNodeConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_node_config_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexNodeConfigPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_node_config_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_node_profile_api.py b/intersight/apis/hyperflex_node_profile_api.py index 36d719c2..3d0e6733 100644 --- a/intersight/apis/hyperflex_node_profile_api.py +++ b/intersight/apis/hyperflex_node_profile_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_node_profiles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexNodeProfileList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_node_profiles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexNodeProfileList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_node_profiles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_proxy_setting_policy_api.py b/intersight/apis/hyperflex_proxy_setting_policy_api.py index c04bffd3..2bf7d29a 100644 --- a/intersight/apis/hyperflex_proxy_setting_policy_api.py +++ b/intersight/apis/hyperflex_proxy_setting_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_proxy_setting_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexProxySettingPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_proxy_setting_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexProxySettingPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_proxy_setting_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_server_firmware_version_api.py b/intersight/apis/hyperflex_server_firmware_version_api.py index 96755a93..0eae44d0 100644 --- a/intersight/apis/hyperflex_server_firmware_version_api.py +++ b/intersight/apis/hyperflex_server_firmware_version_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_server_firmware_versions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexServerFirmwareVersionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_server_firmware_versions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexServerFirmwareVersionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_server_firmware_versions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_server_model_api.py b/intersight/apis/hyperflex_server_model_api.py index dfee06e4..53324415 100644 --- a/intersight/apis/hyperflex_server_model_api.py +++ b/intersight/apis/hyperflex_server_model_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_server_models_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexServerModelList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_server_models_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexServerModelList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_server_models_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_sys_config_policy_api.py b/intersight/apis/hyperflex_sys_config_policy_api.py index b889b88a..de146286 100644 --- a/intersight/apis/hyperflex_sys_config_policy_api.py +++ b/intersight/apis/hyperflex_sys_config_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_sys_config_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexSysConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_sys_config_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexSysConfigPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_sys_config_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_ucsm_config_policy_api.py b/intersight/apis/hyperflex_ucsm_config_policy_api.py index d57c1386..ff9ec360 100644 --- a/intersight/apis/hyperflex_ucsm_config_policy_api.py +++ b/intersight/apis/hyperflex_ucsm_config_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_ucsm_config_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexUcsmConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_ucsm_config_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexUcsmConfigPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_ucsm_config_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/hyperflex_vcenter_config_policy_api.py b/intersight/apis/hyperflex_vcenter_config_policy_api.py index 1a56e96b..473d2c92 100644 --- a/intersight/apis/hyperflex_vcenter_config_policy_api.py +++ b/intersight/apis/hyperflex_vcenter_config_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def hyperflex_vcenter_config_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexVcenterConfigPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def hyperflex_vcenter_config_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: HyperflexVcenterConfigPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def hyperflex_vcenter_config_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iaas_connector_pack_api.py b/intersight/apis/iaas_connector_pack_api.py index 53572836..7a0129bd 100644 --- a/intersight/apis/iaas_connector_pack_api.py +++ b/intersight/apis/iaas_connector_pack_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iaas_connector_packs_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasConnectorPackList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iaas_connector_packs_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasConnectorPackList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iaas_connector_packs_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iaas_device_status_api.py b/intersight/apis/iaas_device_status_api.py index fafd2aab..cb46c3f0 100644 --- a/intersight/apis/iaas_device_status_api.py +++ b/intersight/apis/iaas_device_status_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iaas_device_statuses_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasDeviceStatusList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iaas_device_statuses_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasDeviceStatusList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iaas_device_statuses_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iaas_license_info_api.py b/intersight/apis/iaas_license_info_api.py index 08433b74..246d7f55 100644 --- a/intersight/apis/iaas_license_info_api.py +++ b/intersight/apis/iaas_license_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iaas_license_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasLicenseInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iaas_license_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasLicenseInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iaas_license_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iaas_most_run_tasks_api.py b/intersight/apis/iaas_most_run_tasks_api.py new file mode 100644 index 00000000..3dcf24f5 --- /dev/null +++ b/intersight/apis/iaas_most_run_tasks_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class IaasMostRunTasksApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def iaas_most_run_tasks_get(self, **kwargs): + """ + Get a list of 'iaasMostRunTasks' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_most_run_tasks_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: IaasMostRunTasksList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iaas_most_run_tasks_get_with_http_info(**kwargs) + else: + (data) = self.iaas_most_run_tasks_get_with_http_info(**kwargs) + return data + + def iaas_most_run_tasks_get_with_http_info(self, **kwargs): + """ + Get a list of 'iaasMostRunTasks' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_most_run_tasks_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: IaasMostRunTasksList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method iaas_most_run_tasks_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/iaas/MostRunTasks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IaasMostRunTasksList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def iaas_most_run_tasks_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'iaasMostRunTasks' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_most_run_tasks_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iaasMostRunTasks instance. (required) + :return: IaasMostRunTasks + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iaas_most_run_tasks_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.iaas_most_run_tasks_moid_get_with_http_info(moid, **kwargs) + return data + + def iaas_most_run_tasks_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'iaasMostRunTasks' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_most_run_tasks_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iaasMostRunTasks instance. (required) + :return: IaasMostRunTasks + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method iaas_most_run_tasks_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `iaas_most_run_tasks_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/iaas/MostRunTasks/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IaasMostRunTasks', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/iaas_ucsd_info_api.py b/intersight/apis/iaas_ucsd_info_api.py index 05fd68e9..5348a873 100644 --- a/intersight/apis/iaas_ucsd_info_api.py +++ b/intersight/apis/iaas_ucsd_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iaas_ucsd_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasUcsdInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iaas_ucsd_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IaasUcsdInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iaas_ucsd_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iaas_ucsd_managed_infra_api.py b/intersight/apis/iaas_ucsd_managed_infra_api.py new file mode 100644 index 00000000..ed1aa051 --- /dev/null +++ b/intersight/apis/iaas_ucsd_managed_infra_api.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class IaasUcsdManagedInfraApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def iaas_ucsd_managed_infras_get(self, **kwargs): + """ + Get a list of 'iaasUcsdManagedInfra' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_ucsd_managed_infras_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: IaasUcsdManagedInfraList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iaas_ucsd_managed_infras_get_with_http_info(**kwargs) + else: + (data) = self.iaas_ucsd_managed_infras_get_with_http_info(**kwargs) + return data + + def iaas_ucsd_managed_infras_get_with_http_info(self, **kwargs): + """ + Get a list of 'iaasUcsdManagedInfra' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_ucsd_managed_infras_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: IaasUcsdManagedInfraList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method iaas_ucsd_managed_infras_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/iaas/UcsdManagedInfras', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IaasUcsdManagedInfraList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def iaas_ucsd_managed_infras_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'iaasUcsdManagedInfra' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_ucsd_managed_infras_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iaasUcsdManagedInfra instance. (required) + :return: IaasUcsdManagedInfra + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.iaas_ucsd_managed_infras_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.iaas_ucsd_managed_infras_moid_get_with_http_info(moid, **kwargs) + return data + + def iaas_ucsd_managed_infras_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'iaasUcsdManagedInfra' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.iaas_ucsd_managed_infras_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the iaasUcsdManagedInfra instance. (required) + :return: IaasUcsdManagedInfra + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method iaas_ucsd_managed_infras_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `iaas_ucsd_managed_infras_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/iaas/UcsdManagedInfras/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='IaasUcsdManagedInfra', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/iam_account_api.py b/intersight/apis/iam_account_api.py index 95670074..aa471601 100644 --- a/intersight/apis/iam_account_api.py +++ b/intersight/apis/iam_account_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_accounts_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamAccountList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_accounts_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamAccountList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_accounts_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_api_key_api.py b/intersight/apis/iam_api_key_api.py index 3dcb509a..8e52223f 100644 --- a/intersight/apis/iam_api_key_api.py +++ b/intersight/apis/iam_api_key_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_api_keys_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamApiKeyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_api_keys_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamApiKeyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_api_keys_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_domain_group_api.py b/intersight/apis/iam_domain_group_api.py index 80305b61..0a5de54d 100644 --- a/intersight/apis/iam_domain_group_api.py +++ b/intersight/apis/iam_domain_group_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_domain_groups_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamDomainGroupList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_domain_groups_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamDomainGroupList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_domain_groups_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_end_point_privilege_api.py b/intersight/apis/iam_end_point_privilege_api.py index 5328c180..929d6770 100644 --- a/intersight/apis/iam_end_point_privilege_api.py +++ b/intersight/apis/iam_end_point_privilege_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_end_point_privileges_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointPrivilegeList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_end_point_privileges_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointPrivilegeList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_end_point_privileges_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_end_point_role_api.py b/intersight/apis/iam_end_point_role_api.py index 4880f972..c860be42 100644 --- a/intersight/apis/iam_end_point_role_api.py +++ b/intersight/apis/iam_end_point_role_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_end_point_roles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointRoleList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_end_point_roles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointRoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_end_point_roles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_end_point_user_api.py b/intersight/apis/iam_end_point_user_api.py index b127d5b4..7cac067b 100644 --- a/intersight/apis/iam_end_point_user_api.py +++ b/intersight/apis/iam_end_point_user_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_end_point_users_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_end_point_users_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_end_point_users_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_end_point_user_policy_api.py b/intersight/apis/iam_end_point_user_policy_api.py index 0639c802..bf67afac 100644 --- a/intersight/apis/iam_end_point_user_policy_api.py +++ b/intersight/apis/iam_end_point_user_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_end_point_user_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_end_point_user_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_end_point_user_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_end_point_user_role_api.py b/intersight/apis/iam_end_point_user_role_api.py index f29e6fa5..ba76d791 100644 --- a/intersight/apis/iam_end_point_user_role_api.py +++ b/intersight/apis/iam_end_point_user_role_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_end_point_user_roles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserRoleList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_end_point_user_roles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamEndPointUserRoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_end_point_user_roles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_idp_api.py b/intersight/apis/iam_idp_api.py index fbc1057f..da4b7158 100644 --- a/intersight/apis/iam_idp_api.py +++ b/intersight/apis/iam_idp_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_idps_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamIdpList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_idps_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamIdpList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_idps_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_idp_reference_api.py b/intersight/apis/iam_idp_reference_api.py index 6df8c087..44d36254 100644 --- a/intersight/apis/iam_idp_reference_api.py +++ b/intersight/apis/iam_idp_reference_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_idp_references_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamIdpReferenceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_idp_references_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamIdpReferenceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_idp_references_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_ldap_group_api.py b/intersight/apis/iam_ldap_group_api.py index 5aab372e..72396170 100644 --- a/intersight/apis/iam_ldap_group_api.py +++ b/intersight/apis/iam_ldap_group_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_ldap_groups_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapGroupList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_ldap_groups_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapGroupList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_ldap_groups_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_ldap_policy_api.py b/intersight/apis/iam_ldap_policy_api.py index ffd9c1e0..7bee5577 100644 --- a/intersight/apis/iam_ldap_policy_api.py +++ b/intersight/apis/iam_ldap_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_ldap_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_ldap_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_ldap_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_ldap_provider_api.py b/intersight/apis/iam_ldap_provider_api.py index 743c3180..8b1bfbfd 100644 --- a/intersight/apis/iam_ldap_provider_api.py +++ b/intersight/apis/iam_ldap_provider_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_ldap_providers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapProviderList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_ldap_providers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamLdapProviderList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_ldap_providers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_permission_api.py b/intersight/apis/iam_permission_api.py index b9ff9116..3e24a577 100644 --- a/intersight/apis/iam_permission_api.py +++ b/intersight/apis/iam_permission_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_permissions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPermissionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_permissions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPermissionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_permissions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_privilege_api.py b/intersight/apis/iam_privilege_api.py index 8ac893da..30dc184f 100644 --- a/intersight/apis/iam_privilege_api.py +++ b/intersight/apis/iam_privilege_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_privileges_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPrivilegeList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_privileges_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPrivilegeList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_privileges_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_privilege_set_api.py b/intersight/apis/iam_privilege_set_api.py index cee2213d..21125301 100644 --- a/intersight/apis/iam_privilege_set_api.py +++ b/intersight/apis/iam_privilege_set_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_privilege_sets_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPrivilegeSetList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_privilege_sets_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamPrivilegeSetList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_privilege_sets_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_qualifier_api.py b/intersight/apis/iam_qualifier_api.py index 697a238c..f36afe02 100644 --- a/intersight/apis/iam_qualifier_api.py +++ b/intersight/apis/iam_qualifier_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_qualifiers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamQualifierList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_qualifiers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamQualifierList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_qualifiers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_resource_limits_api.py b/intersight/apis/iam_resource_limits_api.py index 569a1e14..050c41b2 100644 --- a/intersight/apis/iam_resource_limits_api.py +++ b/intersight/apis/iam_resource_limits_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_resource_limits_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamResourceLimitsList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_resource_limits_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamResourceLimitsList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_resource_limits_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_role_api.py b/intersight/apis/iam_role_api.py index 1ffbb214..877492b6 100644 --- a/intersight/apis/iam_role_api.py +++ b/intersight/apis/iam_role_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_roles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamRoleList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_roles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamRoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_roles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_service_provider_api.py b/intersight/apis/iam_service_provider_api.py index 17a2ff23..5674fde0 100644 --- a/intersight/apis/iam_service_provider_api.py +++ b/intersight/apis/iam_service_provider_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_service_providers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamServiceProviderList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_service_providers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamServiceProviderList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_service_providers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_session_api.py b/intersight/apis/iam_session_api.py index 4af158cc..b8b55875 100644 --- a/intersight/apis/iam_session_api.py +++ b/intersight/apis/iam_session_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_sessions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSessionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_sessions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSessionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_sessions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_session_limits_api.py b/intersight/apis/iam_session_limits_api.py index d9c9d949..e6a9f181 100644 --- a/intersight/apis/iam_session_limits_api.py +++ b/intersight/apis/iam_session_limits_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_session_limits_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSessionLimitsList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_session_limits_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSessionLimitsList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_session_limits_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_system_api.py b/intersight/apis/iam_system_api.py index 95d41c5e..e6761e2d 100644 --- a/intersight/apis/iam_system_api.py +++ b/intersight/apis/iam_system_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_systems_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSystemList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_systems_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamSystemList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_systems_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_user_api.py b/intersight/apis/iam_user_api.py index ee46db72..e1b5852f 100644 --- a/intersight/apis/iam_user_api.py +++ b/intersight/apis/iam_user_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_users_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_users_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_users_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_user_group_api.py b/intersight/apis/iam_user_group_api.py index 5dc5e328..e98b3d89 100644 --- a/intersight/apis/iam_user_group_api.py +++ b/intersight/apis/iam_user_group_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_user_groups_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserGroupList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_user_groups_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserGroupList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_user_groups_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/iam_user_preference_api.py b/intersight/apis/iam_user_preference_api.py index 1fde6662..2f82f3c1 100644 --- a/intersight/apis/iam_user_preference_api.py +++ b/intersight/apis/iam_user_preference_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def iam_user_preferences_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserPreferenceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def iam_user_preferences_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IamUserPreferenceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def iam_user_preferences_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/inventory_device_info_api.py b/intersight/apis/inventory_device_info_api.py index 90453372..8327a477 100644 --- a/intersight/apis/inventory_device_info_api.py +++ b/intersight/apis/inventory_device_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def inventory_device_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryDeviceInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def inventory_device_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryDeviceInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def inventory_device_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/inventory_dn_mo_binding_api.py b/intersight/apis/inventory_dn_mo_binding_api.py index a8df4ed7..435bf666 100644 --- a/intersight/apis/inventory_dn_mo_binding_api.py +++ b/intersight/apis/inventory_dn_mo_binding_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def inventory_dn_mo_bindings_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryDnMoBindingList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def inventory_dn_mo_bindings_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryDnMoBindingList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def inventory_dn_mo_bindings_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/inventory_generic_inventory_api.py b/intersight/apis/inventory_generic_inventory_api.py index 7986f1e0..e1088495 100644 --- a/intersight/apis/inventory_generic_inventory_api.py +++ b/intersight/apis/inventory_generic_inventory_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def inventory_generic_inventories_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryGenericInventoryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def inventory_generic_inventories_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryGenericInventoryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def inventory_generic_inventories_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/inventory_generic_inventory_holder_api.py b/intersight/apis/inventory_generic_inventory_holder_api.py index 26fc7f69..f5df49bc 100644 --- a/intersight/apis/inventory_generic_inventory_holder_api.py +++ b/intersight/apis/inventory_generic_inventory_holder_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def inventory_generic_inventory_holders_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryGenericInventoryHolderList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def inventory_generic_inventory_holders_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: InventoryGenericInventoryHolderList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def inventory_generic_inventory_holders_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/inventory_request_api.py b/intersight/apis/inventory_request_api.py index 98bf6af2..44de34d9 100644 --- a/intersight/apis/inventory_request_api.py +++ b/intersight/apis/inventory_request_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/ipmioverlan_policy_api.py b/intersight/apis/ipmioverlan_policy_api.py index f2c14862..89d53989 100644 --- a/intersight/apis/ipmioverlan_policy_api.py +++ b/intersight/apis/ipmioverlan_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def ipmioverlan_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IpmioverlanPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def ipmioverlan_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: IpmioverlanPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def ipmioverlan_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/kvm_policy_api.py b/intersight/apis/kvm_policy_api.py index 7a6294b9..e09dcabb 100644 --- a/intersight/apis/kvm_policy_api.py +++ b/intersight/apis/kvm_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def kvm_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: KvmPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def kvm_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: KvmPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def kvm_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/license_account_license_data_api.py b/intersight/apis/license_account_license_data_api.py index 1b101d83..41fdff63 100644 --- a/intersight/apis/license_account_license_data_api.py +++ b/intersight/apis/license_account_license_data_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def license_account_license_data_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseAccountLicenseDataList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def license_account_license_data_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseAccountLicenseDataList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def license_account_license_data_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/license_customer_op_api.py b/intersight/apis/license_customer_op_api.py index c186393d..a8bfdfdb 100644 --- a/intersight/apis/license_customer_op_api.py +++ b/intersight/apis/license_customer_op_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def license_customer_ops_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseCustomerOpList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def license_customer_ops_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseCustomerOpList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def license_customer_ops_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/license_license_info_api.py b/intersight/apis/license_license_info_api.py index cb0f7cd5..3375c34a 100644 --- a/intersight/apis/license_license_info_api.py +++ b/intersight/apis/license_license_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def license_license_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseLicenseInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def license_license_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseLicenseInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def license_license_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/license_smartlicense_token_api.py b/intersight/apis/license_smartlicense_token_api.py index 1ad60d27..4728eab6 100644 --- a/intersight/apis/license_smartlicense_token_api.py +++ b/intersight/apis/license_smartlicense_token_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def license_smartlicense_tokens_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseSmartlicenseTokenList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def license_smartlicense_tokens_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LicenseSmartlicenseTokenList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def license_smartlicense_tokens_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/ls_service_profile_api.py b/intersight/apis/ls_service_profile_api.py index cc085ffa..73bcacf2 100644 --- a/intersight/apis/ls_service_profile_api.py +++ b/intersight/apis/ls_service_profile_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def ls_service_profiles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LsServiceProfileList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def ls_service_profiles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: LsServiceProfileList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def ls_service_profiles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/management_controller_api.py b/intersight/apis/management_controller_api.py index ae7cb845..b2f2f239 100644 --- a/intersight/apis/management_controller_api.py +++ b/intersight/apis/management_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def management_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def management_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def management_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/management_entity_api.py b/intersight/apis/management_entity_api.py index e454fb68..5197328f 100644 --- a/intersight/apis/management_entity_api.py +++ b/intersight/apis/management_entity_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def management_entities_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementEntityList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def management_entities_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementEntityList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def management_entities_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/management_interface_api.py b/intersight/apis/management_interface_api.py index ad29b2ea..c3d263da 100644 --- a/intersight/apis/management_interface_api.py +++ b/intersight/apis/management_interface_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def management_interfaces_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementInterfaceList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def management_interfaces_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ManagementInterfaceList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def management_interfaces_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/memory_array_api.py b/intersight/apis/memory_array_api.py index f8b5579c..6fcadbcf 100644 --- a/intersight/apis/memory_array_api.py +++ b/intersight/apis/memory_array_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def memory_arrays_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MemoryArrayList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def memory_arrays_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MemoryArrayList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def memory_arrays_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/memory_unit_api.py b/intersight/apis/memory_unit_api.py index f7a53b2c..3a9cf2e8 100644 --- a/intersight/apis/memory_unit_api.py +++ b/intersight/apis/memory_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def memory_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MemoryUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def memory_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MemoryUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def memory_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/meta_definition_api.py b/intersight/apis/meta_definition_api.py index 47dcf629..9a1989ab 100644 --- a/intersight/apis/meta_definition_api.py +++ b/intersight/apis/meta_definition_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def meta_definitions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MetaDefinitionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def meta_definitions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: MetaDefinitionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def meta_definitions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/network_element_api.py b/intersight/apis/network_element_api.py index 3e38475c..a2656f62 100644 --- a/intersight/apis/network_element_api.py +++ b/intersight/apis/network_element_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def network_elements_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkElementList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def network_elements_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkElementList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def network_elements_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/network_element_summary_api.py b/intersight/apis/network_element_summary_api.py index a453c9d6..a66f163c 100644 --- a/intersight/apis/network_element_summary_api.py +++ b/intersight/apis/network_element_summary_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def network_element_summaries_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkElementSummaryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def network_element_summaries_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkElementSummaryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def network_element_summaries_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/networkconfig_policy_api.py b/intersight/apis/networkconfig_policy_api.py index df7fa139..6302cbfa 100644 --- a/intersight/apis/networkconfig_policy_api.py +++ b/intersight/apis/networkconfig_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def networkconfig_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkconfigPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def networkconfig_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NetworkconfigPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def networkconfig_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/ntp_policy_api.py b/intersight/apis/ntp_policy_api.py index d38aa558..c6b8ec08 100644 --- a/intersight/apis/ntp_policy_api.py +++ b/intersight/apis/ntp_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def ntp_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NtpPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def ntp_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: NtpPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def ntp_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/oauth_oauth_user_api.py b/intersight/apis/oauth_oauth_user_api.py index 7201b6e6..cc1172db 100644 --- a/intersight/apis/oauth_oauth_user_api.py +++ b/intersight/apis/oauth_oauth_user_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -42,7 +42,7 @@ def __init__(self, api_client=None): def oauth_oauth_users_get(self, **kwargs): """ - List of oauthOauthUsers + Get a list of 'oauthOauthUser' instances This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -54,14 +54,15 @@ def oauth_oauth_users_get(self, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param bool count: The $count query option allows clients to request a count of the matching resources. - :param bool inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response - :param bool tags: The 'tags' query option allows clients to request a document with tag usage summary. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response :param int top: The max number of records to return :param int skip: The number of records to skip :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: OauthOauthUserList If the method is called asynchronously, returns the request thread. @@ -75,7 +76,7 @@ def oauth_oauth_users_get(self, **kwargs): def oauth_oauth_users_get_with_http_info(self, **kwargs): """ - List of oauthOauthUsers + Get a list of 'oauthOauthUser' instances This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -87,20 +88,21 @@ def oauth_oauth_users_get_with_http_info(self, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param bool count: The $count query option allows clients to request a count of the matching resources. - :param bool inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response - :param bool tags: The 'tags' query option allows clients to request a document with tag usage summary. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response :param int top: The max number of records to return :param int skip: The number of records to skip :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: OauthOauthUserList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'tags', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -126,8 +128,6 @@ def oauth_oauth_users_get_with_http_info(self, **kwargs): query_params.append(('$count', params['count'])) if 'inlinecount' in params: query_params.append(('$inlinecount', params['inlinecount'])) - if 'tags' in params: - query_params.append(('tags', params['tags'])) if 'top' in params: query_params.append(('$top', params['top'])) if 'skip' in params: @@ -140,6 +140,10 @@ def oauth_oauth_users_get_with_http_info(self, **kwargs): query_params.append(('$orderby', params['orderby'])) if 'expand' in params: query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} @@ -175,7 +179,7 @@ def oauth_oauth_users_get_with_http_info(self, **kwargs): def oauth_oauth_users_moid_delete(self, moid, **kwargs): """ - Delete an instance of oauthOauthUser + Delete an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -200,7 +204,7 @@ def oauth_oauth_users_moid_delete(self, moid, **kwargs): def oauth_oauth_users_moid_delete_with_http_info(self, moid, **kwargs): """ - Delete an instance of oauthOauthUser + Delete an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -279,7 +283,7 @@ def oauth_oauth_users_moid_delete_with_http_info(self, moid, **kwargs): def oauth_oauth_users_moid_get(self, moid, **kwargs): """ - A instance of oauthOauthUser + Get a specific instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -304,7 +308,7 @@ def oauth_oauth_users_moid_get(self, moid, **kwargs): def oauth_oauth_users_moid_get_with_http_info(self, moid, **kwargs): """ - A instance of oauthOauthUser + Get a specific instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -383,7 +387,7 @@ def oauth_oauth_users_moid_get_with_http_info(self, moid, **kwargs): def oauth_oauth_users_moid_patch(self, moid, body, **kwargs): """ - Update an instance of oauthOauthUser + Update an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -409,7 +413,7 @@ def oauth_oauth_users_moid_patch(self, moid, body, **kwargs): def oauth_oauth_users_moid_patch_with_http_info(self, moid, body, **kwargs): """ - Update an instance of oauthOauthUser + Update an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -494,7 +498,7 @@ def oauth_oauth_users_moid_patch_with_http_info(self, moid, body, **kwargs): def oauth_oauth_users_moid_post(self, moid, body, **kwargs): """ - Update an instance of oauthOauthUser + Update an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -520,7 +524,7 @@ def oauth_oauth_users_moid_post(self, moid, body, **kwargs): def oauth_oauth_users_moid_post_with_http_info(self, moid, body, **kwargs): """ - Update an instance of oauthOauthUser + Update an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -605,7 +609,7 @@ def oauth_oauth_users_moid_post_with_http_info(self, moid, body, **kwargs): def oauth_oauth_users_post(self, body, **kwargs): """ - Create a oauthOauthUser + Create an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -630,7 +634,7 @@ def oauth_oauth_users_post(self, body, **kwargs): def oauth_oauth_users_post_with_http_info(self, body, **kwargs): """ - Create a oauthOauthUser + Create an instance of 'oauthOauthUser' This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. diff --git a/intersight/apis/pci_device_api.py b/intersight/apis/pci_device_api.py new file mode 100644 index 00000000..c8a3b8bc --- /dev/null +++ b/intersight/apis/pci_device_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class PciDeviceApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def pci_devices_get(self, **kwargs): + """ + Get a list of 'pciDevice' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: PciDeviceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.pci_devices_get_with_http_info(**kwargs) + else: + (data) = self.pci_devices_get_with_http_info(**kwargs) + return data + + def pci_devices_get_with_http_info(self, **kwargs): + """ + Get a list of 'pciDevice' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: PciDeviceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method pci_devices_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/pci/Devices', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PciDeviceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def pci_devices_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :return: PciDevice + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.pci_devices_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.pci_devices_moid_get_with_http_info(moid, **kwargs) + return data + + def pci_devices_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :return: PciDevice + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method pci_devices_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `pci_devices_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/pci/Devices/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PciDevice', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def pci_devices_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :param PciDevice body: pciDevice to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.pci_devices_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.pci_devices_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def pci_devices_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :param PciDevice body: pciDevice to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method pci_devices_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `pci_devices_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `pci_devices_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/pci/Devices/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def pci_devices_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :param PciDevice body: pciDevice to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.pci_devices_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.pci_devices_moid_post_with_http_info(moid, body, **kwargs) + return data + + def pci_devices_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'pciDevice' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.pci_devices_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the pciDevice instance. (required) + :param PciDevice body: pciDevice to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method pci_devices_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `pci_devices_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `pci_devices_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/pci/Devices/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/port_group_api.py b/intersight/apis/port_group_api.py index 500ef19c..52ef3f32 100644 --- a/intersight/apis/port_group_api.py +++ b/intersight/apis/port_group_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def port_groups_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: PortGroupList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def port_groups_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: PortGroupList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def port_groups_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/port_sub_group_api.py b/intersight/apis/port_sub_group_api.py index 7f3f8119..76e99001 100644 --- a/intersight/apis/port_sub_group_api.py +++ b/intersight/apis/port_sub_group_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def port_sub_groups_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: PortSubGroupList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def port_sub_groups_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: PortSubGroupList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def port_sub_groups_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/processor_unit_api.py b/intersight/apis/processor_unit_api.py index abeffcb9..9f639282 100644 --- a/intersight/apis/processor_unit_api.py +++ b/intersight/apis/processor_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def processor_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ProcessorUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def processor_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ProcessorUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def processor_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/resource_group_api.py b/intersight/apis/resource_group_api.py new file mode 100644 index 00000000..ad37ffff --- /dev/null +++ b/intersight/apis/resource_group_api.py @@ -0,0 +1,712 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class ResourceGroupApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def resource_groups_get(self, **kwargs): + """ + Get a list of 'resourceGroup' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: ResourceGroupList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_get_with_http_info(**kwargs) + else: + (data) = self.resource_groups_get_with_http_info(**kwargs) + return data + + def resource_groups_get_with_http_info(self, **kwargs): + """ + Get a list of 'resourceGroup' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: ResourceGroupList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceGroupList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def resource_groups_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.resource_groups_moid_delete_with_http_info(moid, **kwargs) + return data + + def resource_groups_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `resource_groups_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def resource_groups_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :return: ResourceGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.resource_groups_moid_get_with_http_info(moid, **kwargs) + return data + + def resource_groups_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :return: ResourceGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `resource_groups_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResourceGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def resource_groups_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :param ResourceGroup body: resourceGroup to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.resource_groups_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def resource_groups_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :param ResourceGroup body: resourceGroup to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `resource_groups_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `resource_groups_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def resource_groups_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :param ResourceGroup body: resourceGroup to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.resource_groups_moid_post_with_http_info(moid, body, **kwargs) + return data + + def resource_groups_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the resourceGroup instance. (required) + :param ResourceGroup body: resourceGroup to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `resource_groups_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `resource_groups_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def resource_groups_post(self, body, **kwargs): + """ + Create an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param ResourceGroup body: resourceGroup to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.resource_groups_post_with_http_info(body, **kwargs) + else: + (data) = self.resource_groups_post_with_http_info(body, **kwargs) + return data + + def resource_groups_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'resourceGroup' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.resource_groups_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param ResourceGroup body: resourceGroup to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method resource_groups_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `resource_groups_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/resource/Groups', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/sdcard_policy_api.py b/intersight/apis/sdcard_policy_api.py index 3a6d9c8b..7e5a0673 100644 --- a/intersight/apis/sdcard_policy_api.py +++ b/intersight/apis/sdcard_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def sdcard_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SdcardPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def sdcard_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SdcardPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def sdcard_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/search_search_item_api.py b/intersight/apis/search_search_item_api.py index 7eec6920..8334462d 100644 --- a/intersight/apis/search_search_item_api.py +++ b/intersight/apis/search_search_item_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def search_search_items_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SearchSearchItemList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def search_search_items_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SearchSearchItemList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def search_search_items_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/search_suggest_item_api.py b/intersight/apis/search_suggest_item_api.py index 75e877da..8b661997 100644 --- a/intersight/apis/search_suggest_item_api.py +++ b/intersight/apis/search_suggest_item_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/apis/search_tag_item_api.py b/intersight/apis/search_tag_item_api.py index 55fdee10..ec71b4af 100644 --- a/intersight/apis/search_tag_item_api.py +++ b/intersight/apis/search_tag_item_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def search_tag_items_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SearchTagItemList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def search_tag_items_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SearchTagItemList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def search_tag_items_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/security_unit_api.py b/intersight/apis/security_unit_api.py index e24b6ea0..5e98e06c 100644 --- a/intersight/apis/security_unit_api.py +++ b/intersight/apis/security_unit_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def security_units_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SecurityUnitList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def security_units_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SecurityUnitList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def security_units_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/server_config_change_detail_api.py b/intersight/apis/server_config_change_detail_api.py index cf5387ff..926fdf2d 100644 --- a/intersight/apis/server_config_change_detail_api.py +++ b/intersight/apis/server_config_change_detail_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def server_config_change_details_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigChangeDetailList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def server_config_change_details_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigChangeDetailList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def server_config_change_details_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/server_config_result_api.py b/intersight/apis/server_config_result_api.py index 9b17faeb..64bb40cc 100644 --- a/intersight/apis/server_config_result_api.py +++ b/intersight/apis/server_config_result_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def server_config_results_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigResultList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def server_config_results_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigResultList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def server_config_results_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/server_config_result_entry_api.py b/intersight/apis/server_config_result_entry_api.py index acd29eae..0d4943e8 100644 --- a/intersight/apis/server_config_result_entry_api.py +++ b/intersight/apis/server_config_result_entry_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def server_config_result_entries_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigResultEntryList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def server_config_result_entries_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerConfigResultEntryList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def server_config_result_entries_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/server_profile_api.py b/intersight/apis/server_profile_api.py index 491ec4b8..0be9c1c1 100644 --- a/intersight/apis/server_profile_api.py +++ b/intersight/apis/server_profile_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def server_profiles_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerProfileList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def server_profiles_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: ServerProfileList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def server_profiles_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/smtp_policy_api.py b/intersight/apis/smtp_policy_api.py index 589838d1..415b584a 100644 --- a/intersight/apis/smtp_policy_api.py +++ b/intersight/apis/smtp_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def smtp_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SmtpPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def smtp_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SmtpPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def smtp_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/snmp_policy_api.py b/intersight/apis/snmp_policy_api.py index 8d243a1f..0266d265 100644 --- a/intersight/apis/snmp_policy_api.py +++ b/intersight/apis/snmp_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def snmp_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SnmpPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def snmp_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SnmpPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def snmp_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/softwarerepository_authorization_api.py b/intersight/apis/softwarerepository_authorization_api.py new file mode 100644 index 00000000..282ced37 --- /dev/null +++ b/intersight/apis/softwarerepository_authorization_api.py @@ -0,0 +1,608 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class SoftwarerepositoryAuthorizationApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def softwarerepository_authorizations_get(self, **kwargs): + """ + Get a list of 'softwarerepositoryAuthorization' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: SoftwarerepositoryAuthorizationList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.softwarerepository_authorizations_get_with_http_info(**kwargs) + else: + (data) = self.softwarerepository_authorizations_get_with_http_info(**kwargs) + return data + + def softwarerepository_authorizations_get_with_http_info(self, **kwargs): + """ + Get a list of 'softwarerepositoryAuthorization' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: SoftwarerepositoryAuthorizationList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method softwarerepository_authorizations_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/softwarerepository/Authorizations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SoftwarerepositoryAuthorizationList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def softwarerepository_authorizations_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :return: SoftwarerepositoryAuthorization + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.softwarerepository_authorizations_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.softwarerepository_authorizations_moid_get_with_http_info(moid, **kwargs) + return data + + def softwarerepository_authorizations_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :return: SoftwarerepositoryAuthorization + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method softwarerepository_authorizations_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `softwarerepository_authorizations_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/softwarerepository/Authorizations/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SoftwarerepositoryAuthorization', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def softwarerepository_authorizations_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.softwarerepository_authorizations_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.softwarerepository_authorizations_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def softwarerepository_authorizations_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method softwarerepository_authorizations_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `softwarerepository_authorizations_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `softwarerepository_authorizations_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/softwarerepository/Authorizations/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def softwarerepository_authorizations_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.softwarerepository_authorizations_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.softwarerepository_authorizations_moid_post_with_http_info(moid, body, **kwargs) + return data + + def softwarerepository_authorizations_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the softwarerepositoryAuthorization instance. (required) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method softwarerepository_authorizations_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `softwarerepository_authorizations_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `softwarerepository_authorizations_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/softwarerepository/Authorizations/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def softwarerepository_authorizations_post(self, body, **kwargs): + """ + Create an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.softwarerepository_authorizations_post_with_http_info(body, **kwargs) + else: + (data) = self.softwarerepository_authorizations_post_with_http_info(body, **kwargs) + return data + + def softwarerepository_authorizations_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'softwarerepositoryAuthorization' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.softwarerepository_authorizations_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param SoftwarerepositoryAuthorization body: softwarerepositoryAuthorization to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method softwarerepository_authorizations_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `softwarerepository_authorizations_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/softwarerepository/Authorizations', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/sol_policy_api.py b/intersight/apis/sol_policy_api.py index d957252b..96a275a1 100644 --- a/intersight/apis/sol_policy_api.py +++ b/intersight/apis/sol_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def sol_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SolPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def sol_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SolPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def sol_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/ssh_policy_api.py b/intersight/apis/ssh_policy_api.py index 262d9a74..679e715d 100644 --- a/intersight/apis/ssh_policy_api.py +++ b/intersight/apis/ssh_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def ssh_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SshPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def ssh_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SshPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def ssh_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_controller_api.py b/intersight/apis/storage_controller_api.py index 18e34481..d566284a 100644 --- a/intersight/apis/storage_controller_api.py +++ b/intersight/apis/storage_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_disk_group_policy_api.py b/intersight/apis/storage_disk_group_policy_api.py index 67956dbb..4b7a1f01 100644 --- a/intersight/apis/storage_disk_group_policy_api.py +++ b/intersight/apis/storage_disk_group_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_disk_group_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageDiskGroupPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_disk_group_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageDiskGroupPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_disk_group_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_enclosure_api.py b/intersight/apis/storage_enclosure_api.py index b0e3665c..8c1b2f2a 100644 --- a/intersight/apis/storage_enclosure_api.py +++ b/intersight/apis/storage_enclosure_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_enclosures_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageEnclosureList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_enclosures_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageEnclosureList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_enclosures_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_flash_controller_api.py b/intersight/apis/storage_flex_flash_controller_api.py index 3a117d11..dd72a6f7 100644 --- a/intersight/apis/storage_flex_flash_controller_api.py +++ b/intersight/apis/storage_flex_flash_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_flash_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_flash_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_flash_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_flash_controller_props_api.py b/intersight/apis/storage_flex_flash_controller_props_api.py index df1d053d..123ea827 100644 --- a/intersight/apis/storage_flex_flash_controller_props_api.py +++ b/intersight/apis/storage_flex_flash_controller_props_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_flash_controller_props_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashControllerPropsList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_flash_controller_props_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashControllerPropsList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_flash_controller_props_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_flash_physical_drive_api.py b/intersight/apis/storage_flex_flash_physical_drive_api.py index 65b892bb..b5e40d2b 100644 --- a/intersight/apis/storage_flex_flash_physical_drive_api.py +++ b/intersight/apis/storage_flex_flash_physical_drive_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_flash_physical_drives_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashPhysicalDriveList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_flash_physical_drives_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashPhysicalDriveList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_flash_physical_drives_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_flash_virtual_drive_api.py b/intersight/apis/storage_flex_flash_virtual_drive_api.py index b1f49194..4117b81e 100644 --- a/intersight/apis/storage_flex_flash_virtual_drive_api.py +++ b/intersight/apis/storage_flex_flash_virtual_drive_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_flash_virtual_drives_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_flash_virtual_drives_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexFlashVirtualDriveList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_flash_virtual_drives_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_util_controller_api.py b/intersight/apis/storage_flex_util_controller_api.py index 95d67d68..e9a6f9f4 100644 --- a/intersight/apis/storage_flex_util_controller_api.py +++ b/intersight/apis/storage_flex_util_controller_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_util_controllers_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilControllerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_util_controllers_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilControllerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_util_controllers_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_util_physical_drive_api.py b/intersight/apis/storage_flex_util_physical_drive_api.py index f90c9f54..17af0a28 100644 --- a/intersight/apis/storage_flex_util_physical_drive_api.py +++ b/intersight/apis/storage_flex_util_physical_drive_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_util_physical_drives_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilPhysicalDriveList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_util_physical_drives_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilPhysicalDriveList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_util_physical_drives_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_flex_util_virtual_drive_api.py b/intersight/apis/storage_flex_util_virtual_drive_api.py index 51e5d1f6..572a51e9 100644 --- a/intersight/apis/storage_flex_util_virtual_drive_api.py +++ b/intersight/apis/storage_flex_util_virtual_drive_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_flex_util_virtual_drives_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_flex_util_virtual_drives_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageFlexUtilVirtualDriveList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_flex_util_virtual_drives_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_physical_disk_api.py b/intersight/apis/storage_physical_disk_api.py index 0c151e1e..df8f2f92 100644 --- a/intersight/apis/storage_physical_disk_api.py +++ b/intersight/apis/storage_physical_disk_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_physical_disks_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_physical_disks_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_physical_disks_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_physical_disk_extension_api.py b/intersight/apis/storage_physical_disk_extension_api.py index 06aed853..cb5cacd7 100644 --- a/intersight/apis/storage_physical_disk_extension_api.py +++ b/intersight/apis/storage_physical_disk_extension_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_physical_disk_extensions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskExtensionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_physical_disk_extensions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskExtensionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_physical_disk_extensions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_physical_disk_usage_api.py b/intersight/apis/storage_physical_disk_usage_api.py index 47f25c6f..8a2ba326 100644 --- a/intersight/apis/storage_physical_disk_usage_api.py +++ b/intersight/apis/storage_physical_disk_usage_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_physical_disk_usages_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskUsageList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_physical_disk_usages_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StoragePhysicalDiskUsageList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_physical_disk_usages_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_sas_expander_api.py b/intersight/apis/storage_sas_expander_api.py index bde23ea4..3aabaa76 100644 --- a/intersight/apis/storage_sas_expander_api.py +++ b/intersight/apis/storage_sas_expander_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_sas_expanders_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageSasExpanderList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_sas_expanders_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageSasExpanderList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_sas_expanders_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_storage_policy_api.py b/intersight/apis/storage_storage_policy_api.py index 2a4c0b32..a255f383 100644 --- a/intersight/apis/storage_storage_policy_api.py +++ b/intersight/apis/storage_storage_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_storage_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageStoragePolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_storage_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageStoragePolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_storage_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_vd_member_ep_api.py b/intersight/apis/storage_vd_member_ep_api.py index e74310a9..f4321e51 100644 --- a/intersight/apis/storage_vd_member_ep_api.py +++ b/intersight/apis/storage_vd_member_ep_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_vd_member_eps_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageVdMemberEpList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_vd_member_eps_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageVdMemberEpList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_vd_member_eps_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_virtual_drive_api.py b/intersight/apis/storage_virtual_drive_api.py index a7603519..1e17471a 100644 --- a/intersight/apis/storage_virtual_drive_api.py +++ b/intersight/apis/storage_virtual_drive_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def storage_virtual_drives_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageVirtualDriveList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def storage_virtual_drives_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: StorageVirtualDriveList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def storage_virtual_drives_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/storage_virtual_drive_extension_api.py b/intersight/apis/storage_virtual_drive_extension_api.py new file mode 100644 index 00000000..26d04f5d --- /dev/null +++ b/intersight/apis/storage_virtual_drive_extension_api.py @@ -0,0 +1,504 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class StorageVirtualDriveExtensionApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def storage_virtual_drive_extensions_get(self, **kwargs): + """ + Get a list of 'storageVirtualDriveExtension' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_get(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: StorageVirtualDriveExtensionList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.storage_virtual_drive_extensions_get_with_http_info(**kwargs) + else: + (data) = self.storage_virtual_drive_extensions_get_with_http_info(**kwargs) + return data + + def storage_virtual_drive_extensions_get_with_http_info(self, **kwargs): + """ + Get a list of 'storageVirtualDriveExtension' instances + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_get_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param bool count: The $count query option allows clients to request a count of the matching resources. + :param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response + :param int top: The max number of records to return + :param int skip: The number of records to skip + :param str filter: Filter criteria for records to return. A URI with a $filter System Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in $filter operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: t/Key eq 'Site') $filter=Tags/any(t: t/Key eq 'Site' and t/Value eq 'London') + :param str select: Specifies a subset of properties to return + :param str orderby: Determines what values are used to order a collection of records + :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' + :return: StorageVirtualDriveExtensionList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method storage_virtual_drive_extensions_get" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'count' in params: + query_params.append(('$count', params['count'])) + if 'inlinecount' in params: + query_params.append(('$inlinecount', params['inlinecount'])) + if 'top' in params: + query_params.append(('$top', params['top'])) + if 'skip' in params: + query_params.append(('$skip', params['skip'])) + if 'filter' in params: + query_params.append(('$filter', params['filter'])) + if 'select' in params: + query_params.append(('$select', params['select'])) + if 'orderby' in params: + query_params.append(('$orderby', params['orderby'])) + if 'expand' in params: + query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/storage/VirtualDriveExtensions', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='StorageVirtualDriveExtensionList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def storage_virtual_drive_extensions_moid_get(self, moid, **kwargs): + """ + Get a specific instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_get(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :return: StorageVirtualDriveExtension + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.storage_virtual_drive_extensions_moid_get_with_http_info(moid, **kwargs) + else: + (data) = self.storage_virtual_drive_extensions_moid_get_with_http_info(moid, **kwargs) + return data + + def storage_virtual_drive_extensions_moid_get_with_http_info(self, moid, **kwargs): + """ + Get a specific instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_get_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :return: StorageVirtualDriveExtension + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method storage_virtual_drive_extensions_moid_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `storage_virtual_drive_extensions_moid_get`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/storage/VirtualDriveExtensions/{moid}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='StorageVirtualDriveExtension', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def storage_virtual_drive_extensions_moid_patch(self, moid, body, **kwargs): + """ + Update an instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_patch(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :param StorageVirtualDriveExtension body: storageVirtualDriveExtension to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.storage_virtual_drive_extensions_moid_patch_with_http_info(moid, body, **kwargs) + else: + (data) = self.storage_virtual_drive_extensions_moid_patch_with_http_info(moid, body, **kwargs) + return data + + def storage_virtual_drive_extensions_moid_patch_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_patch_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :param StorageVirtualDriveExtension body: storageVirtualDriveExtension to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method storage_virtual_drive_extensions_moid_patch" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `storage_virtual_drive_extensions_moid_patch`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `storage_virtual_drive_extensions_moid_patch`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/storage/VirtualDriveExtensions/{moid}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def storage_virtual_drive_extensions_moid_post(self, moid, body, **kwargs): + """ + Update an instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_post(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :param StorageVirtualDriveExtension body: storageVirtualDriveExtension to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.storage_virtual_drive_extensions_moid_post_with_http_info(moid, body, **kwargs) + else: + (data) = self.storage_virtual_drive_extensions_moid_post_with_http_info(moid, body, **kwargs) + return data + + def storage_virtual_drive_extensions_moid_post_with_http_info(self, moid, body, **kwargs): + """ + Update an instance of 'storageVirtualDriveExtension' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.storage_virtual_drive_extensions_moid_post_with_http_info(moid, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the storageVirtualDriveExtension instance. (required) + :param StorageVirtualDriveExtension body: storageVirtualDriveExtension to update (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid', 'body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method storage_virtual_drive_extensions_moid_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `storage_virtual_drive_extensions_moid_post`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `storage_virtual_drive_extensions_moid_post`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/storage/VirtualDriveExtensions/{moid}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/syslog_policy_api.py b/intersight/apis/syslog_policy_api.py index 3ab8c2f8..34af9a35 100644 --- a/intersight/apis/syslog_policy_api.py +++ b/intersight/apis/syslog_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def syslog_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SyslogPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def syslog_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: SyslogPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def syslog_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/task_workflow_action_api.py b/intersight/apis/task_workflow_action_api.py index 19ed2b40..fcac76c3 100644 --- a/intersight/apis/task_workflow_action_api.py +++ b/intersight/apis/task_workflow_action_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def task_workflow_actions_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TaskWorkflowActionList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def task_workflow_actions_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TaskWorkflowActionList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def task_workflow_actions_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/telemetry_time_series_api.py b/intersight/apis/telemetry_time_series_api.py new file mode 100644 index 00000000..cc201560 --- /dev/null +++ b/intersight/apis/telemetry_time_series_api.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient + + +class TelemetryTimeSeriesApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + config = Configuration() + if api_client: + self.api_client = api_client + else: + if not config.api_client: + config.api_client = ApiClient() + self.api_client = config.api_client + + def telemetry_time_series_post(self, body, **kwargs): + """ + Create an instance of 'telemetryTimeSeries' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.telemetry_time_series_post(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TelemetryTimeSeries body: telemetryTimeSeries to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.telemetry_time_series_post_with_http_info(body, **kwargs) + else: + (data) = self.telemetry_time_series_post_with_http_info(body, **kwargs) + return data + + def telemetry_time_series_post_with_http_info(self, body, **kwargs): + """ + Create an instance of 'telemetryTimeSeries' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.telemetry_time_series_post_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param TelemetryTimeSeries body: telemetryTimeSeries to add (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method telemetry_time_series_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `telemetry_time_series_post`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/telemetry/TimeSeries', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/intersight/apis/terminal_audit_log_api.py b/intersight/apis/terminal_audit_log_api.py index 78595d6e..bdf7a09b 100644 --- a/intersight/apis/terminal_audit_log_api.py +++ b/intersight/apis/terminal_audit_log_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def terminal_audit_logs_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TerminalAuditLogList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def terminal_audit_logs_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TerminalAuditLogList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def terminal_audit_logs_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/testcrypt_administrator_api.py b/intersight/apis/testcrypt_administrator_api.py index d38f2dff..6f4fc01c 100644 --- a/intersight/apis/testcrypt_administrator_api.py +++ b/intersight/apis/testcrypt_administrator_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -61,6 +61,8 @@ def testcrypt_administrators_get(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptAdministratorList If the method is called asynchronously, returns the request thread. @@ -93,12 +95,14 @@ def testcrypt_administrators_get_with_http_info(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptAdministratorList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -136,6 +140,10 @@ def testcrypt_administrators_get_with_http_info(self, **kwargs): query_params.append(('$orderby', params['orderby'])) if 'expand' in params: query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/testcrypt_credential_api.py b/intersight/apis/testcrypt_credential_api.py index e73d8baf..f616ccc2 100644 --- a/intersight/apis/testcrypt_credential_api.py +++ b/intersight/apis/testcrypt_credential_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -61,6 +61,8 @@ def testcrypt_credentials_get(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptCredentialList If the method is called asynchronously, returns the request thread. @@ -93,12 +95,14 @@ def testcrypt_credentials_get_with_http_info(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptCredentialList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -136,6 +140,10 @@ def testcrypt_credentials_get_with_http_info(self, **kwargs): query_params.append(('$orderby', params['orderby'])) if 'expand' in params: query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/testcrypt_read_only_user_api.py b/intersight/apis/testcrypt_read_only_user_api.py index 057ab064..c467ab64 100644 --- a/intersight/apis/testcrypt_read_only_user_api.py +++ b/intersight/apis/testcrypt_read_only_user_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -61,6 +61,8 @@ def testcrypt_read_only_users_get(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptReadOnlyUserList If the method is called asynchronously, returns the request thread. @@ -93,12 +95,14 @@ def testcrypt_read_only_users_get_with_http_info(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptReadOnlyUserList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -136,6 +140,10 @@ def testcrypt_read_only_users_get_with_http_info(self, **kwargs): query_params.append(('$orderby', params['orderby'])) if 'expand' in params: query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/testcrypt_shadow_credential_api.py b/intersight/apis/testcrypt_shadow_credential_api.py index 417a1f10..d4653f3e 100644 --- a/intersight/apis/testcrypt_shadow_credential_api.py +++ b/intersight/apis/testcrypt_shadow_credential_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -61,6 +61,8 @@ def testcrypt_shadow_credentials_get(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptShadowCredentialList If the method is called asynchronously, returns the request thread. @@ -93,12 +95,14 @@ def testcrypt_shadow_credentials_get_with_http_info(self, **kwargs): :param str select: Specifies a subset of properties to return :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames + :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TestcryptShadowCredentialList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -136,6 +140,10 @@ def testcrypt_shadow_credentials_get_with_http_info(self, **kwargs): query_params.append(('$orderby', params['orderby'])) if 'expand' in params: query_params.append(('$expand', params['expand'])) + if 'apply' in params: + query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/top_system_api.py b/intersight/apis/top_system_api.py index efbd3e4c..94e0248d 100644 --- a/intersight/apis/top_system_api.py +++ b/intersight/apis/top_system_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def top_systems_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TopSystemList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def top_systems_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: TopSystemList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def top_systems_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/vmedia_policy_api.py b/intersight/apis/vmedia_policy_api.py index 2b3821de..42f8f28c 100644 --- a/intersight/apis/vmedia_policy_api.py +++ b/intersight/apis/vmedia_policy_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def vmedia_policies_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: VmediaPolicyList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def vmedia_policies_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: VmediaPolicyList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def vmedia_policies_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_build_task_meta_api.py b/intersight/apis/workflow_build_task_meta_api.py index 5c600ab7..c12e86cc 100644 --- a/intersight/apis/workflow_build_task_meta_api.py +++ b/intersight/apis/workflow_build_task_meta_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_build_task_meta_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowBuildTaskMetaList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_build_task_meta_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowBuildTaskMetaList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_build_task_meta_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_build_task_meta_owner_api.py b/intersight/apis/workflow_build_task_meta_owner_api.py index e5643ac5..c1f296fb 100644 --- a/intersight/apis/workflow_build_task_meta_owner_api.py +++ b/intersight/apis/workflow_build_task_meta_owner_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_build_task_meta_owners_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowBuildTaskMetaOwnerList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_build_task_meta_owners_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowBuildTaskMetaOwnerList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_build_task_meta_owners_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_pending_dynamic_workflow_info_api.py b/intersight/apis/workflow_pending_dynamic_workflow_info_api.py index a716c657..f8f9d259 100644 --- a/intersight/apis/workflow_pending_dynamic_workflow_info_api.py +++ b/intersight/apis/workflow_pending_dynamic_workflow_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_pending_dynamic_workflow_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowPendingDynamicWorkflowInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_pending_dynamic_workflow_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowPendingDynamicWorkflowInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_pending_dynamic_workflow_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_task_info_api.py b/intersight/apis/workflow_task_info_api.py index 369a4dbd..d7d72eb1 100644 --- a/intersight/apis/workflow_task_info_api.py +++ b/intersight/apis/workflow_task_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_task_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowTaskInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_task_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowTaskInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_task_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_task_meta_api.py b/intersight/apis/workflow_task_meta_api.py index d0c816d6..61a442a6 100644 --- a/intersight/apis/workflow_task_meta_api.py +++ b/intersight/apis/workflow_task_meta_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_task_meta_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowTaskMetaList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_task_meta_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowTaskMetaList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_task_meta_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/apis/workflow_workflow_info_api.py b/intersight/apis/workflow_workflow_info_api.py index d4946c3f..a1a84f28 100644 --- a/intersight/apis/workflow_workflow_info_api.py +++ b/intersight/apis/workflow_workflow_info_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_workflow_infos_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowWorkflowInfoList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_workflow_infos_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowWorkflowInfoList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_workflow_infos_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} @@ -173,6 +177,110 @@ def workflow_workflow_infos_get_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def workflow_workflow_infos_moid_delete(self, moid, **kwargs): + """ + Delete an instance of 'workflowWorkflowInfo' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.workflow_workflow_infos_moid_delete(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowWorkflowInfo instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.workflow_workflow_infos_moid_delete_with_http_info(moid, **kwargs) + else: + (data) = self.workflow_workflow_infos_moid_delete_with_http_info(moid, **kwargs) + return data + + def workflow_workflow_infos_moid_delete_with_http_info(self, moid, **kwargs): + """ + Delete an instance of 'workflowWorkflowInfo' + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.workflow_workflow_infos_moid_delete_with_http_info(moid, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str moid: The moid of the workflowWorkflowInfo instance. (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['moid'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method workflow_workflow_infos_moid_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'moid' is set + if ('moid' not in params) or (params['moid'] is None): + raise ValueError("Missing the required parameter `moid` when calling `workflow_workflow_infos_moid_delete`") + + + collection_formats = {} + + path_params = {} + if 'moid' in params: + path_params['moid'] = params['moid'] + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json']) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api('/workflow/WorkflowInfos/{moid}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def workflow_workflow_infos_moid_get(self, moid, **kwargs): """ Get a specific instance of 'workflowWorkflowInfo' diff --git a/intersight/apis/workflow_workflow_meta_api.py b/intersight/apis/workflow_workflow_meta_api.py index 8125694f..c6c9e405 100644 --- a/intersight/apis/workflow_workflow_meta_api.py +++ b/intersight/apis/workflow_workflow_meta_api.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,6 +62,7 @@ def workflow_workflow_meta_get(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowWorkflowMetaList If the method is called asynchronously, returns the request thread. @@ -95,12 +96,13 @@ def workflow_workflow_meta_get_with_http_info(self, **kwargs): :param str orderby: Determines what values are used to order a collection of records :param str expand: Specify additional attributes or related records to return. Supports only 'DisplayNames' attribute now. Query examples: $expand=DisplayNames :param str apply: Specify one or more transformation operations to perform aggregation on records. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. Query examples: $apply=groupby((Model), aggregate($count as Total)) $apply=groupby((Model), aggregate(AvailableMemory with average as AverageAvailableMemory)) + :param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for records to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. Query examples: at=VersionType eq 'Configured' at=InterestedMos.Moid eq '5b5877e56c6730367acf46cd' :return: WorkflowWorkflowMetaList If the method is called asynchronously, returns the request thread. """ - all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply'] + all_params = ['count', 'inlinecount', 'top', 'skip', 'filter', 'select', 'orderby', 'expand', 'apply', 'at'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -140,6 +142,8 @@ def workflow_workflow_meta_get_with_http_info(self, **kwargs): query_params.append(('$expand', params['expand'])) if 'apply' in params: query_params.append(('$apply', params['apply'])) + if 'at' in params: + query_params.append(('at', params['at'])) header_params = {} diff --git a/intersight/configuration.py b/intersight/configuration.py index addad3a7..ca5258b3 100644 --- a/intersight/configuration.py +++ b/intersight/configuration.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -219,6 +219,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.0.7-681\n"\ + "Version of the API: 1.0.9-260\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/intersight/models/__init__.py b/intersight/models/__init__.py index cf9fbc45..05d6b7f9 100644 --- a/intersight/models/__init__.py +++ b/intersight/models/__init__.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -25,6 +25,7 @@ from .asset_device_registration_list import AssetDeviceRegistrationList from .bios_policy_list import BiosPolicyList from .bios_unit_list import BiosUnitList +from .boot_bootloader import BootBootloader from .boot_device_base import BootDeviceBase from .boot_precision_policy_list import BootPrecisionPolicyList from .comm_ip_v4_interface import CommIpV4Interface @@ -44,6 +45,11 @@ from .connector_stream_message import ConnectorStreamMessage from .connectorpack_connector_pack_summary import ConnectorpackConnectorPackSummary from .crypt_encryption_token_list import CryptEncryptionTokenList +from .cvd_deployment_task_list import CvdDeploymentTaskList +from .cvd_input_meta import CvdInputMeta +from .cvd_template_list import CvdTemplateList +from .cvd_validation_task_list import CvdValidationTaskList +from .deviceconnector_policy_list import DeviceconnectorPolicyList from .deviceinfo_serial_number_info_list import DeviceinfoSerialNumberInfoList from .devops_abstract_trigger_details import DevopsAbstractTriggerDetails from .equipment_chassis_list import EquipmentChassisList @@ -52,13 +58,16 @@ from .equipment_fan_module_list import EquipmentFanModuleList from .equipment_fex_list import EquipmentFexList from .equipment_io_card_list import EquipmentIoCardList +from .equipment_io_expander_list import EquipmentIoExpanderList from .equipment_locator_led_list import EquipmentLocatorLedList from .equipment_psu_list import EquipmentPsuList +from .equipment_rack_enclosure_list import EquipmentRackEnclosureList +from .equipment_rack_enclosure_slot_list import EquipmentRackEnclosureSlotList from .equipment_switch_card_list import EquipmentSwitchCardList from .equipment_system_io_controller_list import EquipmentSystemIoControllerList +from .equipment_tpm_list import EquipmentTpmList from .error import Error from .ether_physical_port_list import EtherPhysicalPortList -from .externalsite_authorization_list import ExternalsiteAuthorizationList from .fault_instance_list import FaultInstanceList from .fc_physical_port_list import FcPhysicalPortList from .feedback_feedback_data import FeedbackFeedbackData @@ -74,10 +83,12 @@ from .firmware_upgrade_status_list import FirmwareUpgradeStatusList from .graphics_card_list import GraphicsCardList from .graphics_controller_list import GraphicsControllerList -from .hcl_data_import_log_list import HclDataImportLogList from .hcl_driver import HclDriver +from .hcl_driver_image_list import HclDriverImageList from .hcl_firmware import HclFirmware from .hcl_hardware_compatibility_profile import HclHardwareCompatibilityProfile +from .hcl_operating_system_list import HclOperatingSystemList +from .hcl_operating_system_vendor_list import HclOperatingSystemVendorList from .hcl_product import HclProduct from .hcl_service_status_list import HclServiceStatusList from .hyperflex_abstract_app_setting import HyperflexAbstractAppSetting @@ -95,9 +106,11 @@ from .hyperflex_ext_iscsi_storage_policy_list import HyperflexExtIscsiStoragePolicyList from .hyperflex_feature_limit_external_list import HyperflexFeatureLimitExternalList from .hyperflex_feature_limit_internal_list import HyperflexFeatureLimitInternalList +from .hyperflex_hx_link_dt import HyperflexHxLinkDt +from .hyperflex_hx_network_address_dt import HyperflexHxNetworkAddressDt +from .hyperflex_hx_uu_id_dt import HyperflexHxUuIdDt from .hyperflex_hxdp_version_list import HyperflexHxdpVersionList from .hyperflex_ip_addr_range import HyperflexIpAddrRange -from .hyperflex_iterator_string import HyperflexIteratorString from .hyperflex_local_credential_policy_list import HyperflexLocalCredentialPolicyList from .hyperflex_logical_availability_zone import HyperflexLogicalAvailabilityZone from .hyperflex_mac_addr_prefix_range import HyperflexMacAddrPrefixRange @@ -105,6 +118,7 @@ from .hyperflex_named_vlan import HyperflexNamedVlan from .hyperflex_named_vsan import HyperflexNamedVsan from .hyperflex_node_config_policy_list import HyperflexNodeConfigPolicyList +from .hyperflex_node_list import HyperflexNodeList from .hyperflex_node_profile_list import HyperflexNodeProfileList from .hyperflex_proxy_setting_policy_list import HyperflexProxySettingPolicyList from .hyperflex_server_firmware_version_list import HyperflexServerFirmwareVersionList @@ -123,7 +137,9 @@ from .iaas_license_info_list import IaasLicenseInfoList from .iaas_license_keys_info import IaasLicenseKeysInfo from .iaas_license_utilization_info import IaasLicenseUtilizationInfo +from .iaas_most_run_tasks_list import IaasMostRunTasksList from .iaas_ucsd_info_list import IaasUcsdInfoList +from .iaas_ucsd_managed_infra_list import IaasUcsdManagedInfraList from .iam_account_list import IamAccountList from .iam_account_permissions import IamAccountPermissions from .iam_api_key_list import IamApiKeyList @@ -181,16 +197,22 @@ from .mo_base_mo import MoBaseMo from .mo_mo_ref import MoMoRef from .mo_tag import MoTag +from .mo_version_context import MoVersionContext from .network_element_list import NetworkElementList from .network_element_summary_list import NetworkElementSummaryList from .networkconfig_policy_list import NetworkconfigPolicyList +from .notifs_condition import NotifsCondition from .ntp_policy_list import NtpPolicyList +from .oauth_access_token import OauthAccessToken +from .oauth_oauth_user_list import OauthOauthUserList +from .pci_device_list import PciDeviceList from .policy_config_change import PolicyConfigChange from .policy_config_context import PolicyConfigContext from .policy_config_result_context import PolicyConfigResultContext from .port_group_list import PortGroupList from .port_sub_group_list import PortSubGroupList from .processor_unit_list import ProcessorUnitList +from .resource_group_list import ResourceGroupList from .sdcard_partition import SdcardPartition from .sdcard_policy_list import SdcardPolicyList from .sdcard_virtual_drive import SdcardVirtualDrive @@ -205,6 +227,7 @@ from .snmp_policy_list import SnmpPolicyList from .snmp_trap import SnmpTrap from .snmp_user import SnmpUser +from .softwarerepository_authorization_list import SoftwarerepositoryAuthorizationList from .sol_policy_list import SolPolicyList from .ssh_policy_list import SshPolicyList from .storage_controller_list import StorageControllerList @@ -227,6 +250,7 @@ from .storage_storage_policy_list import StorageStoragePolicyList from .storage_vd_member_ep_list import StorageVdMemberEpList from .storage_virtual_drive_config import StorageVirtualDriveConfig +from .storage_virtual_drive_extension_list import StorageVirtualDriveExtensionList from .storage_virtual_drive_list import StorageVirtualDriveList from .syslog_local_client_base import SyslogLocalClientBase from .syslog_policy_list import SyslogPolicyList @@ -240,6 +264,9 @@ from .testcrypt_shadow_credential_list import TestcryptShadowCredentialList from .testcrypt_user import TestcryptUser from .top_system_list import TopSystemList +from .ucsdconnector_field_query import UcsdconnectorFieldQuery +from .ucsdconnector_sql_query import UcsdconnectorSqlQuery +from .ucsdconnector_telemetry_mo import UcsdconnectorTelemetryMo from .vmedia_mapping import VmediaMapping from .vmedia_policy_list import VmediaPolicyList from .workflow_build_task_meta_list import WorkflowBuildTaskMetaList @@ -274,8 +301,10 @@ from .bios_policy_ref import BiosPolicyRef from .bios_unit_ref import BiosUnitRef from .bios_validation_task_ref import BiosValidationTaskRef +from .boot_bootloader_ref import BootBootloaderRef from .boot_device_base_ref import BootDeviceBaseRef from .boot_iscsi_ref import BootIscsiRef +from .boot_local_cdd_ref import BootLocalCddRef from .boot_local_disk_ref import BootLocalDiskRef from .boot_nvme_ref import BootNvmeRef from .boot_pch_storage_ref import BootPchStorageRef @@ -335,6 +364,16 @@ from .crypt_encryption_key_ref import CryptEncryptionKeyRef from .crypt_encryption_token import CryptEncryptionToken from .crypt_encryption_token_ref import CryptEncryptionTokenRef +from .cvd_deployment_task import CvdDeploymentTask +from .cvd_deployment_task_ref import CvdDeploymentTaskRef +from .cvd_input_meta_ref import CvdInputMetaRef +from .cvd_template import CvdTemplate +from .cvd_template_ref import CvdTemplateRef +from .cvd_validation_task import CvdValidationTask +from .cvd_validation_task_ref import CvdValidationTaskRef +from .deviceconnector_deploy_task_ref import DeviceconnectorDeployTaskRef +from .deviceconnector_policy_ref import DeviceconnectorPolicyRef +from .deviceconnector_validation_task_ref import DeviceconnectorValidationTaskRef from .deviceinfo_serial_number_info import DeviceinfoSerialNumberInfo from .deviceinfo_serial_number_info_ref import DeviceinfoSerialNumberInfoRef from .devops_abstract_trigger_details_ref import DevopsAbstractTriggerDetailsRef @@ -349,13 +388,15 @@ from .equipment_fan_ref import EquipmentFanRef from .equipment_fex_ref import EquipmentFexRef from .equipment_io_card_ref import EquipmentIoCardRef +from .equipment_io_expander_ref import EquipmentIoExpanderRef from .equipment_locator_led_ref import EquipmentLocatorLedRef from .equipment_psu_ref import EquipmentPsuRef +from .equipment_rack_enclosure_ref import EquipmentRackEnclosureRef +from .equipment_rack_enclosure_slot_ref import EquipmentRackEnclosureSlotRef from .equipment_switch_card_ref import EquipmentSwitchCardRef from .equipment_system_io_controller_ref import EquipmentSystemIoControllerRef +from .equipment_tpm_ref import EquipmentTpmRef from .ether_physical_port_ref import EtherPhysicalPortRef -from .externalsite_authorization import ExternalsiteAuthorization -from .externalsite_authorization_ref import ExternalsiteAuthorizationRef from .extsearch_app_config_ref import ExtsearchAppConfigRef from .extsearch_import_ref import ExtsearchImportRef from .fault_instance_ref import FaultInstanceRef @@ -393,12 +434,17 @@ from .hcl_compatibility_info_ref import HclCompatibilityInfoRef from .hcl_compatibility_status import HclCompatibilityStatus from .hcl_compatibility_status_ref import HclCompatibilityStatusRef -from .hcl_data_import_log import HclDataImportLog from .hcl_data_import_log_ref import HclDataImportLogRef +from .hcl_driver_image import HclDriverImage +from .hcl_driver_image_ref import HclDriverImageRef from .hcl_driver_ref import HclDriverRef from .hcl_firmware_ref import HclFirmwareRef from .hcl_hardware_compatibility_profile_ref import HclHardwareCompatibilityProfileRef from .hcl_note_ref import HclNoteRef +from .hcl_operating_system import HclOperatingSystem +from .hcl_operating_system_ref import HclOperatingSystemRef +from .hcl_operating_system_vendor import HclOperatingSystemVendor +from .hcl_operating_system_vendor_ref import HclOperatingSystemVendorRef from .hcl_product_ref import HclProductRef from .hcl_service_status import HclServiceStatus from .hcl_service_status_ref import HclServiceStatusRef @@ -428,19 +474,23 @@ from .hyperflex_feature_limit_external_ref import HyperflexFeatureLimitExternalRef from .hyperflex_feature_limit_internal import HyperflexFeatureLimitInternal from .hyperflex_feature_limit_internal_ref import HyperflexFeatureLimitInternalRef +from .hyperflex_hx_link_dt_ref import HyperflexHxLinkDtRef +from .hyperflex_hx_network_address_dt_ref import HyperflexHxNetworkAddressDtRef +from .hyperflex_hx_uu_id_dt_ref import HyperflexHxUuIdDtRef from .hyperflex_hxdp_version import HyperflexHxdpVersion from .hyperflex_hxdp_version_ref import HyperflexHxdpVersionRef from .hyperflex_installer_image_ref import HyperflexInstallerImageRef from .hyperflex_ip_addr_range_ref import HyperflexIpAddrRangeRef -from .hyperflex_iterator_string_ref import HyperflexIteratorStringRef from .hyperflex_local_credential_policy_ref import HyperflexLocalCredentialPolicyRef from .hyperflex_logical_availability_zone_ref import HyperflexLogicalAvailabilityZoneRef from .hyperflex_mac_addr_prefix_range_ref import HyperflexMacAddrPrefixRangeRef from .hyperflex_managed_object_reference_ref import HyperflexManagedObjectReferenceRef from .hyperflex_named_vlan_ref import HyperflexNamedVlanRef from .hyperflex_named_vsan_ref import HyperflexNamedVsanRef +from .hyperflex_node import HyperflexNode from .hyperflex_node_config_policy_ref import HyperflexNodeConfigPolicyRef from .hyperflex_node_profile_ref import HyperflexNodeProfileRef +from .hyperflex_node_ref import HyperflexNodeRef from .hyperflex_proxy_setting_policy_ref import HyperflexProxySettingPolicyRef from .hyperflex_server_firmware_version import HyperflexServerFirmwareVersion from .hyperflex_server_firmware_version_entry import HyperflexServerFirmwareVersionEntry @@ -467,8 +517,12 @@ from .iaas_license_info_ref import IaasLicenseInfoRef from .iaas_license_keys_info_ref import IaasLicenseKeysInfoRef from .iaas_license_utilization_info_ref import IaasLicenseUtilizationInfoRef +from .iaas_most_run_tasks import IaasMostRunTasks +from .iaas_most_run_tasks_ref import IaasMostRunTasksRef from .iaas_ucsd_info import IaasUcsdInfo from .iaas_ucsd_info_ref import IaasUcsdInfoRef +from .iaas_ucsd_managed_infra import IaasUcsdManagedInfra +from .iaas_ucsd_managed_infra_ref import IaasUcsdManagedInfraRef from .iam_account import IamAccount from .iam_account_permissions_ref import IamAccountPermissionsRef from .iam_account_ref import IamAccountRef @@ -493,6 +547,7 @@ from .iam_idp_reference import IamIdpReference from .iam_idp_reference_ref import IamIdpReferenceRef from .iam_ldap_base_properties_ref import IamLdapBasePropertiesRef +from .iam_ldap_credentials_ref import IamLdapCredentialsRef from .iam_ldap_deploy_task_ref import IamLdapDeployTaskRef from .iam_ldap_dns_parameters_ref import IamLdapDnsParametersRef from .iam_ldap_group import IamLdapGroup @@ -575,22 +630,23 @@ from .mo_base_mo_ref import MoBaseMoRef from .mo_interest_registration_ref import MoInterestRegistrationRef from .mo_mo_ref_ref import MoMoRefRef -from .mo_snapshot_ref import MoSnapshotRef from .mo_tag_ref import MoTagRef +from .mo_version_context_ref import MoVersionContextRef from .network_element_ref import NetworkElementRef from .network_element_summary_ref import NetworkElementSummaryRef from .networkconfig_deploy_task_ref import NetworkconfigDeployTaskRef from .networkconfig_policy_ref import NetworkconfigPolicyRef from .networkconfig_validation_task_ref import NetworkconfigValidationTaskRef +from .notifs_condition_ref import NotifsConditionRef from .notifs_mo_subscription_ref import NotifsMoSubscriptionRef -from .notifs_subscribed_ref import NotifsSubscribedRef from .ntp_deploy_task_ref import NtpDeployTaskRef from .ntp_policy_ref import NtpPolicyRef from .ntp_validation_task_ref import NtpValidationTaskRef from .oauth2_auth_token_ref import Oauth2AuthTokenRef -from .partitionalloc_consumer_ref import PartitionallocConsumerRef -from .partitionalloc_part_ref import PartitionallocPartRef -from .partitionalloc_partitioned_ref import PartitionallocPartitionedRef +from .oauth_access_token_ref import OauthAccessTokenRef +from .oauth_oauth_user import OauthOauthUser +from .oauth_oauth_user_ref import OauthOauthUserRef +from .pci_device_ref import PciDeviceRef from .policy_abstract_config_change_detail import PolicyAbstractConfigChangeDetail from .policy_abstract_config_change_detail_ref import PolicyAbstractConfigChangeDetailRef from .policy_abstract_config_profile_ref import PolicyAbstractConfigProfileRef @@ -635,6 +691,8 @@ from .qatask_ucs_task9_ref import QataskUcsTask9Ref from .qatask_wait_for_download_ref import QataskWaitForDownloadRef from .qatask_wait_for_firmware_upgrade_ref import QataskWaitForFirmwareUpgradeRef +from .resource_group import ResourceGroup +from .resource_group_ref import ResourceGroupRef from .sdcard_deploy_task_ref import SdcardDeployTaskRef from .sdcard_diagnostics_ref import SdcardDiagnosticsRef from .sdcard_drivers_ref import SdcardDriversRef @@ -667,6 +725,8 @@ from .snmp_trap_ref import SnmpTrapRef from .snmp_user_ref import SnmpUserRef from .snmp_validation_task_ref import SnmpValidationTaskRef +from .softwarerepository_authorization import SoftwarerepositoryAuthorization +from .softwarerepository_authorization_ref import SoftwarerepositoryAuthorizationRef from .sol_deploy_task_ref import SolDeployTaskRef from .sol_policy_ref import SolPolicyRef from .sol_validation_task_ref import SolValidationTaskRef @@ -697,6 +757,7 @@ from .storage_validation_task_ref import StorageValidationTaskRef from .storage_vd_member_ep_ref import StorageVdMemberEpRef from .storage_virtual_drive_config_ref import StorageVirtualDriveConfigRef +from .storage_virtual_drive_extension_ref import StorageVirtualDriveExtensionRef from .storage_virtual_drive_ref import StorageVirtualDriveRef from .syslog_deploy_task_ref import SyslogDeployTaskRef from .syslog_local_client_base_ref import SyslogLocalClientBaseRef @@ -718,6 +779,8 @@ from .task_ucs_task9_ref import TaskUcsTask9Ref from .task_workflow_action import TaskWorkflowAction from .task_workflow_action_ref import TaskWorkflowActionRef +from .telemetry_time_series import TelemetryTimeSeries +from .telemetry_time_series_ref import TelemetryTimeSeriesRef from .terminal_audit_log import TerminalAuditLog from .terminal_audit_log_ref import TerminalAuditLogRef from .testcrypt_administrator import TestcryptAdministrator @@ -730,7 +793,11 @@ from .testcrypt_shadow_credential_ref import TestcryptShadowCredentialRef from .testcrypt_user_ref import TestcryptUserRef from .top_system_ref import TopSystemRef +from .ucsdconnector_field_query_ref import UcsdconnectorFieldQueryRef from .ucsdconnector_inventory_message_ref import UcsdconnectorInventoryMessageRef +from .ucsdconnector_sql_query_ref import UcsdconnectorSqlQueryRef +from .ucsdconnector_telemetry_message_ref import UcsdconnectorTelemetryMessageRef +from .ucsdconnector_telemetry_mo_ref import UcsdconnectorTelemetryMoRef from .views_view import ViewsView from .views_view_ref import ViewsViewRef from .vmedia_deploy_task_ref import VmediaDeployTaskRef @@ -762,6 +829,7 @@ from .boot_precision_policy import BootPrecisionPolicy from .compute_physical_summary import ComputePhysicalSummary from .compute_server_setting import ComputeServerSetting +from .deviceconnector_policy import DeviceconnectorPolicy from .equipment_base import EquipmentBase from .equipment_device_summary import EquipmentDeviceSummary from .equipment_locator_led import EquipmentLocatorLed @@ -812,6 +880,7 @@ from .storage_physical_disk_usage import StoragePhysicalDiskUsage from .storage_storage_policy import StorageStoragePolicy from .storage_vd_member_ep import StorageVdMemberEp +from .storage_virtual_drive_extension import StorageVirtualDriveExtension from .syslog_policy import SyslogPolicy from .top_system import TopSystem from .vmedia_policy import VmediaPolicy @@ -828,9 +897,13 @@ from .equipment_fan_module import EquipmentFanModule from .equipment_fex import EquipmentFex from .equipment_io_card import EquipmentIoCard +from .equipment_io_expander import EquipmentIoExpander from .equipment_psu import EquipmentPsu +from .equipment_rack_enclosure import EquipmentRackEnclosure +from .equipment_rack_enclosure_slot import EquipmentRackEnclosureSlot from .equipment_switch_card import EquipmentSwitchCard from .equipment_system_io_controller import EquipmentSystemIoController +from .equipment_tpm import EquipmentTpm from .ether_physical_port import EtherPhysicalPort from .fc_physical_port import FcPhysicalPort from .graphics_card import GraphicsCard @@ -839,6 +912,7 @@ from .memory_array import MemoryArray from .memory_unit import MemoryUnit from .network_element import NetworkElement +from .pci_device import PciDevice from .processor_unit import ProcessorUnit from .security_unit import SecurityUnit from .server_profile import ServerProfile diff --git a/intersight/models/aaa_abstract_audit_record.py b/intersight/models/aaa_abstract_audit_record.py index 47353753..5eaf2bfe 100644 --- a/intersight/models/aaa_abstract_audit_record.py +++ b/intersight/models/aaa_abstract_audit_record.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AaaAbstractAuditRecord(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'event': 'str', 'mo_type': 'str', 'object_moid': 'str', @@ -57,6 +58,7 @@ class AaaAbstractAuditRecord(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'event': 'Event', 'mo_type': 'MoType', 'object_moid': 'ObjectMoid', @@ -64,7 +66,7 @@ class AaaAbstractAuditRecord(object): 'trace_id': 'TraceId' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, event=None, mo_type=None, object_moid=None, request=None, trace_id=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, event=None, mo_type=None, object_moid=None, request=None, trace_id=None): """ AaaAbstractAuditRecord - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._event = None self._mo_type = None self._object_moid = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if event is not None: self.event = event if mo_type is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AaaAbstractAuditRecord. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AaaAbstractAuditRecord. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AaaAbstractAuditRecord. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AaaAbstractAuditRecord. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AaaAbstractAuditRecord. + The versioning info for this managed object + + :return: The version_context of this AaaAbstractAuditRecord. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AaaAbstractAuditRecord. + The versioning info for this managed object + + :param version_context: The version_context of this AaaAbstractAuditRecord. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def event(self): """ diff --git a/intersight/models/aaa_abstract_audit_record_ref.py b/intersight/models/aaa_abstract_audit_record_ref.py index 239b35be..d7076701 100644 --- a/intersight/models/aaa_abstract_audit_record_ref.py +++ b/intersight/models/aaa_abstract_audit_record_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/aaa_audit_record.py b/intersight/models/aaa_audit_record.py index 0ff9de67..85535c69 100644 --- a/intersight/models/aaa_audit_record.py +++ b/intersight/models/aaa_audit_record.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AaaAuditRecord(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'event': 'str', 'mo_type': 'str', 'object_moid': 'str', @@ -64,6 +65,7 @@ class AaaAuditRecord(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'event': 'Event', 'mo_type': 'MoType', 'object_moid': 'ObjectMoid', @@ -78,7 +80,7 @@ class AaaAuditRecord(object): 'user': 'User' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, event=None, mo_type=None, object_moid=None, request=None, trace_id=None, account=None, email=None, inst_id=None, sessions=None, source_ip=None, timestamp=None, user=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, event=None, mo_type=None, object_moid=None, request=None, trace_id=None, account=None, email=None, inst_id=None, sessions=None, source_ip=None, timestamp=None, user=None): """ AaaAuditRecord - a model defined in Swagger """ @@ -92,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._event = None self._mo_type = None self._object_moid = None @@ -123,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if event is not None: self.event = event if mo_type is not None: @@ -336,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AaaAuditRecord. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AaaAuditRecord. :rtype: list[MoTag] @@ -347,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AaaAuditRecord. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AaaAuditRecord. :type: list[MoTag] @@ -355,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AaaAuditRecord. + The versioning info for this managed object + + :return: The version_context of this AaaAuditRecord. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AaaAuditRecord. + The versioning info for this managed object + + :param version_context: The version_context of this AaaAuditRecord. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def event(self): """ diff --git a/intersight/models/aaa_audit_record_list.py b/intersight/models/aaa_audit_record_list.py index fb54c789..646aeff0 100644 --- a/intersight/models/aaa_audit_record_list.py +++ b/intersight/models/aaa_audit_record_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/aaa_audit_record_local_ref.py b/intersight/models/aaa_audit_record_local_ref.py index 0e27a350..f93bbb68 100644 --- a/intersight/models/aaa_audit_record_local_ref.py +++ b/intersight/models/aaa_audit_record_local_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/aaa_audit_record_ref.py b/intersight/models/aaa_audit_record_ref.py index 154a3633..77ccd6d3 100644 --- a/intersight/models/aaa_audit_record_ref.py +++ b/intersight/models/aaa_audit_record_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_ext_eth_interface.py b/intersight/models/adapter_ext_eth_interface.py index 668d366f..c6fe0666 100644 --- a/intersight/models/adapter_ext_eth_interface.py +++ b/intersight/models/adapter_ext_eth_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AdapterExtEthInterface(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -68,6 +69,7 @@ class AdapterExtEthInterface(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -86,7 +88,7 @@ class AdapterExtEthInterface(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, ext_eth_interface_id=None, interface_type=None, mac_address=None, oper_state=None, peer_dn=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, ext_eth_interface_id=None, interface_type=None, mac_address=None, oper_state=None, peer_dn=None, registered_device=None): """ AdapterExtEthInterface - a model defined in Swagger """ @@ -100,6 +102,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -135,6 +138,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -356,7 +361,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AdapterExtEthInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AdapterExtEthInterface. :rtype: list[MoTag] @@ -367,7 +372,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AdapterExtEthInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AdapterExtEthInterface. :type: list[MoTag] @@ -375,6 +380,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AdapterExtEthInterface. + The versioning info for this managed object + + :return: The version_context of this AdapterExtEthInterface. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AdapterExtEthInterface. + The versioning info for this managed object + + :param version_context: The version_context of this AdapterExtEthInterface. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/adapter_ext_eth_interface_list.py b/intersight/models/adapter_ext_eth_interface_list.py index 2f72f366..caa1d0e1 100644 --- a/intersight/models/adapter_ext_eth_interface_list.py +++ b/intersight/models/adapter_ext_eth_interface_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_ext_eth_interface_ref.py b/intersight/models/adapter_ext_eth_interface_ref.py index 10058b33..41bef6ca 100644 --- a/intersight/models/adapter_ext_eth_interface_ref.py +++ b/intersight/models/adapter_ext_eth_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_eth_interface.py b/intersight/models/adapter_host_eth_interface.py index d307319b..086e5638 100644 --- a/intersight/models/adapter_host_eth_interface.py +++ b/intersight/models/adapter_host_eth_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AdapterHostEthInterface(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -74,6 +75,7 @@ class AdapterHostEthInterface(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -98,7 +100,7 @@ class AdapterHostEthInterface(object): 'vnic_dn': 'VnicDn' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_eth_interface_id=None, interface_type=None, mac_address=None, name=None, oper_state=None, operability=None, original_mac_address=None, pci_addr=None, peer_dn=None, registered_device=None, virtualization_preference=None, vnic_dn=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_eth_interface_id=None, interface_type=None, mac_address=None, name=None, oper_state=None, operability=None, original_mac_address=None, pci_addr=None, peer_dn=None, registered_device=None, virtualization_preference=None, vnic_dn=None): """ AdapterHostEthInterface - a model defined in Swagger """ @@ -112,6 +114,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -153,6 +156,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -386,7 +391,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AdapterHostEthInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AdapterHostEthInterface. :rtype: list[MoTag] @@ -397,7 +402,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AdapterHostEthInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AdapterHostEthInterface. :type: list[MoTag] @@ -405,6 +410,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AdapterHostEthInterface. + The versioning info for this managed object + + :return: The version_context of this AdapterHostEthInterface. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AdapterHostEthInterface. + The versioning info for this managed object + + :param version_context: The version_context of this AdapterHostEthInterface. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/adapter_host_eth_interface_list.py b/intersight/models/adapter_host_eth_interface_list.py index 8b8410be..047f3b2a 100644 --- a/intersight/models/adapter_host_eth_interface_list.py +++ b/intersight/models/adapter_host_eth_interface_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_eth_interface_ref.py b/intersight/models/adapter_host_eth_interface_ref.py index 8673f64f..2dda5454 100644 --- a/intersight/models/adapter_host_eth_interface_ref.py +++ b/intersight/models/adapter_host_eth_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_fc_interface.py b/intersight/models/adapter_host_fc_interface.py index 8044506a..1d73fd4d 100644 --- a/intersight/models/adapter_host_fc_interface.py +++ b/intersight/models/adapter_host_fc_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AdapterHostFcInterface(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -72,6 +73,7 @@ class AdapterHostFcInterface(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -94,7 +96,7 @@ class AdapterHostFcInterface(object): 'wwpn': 'Wwpn' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_fc_interface_id=None, name=None, oper_state=None, operability=None, original_wwnn=None, original_wwpn=None, peer_dn=None, registered_device=None, wwnn=None, wwpn=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_fc_interface_id=None, name=None, oper_state=None, operability=None, original_wwnn=None, original_wwpn=None, peer_dn=None, registered_device=None, wwnn=None, wwpn=None): """ AdapterHostFcInterface - a model defined in Swagger """ @@ -108,6 +110,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -147,6 +150,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -376,7 +381,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AdapterHostFcInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AdapterHostFcInterface. :rtype: list[MoTag] @@ -387,7 +392,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AdapterHostFcInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AdapterHostFcInterface. :type: list[MoTag] @@ -395,6 +400,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AdapterHostFcInterface. + The versioning info for this managed object + + :return: The version_context of this AdapterHostFcInterface. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AdapterHostFcInterface. + The versioning info for this managed object + + :param version_context: The version_context of this AdapterHostFcInterface. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/adapter_host_fc_interface_list.py b/intersight/models/adapter_host_fc_interface_list.py index 757d2179..f25a7185 100644 --- a/intersight/models/adapter_host_fc_interface_list.py +++ b/intersight/models/adapter_host_fc_interface_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_fc_interface_ref.py b/intersight/models/adapter_host_fc_interface_ref.py index 4e836eaa..266a1c07 100644 --- a/intersight/models/adapter_host_fc_interface_ref.py +++ b/intersight/models/adapter_host_fc_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_iscsi_interface.py b/intersight/models/adapter_host_iscsi_interface.py index 8658f168..b2306be0 100644 --- a/intersight/models/adapter_host_iscsi_interface.py +++ b/intersight/models/adapter_host_iscsi_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AdapterHostIscsiInterface(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -70,6 +71,7 @@ class AdapterHostIscsiInterface(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -90,7 +92,7 @@ class AdapterHostIscsiInterface(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_iscsi_interface_id=None, host_visible=None, mac_address=None, name=None, oper_state=None, operability=None, peer_dn=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_unit=None, admin_state=None, ep_dn=None, host_iscsi_interface_id=None, host_visible=None, mac_address=None, name=None, oper_state=None, operability=None, peer_dn=None, registered_device=None): """ AdapterHostIscsiInterface - a model defined in Swagger """ @@ -104,6 +106,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -141,6 +144,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -366,7 +371,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AdapterHostIscsiInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AdapterHostIscsiInterface. :rtype: list[MoTag] @@ -377,7 +382,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AdapterHostIscsiInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AdapterHostIscsiInterface. :type: list[MoTag] @@ -385,6 +390,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AdapterHostIscsiInterface. + The versioning info for this managed object + + :return: The version_context of this AdapterHostIscsiInterface. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AdapterHostIscsiInterface. + The versioning info for this managed object + + :param version_context: The version_context of this AdapterHostIscsiInterface. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/adapter_host_iscsi_interface_list.py b/intersight/models/adapter_host_iscsi_interface_list.py index dc08e2fb..33938361 100644 --- a/intersight/models/adapter_host_iscsi_interface_list.py +++ b/intersight/models/adapter_host_iscsi_interface_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_host_iscsi_interface_ref.py b/intersight/models/adapter_host_iscsi_interface_ref.py index 652e9ba9..4ce88b21 100644 --- a/intersight/models/adapter_host_iscsi_interface_ref.py +++ b/intersight/models/adapter_host_iscsi_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_unit.py b/intersight/models/adapter_unit.py index 38a9cc29..5b4c959e 100644 --- a/intersight/models/adapter_unit.py +++ b/intersight/models/adapter_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AdapterUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -78,6 +79,7 @@ class AdapterUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -106,7 +108,7 @@ class AdapterUnit(object): 'vid': 'Vid' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_id=None, base_mac_address=None, compute_blade=None, compute_rack_unit=None, controller=None, ext_eth_ifs=None, host_eth_ifs=None, host_fc_ifs=None, host_iscsi_ifs=None, integrated=None, oper_state=None, operability=None, part_number=None, pci_slot=None, power=None, presence=None, registered_device=None, thermal=None, vid=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, adapter_id=None, base_mac_address=None, compute_blade=None, compute_rack_unit=None, controller=None, ext_eth_ifs=None, host_eth_ifs=None, host_fc_ifs=None, host_iscsi_ifs=None, integrated=None, oper_state=None, operability=None, part_number=None, pci_slot=None, power=None, presence=None, registered_device=None, thermal=None, vid=None): """ AdapterUnit - a model defined in Swagger """ @@ -120,6 +122,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -165,6 +168,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -406,7 +411,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AdapterUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AdapterUnit. :rtype: list[MoTag] @@ -417,7 +422,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AdapterUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AdapterUnit. :type: list[MoTag] @@ -425,6 +430,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AdapterUnit. + The versioning info for this managed object + + :return: The version_context of this AdapterUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AdapterUnit. + The versioning info for this managed object + + :param version_context: The version_context of this AdapterUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/adapter_unit_list.py b/intersight/models/adapter_unit_list.py index 0b6d4f27..4619b40d 100644 --- a/intersight/models/adapter_unit_list.py +++ b/intersight/models/adapter_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/adapter_unit_ref.py b/intersight/models/adapter_unit_ref.py index ab6b725c..44c72bcd 100644 --- a/intersight/models/adapter_unit_ref.py +++ b/intersight/models/adapter_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_cluster_member.py b/intersight/models/asset_cluster_member.py index ad1a55c6..8462b32f 100644 --- a/intersight/models/asset_cluster_member.py +++ b/intersight/models/asset_cluster_member.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,8 +40,10 @@ class AssetClusterMember(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'api_version': 'int', 'app_partition_number': 'int', + 'connection_id': 'str', 'connection_reason': 'str', 'connection_status': 'str', 'connection_status_last_change_time': 'datetime', @@ -63,8 +65,10 @@ class AssetClusterMember(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'api_version': 'ApiVersion', 'app_partition_number': 'AppPartitionNumber', + 'connection_id': 'ConnectionId', 'connection_reason': 'ConnectionReason', 'connection_status': 'ConnectionStatus', 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', @@ -76,7 +80,7 @@ class AssetClusterMember(object): 'member_identity': 'MemberIdentity' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, api_version=None, app_partition_number=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None, device=None, leadership='Unknown', member_identity=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, api_version=None, app_partition_number=None, connection_id=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None, device=None, leadership='Unknown', member_identity=None): """ AssetClusterMember - a model defined in Swagger """ @@ -90,8 +94,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._api_version = None self._app_partition_number = None + self._connection_id = None self._connection_reason = None self._connection_status = None self._connection_status_last_change_time = None @@ -120,10 +126,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if api_version is not None: self.api_version = api_version if app_partition_number is not None: self.app_partition_number = app_partition_number + if connection_id is not None: + self.connection_id = connection_id if connection_reason is not None: self.connection_reason = connection_reason if connection_status is not None: @@ -331,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AssetClusterMember. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AssetClusterMember. :rtype: list[MoTag] @@ -342,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AssetClusterMember. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AssetClusterMember. :type: list[MoTag] @@ -350,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AssetClusterMember. + The versioning info for this managed object + + :return: The version_context of this AssetClusterMember. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AssetClusterMember. + The versioning info for this managed object + + :param version_context: The version_context of this AssetClusterMember. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def api_version(self): """ @@ -396,6 +429,29 @@ def app_partition_number(self, app_partition_number): self._app_partition_number = app_partition_number + @property + def connection_id(self): + """ + Gets the connection_id of this AssetClusterMember. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :return: The connection_id of this AssetClusterMember. + :rtype: str + """ + return self._connection_id + + @connection_id.setter + def connection_id(self, connection_id): + """ + Sets the connection_id of this AssetClusterMember. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :param connection_id: The connection_id of this AssetClusterMember. + :type: str + """ + + self._connection_id = connection_id + @property def connection_reason(self): """ diff --git a/intersight/models/asset_cluster_member_list.py b/intersight/models/asset_cluster_member_list.py index b90742df..a4ab9a73 100644 --- a/intersight/models/asset_cluster_member_list.py +++ b/intersight/models/asset_cluster_member_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_cluster_member_ref.py b/intersight/models/asset_cluster_member_ref.py index b08ace10..e6e5c201 100644 --- a/intersight/models/asset_cluster_member_ref.py +++ b/intersight/models/asset_cluster_member_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_connection_control_message_ref.py b/intersight/models/asset_connection_control_message_ref.py index 5eac1d7c..3852459d 100644 --- a/intersight/models/asset_connection_control_message_ref.py +++ b/intersight/models/asset_connection_control_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_claim.py b/intersight/models/asset_device_claim.py index 9742f19f..1b1bc576 100644 --- a/intersight/models/asset_device_claim.py +++ b/intersight/models/asset_device_claim.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AssetDeviceClaim(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'device': 'AssetDeviceRegistrationRef', 'security_token': 'str', @@ -56,13 +57,14 @@ class AssetDeviceClaim(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'device': 'Device', 'security_token': 'SecurityToken', 'serial_number': 'SerialNumber' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, device=None, security_token=None, serial_number=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, device=None, security_token=None, serial_number=None): """ AssetDeviceClaim - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._device = None self._security_token = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if device is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AssetDeviceClaim. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AssetDeviceClaim. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AssetDeviceClaim. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AssetDeviceClaim. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AssetDeviceClaim. + The versioning info for this managed object + + :return: The version_context of this AssetDeviceClaim. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AssetDeviceClaim. + The versioning info for this managed object + + :param version_context: The version_context of this AssetDeviceClaim. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/asset_device_claim_ref.py b/intersight/models/asset_device_claim_ref.py index 2f055f13..528acbb5 100644 --- a/intersight/models/asset_device_claim_ref.py +++ b/intersight/models/asset_device_claim_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_configuration.py b/intersight/models/asset_device_configuration.py index 30e0a2a2..4c5b68a1 100644 --- a/intersight/models/asset_device_configuration.py +++ b/intersight/models/asset_device_configuration.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class AssetDeviceConfiguration(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device': 'AssetDeviceRegistrationRef', 'local_configuration_locked': 'bool', 'log_level': 'str' @@ -55,12 +56,13 @@ class AssetDeviceConfiguration(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device': 'Device', 'local_configuration_locked': 'LocalConfigurationLocked', 'log_level': 'LogLevel' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device=None, local_configuration_locked=None, log_level=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device=None, local_configuration_locked=None, log_level=None): """ AssetDeviceConfiguration - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device = None self._local_configuration_locked = None self._log_level = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device is not None: self.device = device if local_configuration_locked is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AssetDeviceConfiguration. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AssetDeviceConfiguration. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AssetDeviceConfiguration. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AssetDeviceConfiguration. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AssetDeviceConfiguration. + The versioning info for this managed object + + :return: The version_context of this AssetDeviceConfiguration. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AssetDeviceConfiguration. + The versioning info for this managed object + + :param version_context: The version_context of this AssetDeviceConfiguration. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device(self): """ diff --git a/intersight/models/asset_device_configuration_list.py b/intersight/models/asset_device_configuration_list.py index c49cc0d1..2821474d 100644 --- a/intersight/models/asset_device_configuration_list.py +++ b/intersight/models/asset_device_configuration_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_configuration_ref.py b/intersight/models/asset_device_configuration_ref.py index cd0d19fe..950615ea 100644 --- a/intersight/models/asset_device_configuration_ref.py +++ b/intersight/models/asset_device_configuration_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_connection.py b/intersight/models/asset_device_connection.py index f701177d..f88f7456 100644 --- a/intersight/models/asset_device_connection.py +++ b/intersight/models/asset_device_connection.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,8 +40,10 @@ class AssetDeviceConnection(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'api_version': 'int', 'app_partition_number': 'int', + 'connection_id': 'str', 'connection_reason': 'str', 'connection_status': 'str', 'connection_status_last_change_time': 'datetime', @@ -60,8 +62,10 @@ class AssetDeviceConnection(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'api_version': 'ApiVersion', 'app_partition_number': 'AppPartitionNumber', + 'connection_id': 'ConnectionId', 'connection_reason': 'ConnectionReason', 'connection_status': 'ConnectionStatus', 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', @@ -70,7 +74,7 @@ class AssetDeviceConnection(object): 'proxy_app': 'ProxyApp' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, api_version=None, app_partition_number=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, api_version=None, app_partition_number=None, connection_id=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None): """ AssetDeviceConnection - a model defined in Swagger """ @@ -84,8 +88,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._api_version = None self._app_partition_number = None + self._connection_id = None self._connection_reason = None self._connection_status = None self._connection_status_last_change_time = None @@ -111,10 +117,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if api_version is not None: self.api_version = api_version if app_partition_number is not None: self.app_partition_number = app_partition_number + if connection_id is not None: + self.connection_id = connection_id if connection_reason is not None: self.connection_reason = connection_reason if connection_status is not None: @@ -316,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AssetDeviceConnection. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AssetDeviceConnection. :rtype: list[MoTag] @@ -327,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AssetDeviceConnection. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AssetDeviceConnection. :type: list[MoTag] @@ -335,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AssetDeviceConnection. + The versioning info for this managed object + + :return: The version_context of this AssetDeviceConnection. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AssetDeviceConnection. + The versioning info for this managed object + + :param version_context: The version_context of this AssetDeviceConnection. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def api_version(self): """ @@ -381,6 +414,29 @@ def app_partition_number(self, app_partition_number): self._app_partition_number = app_partition_number + @property + def connection_id(self): + """ + Gets the connection_id of this AssetDeviceConnection. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :return: The connection_id of this AssetDeviceConnection. + :rtype: str + """ + return self._connection_id + + @connection_id.setter + def connection_id(self, connection_id): + """ + Sets the connection_id of this AssetDeviceConnection. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :param connection_id: The connection_id of this AssetDeviceConnection. + :type: str + """ + + self._connection_id = connection_id + @property def connection_reason(self): """ diff --git a/intersight/models/asset_device_connection_ref.py b/intersight/models/asset_device_connection_ref.py index 7ad47ffc..7533c726 100644 --- a/intersight/models/asset_device_connection_ref.py +++ b/intersight/models/asset_device_connection_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_registration.py b/intersight/models/asset_device_registration.py index 907d9059..5d6a42e9 100644 --- a/intersight/models/asset_device_registration.py +++ b/intersight/models/asset_device_registration.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,15 +40,16 @@ class AssetDeviceRegistration(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'api_version': 'int', 'app_partition_number': 'int', + 'connection_id': 'str', 'connection_reason': 'str', 'connection_status': 'str', 'connection_status_last_change_time': 'datetime', 'connector_version': 'str', 'device_external_ip_address': 'str', 'proxy_app': 'str', - 'access_key': 'str', 'access_key_id': 'str', 'account': 'IamAccountRef', 'claimed_by_user': 'IamUserRef', @@ -80,15 +81,16 @@ class AssetDeviceRegistration(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'api_version': 'ApiVersion', 'app_partition_number': 'AppPartitionNumber', + 'connection_id': 'ConnectionId', 'connection_reason': 'ConnectionReason', 'connection_status': 'ConnectionStatus', 'connection_status_last_change_time': 'ConnectionStatusLastChangeTime', 'connector_version': 'ConnectorVersion', 'device_external_ip_address': 'DeviceExternalIpAddress', 'proxy_app': 'ProxyApp', - 'access_key': 'AccessKey', 'access_key_id': 'AccessKeyId', 'account': 'Account', 'claimed_by_user': 'ClaimedByUser', @@ -110,7 +112,7 @@ class AssetDeviceRegistration(object): 'vendor': 'Vendor' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, api_version=None, app_partition_number=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None, access_key=None, access_key_id=None, account=None, claimed_by_user=None, claimed_by_user_name=None, claimed_time=None, cluster_members=None, device_claim=None, device_configuration=None, device_hostname=None, device_ip_address=None, domain_group=None, execution_mode='null', pid=None, platform_type='null', public_access_key=None, read_only=None, security_token=None, serial=None, vendor=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, api_version=None, app_partition_number=None, connection_id=None, connection_reason=None, connection_status='null', connection_status_last_change_time=None, connector_version=None, device_external_ip_address=None, proxy_app=None, access_key_id=None, account=None, claimed_by_user=None, claimed_by_user_name=None, claimed_time=None, cluster_members=None, device_claim=None, device_configuration=None, device_hostname=None, device_ip_address=None, domain_group=None, execution_mode='null', pid=None, platform_type='null', public_access_key=None, read_only=None, security_token=None, serial=None, vendor=None): """ AssetDeviceRegistration - a model defined in Swagger """ @@ -124,15 +126,16 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._api_version = None self._app_partition_number = None + self._connection_id = None self._connection_reason = None self._connection_status = None self._connection_status_last_change_time = None self._connector_version = None self._device_external_ip_address = None self._proxy_app = None - self._access_key = None self._access_key_id = None self._account = None self._claimed_by_user = None @@ -171,10 +174,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if api_version is not None: self.api_version = api_version if app_partition_number is not None: self.app_partition_number = app_partition_number + if connection_id is not None: + self.connection_id = connection_id if connection_reason is not None: self.connection_reason = connection_reason if connection_status is not None: @@ -187,8 +194,6 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.device_external_ip_address = device_external_ip_address if proxy_app is not None: self.proxy_app = proxy_app - if access_key is not None: - self.access_key = access_key if access_key_id is not None: self.access_key_id = access_key_id if account is not None: @@ -416,7 +421,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this AssetDeviceRegistration. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this AssetDeviceRegistration. :rtype: list[MoTag] @@ -427,7 +432,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this AssetDeviceRegistration. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this AssetDeviceRegistration. :type: list[MoTag] @@ -435,6 +440,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this AssetDeviceRegistration. + The versioning info for this managed object + + :return: The version_context of this AssetDeviceRegistration. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this AssetDeviceRegistration. + The versioning info for this managed object + + :param version_context: The version_context of this AssetDeviceRegistration. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def api_version(self): """ @@ -481,6 +509,29 @@ def app_partition_number(self, app_partition_number): self._app_partition_number = app_partition_number + @property + def connection_id(self): + """ + Gets the connection_id of this AssetDeviceRegistration. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :return: The connection_id of this AssetDeviceRegistration. + :rtype: str + """ + return self._connection_id + + @connection_id.setter + def connection_id(self, connection_id): + """ + Sets the connection_id of this AssetDeviceRegistration. + The unique identifier for the current connection. The identifier persists across network connectivity loss and is reset on device connector process restart or platform administrator toggle of the Intersight connectivity. The connectionId can be used by services that need to interact with stateful plugins running in the device connector process. For example if a service schedules an inventory in a devices job scheduler plugin at registration it is not necessary to reschedule the job if the device loses network connectivity due to an Intersight service upgrade or intermittent network issues in the devices datacenter. + + :param connection_id: The connection_id of this AssetDeviceRegistration. + :type: str + """ + + self._connection_id = connection_id + @property def connection_reason(self): """ @@ -625,29 +676,6 @@ def proxy_app(self, proxy_app): self._proxy_app = proxy_app - @property - def access_key(self): - """ - Gets the access_key of this AssetDeviceRegistration. - Part of the credential used for the device connector to authenticate with the cloud. Depricated - see 'publicAccessKey'. - - :return: The access_key of this AssetDeviceRegistration. - :rtype: str - """ - return self._access_key - - @access_key.setter - def access_key(self, access_key): - """ - Sets the access_key of this AssetDeviceRegistration. - Part of the credential used for the device connector to authenticate with the cloud. Depricated - see 'publicAccessKey'. - - :param access_key: The access_key of this AssetDeviceRegistration. - :type: str - """ - - self._access_key = access_key - @property def access_key_id(self): """ diff --git a/intersight/models/asset_device_registration_list.py b/intersight/models/asset_device_registration_list.py index 063de4da..b9def8e5 100644 --- a/intersight/models/asset_device_registration_list.py +++ b/intersight/models/asset_device_registration_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_device_registration_ref.py b/intersight/models/asset_device_registration_ref.py index 326dc5dd..7f051eb9 100644 --- a/intersight/models/asset_device_registration_ref.py +++ b/intersight/models/asset_device_registration_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/asset_security_token_ref.py b/intersight/models/asset_security_token_ref.py index 92506525..ab235708 100644 --- a/intersight/models/asset_security_token_ref.py +++ b/intersight/models/asset_security_token_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_deploy_task_ref.py b/intersight/models/bios_deploy_task_ref.py index 143eec4d..d1368cec 100644 --- a/intersight/models/bios_deploy_task_ref.py +++ b/intersight/models/bios_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_policy.py b/intersight/models/bios_policy.py index 2804126c..b683c825 100644 --- a/intersight/models/bios_policy.py +++ b/intersight/models/bios_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class BiosPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'adjacent_cache_line_prefetch': 'str', @@ -51,10 +52,23 @@ class BiosPolicy(object): 'auto_cc_state': 'str', 'autonumous_cstate_enable': 'str', 'baud_rate': 'str', + 'bme_dma_mitigation': 'str', 'boot_option_num_retry': 'str', 'boot_option_re_cool_down': 'str', 'boot_option_retry': 'str', 'boot_performance_mode': 'str', + 'cbs_cmn_cpu_cpb': 'str', + 'cbs_cmn_cpu_gen_downcore_ctrl': 'str', + 'cbs_cmn_cpu_global_cstate_ctrl': 'str', + 'cbs_cmn_cpu_l1stream_hw_prefetcher': 'str', + 'cbs_cmn_cpu_l2stream_hw_prefetcher': 'str', + 'cbs_cmn_determinism_slider': 'str', + 'cbs_cmn_gnb_nb_iommu': 'str', + 'cbs_cmn_mem_ctrl_bank_group_swap_ddr4': 'str', + 'cbs_cmn_mem_map_bank_interleave_ddr4': 'str', + 'cbs_cmnc_tdp_ctl': 'str', + 'cbs_df_cmn_mem_intlv': 'str', + 'cbs_df_cmn_mem_intlv_size': 'str', 'cdn_enable': 'str', 'cdn_support': 'str', 'channel_inter_leave': 'str', @@ -177,6 +191,8 @@ class BiosPolicy(object): 'slot_front_slot6link_speed': 'str', 'slot_hba_link_speed': 'str', 'slot_hba_state': 'str', + 'slot_lom1link': 'str', + 'slot_lom2link': 'str', 'slot_mezz_state': 'str', 'slot_mlom_link_speed': 'str', 'slot_mlom_state': 'str', @@ -229,10 +245,13 @@ class BiosPolicy(object): 'slot_sas_state': 'str', 'slot_ssd_slot1link_speed': 'str', 'slot_ssd_slot2link_speed': 'str', + 'smee': 'str', + 'smt_mode': 'str', 'snc': 'str', 'sparing_mode': 'str', 'sr_iov': 'str', 'streamer_prefetch': 'str', + 'svm_mode': 'str', 'terminal_type': 'str', 'tpm_control': 'str', 'tpm_support': 'str', @@ -247,6 +266,7 @@ class BiosPolicy(object): 'usb_port_vmedia': 'str', 'usb_xhci_support': 'str', 'vga_priority': 'str', + 'vmd_enable': 'str', 'work_load_config': 'str', 'xpt_prefetch': 'str' } @@ -261,6 +281,7 @@ class BiosPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'adjacent_cache_line_prefetch': 'AdjacentCacheLinePrefetch', @@ -272,10 +293,23 @@ class BiosPolicy(object): 'auto_cc_state': 'AutoCcState', 'autonumous_cstate_enable': 'AutonumousCstateEnable', 'baud_rate': 'BaudRate', + 'bme_dma_mitigation': 'BmeDmaMitigation', 'boot_option_num_retry': 'BootOptionNumRetry', 'boot_option_re_cool_down': 'BootOptionReCoolDown', 'boot_option_retry': 'BootOptionRetry', 'boot_performance_mode': 'BootPerformanceMode', + 'cbs_cmn_cpu_cpb': 'CbsCmnCpuCpb', + 'cbs_cmn_cpu_gen_downcore_ctrl': 'CbsCmnCpuGenDowncoreCtrl', + 'cbs_cmn_cpu_global_cstate_ctrl': 'CbsCmnCpuGlobalCstateCtrl', + 'cbs_cmn_cpu_l1stream_hw_prefetcher': 'CbsCmnCpuL1streamHwPrefetcher', + 'cbs_cmn_cpu_l2stream_hw_prefetcher': 'CbsCmnCpuL2streamHwPrefetcher', + 'cbs_cmn_determinism_slider': 'CbsCmnDeterminismSlider', + 'cbs_cmn_gnb_nb_iommu': 'CbsCmnGnbNbIommu', + 'cbs_cmn_mem_ctrl_bank_group_swap_ddr4': 'CbsCmnMemCtrlBankGroupSwapDdr4', + 'cbs_cmn_mem_map_bank_interleave_ddr4': 'CbsCmnMemMapBankInterleaveDdr4', + 'cbs_cmnc_tdp_ctl': 'CbsCmncTdpCtl', + 'cbs_df_cmn_mem_intlv': 'CbsDfCmnMemIntlv', + 'cbs_df_cmn_mem_intlv_size': 'CbsDfCmnMemIntlvSize', 'cdn_enable': 'CdnEnable', 'cdn_support': 'CdnSupport', 'channel_inter_leave': 'ChannelInterLeave', @@ -398,6 +432,8 @@ class BiosPolicy(object): 'slot_front_slot6link_speed': 'SlotFrontSlot6linkSpeed', 'slot_hba_link_speed': 'SlotHbaLinkSpeed', 'slot_hba_state': 'SlotHbaState', + 'slot_lom1link': 'SlotLom1link', + 'slot_lom2link': 'SlotLom2link', 'slot_mezz_state': 'SlotMezzState', 'slot_mlom_link_speed': 'SlotMlomLinkSpeed', 'slot_mlom_state': 'SlotMlomState', @@ -450,10 +486,13 @@ class BiosPolicy(object): 'slot_sas_state': 'SlotSasState', 'slot_ssd_slot1link_speed': 'SlotSsdSlot1linkSpeed', 'slot_ssd_slot2link_speed': 'SlotSsdSlot2linkSpeed', + 'smee': 'Smee', + 'smt_mode': 'SmtMode', 'snc': 'Snc', 'sparing_mode': 'SparingMode', 'sr_iov': 'SrIov', 'streamer_prefetch': 'StreamerPrefetch', + 'svm_mode': 'SvmMode', 'terminal_type': 'TerminalType', 'tpm_control': 'TpmControl', 'tpm_support': 'TpmSupport', @@ -468,11 +507,12 @@ class BiosPolicy(object): 'usb_port_vmedia': 'UsbPortVmedia', 'usb_xhci_support': 'UsbXhciSupport', 'vga_priority': 'VgaPriority', + 'vmd_enable': 'VmdEnable', 'work_load_config': 'WorkLoadConfig', 'xpt_prefetch': 'XptPrefetch' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, adjacent_cache_line_prefetch='platform-default', all_usb_devices='platform-default', altitude='platform-default', aspm_support='platform-default', assert_nmi_on_perr='platform-default', assert_nmi_on_serr='platform-default', auto_cc_state='platform-default', autonumous_cstate_enable='platform-default', baud_rate='platform-default', boot_option_num_retry='platform-default', boot_option_re_cool_down='platform-default', boot_option_retry='platform-default', boot_performance_mode='platform-default', cdn_enable='platform-default', cdn_support='platform-default', channel_inter_leave='platform-default', cke_low_policy='platform-default', closed_loop_therm_throtl='platform-default', cmci_enable='platform-default', config_tdp='platform-default', console_redirection='platform-default', core_multi_processing='platform-default', cpu_energy_performance='platform-default', cpu_frequency_floor='platform-default', cpu_performance='platform-default', cpu_power_management='platform-default', demand_scrub='platform-default', direct_cache_access='platform-default', dram_clock_throttling='platform-default', dram_refresh_rate='platform-default', energy_efficient_turbo='platform-default', eng_perf_tuning='platform-default', enhanced_intel_speed_step_tech='platform-default', epp_profile='platform-default', execute_disable_bit='platform-default', extended_apic='platform-default', flow_control='platform-default', frb2enable='platform-default', hardware_prefetch='platform-default', hwpm_enable='platform-default', imc_interleave='platform-default', intel_hyper_threading_tech='platform-default', intel_turbo_boost_tech='platform-default', intel_virtualization_technology='platform-default', intel_vt_for_directed_io='platform-default', intel_vtd_coherency_support='platform-default', intel_vtd_interrupt_remapping='platform-default', intel_vtd_pass_through_dma_support='platform-default', intel_vtdats_support='platform-default', ioh_error_enable='platform-default', ioh_resource='platform-default', ip_prefetch='platform-default', ipv6pxe='platform-default', kti_prefetch='platform-default', legacy_os_redirection='platform-default', legacy_usb_support='platform-default', llc_prefetch='platform-default', lom_port0state='platform-default', lom_port1state='platform-default', lom_port2state='platform-default', lom_port3state='platform-default', lom_ports_all_state='platform-default', lv_ddr_mode='platform-default', make_device_non_bootable='platform-default', memory_inter_leave='platform-default', memory_mapped_io_above4gb='platform-default', mirroring_mode='platform-default', mmcfg_base='platform-default', numa_optimized='platform-default', onboard10gbit_lom='platform-default', onboard_gbit_lom='platform-default', onboard_scu_storage_support='platform-default', onboard_scu_storage_sw_stack='platform-default', organization=None, os_boot_watchdog_timer='platform-default', os_boot_watchdog_timer_policy='platform-default', os_boot_watchdog_timer_timeout='platform-default', out_of_band_mgmt_port='platform-default', package_cstate_limit='platform-default', patrol_scrub='platform-default', patrol_scrub_duration='platform-default', pc_ie_ssd_hot_plug_support='platform-default', pch_usb30mode='platform-default', pci_option_ro_ms='platform-default', pci_rom_clp='platform-default', pop_support='platform-default', post_error_pause='platform-default', processor_c1e='platform-default', processor_c3report='platform-default', processor_c6report='platform-default', processor_cstate='platform-default', profiles=None, psata='platform-default', pstate_coord_type='platform-default', putty_key_pad='platform-default', pwr_perf_tuning='platform-default', qpi_link_frequency='platform-default', qpi_snoop_mode='platform-default', rank_inter_leave='platform-default', redirection_after_post='platform-default', sata_mode_select='platform-default', select_memory_ras_configuration='platform-default', serial_port_aenable='platform-default', single_pctl_enable='platform-default', slot10link_speed='platform-default', slot10state='platform-default', slot11link_speed='platform-default', slot11state='platform-default', slot12link_speed='platform-default', slot12state='platform-default', slot1link_speed='platform-default', slot1state='platform-default', slot2link_speed='platform-default', slot2state='platform-default', slot3link_speed='platform-default', slot3state='platform-default', slot4link_speed='platform-default', slot4state='platform-default', slot5link_speed='platform-default', slot5state='platform-default', slot6link_speed='platform-default', slot6state='platform-default', slot7link_speed='platform-default', slot7state='platform-default', slot8link_speed='platform-default', slot8state='platform-default', slot9link_speed='platform-default', slot9state='platform-default', slot_flom_link_speed='platform-default', slot_front_nvme1link_speed='platform-default', slot_front_nvme2link_speed='platform-default', slot_front_slot5link_speed='platform-default', slot_front_slot6link_speed='platform-default', slot_hba_link_speed='platform-default', slot_hba_state='platform-default', slot_mezz_state='platform-default', slot_mlom_link_speed='platform-default', slot_mlom_state='platform-default', slot_mraid_link_speed='platform-default', slot_mraid_state='platform-default', slot_n10state='platform-default', slot_n11state='platform-default', slot_n12state='platform-default', slot_n13state='platform-default', slot_n14state='platform-default', slot_n15state='platform-default', slot_n16state='platform-default', slot_n17state='platform-default', slot_n18state='platform-default', slot_n19state='platform-default', slot_n1state='platform-default', slot_n20state='platform-default', slot_n21state='platform-default', slot_n22state='platform-default', slot_n23state='platform-default', slot_n24state='platform-default', slot_n2state='platform-default', slot_n3state='platform-default', slot_n4state='platform-default', slot_n5state='platform-default', slot_n6state='platform-default', slot_n7state='platform-default', slot_n8state='platform-default', slot_n9state='platform-default', slot_raid_link_speed='platform-default', slot_raid_state='platform-default', slot_rear_nvme1link_speed='platform-default', slot_rear_nvme1state='platform-default', slot_rear_nvme2link_speed='platform-default', slot_rear_nvme2state='platform-default', slot_rear_nvme3state='platform-default', slot_rear_nvme4state='platform-default', slot_rear_nvme5state='platform-default', slot_rear_nvme6state='platform-default', slot_rear_nvme7state='platform-default', slot_rear_nvme8state='platform-default', slot_riser1link_speed='platform-default', slot_riser1slot1link_speed='platform-default', slot_riser1slot2link_speed='platform-default', slot_riser1slot3link_speed='platform-default', slot_riser2link_speed='platform-default', slot_riser2slot4link_speed='platform-default', slot_riser2slot5link_speed='platform-default', slot_riser2slot6link_speed='platform-default', slot_sas_state='platform-default', slot_ssd_slot1link_speed='platform-default', slot_ssd_slot2link_speed='platform-default', snc='platform-default', sparing_mode='platform-default', sr_iov='platform-default', streamer_prefetch='platform-default', terminal_type='platform-default', tpm_control='platform-default', tpm_support='platform-default', txt_support='platform-default', ucsm_boot_order_rule='platform-default', usb_emul6064='platform-default', usb_port_front='platform-default', usb_port_internal='platform-default', usb_port_kvm='platform-default', usb_port_rear='platform-default', usb_port_sd_card='platform-default', usb_port_vmedia='platform-default', usb_xhci_support='platform-default', vga_priority='platform-default', work_load_config='platform-default', xpt_prefetch='platform-default'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, adjacent_cache_line_prefetch='platform-default', all_usb_devices='platform-default', altitude='platform-default', aspm_support='platform-default', assert_nmi_on_perr='platform-default', assert_nmi_on_serr='platform-default', auto_cc_state='platform-default', autonumous_cstate_enable='platform-default', baud_rate='platform-default', bme_dma_mitigation='platform-default', boot_option_num_retry='platform-default', boot_option_re_cool_down='platform-default', boot_option_retry='platform-default', boot_performance_mode='platform-default', cbs_cmn_cpu_cpb='platform-default', cbs_cmn_cpu_gen_downcore_ctrl='platform-default', cbs_cmn_cpu_global_cstate_ctrl='platform-default', cbs_cmn_cpu_l1stream_hw_prefetcher='platform-default', cbs_cmn_cpu_l2stream_hw_prefetcher='platform-default', cbs_cmn_determinism_slider='platform-default', cbs_cmn_gnb_nb_iommu='platform-default', cbs_cmn_mem_ctrl_bank_group_swap_ddr4='platform-default', cbs_cmn_mem_map_bank_interleave_ddr4='platform-default', cbs_cmnc_tdp_ctl='platform-default', cbs_df_cmn_mem_intlv='platform-default', cbs_df_cmn_mem_intlv_size='platform-default', cdn_enable='platform-default', cdn_support='platform-default', channel_inter_leave='platform-default', cke_low_policy='platform-default', closed_loop_therm_throtl='platform-default', cmci_enable='platform-default', config_tdp='platform-default', console_redirection='platform-default', core_multi_processing='platform-default', cpu_energy_performance='platform-default', cpu_frequency_floor='platform-default', cpu_performance='platform-default', cpu_power_management='platform-default', demand_scrub='platform-default', direct_cache_access='platform-default', dram_clock_throttling='platform-default', dram_refresh_rate='platform-default', energy_efficient_turbo='platform-default', eng_perf_tuning='platform-default', enhanced_intel_speed_step_tech='platform-default', epp_profile='platform-default', execute_disable_bit='platform-default', extended_apic='platform-default', flow_control='platform-default', frb2enable='platform-default', hardware_prefetch='platform-default', hwpm_enable='platform-default', imc_interleave='platform-default', intel_hyper_threading_tech='platform-default', intel_turbo_boost_tech='platform-default', intel_virtualization_technology='platform-default', intel_vt_for_directed_io='platform-default', intel_vtd_coherency_support='platform-default', intel_vtd_interrupt_remapping='platform-default', intel_vtd_pass_through_dma_support='platform-default', intel_vtdats_support='platform-default', ioh_error_enable='platform-default', ioh_resource='platform-default', ip_prefetch='platform-default', ipv6pxe='platform-default', kti_prefetch='platform-default', legacy_os_redirection='platform-default', legacy_usb_support='platform-default', llc_prefetch='platform-default', lom_port0state='platform-default', lom_port1state='platform-default', lom_port2state='platform-default', lom_port3state='platform-default', lom_ports_all_state='platform-default', lv_ddr_mode='platform-default', make_device_non_bootable='platform-default', memory_inter_leave='platform-default', memory_mapped_io_above4gb='platform-default', mirroring_mode='platform-default', mmcfg_base='platform-default', numa_optimized='platform-default', onboard10gbit_lom='platform-default', onboard_gbit_lom='platform-default', onboard_scu_storage_support='platform-default', onboard_scu_storage_sw_stack='platform-default', organization=None, os_boot_watchdog_timer='platform-default', os_boot_watchdog_timer_policy='platform-default', os_boot_watchdog_timer_timeout='platform-default', out_of_band_mgmt_port='platform-default', package_cstate_limit='platform-default', patrol_scrub='platform-default', patrol_scrub_duration='platform-default', pc_ie_ssd_hot_plug_support='platform-default', pch_usb30mode='platform-default', pci_option_ro_ms='platform-default', pci_rom_clp='platform-default', pop_support='platform-default', post_error_pause='platform-default', processor_c1e='platform-default', processor_c3report='platform-default', processor_c6report='platform-default', processor_cstate='platform-default', profiles=None, psata='platform-default', pstate_coord_type='platform-default', putty_key_pad='platform-default', pwr_perf_tuning='platform-default', qpi_link_frequency='platform-default', qpi_snoop_mode='platform-default', rank_inter_leave='platform-default', redirection_after_post='platform-default', sata_mode_select='platform-default', select_memory_ras_configuration='platform-default', serial_port_aenable='platform-default', single_pctl_enable='platform-default', slot10link_speed='platform-default', slot10state='platform-default', slot11link_speed='platform-default', slot11state='platform-default', slot12link_speed='platform-default', slot12state='platform-default', slot1link_speed='platform-default', slot1state='platform-default', slot2link_speed='platform-default', slot2state='platform-default', slot3link_speed='platform-default', slot3state='platform-default', slot4link_speed='platform-default', slot4state='platform-default', slot5link_speed='platform-default', slot5state='platform-default', slot6link_speed='platform-default', slot6state='platform-default', slot7link_speed='platform-default', slot7state='platform-default', slot8link_speed='platform-default', slot8state='platform-default', slot9link_speed='platform-default', slot9state='platform-default', slot_flom_link_speed='platform-default', slot_front_nvme1link_speed='platform-default', slot_front_nvme2link_speed='platform-default', slot_front_slot5link_speed='platform-default', slot_front_slot6link_speed='platform-default', slot_hba_link_speed='platform-default', slot_hba_state='platform-default', slot_lom1link='platform-default', slot_lom2link='platform-default', slot_mezz_state='platform-default', slot_mlom_link_speed='platform-default', slot_mlom_state='platform-default', slot_mraid_link_speed='platform-default', slot_mraid_state='platform-default', slot_n10state='platform-default', slot_n11state='platform-default', slot_n12state='platform-default', slot_n13state='platform-default', slot_n14state='platform-default', slot_n15state='platform-default', slot_n16state='platform-default', slot_n17state='platform-default', slot_n18state='platform-default', slot_n19state='platform-default', slot_n1state='platform-default', slot_n20state='platform-default', slot_n21state='platform-default', slot_n22state='platform-default', slot_n23state='platform-default', slot_n24state='platform-default', slot_n2state='platform-default', slot_n3state='platform-default', slot_n4state='platform-default', slot_n5state='platform-default', slot_n6state='platform-default', slot_n7state='platform-default', slot_n8state='platform-default', slot_n9state='platform-default', slot_raid_link_speed='platform-default', slot_raid_state='platform-default', slot_rear_nvme1link_speed='platform-default', slot_rear_nvme1state='platform-default', slot_rear_nvme2link_speed='platform-default', slot_rear_nvme2state='platform-default', slot_rear_nvme3state='platform-default', slot_rear_nvme4state='platform-default', slot_rear_nvme5state='platform-default', slot_rear_nvme6state='platform-default', slot_rear_nvme7state='platform-default', slot_rear_nvme8state='platform-default', slot_riser1link_speed='platform-default', slot_riser1slot1link_speed='platform-default', slot_riser1slot2link_speed='platform-default', slot_riser1slot3link_speed='platform-default', slot_riser2link_speed='platform-default', slot_riser2slot4link_speed='platform-default', slot_riser2slot5link_speed='platform-default', slot_riser2slot6link_speed='platform-default', slot_sas_state='platform-default', slot_ssd_slot1link_speed='platform-default', slot_ssd_slot2link_speed='platform-default', smee='platform-default', smt_mode='platform-default', snc='platform-default', sparing_mode='platform-default', sr_iov='platform-default', streamer_prefetch='platform-default', svm_mode='platform-default', terminal_type='platform-default', tpm_control='platform-default', tpm_support='platform-default', txt_support='platform-default', ucsm_boot_order_rule='platform-default', usb_emul6064='platform-default', usb_port_front='platform-default', usb_port_internal='platform-default', usb_port_kvm='platform-default', usb_port_rear='platform-default', usb_port_sd_card='platform-default', usb_port_vmedia='platform-default', usb_xhci_support='platform-default', vga_priority='platform-default', vmd_enable='platform-default', work_load_config='platform-default', xpt_prefetch='platform-default'): """ BiosPolicy - a model defined in Swagger """ @@ -486,6 +526,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._adjacent_cache_line_prefetch = None @@ -497,10 +538,23 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._auto_cc_state = None self._autonumous_cstate_enable = None self._baud_rate = None + self._bme_dma_mitigation = None self._boot_option_num_retry = None self._boot_option_re_cool_down = None self._boot_option_retry = None self._boot_performance_mode = None + self._cbs_cmn_cpu_cpb = None + self._cbs_cmn_cpu_gen_downcore_ctrl = None + self._cbs_cmn_cpu_global_cstate_ctrl = None + self._cbs_cmn_cpu_l1stream_hw_prefetcher = None + self._cbs_cmn_cpu_l2stream_hw_prefetcher = None + self._cbs_cmn_determinism_slider = None + self._cbs_cmn_gnb_nb_iommu = None + self._cbs_cmn_mem_ctrl_bank_group_swap_ddr4 = None + self._cbs_cmn_mem_map_bank_interleave_ddr4 = None + self._cbs_cmnc_tdp_ctl = None + self._cbs_df_cmn_mem_intlv = None + self._cbs_df_cmn_mem_intlv_size = None self._cdn_enable = None self._cdn_support = None self._channel_inter_leave = None @@ -623,6 +677,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._slot_front_slot6link_speed = None self._slot_hba_link_speed = None self._slot_hba_state = None + self._slot_lom1link = None + self._slot_lom2link = None self._slot_mezz_state = None self._slot_mlom_link_speed = None self._slot_mlom_state = None @@ -675,10 +731,13 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._slot_sas_state = None self._slot_ssd_slot1link_speed = None self._slot_ssd_slot2link_speed = None + self._smee = None + self._smt_mode = None self._snc = None self._sparing_mode = None self._sr_iov = None self._streamer_prefetch = None + self._svm_mode = None self._terminal_type = None self._tpm_control = None self._tpm_support = None @@ -693,6 +752,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._usb_port_vmedia = None self._usb_xhci_support = None self._vga_priority = None + self._vmd_enable = None self._work_load_config = None self._xpt_prefetch = None @@ -714,6 +774,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -736,6 +798,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.autonumous_cstate_enable = autonumous_cstate_enable if baud_rate is not None: self.baud_rate = baud_rate + if bme_dma_mitigation is not None: + self.bme_dma_mitigation = bme_dma_mitigation if boot_option_num_retry is not None: self.boot_option_num_retry = boot_option_num_retry if boot_option_re_cool_down is not None: @@ -744,6 +808,30 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.boot_option_retry = boot_option_retry if boot_performance_mode is not None: self.boot_performance_mode = boot_performance_mode + if cbs_cmn_cpu_cpb is not None: + self.cbs_cmn_cpu_cpb = cbs_cmn_cpu_cpb + if cbs_cmn_cpu_gen_downcore_ctrl is not None: + self.cbs_cmn_cpu_gen_downcore_ctrl = cbs_cmn_cpu_gen_downcore_ctrl + if cbs_cmn_cpu_global_cstate_ctrl is not None: + self.cbs_cmn_cpu_global_cstate_ctrl = cbs_cmn_cpu_global_cstate_ctrl + if cbs_cmn_cpu_l1stream_hw_prefetcher is not None: + self.cbs_cmn_cpu_l1stream_hw_prefetcher = cbs_cmn_cpu_l1stream_hw_prefetcher + if cbs_cmn_cpu_l2stream_hw_prefetcher is not None: + self.cbs_cmn_cpu_l2stream_hw_prefetcher = cbs_cmn_cpu_l2stream_hw_prefetcher + if cbs_cmn_determinism_slider is not None: + self.cbs_cmn_determinism_slider = cbs_cmn_determinism_slider + if cbs_cmn_gnb_nb_iommu is not None: + self.cbs_cmn_gnb_nb_iommu = cbs_cmn_gnb_nb_iommu + if cbs_cmn_mem_ctrl_bank_group_swap_ddr4 is not None: + self.cbs_cmn_mem_ctrl_bank_group_swap_ddr4 = cbs_cmn_mem_ctrl_bank_group_swap_ddr4 + if cbs_cmn_mem_map_bank_interleave_ddr4 is not None: + self.cbs_cmn_mem_map_bank_interleave_ddr4 = cbs_cmn_mem_map_bank_interleave_ddr4 + if cbs_cmnc_tdp_ctl is not None: + self.cbs_cmnc_tdp_ctl = cbs_cmnc_tdp_ctl + if cbs_df_cmn_mem_intlv is not None: + self.cbs_df_cmn_mem_intlv = cbs_df_cmn_mem_intlv + if cbs_df_cmn_mem_intlv_size is not None: + self.cbs_df_cmn_mem_intlv_size = cbs_df_cmn_mem_intlv_size if cdn_enable is not None: self.cdn_enable = cdn_enable if cdn_support is not None: @@ -988,6 +1076,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.slot_hba_link_speed = slot_hba_link_speed if slot_hba_state is not None: self.slot_hba_state = slot_hba_state + if slot_lom1link is not None: + self.slot_lom1link = slot_lom1link + if slot_lom2link is not None: + self.slot_lom2link = slot_lom2link if slot_mezz_state is not None: self.slot_mezz_state = slot_mezz_state if slot_mlom_link_speed is not None: @@ -1092,6 +1184,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.slot_ssd_slot1link_speed = slot_ssd_slot1link_speed if slot_ssd_slot2link_speed is not None: self.slot_ssd_slot2link_speed = slot_ssd_slot2link_speed + if smee is not None: + self.smee = smee + if smt_mode is not None: + self.smt_mode = smt_mode if snc is not None: self.snc = snc if sparing_mode is not None: @@ -1100,6 +1196,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.sr_iov = sr_iov if streamer_prefetch is not None: self.streamer_prefetch = streamer_prefetch + if svm_mode is not None: + self.svm_mode = svm_mode if terminal_type is not None: self.terminal_type = terminal_type if tpm_control is not None: @@ -1128,6 +1226,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.usb_xhci_support = usb_xhci_support if vga_priority is not None: self.vga_priority = vga_priority + if vmd_enable is not None: + self.vmd_enable = vmd_enable if work_load_config is not None: self.work_load_config = work_load_config if xpt_prefetch is not None: @@ -1321,7 +1421,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this BiosPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this BiosPolicy. :rtype: list[MoTag] @@ -1332,7 +1432,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this BiosPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this BiosPolicy. :type: list[MoTag] @@ -1340,6 +1440,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this BiosPolicy. + The versioning info for this managed object + + :return: The version_context of this BiosPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this BiosPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this BiosPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ @@ -1622,7 +1745,7 @@ def autonumous_cstate_enable(self, autonumous_cstate_enable): def baud_rate(self): """ Gets the baud_rate of this BiosPolicy. - BIOS Token for setting Bits per second configuration + BIOS Token for setting Baud rate configuration :return: The baud_rate of this BiosPolicy. :rtype: str @@ -1633,7 +1756,7 @@ def baud_rate(self): def baud_rate(self, baud_rate): """ Sets the baud_rate of this BiosPolicy. - BIOS Token for setting Bits per second configuration + BIOS Token for setting Baud rate configuration :param baud_rate: The baud_rate of this BiosPolicy. :type: str @@ -1647,6 +1770,35 @@ def baud_rate(self, baud_rate): self._baud_rate = baud_rate + @property + def bme_dma_mitigation(self): + """ + Gets the bme_dma_mitigation of this BiosPolicy. + BIOS Token for setting BME DMA Mitigation configuration + + :return: The bme_dma_mitigation of this BiosPolicy. + :rtype: str + """ + return self._bme_dma_mitigation + + @bme_dma_mitigation.setter + def bme_dma_mitigation(self, bme_dma_mitigation): + """ + Sets the bme_dma_mitigation of this BiosPolicy. + BIOS Token for setting BME DMA Mitigation configuration + + :param bme_dma_mitigation: The bme_dma_mitigation of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if bme_dma_mitigation not in allowed_values: + raise ValueError( + "Invalid value for `bme_dma_mitigation` ({0}), must be one of {1}" + .format(bme_dma_mitigation, allowed_values) + ) + + self._bme_dma_mitigation = bme_dma_mitigation + @property def boot_option_num_retry(self): """ @@ -1709,7 +1861,7 @@ def boot_option_re_cool_down(self, boot_option_re_cool_down): def boot_option_retry(self): """ Gets the boot_option_retry of this BiosPolicy. - BIOS Token for setting Boot Option Retry configuration + BIOS Token for setting Boot option retry configuration :return: The boot_option_retry of this BiosPolicy. :rtype: str @@ -1720,7 +1872,7 @@ def boot_option_retry(self): def boot_option_retry(self, boot_option_retry): """ Sets the boot_option_retry of this BiosPolicy. - BIOS Token for setting Boot Option Retry configuration + BIOS Token for setting Boot option retry configuration :param boot_option_retry: The boot_option_retry of this BiosPolicy. :type: str @@ -1763,6 +1915,354 @@ def boot_performance_mode(self, boot_performance_mode): self._boot_performance_mode = boot_performance_mode + @property + def cbs_cmn_cpu_cpb(self): + """ + Gets the cbs_cmn_cpu_cpb of this BiosPolicy. + BIOS Token for setting Core Performance Boost configuration + + :return: The cbs_cmn_cpu_cpb of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_cpu_cpb + + @cbs_cmn_cpu_cpb.setter + def cbs_cmn_cpu_cpb(self, cbs_cmn_cpu_cpb): + """ + Sets the cbs_cmn_cpu_cpb of this BiosPolicy. + BIOS Token for setting Core Performance Boost configuration + + :param cbs_cmn_cpu_cpb: The cbs_cmn_cpu_cpb of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled"] + if cbs_cmn_cpu_cpb not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_cpu_cpb` ({0}), must be one of {1}" + .format(cbs_cmn_cpu_cpb, allowed_values) + ) + + self._cbs_cmn_cpu_cpb = cbs_cmn_cpu_cpb + + @property + def cbs_cmn_cpu_gen_downcore_ctrl(self): + """ + Gets the cbs_cmn_cpu_gen_downcore_ctrl of this BiosPolicy. + BIOS Token for setting Downcore control configuration + + :return: The cbs_cmn_cpu_gen_downcore_ctrl of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_cpu_gen_downcore_ctrl + + @cbs_cmn_cpu_gen_downcore_ctrl.setter + def cbs_cmn_cpu_gen_downcore_ctrl(self, cbs_cmn_cpu_gen_downcore_ctrl): + """ + Sets the cbs_cmn_cpu_gen_downcore_ctrl of this BiosPolicy. + BIOS Token for setting Downcore control configuration + + :param cbs_cmn_cpu_gen_downcore_ctrl: The cbs_cmn_cpu_gen_downcore_ctrl of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "FOUR (2 + 2)", "FOUR (4 + 0)", "SIX (3 + 3)", "THREE (3 + 0)", "TWO (1 + 1)", "TWO (2 + 0)"] + if cbs_cmn_cpu_gen_downcore_ctrl not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_cpu_gen_downcore_ctrl` ({0}), must be one of {1}" + .format(cbs_cmn_cpu_gen_downcore_ctrl, allowed_values) + ) + + self._cbs_cmn_cpu_gen_downcore_ctrl = cbs_cmn_cpu_gen_downcore_ctrl + + @property + def cbs_cmn_cpu_global_cstate_ctrl(self): + """ + Gets the cbs_cmn_cpu_global_cstate_ctrl of this BiosPolicy. + BIOS Token for setting Global C-state Control configuration + + :return: The cbs_cmn_cpu_global_cstate_ctrl of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_cpu_global_cstate_ctrl + + @cbs_cmn_cpu_global_cstate_ctrl.setter + def cbs_cmn_cpu_global_cstate_ctrl(self, cbs_cmn_cpu_global_cstate_ctrl): + """ + Sets the cbs_cmn_cpu_global_cstate_ctrl of this BiosPolicy. + BIOS Token for setting Global C-state Control configuration + + :param cbs_cmn_cpu_global_cstate_ctrl: The cbs_cmn_cpu_global_cstate_ctrl of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled", "enabled"] + if cbs_cmn_cpu_global_cstate_ctrl not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_cpu_global_cstate_ctrl` ({0}), must be one of {1}" + .format(cbs_cmn_cpu_global_cstate_ctrl, allowed_values) + ) + + self._cbs_cmn_cpu_global_cstate_ctrl = cbs_cmn_cpu_global_cstate_ctrl + + @property + def cbs_cmn_cpu_l1stream_hw_prefetcher(self): + """ + Gets the cbs_cmn_cpu_l1stream_hw_prefetcher of this BiosPolicy. + BIOS Token for setting L1 Stream HW Prefetcher configuration + + :return: The cbs_cmn_cpu_l1stream_hw_prefetcher of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_cpu_l1stream_hw_prefetcher + + @cbs_cmn_cpu_l1stream_hw_prefetcher.setter + def cbs_cmn_cpu_l1stream_hw_prefetcher(self, cbs_cmn_cpu_l1stream_hw_prefetcher): + """ + Sets the cbs_cmn_cpu_l1stream_hw_prefetcher of this BiosPolicy. + BIOS Token for setting L1 Stream HW Prefetcher configuration + + :param cbs_cmn_cpu_l1stream_hw_prefetcher: The cbs_cmn_cpu_l1stream_hw_prefetcher of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled", "enabled"] + if cbs_cmn_cpu_l1stream_hw_prefetcher not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_cpu_l1stream_hw_prefetcher` ({0}), must be one of {1}" + .format(cbs_cmn_cpu_l1stream_hw_prefetcher, allowed_values) + ) + + self._cbs_cmn_cpu_l1stream_hw_prefetcher = cbs_cmn_cpu_l1stream_hw_prefetcher + + @property + def cbs_cmn_cpu_l2stream_hw_prefetcher(self): + """ + Gets the cbs_cmn_cpu_l2stream_hw_prefetcher of this BiosPolicy. + BIOS Token for setting L2 Stream HW Prefetcher configuration + + :return: The cbs_cmn_cpu_l2stream_hw_prefetcher of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_cpu_l2stream_hw_prefetcher + + @cbs_cmn_cpu_l2stream_hw_prefetcher.setter + def cbs_cmn_cpu_l2stream_hw_prefetcher(self, cbs_cmn_cpu_l2stream_hw_prefetcher): + """ + Sets the cbs_cmn_cpu_l2stream_hw_prefetcher of this BiosPolicy. + BIOS Token for setting L2 Stream HW Prefetcher configuration + + :param cbs_cmn_cpu_l2stream_hw_prefetcher: The cbs_cmn_cpu_l2stream_hw_prefetcher of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled", "enabled"] + if cbs_cmn_cpu_l2stream_hw_prefetcher not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_cpu_l2stream_hw_prefetcher` ({0}), must be one of {1}" + .format(cbs_cmn_cpu_l2stream_hw_prefetcher, allowed_values) + ) + + self._cbs_cmn_cpu_l2stream_hw_prefetcher = cbs_cmn_cpu_l2stream_hw_prefetcher + + @property + def cbs_cmn_determinism_slider(self): + """ + Gets the cbs_cmn_determinism_slider of this BiosPolicy. + BIOS Token for setting Determinism Slider configuration + + :return: The cbs_cmn_determinism_slider of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_determinism_slider + + @cbs_cmn_determinism_slider.setter + def cbs_cmn_determinism_slider(self, cbs_cmn_determinism_slider): + """ + Sets the cbs_cmn_determinism_slider of this BiosPolicy. + BIOS Token for setting Determinism Slider configuration + + :param cbs_cmn_determinism_slider: The cbs_cmn_determinism_slider of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "Performance", "Power"] + if cbs_cmn_determinism_slider not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_determinism_slider` ({0}), must be one of {1}" + .format(cbs_cmn_determinism_slider, allowed_values) + ) + + self._cbs_cmn_determinism_slider = cbs_cmn_determinism_slider + + @property + def cbs_cmn_gnb_nb_iommu(self): + """ + Gets the cbs_cmn_gnb_nb_iommu of this BiosPolicy. + BIOS Token for setting IOMMU configuration + + :return: The cbs_cmn_gnb_nb_iommu of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_gnb_nb_iommu + + @cbs_cmn_gnb_nb_iommu.setter + def cbs_cmn_gnb_nb_iommu(self, cbs_cmn_gnb_nb_iommu): + """ + Sets the cbs_cmn_gnb_nb_iommu of this BiosPolicy. + BIOS Token for setting IOMMU configuration + + :param cbs_cmn_gnb_nb_iommu: The cbs_cmn_gnb_nb_iommu of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled", "enabled"] + if cbs_cmn_gnb_nb_iommu not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_gnb_nb_iommu` ({0}), must be one of {1}" + .format(cbs_cmn_gnb_nb_iommu, allowed_values) + ) + + self._cbs_cmn_gnb_nb_iommu = cbs_cmn_gnb_nb_iommu + + @property + def cbs_cmn_mem_ctrl_bank_group_swap_ddr4(self): + """ + Gets the cbs_cmn_mem_ctrl_bank_group_swap_ddr4 of this BiosPolicy. + BIOS Token for setting Bank Group Swap configuration + + :return: The cbs_cmn_mem_ctrl_bank_group_swap_ddr4 of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_mem_ctrl_bank_group_swap_ddr4 + + @cbs_cmn_mem_ctrl_bank_group_swap_ddr4.setter + def cbs_cmn_mem_ctrl_bank_group_swap_ddr4(self, cbs_cmn_mem_ctrl_bank_group_swap_ddr4): + """ + Sets the cbs_cmn_mem_ctrl_bank_group_swap_ddr4 of this BiosPolicy. + BIOS Token for setting Bank Group Swap configuration + + :param cbs_cmn_mem_ctrl_bank_group_swap_ddr4: The cbs_cmn_mem_ctrl_bank_group_swap_ddr4 of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled", "enabled"] + if cbs_cmn_mem_ctrl_bank_group_swap_ddr4 not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_mem_ctrl_bank_group_swap_ddr4` ({0}), must be one of {1}" + .format(cbs_cmn_mem_ctrl_bank_group_swap_ddr4, allowed_values) + ) + + self._cbs_cmn_mem_ctrl_bank_group_swap_ddr4 = cbs_cmn_mem_ctrl_bank_group_swap_ddr4 + + @property + def cbs_cmn_mem_map_bank_interleave_ddr4(self): + """ + Gets the cbs_cmn_mem_map_bank_interleave_ddr4 of this BiosPolicy. + BIOS Token for setting Chipselect Interleaving configuration + + :return: The cbs_cmn_mem_map_bank_interleave_ddr4 of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmn_mem_map_bank_interleave_ddr4 + + @cbs_cmn_mem_map_bank_interleave_ddr4.setter + def cbs_cmn_mem_map_bank_interleave_ddr4(self, cbs_cmn_mem_map_bank_interleave_ddr4): + """ + Sets the cbs_cmn_mem_map_bank_interleave_ddr4 of this BiosPolicy. + BIOS Token for setting Chipselect Interleaving configuration + + :param cbs_cmn_mem_map_bank_interleave_ddr4: The cbs_cmn_mem_map_bank_interleave_ddr4 of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "disabled"] + if cbs_cmn_mem_map_bank_interleave_ddr4 not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmn_mem_map_bank_interleave_ddr4` ({0}), must be one of {1}" + .format(cbs_cmn_mem_map_bank_interleave_ddr4, allowed_values) + ) + + self._cbs_cmn_mem_map_bank_interleave_ddr4 = cbs_cmn_mem_map_bank_interleave_ddr4 + + @property + def cbs_cmnc_tdp_ctl(self): + """ + Gets the cbs_cmnc_tdp_ctl of this BiosPolicy. + BIOS Token for setting cTDP Control configuration + + :return: The cbs_cmnc_tdp_ctl of this BiosPolicy. + :rtype: str + """ + return self._cbs_cmnc_tdp_ctl + + @cbs_cmnc_tdp_ctl.setter + def cbs_cmnc_tdp_ctl(self, cbs_cmnc_tdp_ctl): + """ + Sets the cbs_cmnc_tdp_ctl of this BiosPolicy. + BIOS Token for setting cTDP Control configuration + + :param cbs_cmnc_tdp_ctl: The cbs_cmnc_tdp_ctl of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "Manual"] + if cbs_cmnc_tdp_ctl not in allowed_values: + raise ValueError( + "Invalid value for `cbs_cmnc_tdp_ctl` ({0}), must be one of {1}" + .format(cbs_cmnc_tdp_ctl, allowed_values) + ) + + self._cbs_cmnc_tdp_ctl = cbs_cmnc_tdp_ctl + + @property + def cbs_df_cmn_mem_intlv(self): + """ + Gets the cbs_df_cmn_mem_intlv of this BiosPolicy. + BIOS Token for setting Memory interleaving configuration + + :return: The cbs_df_cmn_mem_intlv of this BiosPolicy. + :rtype: str + """ + return self._cbs_df_cmn_mem_intlv + + @cbs_df_cmn_mem_intlv.setter + def cbs_df_cmn_mem_intlv(self, cbs_df_cmn_mem_intlv): + """ + Sets the cbs_df_cmn_mem_intlv of this BiosPolicy. + BIOS Token for setting Memory interleaving configuration + + :param cbs_df_cmn_mem_intlv: The cbs_df_cmn_mem_intlv of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "Channel", "Die", "None", "Socket"] + if cbs_df_cmn_mem_intlv not in allowed_values: + raise ValueError( + "Invalid value for `cbs_df_cmn_mem_intlv` ({0}), must be one of {1}" + .format(cbs_df_cmn_mem_intlv, allowed_values) + ) + + self._cbs_df_cmn_mem_intlv = cbs_df_cmn_mem_intlv + + @property + def cbs_df_cmn_mem_intlv_size(self): + """ + Gets the cbs_df_cmn_mem_intlv_size of this BiosPolicy. + BIOS Token for setting Memory interleaving size configuration + + :return: The cbs_df_cmn_mem_intlv_size of this BiosPolicy. + :rtype: str + """ + return self._cbs_df_cmn_mem_intlv_size + + @cbs_df_cmn_mem_intlv_size.setter + def cbs_df_cmn_mem_intlv_size(self, cbs_df_cmn_mem_intlv_size): + """ + Sets the cbs_df_cmn_mem_intlv_size of this BiosPolicy. + BIOS Token for setting Memory interleaving size configuration + + :param cbs_df_cmn_mem_intlv_size: The cbs_df_cmn_mem_intlv_size of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "1 KB", "2 KB", "256 Bytes", "512 Bytes", "Auto"] + if cbs_df_cmn_mem_intlv_size not in allowed_values: + raise ValueError( + "Invalid value for `cbs_df_cmn_mem_intlv_size` ({0}), must be one of {1}" + .format(cbs_df_cmn_mem_intlv_size, allowed_values) + ) + + self._cbs_df_cmn_mem_intlv_size = cbs_df_cmn_mem_intlv_size + @property def cdn_enable(self): """ @@ -1796,7 +2296,7 @@ def cdn_enable(self, cdn_enable): def cdn_support(self): """ Gets the cdn_support of this BiosPolicy. - BIOS Token for setting CDN Support configuration + BIOS Token for setting CDN Support for LOM configuration :return: The cdn_support of this BiosPolicy. :rtype: str @@ -1807,12 +2307,12 @@ def cdn_support(self): def cdn_support(self, cdn_support): """ Sets the cdn_support of this BiosPolicy. - BIOS Token for setting CDN Support configuration + BIOS Token for setting CDN Support for LOM configuration :param cdn_support: The cdn_support of this BiosPolicy. :type: str """ - allowed_values = ["platform-default", "Disabled", "LOMs Only"] + allowed_values = ["platform-default", "disabled", "enabled", "LOMs Only"] if cdn_support not in allowed_values: raise ValueError( "Invalid value for `cdn_support` ({0}), must be one of {1}" @@ -1941,7 +2441,7 @@ def cmci_enable(self, cmci_enable): def config_tdp(self): """ Gets the config_tdp of this BiosPolicy. - BIOS Token for setting ConfigTDP configuration + BIOS Token for setting Config TDP configuration :return: The config_tdp of this BiosPolicy. :rtype: str @@ -1952,7 +2452,7 @@ def config_tdp(self): def config_tdp(self, config_tdp): """ Sets the config_tdp of this BiosPolicy. - BIOS Token for setting ConfigTDP configuration + BIOS Token for setting Config TDP configuration :param config_tdp: The config_tdp of this BiosPolicy. :type: str @@ -1970,7 +2470,7 @@ def config_tdp(self, config_tdp): def console_redirection(self): """ Gets the console_redirection of this BiosPolicy. - BIOS Token for setting Console Redirection configuration + BIOS Token for setting Console redirection configuration :return: The console_redirection of this BiosPolicy. :rtype: str @@ -1981,7 +2481,7 @@ def console_redirection(self): def console_redirection(self, console_redirection): """ Sets the console_redirection of this BiosPolicy. - BIOS Token for setting Console Redirection configuration + BIOS Token for setting Console redirection configuration :param console_redirection: The console_redirection of this BiosPolicy. :type: str @@ -1999,7 +2499,7 @@ def console_redirection(self, console_redirection): def core_multi_processing(self): """ Gets the core_multi_processing of this BiosPolicy. - BIOS Token for setting Number of Enabled Cores configuration + BIOS Token for setting Core MultiProcessing configuration :return: The core_multi_processing of this BiosPolicy. :rtype: str @@ -2010,7 +2510,7 @@ def core_multi_processing(self): def core_multi_processing(self, core_multi_processing): """ Sets the core_multi_processing of this BiosPolicy. - BIOS Token for setting Number of Enabled Cores configuration + BIOS Token for setting Core MultiProcessing configuration :param core_multi_processing: The core_multi_processing of this BiosPolicy. :type: str @@ -2231,7 +2731,7 @@ def dram_clock_throttling(self, dram_clock_throttling): def dram_refresh_rate(self): """ Gets the dram_refresh_rate of this BiosPolicy. - BIOS Token for setting DRAM Refresh rate configuration + BIOS Token for setting DRAM Refresh Rate configuration :return: The dram_refresh_rate of this BiosPolicy. :rtype: str @@ -2242,7 +2742,7 @@ def dram_refresh_rate(self): def dram_refresh_rate(self, dram_refresh_rate): """ Sets the dram_refresh_rate of this BiosPolicy. - BIOS Token for setting DRAM Refresh rate configuration + BIOS Token for setting DRAM Refresh Rate configuration :param dram_refresh_rate: The dram_refresh_rate of this BiosPolicy. :type: str @@ -2289,7 +2789,7 @@ def energy_efficient_turbo(self, energy_efficient_turbo): def eng_perf_tuning(self): """ Gets the eng_perf_tuning of this BiosPolicy. - BIOS Token for setting EngPerfTuning configuration + BIOS Token for setting Energy Performance Tuning configuration :return: The eng_perf_tuning of this BiosPolicy. :rtype: str @@ -2300,7 +2800,7 @@ def eng_perf_tuning(self): def eng_perf_tuning(self, eng_perf_tuning): """ Sets the eng_perf_tuning of this BiosPolicy. - BIOS Token for setting EngPerfTuning configuration + BIOS Token for setting Energy Performance Tuning configuration :param eng_perf_tuning: The eng_perf_tuning of this BiosPolicy. :type: str @@ -2376,7 +2876,7 @@ def epp_profile(self, epp_profile): def execute_disable_bit(self): """ Gets the execute_disable_bit of this BiosPolicy. - BIOS Token for setting Execute Disable configuration + BIOS Token for setting Execute Disable Bit configuration :return: The execute_disable_bit of this BiosPolicy. :rtype: str @@ -2387,7 +2887,7 @@ def execute_disable_bit(self): def execute_disable_bit(self, execute_disable_bit): """ Sets the execute_disable_bit of this BiosPolicy. - BIOS Token for setting Execute Disable configuration + BIOS Token for setting Execute Disable Bit configuration :param execute_disable_bit: The execute_disable_bit of this BiosPolicy. :type: str @@ -2405,7 +2905,7 @@ def execute_disable_bit(self, execute_disable_bit): def extended_apic(self): """ Gets the extended_apic of this BiosPolicy. - BIOS Token for setting Extended APIC configuration + BIOS Token for setting Local X2 Apic configuration :return: The extended_apic of this BiosPolicy. :rtype: str @@ -2416,7 +2916,7 @@ def extended_apic(self): def extended_apic(self, extended_apic): """ Sets the extended_apic of this BiosPolicy. - BIOS Token for setting Extended APIC configuration + BIOS Token for setting Local X2 Apic configuration :param extended_apic: The extended_apic of this BiosPolicy. :type: str @@ -2521,7 +3021,7 @@ def hardware_prefetch(self, hardware_prefetch): def hwpm_enable(self): """ Gets the hwpm_enable of this BiosPolicy. - BIOS Token for setting HWPMEnable configuration + BIOS Token for setting CPU Hardware Power Management configuration :return: The hwpm_enable of this BiosPolicy. :rtype: str @@ -2532,7 +3032,7 @@ def hwpm_enable(self): def hwpm_enable(self, hwpm_enable): """ Sets the hwpm_enable of this BiosPolicy. - BIOS Token for setting HWPMEnable configuration + BIOS Token for setting CPU Hardware Power Management configuration :param hwpm_enable: The hwpm_enable of this BiosPolicy. :type: str @@ -2579,7 +3079,7 @@ def imc_interleave(self, imc_interleave): def intel_hyper_threading_tech(self): """ Gets the intel_hyper_threading_tech of this BiosPolicy. - BIOS Token for setting Intel(R) Hyper-Threading Technology configuration + BIOS Token for setting Intel HyperThreading Tech configuration :return: The intel_hyper_threading_tech of this BiosPolicy. :rtype: str @@ -2590,7 +3090,7 @@ def intel_hyper_threading_tech(self): def intel_hyper_threading_tech(self, intel_hyper_threading_tech): """ Sets the intel_hyper_threading_tech of this BiosPolicy. - BIOS Token for setting Intel(R) Hyper-Threading Technology configuration + BIOS Token for setting Intel HyperThreading Tech configuration :param intel_hyper_threading_tech: The intel_hyper_threading_tech of this BiosPolicy. :type: str @@ -2608,7 +3108,7 @@ def intel_hyper_threading_tech(self, intel_hyper_threading_tech): def intel_turbo_boost_tech(self): """ Gets the intel_turbo_boost_tech of this BiosPolicy. - BIOS Token for setting Intel(R) Turbo Boost Technology configuration + BIOS Token for setting Intel Turbo Boost Tech configuration :return: The intel_turbo_boost_tech of this BiosPolicy. :rtype: str @@ -2619,7 +3119,7 @@ def intel_turbo_boost_tech(self): def intel_turbo_boost_tech(self, intel_turbo_boost_tech): """ Sets the intel_turbo_boost_tech of this BiosPolicy. - BIOS Token for setting Intel(R) Turbo Boost Technology configuration + BIOS Token for setting Intel Turbo Boost Tech configuration :param intel_turbo_boost_tech: The intel_turbo_boost_tech of this BiosPolicy. :type: str @@ -2666,7 +3166,7 @@ def intel_virtualization_technology(self, intel_virtualization_technology): def intel_vt_for_directed_io(self): """ Gets the intel_vt_for_directed_io of this BiosPolicy. - BIOS Token for setting Intel(R) VT for Directed IO configuration + BIOS Token for setting Intel VT for directed IO configuration :return: The intel_vt_for_directed_io of this BiosPolicy. :rtype: str @@ -2677,7 +3177,7 @@ def intel_vt_for_directed_io(self): def intel_vt_for_directed_io(self, intel_vt_for_directed_io): """ Sets the intel_vt_for_directed_io of this BiosPolicy. - BIOS Token for setting Intel(R) VT for Directed IO configuration + BIOS Token for setting Intel VT for directed IO configuration :param intel_vt_for_directed_io: The intel_vt_for_directed_io of this BiosPolicy. :type: str @@ -2753,7 +3253,7 @@ def intel_vtd_interrupt_remapping(self, intel_vtd_interrupt_remapping): def intel_vtd_pass_through_dma_support(self): """ Gets the intel_vtd_pass_through_dma_support of this BiosPolicy. - BIOS Token for setting Intel(R) VT-d PassThrough DMA configuration + BIOS Token for setting Intel(R) VT-d PassThrough DMA support configuration :return: The intel_vtd_pass_through_dma_support of this BiosPolicy. :rtype: str @@ -2764,7 +3264,7 @@ def intel_vtd_pass_through_dma_support(self): def intel_vtd_pass_through_dma_support(self, intel_vtd_pass_through_dma_support): """ Sets the intel_vtd_pass_through_dma_support of this BiosPolicy. - BIOS Token for setting Intel(R) VT-d PassThrough DMA configuration + BIOS Token for setting Intel(R) VT-d PassThrough DMA support configuration :param intel_vtd_pass_through_dma_support: The intel_vtd_pass_through_dma_support of this BiosPolicy. :type: str @@ -2782,7 +3282,7 @@ def intel_vtd_pass_through_dma_support(self, intel_vtd_pass_through_dma_support) def intel_vtdats_support(self): """ Gets the intel_vtdats_support of this BiosPolicy. - BIOS Token for setting Intel(R) VT-d ATS Support configuration + BIOS Token for setting Intel VTD ATS support configuration :return: The intel_vtdats_support of this BiosPolicy. :rtype: str @@ -2793,7 +3293,7 @@ def intel_vtdats_support(self): def intel_vtdats_support(self, intel_vtdats_support): """ Sets the intel_vtdats_support of this BiosPolicy. - BIOS Token for setting Intel(R) VT-d ATS Support configuration + BIOS Token for setting Intel VTD ATS support configuration :param intel_vtdats_support: The intel_vtdats_support of this BiosPolicy. :type: str @@ -2956,7 +3456,7 @@ def kti_prefetch(self, kti_prefetch): def legacy_os_redirection(self): """ Gets the legacy_os_redirection of this BiosPolicy. - BIOS Token for setting Legacy OS Redirection configuration + BIOS Token for setting Legacy OS redirection configuration :return: The legacy_os_redirection of this BiosPolicy. :rtype: str @@ -2967,7 +3467,7 @@ def legacy_os_redirection(self): def legacy_os_redirection(self, legacy_os_redirection): """ Sets the legacy_os_redirection of this BiosPolicy. - BIOS Token for setting Legacy OS Redirection configuration + BIOS Token for setting Legacy OS redirection configuration :param legacy_os_redirection: The legacy_os_redirection of this BiosPolicy. :type: str @@ -3072,7 +3572,7 @@ def lom_port0state(self, lom_port0state): def lom_port1state(self): """ Gets the lom_port1state of this BiosPolicy. - BIOS Token for setting LOM Port 1 OptionROM configuration + BIOS Token for setting LOM Port 1 OptionRom configuration :return: The lom_port1state of this BiosPolicy. :rtype: str @@ -3083,7 +3583,7 @@ def lom_port1state(self): def lom_port1state(self, lom_port1state): """ Sets the lom_port1state of this BiosPolicy. - BIOS Token for setting LOM Port 1 OptionROM configuration + BIOS Token for setting LOM Port 1 OptionRom configuration :param lom_port1state: The lom_port1state of this BiosPolicy. :type: str @@ -3101,7 +3601,7 @@ def lom_port1state(self, lom_port1state): def lom_port2state(self): """ Gets the lom_port2state of this BiosPolicy. - BIOS Token for setting LOM Port 2 OptionROM configuration + BIOS Token for setting LOM Port 2 OptionRom configuration :return: The lom_port2state of this BiosPolicy. :rtype: str @@ -3112,7 +3612,7 @@ def lom_port2state(self): def lom_port2state(self, lom_port2state): """ Sets the lom_port2state of this BiosPolicy. - BIOS Token for setting LOM Port 2 OptionROM configuration + BIOS Token for setting LOM Port 2 OptionRom configuration :param lom_port2state: The lom_port2state of this BiosPolicy. :type: str @@ -3130,7 +3630,7 @@ def lom_port2state(self, lom_port2state): def lom_port3state(self): """ Gets the lom_port3state of this BiosPolicy. - BIOS Token for setting LOM Port 3 OptionROM configuration + BIOS Token for setting LOM Port 3 OptionRom configuration :return: The lom_port3state of this BiosPolicy. :rtype: str @@ -3141,7 +3641,7 @@ def lom_port3state(self): def lom_port3state(self, lom_port3state): """ Sets the lom_port3state of this BiosPolicy. - BIOS Token for setting LOM Port 3 OptionROM configuration + BIOS Token for setting LOM Port 3 OptionRom configuration :param lom_port3state: The lom_port3state of this BiosPolicy. :type: str @@ -3275,7 +3775,7 @@ def memory_inter_leave(self, memory_inter_leave): def memory_mapped_io_above4gb(self): """ Gets the memory_mapped_io_above4gb of this BiosPolicy. - BIOS Token for setting MMIO above 4GB configuration + BIOS Token for setting Memory mapped IO above 4GB configuration :return: The memory_mapped_io_above4gb of this BiosPolicy. :rtype: str @@ -3286,7 +3786,7 @@ def memory_mapped_io_above4gb(self): def memory_mapped_io_above4gb(self, memory_mapped_io_above4gb): """ Sets the memory_mapped_io_above4gb of this BiosPolicy. - BIOS Token for setting MMIO above 4GB configuration + BIOS Token for setting Memory mapped IO above 4GB configuration :param memory_mapped_io_above4gb: The memory_mapped_io_above4gb of this BiosPolicy. :type: str @@ -3362,7 +3862,7 @@ def mmcfg_base(self, mmcfg_base): def numa_optimized(self): """ Gets the numa_optimized of this BiosPolicy. - BIOS Token for setting NUMA configuration + BIOS Token for setting NUMA optimized configuration :return: The numa_optimized of this BiosPolicy. :rtype: str @@ -3373,7 +3873,7 @@ def numa_optimized(self): def numa_optimized(self, numa_optimized): """ Sets the numa_optimized of this BiosPolicy. - BIOS Token for setting NUMA configuration + BIOS Token for setting NUMA optimized configuration :param numa_optimized: The numa_optimized of this BiosPolicy. :type: str @@ -3530,7 +4030,7 @@ def organization(self, organization): def os_boot_watchdog_timer(self): """ Gets the os_boot_watchdog_timer of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer configuration + BIOS Token for setting OS Boot Watchdog Timer configuration :return: The os_boot_watchdog_timer of this BiosPolicy. :rtype: str @@ -3541,7 +4041,7 @@ def os_boot_watchdog_timer(self): def os_boot_watchdog_timer(self, os_boot_watchdog_timer): """ Sets the os_boot_watchdog_timer of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer configuration + BIOS Token for setting OS Boot Watchdog Timer configuration :param os_boot_watchdog_timer: The os_boot_watchdog_timer of this BiosPolicy. :type: str @@ -3559,7 +4059,7 @@ def os_boot_watchdog_timer(self, os_boot_watchdog_timer): def os_boot_watchdog_timer_policy(self): """ Gets the os_boot_watchdog_timer_policy of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer Policy configuration + BIOS Token for setting OS Boot Watchdog Timer Policy configuration :return: The os_boot_watchdog_timer_policy of this BiosPolicy. :rtype: str @@ -3570,7 +4070,7 @@ def os_boot_watchdog_timer_policy(self): def os_boot_watchdog_timer_policy(self, os_boot_watchdog_timer_policy): """ Sets the os_boot_watchdog_timer_policy of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer Policy configuration + BIOS Token for setting OS Boot Watchdog Timer Policy configuration :param os_boot_watchdog_timer_policy: The os_boot_watchdog_timer_policy of this BiosPolicy. :type: str @@ -3588,7 +4088,7 @@ def os_boot_watchdog_timer_policy(self, os_boot_watchdog_timer_policy): def os_boot_watchdog_timer_timeout(self): """ Gets the os_boot_watchdog_timer_timeout of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer Timeout configuration + BIOS Token for setting OS Boot Watchdog Timer Timeout configuration :return: The os_boot_watchdog_timer_timeout of this BiosPolicy. :rtype: str @@ -3599,7 +4099,7 @@ def os_boot_watchdog_timer_timeout(self): def os_boot_watchdog_timer_timeout(self, os_boot_watchdog_timer_timeout): """ Sets the os_boot_watchdog_timer_timeout of this BiosPolicy. - BIOS Token for setting OS Watchdog Timer Timeout configuration + BIOS Token for setting OS Boot Watchdog Timer Timeout configuration :param os_boot_watchdog_timer_timeout: The os_boot_watchdog_timer_timeout of this BiosPolicy. :type: str @@ -3849,7 +4349,7 @@ def pci_rom_clp(self, pci_rom_clp): def pop_support(self): """ Gets the pop_support of this BiosPolicy. - BIOS Token for setting Power ON Password Support configuration + BIOS Token for setting Power ON Password configuration :return: The pop_support of this BiosPolicy. :rtype: str @@ -3860,7 +4360,7 @@ def pop_support(self): def pop_support(self, pop_support): """ Sets the pop_support of this BiosPolicy. - BIOS Token for setting Power ON Password Support configuration + BIOS Token for setting Power ON Password configuration :param pop_support: The pop_support of this BiosPolicy. :type: str @@ -3907,7 +4407,7 @@ def post_error_pause(self, post_error_pause): def processor_c1e(self): """ Gets the processor_c1e of this BiosPolicy. - BIOS Token for setting Processor Power state C1 Enhanced configuration + BIOS Token for setting Processor C1E configuration :return: The processor_c1e of this BiosPolicy. :rtype: str @@ -3918,7 +4418,7 @@ def processor_c1e(self): def processor_c1e(self, processor_c1e): """ Sets the processor_c1e of this BiosPolicy. - BIOS Token for setting Processor Power state C1 Enhanced configuration + BIOS Token for setting Processor C1E configuration :param processor_c1e: The processor_c1e of this BiosPolicy. :type: str @@ -3965,7 +4465,7 @@ def processor_c3report(self, processor_c3report): def processor_c6report(self): """ Gets the processor_c6report of this BiosPolicy. - BIOS Token for setting Processor Power state C6 configuration + BIOS Token for setting Processor C6 Report configuration :return: The processor_c6report of this BiosPolicy. :rtype: str @@ -3976,7 +4476,7 @@ def processor_c6report(self): def processor_c6report(self, processor_c6report): """ Sets the processor_c6report of this BiosPolicy. - BIOS Token for setting Processor Power state C6 configuration + BIOS Token for setting Processor C6 Report configuration :param processor_c6report: The processor_c6report of this BiosPolicy. :type: str @@ -4133,7 +4633,7 @@ def putty_key_pad(self, putty_key_pad): def pwr_perf_tuning(self): """ Gets the pwr_perf_tuning of this BiosPolicy. - BIOS Token for setting Energy Performance Tuning configuration + BIOS Token for setting Power Performance Tuning configuration :return: The pwr_perf_tuning of this BiosPolicy. :rtype: str @@ -4144,7 +4644,7 @@ def pwr_perf_tuning(self): def pwr_perf_tuning(self, pwr_perf_tuning): """ Sets the pwr_perf_tuning of this BiosPolicy. - BIOS Token for setting Energy Performance Tuning configuration + BIOS Token for setting Power Performance Tuning configuration :param pwr_perf_tuning: The pwr_perf_tuning of this BiosPolicy. :type: str @@ -4178,7 +4678,7 @@ def qpi_link_frequency(self, qpi_link_frequency): :param qpi_link_frequency: The qpi_link_frequency of this BiosPolicy. :type: str """ - allowed_values = ["platform-default", "6.4-gt/s", "7.2-gt/s", "8.0-gt/s", "auto"] + allowed_values = ["platform-default", "6.4-gt/s", "7.2-gt/s", "8.0-gt/s", "9.6-gt/s", "auto"] if qpi_link_frequency not in allowed_values: raise ValueError( "Invalid value for `qpi_link_frequency` ({0}), must be one of {1}" @@ -4278,7 +4778,7 @@ def redirection_after_post(self, redirection_after_post): def sata_mode_select(self): """ Gets the sata_mode_select of this BiosPolicy. - BIOS Token for setting PCH SATA Mode configuration + BIOS Token for setting SATA mode configuration :return: The sata_mode_select of this BiosPolicy. :rtype: str @@ -4289,7 +4789,7 @@ def sata_mode_select(self): def sata_mode_select(self, sata_mode_select): """ Sets the sata_mode_select of this BiosPolicy. - BIOS Token for setting PCH SATA Mode configuration + BIOS Token for setting SATA mode configuration :param sata_mode_select: The sata_mode_select of this BiosPolicy. :type: str @@ -4307,7 +4807,7 @@ def sata_mode_select(self, sata_mode_select): def select_memory_ras_configuration(self): """ Gets the select_memory_ras_configuration of this BiosPolicy. - BIOS Token for setting Select Memory RAS configuration + BIOS Token for setting SelectMemory RAS configuration configuration :return: The select_memory_ras_configuration of this BiosPolicy. :rtype: str @@ -4318,7 +4818,7 @@ def select_memory_ras_configuration(self): def select_memory_ras_configuration(self, select_memory_ras_configuration): """ Sets the select_memory_ras_configuration of this BiosPolicy. - BIOS Token for setting Select Memory RAS configuration + BIOS Token for setting SelectMemory RAS configuration configuration :param select_memory_ras_configuration: The select_memory_ras_configuration of this BiosPolicy. :type: str @@ -4365,7 +4865,7 @@ def serial_port_aenable(self, serial_port_aenable): def single_pctl_enable(self): """ Gets the single_pctl_enable of this BiosPolicy. - BIOS Token for setting SINGLE_PCTL configuration + BIOS Token for setting Single PCTL configuration :return: The single_pctl_enable of this BiosPolicy. :rtype: str @@ -4376,7 +4876,7 @@ def single_pctl_enable(self): def single_pctl_enable(self, single_pctl_enable): """ Sets the single_pctl_enable of this BiosPolicy. - BIOS Token for setting SINGLE_PCTL configuration + BIOS Token for setting Single PCTL configuration :param single_pctl_enable: The single_pctl_enable of this BiosPolicy. :type: str @@ -4423,7 +4923,7 @@ def slot10link_speed(self, slot10link_speed): def slot10state(self): """ Gets the slot10state of this BiosPolicy. - BIOS Token for setting PCIe Slot:10 OptionROM configuration + BIOS Token for setting Slot 10 state configuration :return: The slot10state of this BiosPolicy. :rtype: str @@ -4434,7 +4934,7 @@ def slot10state(self): def slot10state(self, slot10state): """ Sets the slot10state of this BiosPolicy. - BIOS Token for setting PCIe Slot:10 OptionROM configuration + BIOS Token for setting Slot 10 state configuration :param slot10state: The slot10state of this BiosPolicy. :type: str @@ -4597,7 +5097,7 @@ def slot1link_speed(self, slot1link_speed): def slot1state(self): """ Gets the slot1state of this BiosPolicy. - BIOS Token for setting PCIe Slot:1 OptionROM configuration + BIOS Token for setting Slot 1 state configuration :return: The slot1state of this BiosPolicy. :rtype: str @@ -4608,7 +5108,7 @@ def slot1state(self): def slot1state(self, slot1state): """ Sets the slot1state of this BiosPolicy. - BIOS Token for setting PCIe Slot:1 OptionROM configuration + BIOS Token for setting Slot 1 state configuration :param slot1state: The slot1state of this BiosPolicy. :type: str @@ -4655,7 +5155,7 @@ def slot2link_speed(self, slot2link_speed): def slot2state(self): """ Gets the slot2state of this BiosPolicy. - BIOS Token for setting PCIe Slot:2 OptionROM configuration + BIOS Token for setting Slot 2 state configuration :return: The slot2state of this BiosPolicy. :rtype: str @@ -4666,7 +5166,7 @@ def slot2state(self): def slot2state(self, slot2state): """ Sets the slot2state of this BiosPolicy. - BIOS Token for setting PCIe Slot:2 OptionROM configuration + BIOS Token for setting Slot 2 state configuration :param slot2state: The slot2state of this BiosPolicy. :type: str @@ -4713,7 +5213,7 @@ def slot3link_speed(self, slot3link_speed): def slot3state(self): """ Gets the slot3state of this BiosPolicy. - BIOS Token for setting PCIe Slot:3 OptionROM configuration + BIOS Token for setting Slot 3 state configuration :return: The slot3state of this BiosPolicy. :rtype: str @@ -4724,7 +5224,7 @@ def slot3state(self): def slot3state(self, slot3state): """ Sets the slot3state of this BiosPolicy. - BIOS Token for setting PCIe Slot:3 OptionROM configuration + BIOS Token for setting Slot 3 state configuration :param slot3state: The slot3state of this BiosPolicy. :type: str @@ -4771,7 +5271,7 @@ def slot4link_speed(self, slot4link_speed): def slot4state(self): """ Gets the slot4state of this BiosPolicy. - BIOS Token for setting PCIe Slot:4 OptionROM configuration + BIOS Token for setting Slot 4 state configuration :return: The slot4state of this BiosPolicy. :rtype: str @@ -4782,7 +5282,7 @@ def slot4state(self): def slot4state(self, slot4state): """ Sets the slot4state of this BiosPolicy. - BIOS Token for setting PCIe Slot:4 OptionROM configuration + BIOS Token for setting Slot 4 state configuration :param slot4state: The slot4state of this BiosPolicy. :type: str @@ -4829,7 +5329,7 @@ def slot5link_speed(self, slot5link_speed): def slot5state(self): """ Gets the slot5state of this BiosPolicy. - BIOS Token for setting PCIe Slot:5 OptionROM configuration + BIOS Token for setting Slot 5 state configuration :return: The slot5state of this BiosPolicy. :rtype: str @@ -4840,7 +5340,7 @@ def slot5state(self): def slot5state(self, slot5state): """ Sets the slot5state of this BiosPolicy. - BIOS Token for setting PCIe Slot:5 OptionROM configuration + BIOS Token for setting Slot 5 state configuration :param slot5state: The slot5state of this BiosPolicy. :type: str @@ -4887,7 +5387,7 @@ def slot6link_speed(self, slot6link_speed): def slot6state(self): """ Gets the slot6state of this BiosPolicy. - BIOS Token for setting PCIe Slot:6 OptionROM configuration + BIOS Token for setting Slot 6 state configuration :return: The slot6state of this BiosPolicy. :rtype: str @@ -4898,7 +5398,7 @@ def slot6state(self): def slot6state(self, slot6state): """ Sets the slot6state of this BiosPolicy. - BIOS Token for setting PCIe Slot:6 OptionROM configuration + BIOS Token for setting Slot 6 state configuration :param slot6state: The slot6state of this BiosPolicy. :type: str @@ -4945,7 +5445,7 @@ def slot7link_speed(self, slot7link_speed): def slot7state(self): """ Gets the slot7state of this BiosPolicy. - BIOS Token for setting PCIe Slot:7 OptionROM configuration + BIOS Token for setting Slot 7 state configuration :return: The slot7state of this BiosPolicy. :rtype: str @@ -4956,7 +5456,7 @@ def slot7state(self): def slot7state(self, slot7state): """ Sets the slot7state of this BiosPolicy. - BIOS Token for setting PCIe Slot:7 OptionROM configuration + BIOS Token for setting Slot 7 state configuration :param slot7state: The slot7state of this BiosPolicy. :type: str @@ -5003,7 +5503,7 @@ def slot8link_speed(self, slot8link_speed): def slot8state(self): """ Gets the slot8state of this BiosPolicy. - BIOS Token for setting PCIe Slot:8 OptionROM configuration + BIOS Token for setting Slot 8 state configuration :return: The slot8state of this BiosPolicy. :rtype: str @@ -5014,7 +5514,7 @@ def slot8state(self): def slot8state(self, slot8state): """ Sets the slot8state of this BiosPolicy. - BIOS Token for setting PCIe Slot:8 OptionROM configuration + BIOS Token for setting Slot 8 state configuration :param slot8state: The slot8state of this BiosPolicy. :type: str @@ -5061,7 +5561,7 @@ def slot9link_speed(self, slot9link_speed): def slot9state(self): """ Gets the slot9state of this BiosPolicy. - BIOS Token for setting PCIe Slot:9 OptionROM configuration + BIOS Token for setting Slot 9 state configuration :return: The slot9state of this BiosPolicy. :rtype: str @@ -5072,7 +5572,7 @@ def slot9state(self): def slot9state(self, slot9state): """ Sets the slot9state of this BiosPolicy. - BIOS Token for setting PCIe Slot:9 OptionROM configuration + BIOS Token for setting Slot 9 state configuration :param slot9state: The slot9state of this BiosPolicy. :type: str @@ -5090,7 +5590,7 @@ def slot9state(self, slot9state): def slot_flom_link_speed(self): """ Gets the slot_flom_link_speed of this BiosPolicy. - BIOS Token for setting PCIe Slot:MLOM Link Speed configuration + BIOS Token for setting PCIe Slot:FLOM Link Speed configuration :return: The slot_flom_link_speed of this BiosPolicy. :rtype: str @@ -5101,7 +5601,7 @@ def slot_flom_link_speed(self): def slot_flom_link_speed(self, slot_flom_link_speed): """ Sets the slot_flom_link_speed of this BiosPolicy. - BIOS Token for setting PCIe Slot:MLOM Link Speed configuration + BIOS Token for setting PCIe Slot:FLOM Link Speed configuration :param slot_flom_link_speed: The slot_flom_link_speed of this BiosPolicy. :type: str @@ -5289,11 +5789,69 @@ def slot_hba_state(self, slot_hba_state): self._slot_hba_state = slot_hba_state + @property + def slot_lom1link(self): + """ + Gets the slot_lom1link of this BiosPolicy. + BIOS Token for setting PCIe LOM:1 Link configuration + + :return: The slot_lom1link of this BiosPolicy. + :rtype: str + """ + return self._slot_lom1link + + @slot_lom1link.setter + def slot_lom1link(self, slot_lom1link): + """ + Sets the slot_lom1link of this BiosPolicy. + BIOS Token for setting PCIe LOM:1 Link configuration + + :param slot_lom1link: The slot_lom1link of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if slot_lom1link not in allowed_values: + raise ValueError( + "Invalid value for `slot_lom1link` ({0}), must be one of {1}" + .format(slot_lom1link, allowed_values) + ) + + self._slot_lom1link = slot_lom1link + + @property + def slot_lom2link(self): + """ + Gets the slot_lom2link of this BiosPolicy. + BIOS Token for setting PCIe LOM:2 Link configuration + + :return: The slot_lom2link of this BiosPolicy. + :rtype: str + """ + return self._slot_lom2link + + @slot_lom2link.setter + def slot_lom2link(self, slot_lom2link): + """ + Sets the slot_lom2link of this BiosPolicy. + BIOS Token for setting PCIe LOM:2 Link configuration + + :param slot_lom2link: The slot_lom2link of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if slot_lom2link not in allowed_values: + raise ValueError( + "Invalid value for `slot_lom2link` ({0}), must be one of {1}" + .format(slot_lom2link, allowed_values) + ) + + self._slot_lom2link = slot_lom2link + @property def slot_mezz_state(self): """ Gets the slot_mezz_state of this BiosPolicy. - BIOS Token for setting PCIe Mezzanine OptionROM configuration + BIOS Token for setting Slot Mezz state configuration :return: The slot_mezz_state of this BiosPolicy. :rtype: str @@ -5304,7 +5862,7 @@ def slot_mezz_state(self): def slot_mezz_state(self, slot_mezz_state): """ Sets the slot_mezz_state of this BiosPolicy. - BIOS Token for setting PCIe Mezzanine OptionROM configuration + BIOS Token for setting Slot Mezz state configuration :param slot_mezz_state: The slot_mezz_state of this BiosPolicy. :type: str @@ -5351,7 +5909,7 @@ def slot_mlom_link_speed(self, slot_mlom_link_speed): def slot_mlom_state(self): """ Gets the slot_mlom_state of this BiosPolicy. - BIOS Token for setting PCIe Slot:MLOM OptionROM configuration + BIOS Token for setting PCIe Slot MLOM OptionROM configuration :return: The slot_mlom_state of this BiosPolicy. :rtype: str @@ -5362,7 +5920,7 @@ def slot_mlom_state(self): def slot_mlom_state(self, slot_mlom_state): """ Sets the slot_mlom_state of this BiosPolicy. - BIOS Token for setting PCIe Slot:MLOM OptionROM configuration + BIOS Token for setting PCIe Slot MLOM OptionROM configuration :param slot_mlom_state: The slot_mlom_state of this BiosPolicy. :type: str @@ -5728,7 +6286,7 @@ def slot_n19state(self, slot_n19state): def slot_n1state(self): """ Gets the slot_n1state of this BiosPolicy. - BIOS Token for setting PCIe Slot:N1 OptionROM configuration + BIOS Token for setting PCIe Slot N1 OptionROM configuration :return: The slot_n1state of this BiosPolicy. :rtype: str @@ -5739,7 +6297,7 @@ def slot_n1state(self): def slot_n1state(self, slot_n1state): """ Sets the slot_n1state of this BiosPolicy. - BIOS Token for setting PCIe Slot:N1 OptionROM configuration + BIOS Token for setting PCIe Slot N1 OptionROM configuration :param slot_n1state: The slot_n1state of this BiosPolicy. :type: str @@ -5902,7 +6460,7 @@ def slot_n24state(self, slot_n24state): def slot_n2state(self): """ Gets the slot_n2state of this BiosPolicy. - BIOS Token for setting PCIe Slot:N2 OptionROM configuration + BIOS Token for setting PCIe Slot N2 OptionROM configuration :return: The slot_n2state of this BiosPolicy. :rtype: str @@ -5913,7 +6471,7 @@ def slot_n2state(self): def slot_n2state(self, slot_n2state): """ Sets the slot_n2state of this BiosPolicy. - BIOS Token for setting PCIe Slot:N2 OptionROM configuration + BIOS Token for setting PCIe Slot N2 OptionROM configuration :param slot_n2state: The slot_n2state of this BiosPolicy. :type: str @@ -6797,6 +7355,64 @@ def slot_ssd_slot2link_speed(self, slot_ssd_slot2link_speed): self._slot_ssd_slot2link_speed = slot_ssd_slot2link_speed + @property + def smee(self): + """ + Gets the smee of this BiosPolicy. + BIOS Token for setting SMEE configuration + + :return: The smee of this BiosPolicy. + :rtype: str + """ + return self._smee + + @smee.setter + def smee(self, smee): + """ + Sets the smee of this BiosPolicy. + BIOS Token for setting SMEE configuration + + :param smee: The smee of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if smee not in allowed_values: + raise ValueError( + "Invalid value for `smee` ({0}), must be one of {1}" + .format(smee, allowed_values) + ) + + self._smee = smee + + @property + def smt_mode(self): + """ + Gets the smt_mode of this BiosPolicy. + BIOS Token for setting SMT Mode configuration + + :return: The smt_mode of this BiosPolicy. + :rtype: str + """ + return self._smt_mode + + @smt_mode.setter + def smt_mode(self, smt_mode): + """ + Sets the smt_mode of this BiosPolicy. + BIOS Token for setting SMT Mode configuration + + :param smt_mode: The smt_mode of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "Auto", "Off"] + if smt_mode not in allowed_values: + raise ValueError( + "Invalid value for `smt_mode` ({0}), must be one of {1}" + .format(smt_mode, allowed_values) + ) + + self._smt_mode = smt_mode + @property def snc(self): """ @@ -6913,6 +7529,35 @@ def streamer_prefetch(self, streamer_prefetch): self._streamer_prefetch = streamer_prefetch + @property + def svm_mode(self): + """ + Gets the svm_mode of this BiosPolicy. + BIOS Token for setting SVM Mode configuration + + :return: The svm_mode of this BiosPolicy. + :rtype: str + """ + return self._svm_mode + + @svm_mode.setter + def svm_mode(self, svm_mode): + """ + Sets the svm_mode of this BiosPolicy. + BIOS Token for setting SVM Mode configuration + + :param svm_mode: The svm_mode of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if svm_mode not in allowed_values: + raise ValueError( + "Invalid value for `svm_mode` ({0}), must be one of {1}" + .format(svm_mode, allowed_values) + ) + + self._svm_mode = svm_mode + @property def terminal_type(self): """ @@ -7091,7 +7736,7 @@ def usb_emul6064(self, usb_emul6064): def usb_port_front(self): """ Gets the usb_port_front of this BiosPolicy. - BIOS Token for setting USB Port:Front configuration + BIOS Token for setting USB Port Front configuration :return: The usb_port_front of this BiosPolicy. :rtype: str @@ -7102,7 +7747,7 @@ def usb_port_front(self): def usb_port_front(self, usb_port_front): """ Sets the usb_port_front of this BiosPolicy. - BIOS Token for setting USB Port:Front configuration + BIOS Token for setting USB Port Front configuration :param usb_port_front: The usb_port_front of this BiosPolicy. :type: str @@ -7120,7 +7765,7 @@ def usb_port_front(self, usb_port_front): def usb_port_internal(self): """ Gets the usb_port_internal of this BiosPolicy. - BIOS Token for setting USB Port:Internal configuration + BIOS Token for setting USB Port Internal configuration :return: The usb_port_internal of this BiosPolicy. :rtype: str @@ -7131,7 +7776,7 @@ def usb_port_internal(self): def usb_port_internal(self, usb_port_internal): """ Sets the usb_port_internal of this BiosPolicy. - BIOS Token for setting USB Port:Internal configuration + BIOS Token for setting USB Port Internal configuration :param usb_port_internal: The usb_port_internal of this BiosPolicy. :type: str @@ -7149,7 +7794,7 @@ def usb_port_internal(self, usb_port_internal): def usb_port_kvm(self): """ Gets the usb_port_kvm of this BiosPolicy. - BIOS Token for setting USB Port:KVM configuration + BIOS Token for setting USB Port KVM configuration :return: The usb_port_kvm of this BiosPolicy. :rtype: str @@ -7160,7 +7805,7 @@ def usb_port_kvm(self): def usb_port_kvm(self, usb_port_kvm): """ Sets the usb_port_kvm of this BiosPolicy. - BIOS Token for setting USB Port:KVM configuration + BIOS Token for setting USB Port KVM configuration :param usb_port_kvm: The usb_port_kvm of this BiosPolicy. :type: str @@ -7178,7 +7823,7 @@ def usb_port_kvm(self, usb_port_kvm): def usb_port_rear(self): """ Gets the usb_port_rear of this BiosPolicy. - BIOS Token for setting USB Port:Rear configuration + BIOS Token for setting USB Port Rear configuration :return: The usb_port_rear of this BiosPolicy. :rtype: str @@ -7189,7 +7834,7 @@ def usb_port_rear(self): def usb_port_rear(self, usb_port_rear): """ Sets the usb_port_rear of this BiosPolicy. - BIOS Token for setting USB Port:Rear configuration + BIOS Token for setting USB Port Rear configuration :param usb_port_rear: The usb_port_rear of this BiosPolicy. :type: str @@ -7207,7 +7852,7 @@ def usb_port_rear(self, usb_port_rear): def usb_port_sd_card(self): """ Gets the usb_port_sd_card of this BiosPolicy. - BIOS Token for setting USB Port:SD Card configuration + BIOS Token for setting USB Port SD Card configuration :return: The usb_port_sd_card of this BiosPolicy. :rtype: str @@ -7218,7 +7863,7 @@ def usb_port_sd_card(self): def usb_port_sd_card(self, usb_port_sd_card): """ Sets the usb_port_sd_card of this BiosPolicy. - BIOS Token for setting USB Port:SD Card configuration + BIOS Token for setting USB Port SD Card configuration :param usb_port_sd_card: The usb_port_sd_card of this BiosPolicy. :type: str @@ -7236,7 +7881,7 @@ def usb_port_sd_card(self, usb_port_sd_card): def usb_port_vmedia(self): """ Gets the usb_port_vmedia of this BiosPolicy. - BIOS Token for setting USB Port:VMedia configuration + BIOS Token for setting USB Port VMedia configuration :return: The usb_port_vmedia of this BiosPolicy. :rtype: str @@ -7247,7 +7892,7 @@ def usb_port_vmedia(self): def usb_port_vmedia(self, usb_port_vmedia): """ Sets the usb_port_vmedia of this BiosPolicy. - BIOS Token for setting USB Port:VMedia configuration + BIOS Token for setting USB Port VMedia configuration :param usb_port_vmedia: The usb_port_vmedia of this BiosPolicy. :type: str @@ -7319,6 +7964,35 @@ def vga_priority(self, vga_priority): self._vga_priority = vga_priority + @property + def vmd_enable(self): + """ + Gets the vmd_enable of this BiosPolicy. + BIOS Token for setting VMD Enablement configuration + + :return: The vmd_enable of this BiosPolicy. + :rtype: str + """ + return self._vmd_enable + + @vmd_enable.setter + def vmd_enable(self, vmd_enable): + """ + Sets the vmd_enable of this BiosPolicy. + BIOS Token for setting VMD Enablement configuration + + :param vmd_enable: The vmd_enable of this BiosPolicy. + :type: str + """ + allowed_values = ["platform-default", "enabled", "disabled"] + if vmd_enable not in allowed_values: + raise ValueError( + "Invalid value for `vmd_enable` ({0}), must be one of {1}" + .format(vmd_enable, allowed_values) + ) + + self._vmd_enable = vmd_enable + @property def work_load_config(self): """ diff --git a/intersight/models/bios_policy_list.py b/intersight/models/bios_policy_list.py index 1b903bd1..2751f24e 100644 --- a/intersight/models/bios_policy_list.py +++ b/intersight/models/bios_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_policy_ref.py b/intersight/models/bios_policy_ref.py index 84d3cb98..575937f0 100644 --- a/intersight/models/bios_policy_ref.py +++ b/intersight/models/bios_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_unit.py b/intersight/models/bios_unit.py index b124165a..dd67ac7b 100644 --- a/intersight/models/bios_unit.py +++ b/intersight/models/bios_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class BiosUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -65,6 +66,7 @@ class BiosUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -80,7 +82,7 @@ class BiosUnit(object): 'running_firmware': 'RunningFirmware' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_blade=None, compute_rack_unit=None, init_seq=None, init_ts=None, registered_device=None, running_firmware=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_blade=None, compute_rack_unit=None, init_seq=None, init_ts=None, registered_device=None, running_firmware=None): """ BiosUnit - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this BiosUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this BiosUnit. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this BiosUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this BiosUnit. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this BiosUnit. + The versioning info for this managed object + + :return: The version_context of this BiosUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this BiosUnit. + The versioning info for this managed object + + :param version_context: The version_context of this BiosUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/bios_unit_list.py b/intersight/models/bios_unit_list.py index 1626c287..2e3236f0 100644 --- a/intersight/models/bios_unit_list.py +++ b/intersight/models/bios_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_unit_ref.py b/intersight/models/bios_unit_ref.py index 14174767..5797df16 100644 --- a/intersight/models/bios_unit_ref.py +++ b/intersight/models/bios_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/bios_validation_task_ref.py b/intersight/models/bios_validation_task_ref.py index 3da89596..d0817c5a 100644 --- a/intersight/models/bios_validation_task_ref.py +++ b/intersight/models/bios_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_bootloader.py b/intersight/models/boot_bootloader.py new file mode 100644 index 00000000..9dced969 --- /dev/null +++ b/intersight/models/boot_bootloader.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class BootBootloader(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'description': 'str', + 'name': 'str', + 'path': 'str' + } + + attribute_map = { + 'description': 'Description', + 'name': 'Name', + 'path': 'Path' + } + + def __init__(self, description=None, name=None, path=None): + """ + BootBootloader - a model defined in Swagger + """ + + self._description = None + self._name = None + self._path = None + + if description is not None: + self.description = description + if name is not None: + self.name = name + if path is not None: + self.path = path + + @property + def description(self): + """ + Gets the description of this BootBootloader. + Carries more information about the bootloader + + :return: The description of this BootBootloader. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this BootBootloader. + Carries more information about the bootloader + + :param description: The description of this BootBootloader. + :type: str + """ + + self._description = description + + @property + def name(self): + """ + Gets the name of this BootBootloader. + Name of the bootloader + + :return: The name of this BootBootloader. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this BootBootloader. + Name of the bootloader + + :param name: The name of this BootBootloader. + :type: str + """ + + self._name = name + + @property + def path(self): + """ + Gets the path of this BootBootloader. + Path to the bootloader image + + :return: The path of this BootBootloader. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this BootBootloader. + Path to the bootloader image + + :param path: The path of this BootBootloader. + :type: str + """ + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, BootBootloader): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/boot_bootloader_ref.py b/intersight/models/boot_bootloader_ref.py new file mode 100644 index 00000000..8e497b4c --- /dev/null +++ b/intersight/models/boot_bootloader_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class BootBootloaderRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + BootBootloaderRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this BootBootloaderRef. + + :return: The moid of this BootBootloaderRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this BootBootloaderRef. + + :param moid: The moid of this BootBootloaderRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this BootBootloaderRef. + + :return: The object_type of this BootBootloaderRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this BootBootloaderRef. + + :param object_type: The object_type of this BootBootloaderRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, BootBootloaderRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/boot_device_base.py b/intersight/models/boot_device_base.py index 74bc83a2..989343ff 100644 --- a/intersight/models/boot_device_base.py +++ b/intersight/models/boot_device_base.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_device_base_ref.py b/intersight/models/boot_device_base_ref.py index 5afdf8c7..cf75bc4e 100644 --- a/intersight/models/boot_device_base_ref.py +++ b/intersight/models/boot_device_base_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_iscsi_ref.py b/intersight/models/boot_iscsi_ref.py index afd4ad8b..509849cc 100644 --- a/intersight/models/boot_iscsi_ref.py +++ b/intersight/models/boot_iscsi_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_local_cdd_ref.py b/intersight/models/boot_local_cdd_ref.py new file mode 100644 index 00000000..09f6cb3b --- /dev/null +++ b/intersight/models/boot_local_cdd_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class BootLocalCddRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + BootLocalCddRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this BootLocalCddRef. + + :return: The moid of this BootLocalCddRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this BootLocalCddRef. + + :param moid: The moid of this BootLocalCddRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this BootLocalCddRef. + + :return: The object_type of this BootLocalCddRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this BootLocalCddRef. + + :param object_type: The object_type of this BootLocalCddRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, BootLocalCddRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/boot_local_disk_ref.py b/intersight/models/boot_local_disk_ref.py index ff1e7cb3..6f2cd653 100644 --- a/intersight/models/boot_local_disk_ref.py +++ b/intersight/models/boot_local_disk_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_nvme_ref.py b/intersight/models/boot_nvme_ref.py index 5e5a8e26..391a812d 100644 --- a/intersight/models/boot_nvme_ref.py +++ b/intersight/models/boot_nvme_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_pch_storage_ref.py b/intersight/models/boot_pch_storage_ref.py index edbaa3a6..7a25c4b5 100644 --- a/intersight/models/boot_pch_storage_ref.py +++ b/intersight/models/boot_pch_storage_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_precision_deploy_task_ref.py b/intersight/models/boot_precision_deploy_task_ref.py index 47715c57..d46e9520 100644 --- a/intersight/models/boot_precision_deploy_task_ref.py +++ b/intersight/models/boot_precision_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_precision_policy.py b/intersight/models/boot_precision_policy.py index da7fae94..63e53c2b 100644 --- a/intersight/models/boot_precision_policy.py +++ b/intersight/models/boot_precision_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class BootPrecisionPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'boot_devices': 'list[BootDeviceBase]', @@ -59,6 +60,7 @@ class BootPrecisionPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'boot_devices': 'BootDevices', @@ -68,7 +70,7 @@ class BootPrecisionPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, boot_devices=None, configured_boot_mode='Legacy', enforce_uefi_secure_boot=None, organization=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, boot_devices=None, configured_boot_mode='Legacy', enforce_uefi_secure_boot=None, organization=None, profiles=None): """ BootPrecisionPolicy - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._boot_devices = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this BootPrecisionPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this BootPrecisionPolicy. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this BootPrecisionPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this BootPrecisionPolicy. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this BootPrecisionPolicy. + The versioning info for this managed object + + :return: The version_context of this BootPrecisionPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this BootPrecisionPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this BootPrecisionPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/boot_precision_policy_list.py b/intersight/models/boot_precision_policy_list.py index 6e907ed9..46c8f02b 100644 --- a/intersight/models/boot_precision_policy_list.py +++ b/intersight/models/boot_precision_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_precision_policy_ref.py b/intersight/models/boot_precision_policy_ref.py index d4d9b25c..7319496f 100644 --- a/intersight/models/boot_precision_policy_ref.py +++ b/intersight/models/boot_precision_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_precision_validation_task_ref.py b/intersight/models/boot_precision_validation_task_ref.py index 8db45028..338068eb 100644 --- a/intersight/models/boot_precision_validation_task_ref.py +++ b/intersight/models/boot_precision_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_pxe_ref.py b/intersight/models/boot_pxe_ref.py index ef6eb378..c17133cb 100644 --- a/intersight/models/boot_pxe_ref.py +++ b/intersight/models/boot_pxe_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_san_ref.py b/intersight/models/boot_san_ref.py index a46e233e..59de7f27 100644 --- a/intersight/models/boot_san_ref.py +++ b/intersight/models/boot_san_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_sd_card_ref.py b/intersight/models/boot_sd_card_ref.py index bc0c94cc..f851386b 100644 --- a/intersight/models/boot_sd_card_ref.py +++ b/intersight/models/boot_sd_card_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_uefi_shell_ref.py b/intersight/models/boot_uefi_shell_ref.py index fcd428ee..566f1157 100644 --- a/intersight/models/boot_uefi_shell_ref.py +++ b/intersight/models/boot_uefi_shell_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_usb_ref.py b/intersight/models/boot_usb_ref.py index 8a83fad0..5b6d92ef 100644 --- a/intersight/models/boot_usb_ref.py +++ b/intersight/models/boot_usb_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/boot_virtual_media_ref.py b/intersight/models/boot_virtual_media_ref.py index c8ce0574..a9ef3da3 100644 --- a/intersight/models/boot_virtual_media_ref.py +++ b/intersight/models/boot_virtual_media_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/comm_ip_v4_interface.py b/intersight/models/comm_ip_v4_interface.py index 51077cfc..37b7c3b4 100644 --- a/intersight/models/comm_ip_v4_interface.py +++ b/intersight/models/comm_ip_v4_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/comm_ip_v4_interface_ref.py b/intersight/models/comm_ip_v4_interface_ref.py index 48645b95..05881387 100644 --- a/intersight/models/comm_ip_v4_interface_ref.py +++ b/intersight/models/comm_ip_v4_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/comm_ip_v6_interface.py b/intersight/models/comm_ip_v6_interface.py index 3484252f..a46557be 100644 --- a/intersight/models/comm_ip_v6_interface.py +++ b/intersight/models/comm_ip_v6_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/comm_ip_v6_interface_ref.py b/intersight/models/comm_ip_v6_interface_ref.py index 9ecd0523..1070e6ad 100644 --- a/intersight/models/comm_ip_v6_interface_ref.py +++ b/intersight/models/comm_ip_v6_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_blade.py b/intersight/models/compute_blade.py index 277276e7..d5ff6a5d 100644 --- a/intersight/models/compute_blade.py +++ b/intersight/models/compute_blade.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputeBlade(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -75,9 +76,11 @@ class ComputeBlade(object): 'board': 'ComputeBoardRef', 'chassis_id': 'str', 'equipment_chassis': 'EquipmentChassisRef', + 'equipment_io_expanders': 'list[EquipmentIoExpanderRef]', 'generic_inventory_holders': 'list[InventoryGenericInventoryHolderRef]', 'locator_led': 'EquipmentLocatorLedRef', 'registered_device': 'AssetDeviceRegistrationRef', + 'scaled_mode': 'str', 'slot_id': 'int', 'storage_enclosures': 'list[StorageEnclosureRef]', 'top_system': 'TopSystemRef' @@ -93,6 +96,7 @@ class ComputeBlade(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -128,15 +132,17 @@ class ComputeBlade(object): 'board': 'Board', 'chassis_id': 'ChassisId', 'equipment_chassis': 'EquipmentChassis', + 'equipment_io_expanders': 'EquipmentIoExpanders', 'generic_inventory_holders': 'GenericInventoryHolders', 'locator_led': 'LocatorLed', 'registered_device': 'RegisteredDevice', + 'scaled_mode': 'ScaledMode', 'slot_id': 'SlotId', 'storage_enclosures': 'StorageEnclosures', 'top_system': 'TopSystem' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None, adapters=None, bios_units=None, bmc=None, board=None, chassis_id=None, equipment_chassis=None, generic_inventory_holders=None, locator_led=None, registered_device=None, slot_id=None, storage_enclosures=None, top_system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None, adapters=None, bios_units=None, bmc=None, board=None, chassis_id=None, equipment_chassis=None, equipment_io_expanders=None, generic_inventory_holders=None, locator_led=None, registered_device=None, scaled_mode=None, slot_id=None, storage_enclosures=None, top_system=None): """ ComputeBlade - a model defined in Swagger """ @@ -150,6 +156,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -185,9 +192,11 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._board = None self._chassis_id = None self._equipment_chassis = None + self._equipment_io_expanders = None self._generic_inventory_holders = None self._locator_led = None self._registered_device = None + self._scaled_mode = None self._slot_id = None self._storage_enclosures = None self._top_system = None @@ -210,6 +219,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -280,12 +291,16 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.chassis_id = chassis_id if equipment_chassis is not None: self.equipment_chassis = equipment_chassis + if equipment_io_expanders is not None: + self.equipment_io_expanders = equipment_io_expanders if generic_inventory_holders is not None: self.generic_inventory_holders = generic_inventory_holders if locator_led is not None: self.locator_led = locator_led if registered_device is not None: self.registered_device = registered_device + if scaled_mode is not None: + self.scaled_mode = scaled_mode if slot_id is not None: self.slot_id = slot_id if storage_enclosures is not None: @@ -481,7 +496,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputeBlade. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputeBlade. :rtype: list[MoTag] @@ -492,7 +507,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputeBlade. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputeBlade. :type: list[MoTag] @@ -500,6 +515,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputeBlade. + The versioning info for this managed object + + :return: The version_context of this ComputeBlade. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputeBlade. + The versioning info for this managed object + + :param version_context: The version_context of this ComputeBlade. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -1235,6 +1273,27 @@ def equipment_chassis(self, equipment_chassis): self._equipment_chassis = equipment_chassis + @property + def equipment_io_expanders(self): + """ + Gets the equipment_io_expanders of this ComputeBlade. + + :return: The equipment_io_expanders of this ComputeBlade. + :rtype: list[EquipmentIoExpanderRef] + """ + return self._equipment_io_expanders + + @equipment_io_expanders.setter + def equipment_io_expanders(self, equipment_io_expanders): + """ + Sets the equipment_io_expanders of this ComputeBlade. + + :param equipment_io_expanders: The equipment_io_expanders of this ComputeBlade. + :type: list[EquipmentIoExpanderRef] + """ + + self._equipment_io_expanders = equipment_io_expanders + @property def generic_inventory_holders(self): """ @@ -1298,6 +1357,27 @@ def registered_device(self, registered_device): self._registered_device = registered_device + @property + def scaled_mode(self): + """ + Gets the scaled_mode of this ComputeBlade. + + :return: The scaled_mode of this ComputeBlade. + :rtype: str + """ + return self._scaled_mode + + @scaled_mode.setter + def scaled_mode(self, scaled_mode): + """ + Sets the scaled_mode of this ComputeBlade. + + :param scaled_mode: The scaled_mode of this ComputeBlade. + :type: str + """ + + self._scaled_mode = scaled_mode + @property def slot_id(self): """ diff --git a/intersight/models/compute_blade_list.py b/intersight/models/compute_blade_list.py index bdeb47cb..22feca65 100644 --- a/intersight/models/compute_blade_list.py +++ b/intersight/models/compute_blade_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_blade_ref.py b/intersight/models/compute_blade_ref.py index 8b6d8d88..f0d38eb9 100644 --- a/intersight/models/compute_blade_ref.py +++ b/intersight/models/compute_blade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_board.py b/intersight/models/compute_board.py index 95015131..8af252ba 100644 --- a/intersight/models/compute_board.py +++ b/intersight/models/compute_board.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputeBoard(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -51,6 +52,7 @@ class ComputeBoard(object): 'compute_blade': 'ComputeBladeRef', 'compute_rack_unit': 'ComputeRackUnitRef', 'cpu_type_controller': 'str', + 'equipment_tpms': 'list[EquipmentTpmRef]', 'graphics_cards': 'list[GraphicsCardRef]', 'memory_arrays': 'list[MemoryArrayRef]', 'oper_power_state': 'str', @@ -73,6 +75,7 @@ class ComputeBoard(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -84,6 +87,7 @@ class ComputeBoard(object): 'compute_blade': 'ComputeBlade', 'compute_rack_unit': 'ComputeRackUnit', 'cpu_type_controller': 'CpuTypeController', + 'equipment_tpms': 'EquipmentTpms', 'graphics_cards': 'GraphicsCards', 'memory_arrays': 'MemoryArrays', 'oper_power_state': 'OperPowerState', @@ -96,7 +100,7 @@ class ComputeBoard(object): 'storage_flex_util_controllers': 'StorageFlexUtilControllers' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, board_id=None, compute_blade=None, compute_rack_unit=None, cpu_type_controller=None, graphics_cards=None, memory_arrays=None, oper_power_state=None, presence=None, processors=None, registered_device=None, security_units=None, storage_controllers=None, storage_flex_flash_controllers=None, storage_flex_util_controllers=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, board_id=None, compute_blade=None, compute_rack_unit=None, cpu_type_controller=None, equipment_tpms=None, graphics_cards=None, memory_arrays=None, oper_power_state=None, presence=None, processors=None, registered_device=None, security_units=None, storage_controllers=None, storage_flex_flash_controllers=None, storage_flex_util_controllers=None): """ ComputeBoard - a model defined in Swagger """ @@ -110,6 +114,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -121,6 +126,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._compute_blade = None self._compute_rack_unit = None self._cpu_type_controller = None + self._equipment_tpms = None self._graphics_cards = None self._memory_arrays = None self._oper_power_state = None @@ -150,6 +156,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -172,6 +180,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.compute_rack_unit = compute_rack_unit if cpu_type_controller is not None: self.cpu_type_controller = cpu_type_controller + if equipment_tpms is not None: + self.equipment_tpms = equipment_tpms if graphics_cards is not None: self.graphics_cards = graphics_cards if memory_arrays is not None: @@ -381,7 +391,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputeBoard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputeBoard. :rtype: list[MoTag] @@ -392,7 +402,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputeBoard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputeBoard. :type: list[MoTag] @@ -400,6 +410,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputeBoard. + The versioning info for this managed object + + :return: The version_context of this ComputeBoard. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputeBoard. + The versioning info for this managed object + + :param version_context: The version_context of this ComputeBoard. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -631,6 +664,27 @@ def cpu_type_controller(self, cpu_type_controller): self._cpu_type_controller = cpu_type_controller + @property + def equipment_tpms(self): + """ + Gets the equipment_tpms of this ComputeBoard. + + :return: The equipment_tpms of this ComputeBoard. + :rtype: list[EquipmentTpmRef] + """ + return self._equipment_tpms + + @equipment_tpms.setter + def equipment_tpms(self, equipment_tpms): + """ + Sets the equipment_tpms of this ComputeBoard. + + :param equipment_tpms: The equipment_tpms of this ComputeBoard. + :type: list[EquipmentTpmRef] + """ + + self._equipment_tpms = equipment_tpms + @property def graphics_cards(self): """ diff --git a/intersight/models/compute_board_list.py b/intersight/models/compute_board_list.py index 295b4872..804252f5 100644 --- a/intersight/models/compute_board_list.py +++ b/intersight/models/compute_board_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_board_ref.py b/intersight/models/compute_board_ref.py index dc80cad8..ccb82d1a 100644 --- a/intersight/models/compute_board_ref.py +++ b/intersight/models/compute_board_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_ip_address.py b/intersight/models/compute_ip_address.py index ae674ff5..a3f9b93e 100644 --- a/intersight/models/compute_ip_address.py +++ b/intersight/models/compute_ip_address.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_ip_address_ref.py b/intersight/models/compute_ip_address_ref.py index 5064d4a2..67c39123 100644 --- a/intersight/models/compute_ip_address_ref.py +++ b/intersight/models/compute_ip_address_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_locator_led_operation_task_ref.py b/intersight/models/compute_locator_led_operation_task_ref.py index 0abd2e63..5d1c2748 100644 --- a/intersight/models/compute_locator_led_operation_task_ref.py +++ b/intersight/models/compute_locator_led_operation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_operation_result_handler_ref.py b/intersight/models/compute_operation_result_handler_ref.py index 5cac971f..3a923c85 100644 --- a/intersight/models/compute_operation_result_handler_ref.py +++ b/intersight/models/compute_operation_result_handler_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_physical.py b/intersight/models/compute_physical.py index b8562acb..0748de67 100644 --- a/intersight/models/compute_physical.py +++ b/intersight/models/compute_physical.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputePhysical(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -81,6 +82,7 @@ class ComputePhysical(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -112,7 +114,7 @@ class ComputePhysical(object): 'uuid': 'Uuid' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None): """ ComputePhysical - a model defined in Swagger """ @@ -126,6 +128,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -174,6 +177,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -421,7 +426,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputePhysical. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputePhysical. :rtype: list[MoTag] @@ -432,7 +437,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputePhysical. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputePhysical. :type: list[MoTag] @@ -440,6 +445,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputePhysical. + The versioning info for this managed object + + :return: The version_context of this ComputePhysical. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputePhysical. + The versioning info for this managed object + + :param version_context: The version_context of this ComputePhysical. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/compute_physical_ref.py b/intersight/models/compute_physical_ref.py index 321578eb..68fa2177 100644 --- a/intersight/models/compute_physical_ref.py +++ b/intersight/models/compute_physical_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_physical_summary.py b/intersight/models/compute_physical_summary.py index 25f3bb7d..012d1bfe 100644 --- a/intersight/models/compute_physical_summary.py +++ b/intersight/models/compute_physical_summary.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputePhysicalSummary(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'admin_power_state': 'str', 'asset_tag': 'str', 'available_memory': 'int', @@ -70,6 +71,7 @@ class ComputePhysicalSummary(object): 'registered_device': 'AssetDeviceRegistrationRef', 'revision': 'str', 'rn': 'str', + 'scaled_mode': 'str', 'serial': 'str', 'server_id': 'int', 'service_profile': 'str', @@ -91,6 +93,7 @@ class ComputePhysicalSummary(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'admin_power_state': 'AdminPowerState', 'asset_tag': 'AssetTag', 'available_memory': 'AvailableMemory', @@ -121,6 +124,7 @@ class ComputePhysicalSummary(object): 'registered_device': 'RegisteredDevice', 'revision': 'Revision', 'rn': 'Rn', + 'scaled_mode': 'ScaledMode', 'serial': 'Serial', 'server_id': 'ServerId', 'service_profile': 'ServiceProfile', @@ -132,7 +136,7 @@ class ComputePhysicalSummary(object): 'vendor': 'Vendor' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, admin_power_state=None, asset_tag=None, available_memory=None, chassis_id=None, cpu_capacity=None, device_mo_id=None, dn=None, fault_summary=None, firmware=None, ipv4_address=None, kvm_ip_addresses=None, memory_speed=None, mgmt_ip_address=None, model=None, name=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, registered_device=None, revision=None, rn=None, serial=None, server_id=None, service_profile=None, slot_id=None, source_object_type=None, total_memory=None, user_label=None, uuid=None, vendor=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, admin_power_state=None, asset_tag=None, available_memory=None, chassis_id=None, cpu_capacity=None, device_mo_id=None, dn=None, fault_summary=None, firmware=None, ipv4_address=None, kvm_ip_addresses=None, memory_speed=None, mgmt_ip_address=None, model=None, name=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, registered_device=None, revision=None, rn=None, scaled_mode=None, serial=None, server_id=None, service_profile=None, slot_id=None, source_object_type=None, total_memory=None, user_label=None, uuid=None, vendor=None): """ ComputePhysicalSummary - a model defined in Swagger """ @@ -146,6 +150,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._admin_power_state = None self._asset_tag = None self._available_memory = None @@ -176,6 +181,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._registered_device = None self._revision = None self._rn = None + self._scaled_mode = None self._serial = None self._server_id = None self._service_profile = None @@ -204,6 +210,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if admin_power_state is not None: self.admin_power_state = admin_power_state if asset_tag is not None: @@ -264,6 +272,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.revision = revision if rn is not None: self.rn = rn + if scaled_mode is not None: + self.scaled_mode = scaled_mode if serial is not None: self.serial = serial if server_id is not None: @@ -471,7 +481,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputePhysicalSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputePhysicalSummary. :rtype: list[MoTag] @@ -482,7 +492,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputePhysicalSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputePhysicalSummary. :type: list[MoTag] @@ -490,6 +500,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputePhysicalSummary. + The versioning info for this managed object + + :return: The version_context of this ComputePhysicalSummary. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputePhysicalSummary. + The versioning info for this managed object + + :param version_context: The version_context of this ComputePhysicalSummary. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def admin_power_state(self): """ @@ -1130,6 +1163,27 @@ def rn(self, rn): self._rn = rn + @property + def scaled_mode(self): + """ + Gets the scaled_mode of this ComputePhysicalSummary. + + :return: The scaled_mode of this ComputePhysicalSummary. + :rtype: str + """ + return self._scaled_mode + + @scaled_mode.setter + def scaled_mode(self, scaled_mode): + """ + Sets the scaled_mode of this ComputePhysicalSummary. + + :param scaled_mode: The scaled_mode of this ComputePhysicalSummary. + :type: str + """ + + self._scaled_mode = scaled_mode + @property def serial(self): """ diff --git a/intersight/models/compute_physical_summary_list.py b/intersight/models/compute_physical_summary_list.py index 1eb4b357..294a8a63 100644 --- a/intersight/models/compute_physical_summary_list.py +++ b/intersight/models/compute_physical_summary_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_physical_summary_ref.py b/intersight/models/compute_physical_summary_ref.py index b0be6b7a..fb2cdfb8 100644 --- a/intersight/models/compute_physical_summary_ref.py +++ b/intersight/models/compute_physical_summary_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_rack_unit.py b/intersight/models/compute_rack_unit.py index 2ef27cd0..1649b7b4 100644 --- a/intersight/models/compute_rack_unit.py +++ b/intersight/models/compute_rack_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputeRackUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -76,7 +77,9 @@ class ComputeRackUnit(object): 'fanmodules': 'list[EquipmentFanModuleRef]', 'generic_inventory_holders': 'list[InventoryGenericInventoryHolderRef]', 'locator_led': 'EquipmentLocatorLedRef', + 'pci_devices': 'list[PciDeviceRef]', 'psus': 'list[EquipmentPsuRef]', + 'rack_enclosure_slot': 'EquipmentRackEnclosureSlotRef', 'registered_device': 'AssetDeviceRegistrationRef', 'sas_expanders': 'list[StorageSasExpanderRef]', 'server_id': 'int', @@ -94,6 +97,7 @@ class ComputeRackUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -130,7 +134,9 @@ class ComputeRackUnit(object): 'fanmodules': 'Fanmodules', 'generic_inventory_holders': 'GenericInventoryHolders', 'locator_led': 'LocatorLed', + 'pci_devices': 'PciDevices', 'psus': 'Psus', + 'rack_enclosure_slot': 'RackEnclosureSlot', 'registered_device': 'RegisteredDevice', 'sas_expanders': 'SasExpanders', 'server_id': 'ServerId', @@ -138,7 +144,7 @@ class ComputeRackUnit(object): 'top_system': 'TopSystem' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None, adapters=None, biosunits=None, bmc=None, board=None, fanmodules=None, generic_inventory_holders=None, locator_led=None, psus=None, registered_device=None, sas_expanders=None, server_id=None, storage_enclosures=None, top_system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_power_state=None, asset_tag=None, available_memory=None, fault_summary=None, kvm_ip_addresses=None, memory_speed=None, num_adaptors=None, num_cpu_cores=None, num_cpu_cores_enabled=None, num_cpus=None, num_eth_host_interfaces=None, num_fc_host_interfaces=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, platform_type=None, presence=None, service_profile=None, total_memory=None, user_label=None, uuid=None, adapters=None, biosunits=None, bmc=None, board=None, fanmodules=None, generic_inventory_holders=None, locator_led=None, pci_devices=None, psus=None, rack_enclosure_slot=None, registered_device=None, sas_expanders=None, server_id=None, storage_enclosures=None, top_system=None): """ ComputeRackUnit - a model defined in Swagger """ @@ -152,6 +158,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -188,7 +195,9 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._fanmodules = None self._generic_inventory_holders = None self._locator_led = None + self._pci_devices = None self._psus = None + self._rack_enclosure_slot = None self._registered_device = None self._sas_expanders = None self._server_id = None @@ -213,6 +222,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -285,8 +296,12 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.generic_inventory_holders = generic_inventory_holders if locator_led is not None: self.locator_led = locator_led + if pci_devices is not None: + self.pci_devices = pci_devices if psus is not None: self.psus = psus + if rack_enclosure_slot is not None: + self.rack_enclosure_slot = rack_enclosure_slot if registered_device is not None: self.registered_device = registered_device if sas_expanders is not None: @@ -486,7 +501,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputeRackUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputeRackUnit. :rtype: list[MoTag] @@ -497,7 +512,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputeRackUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputeRackUnit. :type: list[MoTag] @@ -505,6 +520,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputeRackUnit. + The versioning info for this managed object + + :return: The version_context of this ComputeRackUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputeRackUnit. + The versioning info for this managed object + + :param version_context: The version_context of this ComputeRackUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -1261,6 +1299,27 @@ def locator_led(self, locator_led): self._locator_led = locator_led + @property + def pci_devices(self): + """ + Gets the pci_devices of this ComputeRackUnit. + + :return: The pci_devices of this ComputeRackUnit. + :rtype: list[PciDeviceRef] + """ + return self._pci_devices + + @pci_devices.setter + def pci_devices(self, pci_devices): + """ + Sets the pci_devices of this ComputeRackUnit. + + :param pci_devices: The pci_devices of this ComputeRackUnit. + :type: list[PciDeviceRef] + """ + + self._pci_devices = pci_devices + @property def psus(self): """ @@ -1282,6 +1341,27 @@ def psus(self, psus): self._psus = psus + @property + def rack_enclosure_slot(self): + """ + Gets the rack_enclosure_slot of this ComputeRackUnit. + + :return: The rack_enclosure_slot of this ComputeRackUnit. + :rtype: EquipmentRackEnclosureSlotRef + """ + return self._rack_enclosure_slot + + @rack_enclosure_slot.setter + def rack_enclosure_slot(self, rack_enclosure_slot): + """ + Sets the rack_enclosure_slot of this ComputeRackUnit. + + :param rack_enclosure_slot: The rack_enclosure_slot of this ComputeRackUnit. + :type: EquipmentRackEnclosureSlotRef + """ + + self._rack_enclosure_slot = rack_enclosure_slot + @property def registered_device(self): """ diff --git a/intersight/models/compute_rack_unit_list.py b/intersight/models/compute_rack_unit_list.py index c1ec6526..1fbe19c5 100644 --- a/intersight/models/compute_rack_unit_list.py +++ b/intersight/models/compute_rack_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_rack_unit_ref.py b/intersight/models/compute_rack_unit_ref.py index 6cb08ca5..5379f26b 100644 --- a/intersight/models/compute_rack_unit_ref.py +++ b/intersight/models/compute_rack_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_config.py b/intersight/models/compute_server_config.py index 2faaaaf0..ceabf0bb 100644 --- a/intersight/models/compute_server_config.py +++ b/intersight/models/compute_server_config.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_config_ref.py b/intersight/models/compute_server_config_ref.py index 680c70f7..c1ea23f1 100644 --- a/intersight/models/compute_server_config_ref.py +++ b/intersight/models/compute_server_config_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_operation_task_ref.py b/intersight/models/compute_server_operation_task_ref.py index 3cc79fa9..78b6381e 100644 --- a/intersight/models/compute_server_operation_task_ref.py +++ b/intersight/models/compute_server_operation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_setting.py b/intersight/models/compute_server_setting.py index 0222a48c..d1d3672e 100644 --- a/intersight/models/compute_server_setting.py +++ b/intersight/models/compute_server_setting.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ComputeServerSetting(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class ComputeServerSetting(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class ComputeServerSetting(object): 'server_config': 'ServerConfig' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, admin_locator_led_state='None', admin_power_state='Policy', config_state='Applied', locator_led=None, registered_device=None, server=None, server_config=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, admin_locator_led_state='None', admin_power_state='Policy', config_state='Applied', locator_led=None, registered_device=None, server=None, server_config=None): """ ComputeServerSetting - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ComputeServerSetting. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ComputeServerSetting. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ComputeServerSetting. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ComputeServerSetting. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ComputeServerSetting. + The versioning info for this managed object + + :return: The version_context of this ComputeServerSetting. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ComputeServerSetting. + The versioning info for this managed object + + :param version_context: The version_context of this ComputeServerSetting. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/compute_server_setting_list.py b/intersight/models/compute_server_setting_list.py index fa9d1742..d54e6f63 100644 --- a/intersight/models/compute_server_setting_list.py +++ b/intersight/models/compute_server_setting_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/compute_server_setting_ref.py b/intersight/models/compute_server_setting_ref.py index 121d36e3..32d7db3c 100644 --- a/intersight/models/compute_server_setting_ref.py +++ b/intersight/models/compute_server_setting_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_alarm.py b/intersight/models/cond_alarm.py index 663bd8d7..23072884 100644 --- a/intersight/models/cond_alarm.py +++ b/intersight/models/cond_alarm.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class CondAlarm(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'affected_mo_id': 'str', 'affected_mo_type': 'str', 'affected_object': 'str', @@ -66,6 +67,7 @@ class CondAlarm(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'affected_mo_id': 'AffectedMoId', 'affected_mo_type': 'AffectedMoType', 'affected_object': 'AffectedObject', @@ -82,7 +84,7 @@ class CondAlarm(object): 'severity': 'Severity' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, affected_mo_id=None, affected_mo_type=None, affected_object=None, ancestor_mo_id=None, ancestor_mo_type=None, code=None, creation_time=None, description=None, last_transition_time=None, ms_affected_object=None, name=None, orig_severity=None, registered_device=None, severity=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, affected_mo_id=None, affected_mo_type=None, affected_object=None, ancestor_mo_id=None, ancestor_mo_type=None, code=None, creation_time=None, description=None, last_transition_time=None, ms_affected_object=None, name=None, orig_severity='None', registered_device=None, severity='None'): """ CondAlarm - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._affected_mo_id = None self._affected_mo_type = None self._affected_object = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if affected_mo_id is not None: self.affected_mo_id = affected_mo_id if affected_mo_type is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this CondAlarm. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this CondAlarm. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this CondAlarm. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this CondAlarm. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this CondAlarm. + The versioning info for this managed object + + :return: The version_context of this CondAlarm. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CondAlarm. + The versioning info for this managed object + + :param version_context: The version_context of this CondAlarm. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def affected_mo_id(self): """ @@ -638,6 +666,12 @@ def orig_severity(self, orig_severity): :param orig_severity: The orig_severity of this CondAlarm. :type: str """ + allowed_values = ["None", "Info", "Critical", "Warning", "Cleared"] + if orig_severity not in allowed_values: + raise ValueError( + "Invalid value for `orig_severity` ({0}), must be one of {1}" + .format(orig_severity, allowed_values) + ) self._orig_severity = orig_severity @@ -684,6 +718,12 @@ def severity(self, severity): :param severity: The severity of this CondAlarm. :type: str """ + allowed_values = ["None", "Info", "Critical", "Warning", "Cleared"] + if severity not in allowed_values: + raise ValueError( + "Invalid value for `severity` ({0}), must be one of {1}" + .format(severity, allowed_values) + ) self._severity = severity diff --git a/intersight/models/cond_alarm_list.py b/intersight/models/cond_alarm_list.py index dbb3f372..cb12f719 100644 --- a/intersight/models/cond_alarm_list.py +++ b/intersight/models/cond_alarm_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_alarm_ref.py b/intersight/models/cond_alarm_ref.py index 57af1e0a..b2381981 100644 --- a/intersight/models/cond_alarm_ref.py +++ b/intersight/models/cond_alarm_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status.py b/intersight/models/cond_hcl_status.py index cfba218e..163ad476 100644 --- a/intersight/models/cond_hcl_status.py +++ b/intersight/models/cond_hcl_status.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class CondHclStatus(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'details': 'list[CondHclStatusDetailRef]', 'hcl_firmware_version': 'str', 'hcl_model': 'str', @@ -67,6 +68,7 @@ class CondHclStatus(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'details': 'Details', 'hcl_firmware_version': 'HclFirmwareVersion', 'hcl_model': 'HclModel', @@ -84,7 +86,7 @@ class CondHclStatus(object): 'status': 'Status' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, details=None, hcl_firmware_version=None, hcl_model=None, hcl_os_vendor=None, hcl_os_version=None, hcl_processor=None, inv_firmware_version=None, inv_model=None, inv_os_vendor=None, inv_os_version=None, inv_processor=None, managed_object=None, reason='Missing-Os-Info', registered_device=None, status='Incomplete'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, details=None, hcl_firmware_version=None, hcl_model=None, hcl_os_vendor=None, hcl_os_version=None, hcl_processor=None, inv_firmware_version=None, inv_model=None, inv_os_vendor=None, inv_os_version=None, inv_processor=None, managed_object=None, reason='Missing-Os-Info', registered_device=None, status='Incomplete'): """ CondHclStatus - a model defined in Swagger """ @@ -98,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._details = None self._hcl_firmware_version = None self._hcl_model = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if details is not None: self.details = details if hcl_firmware_version is not None: @@ -351,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this CondHclStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this CondHclStatus. :rtype: list[MoTag] @@ -362,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this CondHclStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this CondHclStatus. :type: list[MoTag] @@ -370,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this CondHclStatus. + The versioning info for this managed object + + :return: The version_context of this CondHclStatus. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CondHclStatus. + The versioning info for this managed object + + :param version_context: The version_context of this CondHclStatus. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def details(self): """ diff --git a/intersight/models/cond_hcl_status_detail.py b/intersight/models/cond_hcl_status_detail.py index c2353672..07e2f331 100644 --- a/intersight/models/cond_hcl_status_detail.py +++ b/intersight/models/cond_hcl_status_detail.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class CondHclStatusDetail(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'component': 'InventoryBaseRef', 'hcl_cimc_version': 'str', 'hcl_driver_name': 'str', @@ -66,6 +67,7 @@ class CondHclStatusDetail(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'component': 'Component', 'hcl_cimc_version': 'HclCimcVersion', 'hcl_driver_name': 'HclDriverName', @@ -82,7 +84,7 @@ class CondHclStatusDetail(object): 'status': 'Status' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, component=None, hcl_cimc_version=None, hcl_driver_name=None, hcl_driver_version=None, hcl_firmware_version=None, hcl_model=None, hcl_status=None, inv_cimc_version=None, inv_driver_name=None, inv_driver_version=None, inv_firmware_version=None, inv_model=None, reason='Missing-Os-Driver-Info', status='Incomplete'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, component=None, hcl_cimc_version=None, hcl_driver_name=None, hcl_driver_version=None, hcl_firmware_version=None, hcl_model=None, hcl_status=None, inv_cimc_version=None, inv_driver_name=None, inv_driver_version=None, inv_firmware_version=None, inv_model=None, reason='Missing-Os-Driver-Info', status='Incomplete'): """ CondHclStatusDetail - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._component = None self._hcl_cimc_version = None self._hcl_driver_name = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if component is not None: self.component = component if hcl_cimc_version is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this CondHclStatusDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this CondHclStatusDetail. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this CondHclStatusDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this CondHclStatusDetail. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this CondHclStatusDetail. + The versioning info for this managed object + + :return: The version_context of this CondHclStatusDetail. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CondHclStatusDetail. + The versioning info for this managed object + + :param version_context: The version_context of this CondHclStatusDetail. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def component(self): """ diff --git a/intersight/models/cond_hcl_status_detail_list.py b/intersight/models/cond_hcl_status_detail_list.py index 24c3b7b1..d58e3481 100644 --- a/intersight/models/cond_hcl_status_detail_list.py +++ b/intersight/models/cond_hcl_status_detail_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_detail_ref.py b/intersight/models/cond_hcl_status_detail_ref.py index dc686a48..dc2a4edb 100644 --- a/intersight/models/cond_hcl_status_detail_ref.py +++ b/intersight/models/cond_hcl_status_detail_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_job.py b/intersight/models/cond_hcl_status_job.py index e4562fb9..95c095f5 100644 --- a/intersight/models/cond_hcl_status_job.py +++ b/intersight/models/cond_hcl_status_job.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class CondHclStatusJob(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'managed_object': 'InventoryBaseRef', 'registered_device': 'AssetDeviceRegistrationRef' } @@ -54,11 +55,12 @@ class CondHclStatusJob(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'managed_object': 'ManagedObject', 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, managed_object=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, managed_object=None, registered_device=None): """ CondHclStatusJob - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._managed_object = None self._registered_device = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if managed_object is not None: self.managed_object = managed_object if registered_device is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this CondHclStatusJob. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this CondHclStatusJob. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this CondHclStatusJob. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this CondHclStatusJob. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this CondHclStatusJob. + The versioning info for this managed object + + :return: The version_context of this CondHclStatusJob. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CondHclStatusJob. + The versioning info for this managed object + + :param version_context: The version_context of this CondHclStatusJob. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def managed_object(self): """ diff --git a/intersight/models/cond_hcl_status_job_list.py b/intersight/models/cond_hcl_status_job_list.py index 168a099d..66d50772 100644 --- a/intersight/models/cond_hcl_status_job_list.py +++ b/intersight/models/cond_hcl_status_job_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_job_ref.py b/intersight/models/cond_hcl_status_job_ref.py index d783b14b..96120f05 100644 --- a/intersight/models/cond_hcl_status_job_ref.py +++ b/intersight/models/cond_hcl_status_job_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_list.py b/intersight/models/cond_hcl_status_list.py index 044821dc..613b748f 100644 --- a/intersight/models/cond_hcl_status_list.py +++ b/intersight/models/cond_hcl_status_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cond_hcl_status_ref.py b/intersight/models/cond_hcl_status_ref.py index f3d935d5..d959e798 100644 --- a/intersight/models/cond_hcl_status_ref.py +++ b/intersight/models/cond_hcl_status_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_auth_message.py b/intersight/models/connector_auth_message.py index 12fafec2..ba2438b1 100644 --- a/intersight/models/connector_auth_message.py +++ b/intersight/models/connector_auth_message.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_auth_message_ref.py b/intersight/models/connector_auth_message_ref.py index 56e875e1..76a3b85d 100644 --- a/intersight/models/connector_auth_message_ref.py +++ b/intersight/models/connector_auth_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_close_stream_message.py b/intersight/models/connector_close_stream_message.py index 494482ca..9ea3daa4 100644 --- a/intersight/models/connector_close_stream_message.py +++ b/intersight/models/connector_close_stream_message.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_close_stream_message_ref.py b/intersight/models/connector_close_stream_message_ref.py index 01a2b481..b53f230f 100644 --- a/intersight/models/connector_close_stream_message_ref.py +++ b/intersight/models/connector_close_stream_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_command_message_ref.py b/intersight/models/connector_command_message_ref.py index ba2754e0..ecb943ce 100644 --- a/intersight/models/connector_command_message_ref.py +++ b/intersight/models/connector_command_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_control_message_ref.py b/intersight/models/connector_control_message_ref.py index 654f88b1..f10f1678 100644 --- a/intersight/models/connector_control_message_ref.py +++ b/intersight/models/connector_control_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_event_channel_control_ref.py b/intersight/models/connector_event_channel_control_ref.py index a81f43db..fe99afdd 100644 --- a/intersight/models/connector_event_channel_control_ref.py +++ b/intersight/models/connector_event_channel_control_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_event_ref.py b/intersight/models/connector_event_ref.py index f2106c07..c3a0e55e 100644 --- a/intersight/models/connector_event_ref.py +++ b/intersight/models/connector_event_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_fetch_stream_message.py b/intersight/models/connector_fetch_stream_message.py index 58e9e931..4bb438d0 100644 --- a/intersight/models/connector_fetch_stream_message.py +++ b/intersight/models/connector_fetch_stream_message.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_fetch_stream_message_ref.py b/intersight/models/connector_fetch_stream_message_ref.py index 334f970c..e0018aac 100644 --- a/intersight/models/connector_fetch_stream_message_ref.py +++ b/intersight/models/connector_fetch_stream_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_job_async_response_ref.py b/intersight/models/connector_job_async_response_ref.py index c7e5c770..4560fc66 100644 --- a/intersight/models/connector_job_async_response_ref.py +++ b/intersight/models/connector_job_async_response_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_job_message_ref.py b/intersight/models/connector_job_message_ref.py index 7ddda363..bace34c8 100644 --- a/intersight/models/connector_job_message_ref.py +++ b/intersight/models/connector_job_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_start_stream.py b/intersight/models/connector_start_stream.py index 2f18ed4e..007e5796 100644 --- a/intersight/models/connector_start_stream.py +++ b/intersight/models/connector_start_stream.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_start_stream_ref.py b/intersight/models/connector_start_stream_ref.py index 943f298d..0ae6e230 100644 --- a/intersight/models/connector_start_stream_ref.py +++ b/intersight/models/connector_start_stream_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_stream_input.py b/intersight/models/connector_stream_input.py index 013d935b..dd60a9c9 100644 --- a/intersight/models/connector_stream_input.py +++ b/intersight/models/connector_stream_input.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_stream_input_ref.py b/intersight/models/connector_stream_input_ref.py index 2afaa650..44627553 100644 --- a/intersight/models/connector_stream_input_ref.py +++ b/intersight/models/connector_stream_input_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_stream_message.py b/intersight/models/connector_stream_message.py index 05b4b47d..9e9c0640 100644 --- a/intersight/models/connector_stream_message.py +++ b/intersight/models/connector_stream_message.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_stream_message_ref.py b/intersight/models/connector_stream_message_ref.py index 341b73e9..f1311461 100644 --- a/intersight/models/connector_stream_message_ref.py +++ b/intersight/models/connector_stream_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_stream_ref.py b/intersight/models/connector_stream_ref.py index af51a097..e45cd900 100644 --- a/intersight/models/connector_stream_ref.py +++ b/intersight/models/connector_stream_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connector_xml_api_message_ref.py b/intersight/models/connector_xml_api_message_ref.py index 856b84a1..35bf4b2b 100644 --- a/intersight/models/connector_xml_api_message_ref.py +++ b/intersight/models/connector_xml_api_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connectorpack_connector_pack_summary.py b/intersight/models/connectorpack_connector_pack_summary.py index 60842094..1f1f46ab 100644 --- a/intersight/models/connectorpack_connector_pack_summary.py +++ b/intersight/models/connectorpack_connector_pack_summary.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connectorpack_connector_pack_summary_ref.py b/intersight/models/connectorpack_connector_pack_summary_ref.py index 67531f6b..743111a0 100644 --- a/intersight/models/connectorpack_connector_pack_summary_ref.py +++ b/intersight/models/connectorpack_connector_pack_summary_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/connectorpack_upgrade_ref.py b/intersight/models/connectorpack_upgrade_ref.py index b697e155..7ecd6986 100644 --- a/intersight/models/connectorpack_upgrade_ref.py +++ b/intersight/models/connectorpack_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_account_key_ref.py b/intersight/models/crypt_account_key_ref.py index 0c8a35a0..6666cfcc 100644 --- a/intersight/models/crypt_account_key_ref.py +++ b/intersight/models/crypt_account_key_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_decrypt_ref.py b/intersight/models/crypt_decrypt_ref.py index 155209f3..5be406ef 100644 --- a/intersight/models/crypt_decrypt_ref.py +++ b/intersight/models/crypt_decrypt_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_encrypt_ref.py b/intersight/models/crypt_encrypt_ref.py index 1dc0e831..da8d6d94 100644 --- a/intersight/models/crypt_encrypt_ref.py +++ b/intersight/models/crypt_encrypt_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_encryption_key_ref.py b/intersight/models/crypt_encryption_key_ref.py index 363d71c1..f659c9a4 100644 --- a/intersight/models/crypt_encryption_key_ref.py +++ b/intersight/models/crypt_encryption_key_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_encryption_token.py b/intersight/models/crypt_encryption_token.py index 901d8fc6..e76dcb46 100644 --- a/intersight/models/crypt_encryption_token.py +++ b/intersight/models/crypt_encryption_token.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class CryptEncryptionToken(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_key': 'CryptAccountKeyRef', 'session_id': 'str', 'session_type': 'int', @@ -58,6 +59,7 @@ class CryptEncryptionToken(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_key': 'AccountKey', 'session_id': 'SessionId', 'session_type': 'SessionType', @@ -66,7 +68,7 @@ class CryptEncryptionToken(object): 'wrapped': 'Wrapped' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_key=None, session_id=None, session_type=None, token=None, token_accessor=None, wrapped=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_key=None, session_id=None, session_type=None, token=None, token_accessor=None, wrapped=None): """ CryptEncryptionToken - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_key = None self._session_id = None self._session_type = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_key is not None: self.account_key = account_key if session_id is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this CryptEncryptionToken. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this CryptEncryptionToken. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this CryptEncryptionToken. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this CryptEncryptionToken. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this CryptEncryptionToken. + The versioning info for this managed object + + :return: The version_context of this CryptEncryptionToken. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CryptEncryptionToken. + The versioning info for this managed object + + :param version_context: The version_context of this CryptEncryptionToken. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_key(self): """ diff --git a/intersight/models/crypt_encryption_token_list.py b/intersight/models/crypt_encryption_token_list.py index e2c7d418..59885ccb 100644 --- a/intersight/models/crypt_encryption_token_list.py +++ b/intersight/models/crypt_encryption_token_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/crypt_encryption_token_ref.py b/intersight/models/crypt_encryption_token_ref.py index d05b6b19..2469d5cb 100644 --- a/intersight/models/crypt_encryption_token_ref.py +++ b/intersight/models/crypt_encryption_token_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/cvd_deployment_task.py b/intersight/models/cvd_deployment_task.py new file mode 100644 index 00000000..f0bcff65 --- /dev/null +++ b/intersight/models/cvd_deployment_task.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdDeploymentTask(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'input_data': 'object', + 'organization': 'IamAccountRef', + 'result': 'object', + 'template': 'CvdTemplateRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'input_data': 'InputData', + 'organization': 'Organization', + 'result': 'Result', + 'template': 'Template' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, input_data=None, organization=None, result=None, template=None): + """ + CvdDeploymentTask - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._input_data = None + self._organization = None + self._result = None + self._template = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if input_data is not None: + self.input_data = input_data + if organization is not None: + self.organization = organization + if result is not None: + self.result = result + if template is not None: + self.template = template + + @property + def account_moid(self): + """ + Gets the account_moid of this CvdDeploymentTask. + The Account ID for this managed object. + + :return: The account_moid of this CvdDeploymentTask. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this CvdDeploymentTask. + The Account ID for this managed object. + + :param account_moid: The account_moid of this CvdDeploymentTask. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this CvdDeploymentTask. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this CvdDeploymentTask. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this CvdDeploymentTask. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this CvdDeploymentTask. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this CvdDeploymentTask. + The time when this managed object was created. + + :return: The create_time of this CvdDeploymentTask. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this CvdDeploymentTask. + The time when this managed object was created. + + :param create_time: The create_time of this CvdDeploymentTask. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this CvdDeploymentTask. + The time when this managed object was last modified. + + :return: The mod_time of this CvdDeploymentTask. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this CvdDeploymentTask. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this CvdDeploymentTask. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this CvdDeploymentTask. + A unique identifier of this Managed Object instance. + + :return: The moid of this CvdDeploymentTask. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdDeploymentTask. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this CvdDeploymentTask. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdDeploymentTask. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this CvdDeploymentTask. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdDeploymentTask. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this CvdDeploymentTask. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this CvdDeploymentTask. + An array of owners which represent effective ownership of this object. + + :return: The owners of this CvdDeploymentTask. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this CvdDeploymentTask. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this CvdDeploymentTask. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this CvdDeploymentTask. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this CvdDeploymentTask. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this CvdDeploymentTask. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this CvdDeploymentTask. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this CvdDeploymentTask. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this CvdDeploymentTask. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this CvdDeploymentTask. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this CvdDeploymentTask. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this CvdDeploymentTask. + The versioning info for this managed object + + :return: The version_context of this CvdDeploymentTask. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CvdDeploymentTask. + The versioning info for this managed object + + :param version_context: The version_context of this CvdDeploymentTask. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def input_data(self): + """ + Gets the input_data of this CvdDeploymentTask. + Input data set to be provided to the deployment workflow + + :return: The input_data of this CvdDeploymentTask. + :rtype: object + """ + return self._input_data + + @input_data.setter + def input_data(self, input_data): + """ + Sets the input_data of this CvdDeploymentTask. + Input data set to be provided to the deployment workflow + + :param input_data: The input_data of this CvdDeploymentTask. + :type: object + """ + + self._input_data = input_data + + @property + def organization(self): + """ + Gets the organization of this CvdDeploymentTask. + Organization + + :return: The organization of this CvdDeploymentTask. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this CvdDeploymentTask. + Organization + + :param organization: The organization of this CvdDeploymentTask. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def result(self): + """ + Gets the result of this CvdDeploymentTask. + Result of the deployment operation + + :return: The result of this CvdDeploymentTask. + :rtype: object + """ + return self._result + + @result.setter + def result(self, result): + """ + Sets the result of this CvdDeploymentTask. + Result of the deployment operation + + :param result: The result of this CvdDeploymentTask. + :type: object + """ + + self._result = result + + @property + def template(self): + """ + Gets the template of this CvdDeploymentTask. + eCVD instance for which the deployment task is being run + + :return: The template of this CvdDeploymentTask. + :rtype: CvdTemplateRef + """ + return self._template + + @template.setter + def template(self, template): + """ + Sets the template of this CvdDeploymentTask. + eCVD instance for which the deployment task is being run + + :param template: The template of this CvdDeploymentTask. + :type: CvdTemplateRef + """ + + self._template = template + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdDeploymentTask): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_deployment_task_list.py b/intersight/models/cvd_deployment_task_list.py new file mode 100644 index 00000000..f724e4e6 --- /dev/null +++ b/intersight/models/cvd_deployment_task_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdDeploymentTaskList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[CvdDeploymentTask]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + CvdDeploymentTaskList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this CvdDeploymentTaskList. + The number of cvdDeploymentTasks matching your request in total for all pages. + + :return: The count of this CvdDeploymentTaskList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this CvdDeploymentTaskList. + The number of cvdDeploymentTasks matching your request in total for all pages. + + :param count: The count of this CvdDeploymentTaskList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this CvdDeploymentTaskList. + The array of cvdDeploymentTasks matching your request. + + :return: The results of this CvdDeploymentTaskList. + :rtype: list[CvdDeploymentTask] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this CvdDeploymentTaskList. + The array of cvdDeploymentTasks matching your request. + + :param results: The results of this CvdDeploymentTaskList. + :type: list[CvdDeploymentTask] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdDeploymentTaskList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_deployment_task_ref.py b/intersight/models/cvd_deployment_task_ref.py new file mode 100644 index 00000000..60304677 --- /dev/null +++ b/intersight/models/cvd_deployment_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdDeploymentTaskRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + CvdDeploymentTaskRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this CvdDeploymentTaskRef. + + :return: The moid of this CvdDeploymentTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdDeploymentTaskRef. + + :param moid: The moid of this CvdDeploymentTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdDeploymentTaskRef. + + :return: The object_type of this CvdDeploymentTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdDeploymentTaskRef. + + :param object_type: The object_type of this CvdDeploymentTaskRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdDeploymentTaskRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_input_meta.py b/intersight/models/cvd_input_meta.py new file mode 100644 index 00000000..458c3040 --- /dev/null +++ b/intersight/models/cvd_input_meta.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdInputMeta(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'field_filter': 'str', + 'field_label': 'str', + 'field_name': 'str', + 'field_value': 'str' + } + + attribute_map = { + 'field_filter': 'FieldFilter', + 'field_label': 'FieldLabel', + 'field_name': 'FieldName', + 'field_value': 'FieldValue' + } + + def __init__(self, field_filter=None, field_label=None, field_name=None, field_value=None): + """ + CvdInputMeta - a model defined in Swagger + """ + + self._field_filter = None + self._field_label = None + self._field_name = None + self._field_value = None + + if field_filter is not None: + self.field_filter = field_filter + if field_label is not None: + self.field_label = field_label + if field_name is not None: + self.field_name = field_name + if field_value is not None: + self.field_value = field_value + + @property + def field_filter(self): + """ + Gets the field_filter of this CvdInputMeta. + Input field filter(REST API path with filter which will return the list of applicable values for this field) + + :return: The field_filter of this CvdInputMeta. + :rtype: str + """ + return self._field_filter + + @field_filter.setter + def field_filter(self, field_filter): + """ + Sets the field_filter of this CvdInputMeta. + Input field filter(REST API path with filter which will return the list of applicable values for this field) + + :param field_filter: The field_filter of this CvdInputMeta. + :type: str + """ + + self._field_filter = field_filter + + @property + def field_label(self): + """ + Gets the field_label of this CvdInputMeta. + Input field label(for GUI use) + + :return: The field_label of this CvdInputMeta. + :rtype: str + """ + return self._field_label + + @field_label.setter + def field_label(self, field_label): + """ + Sets the field_label of this CvdInputMeta. + Input field label(for GUI use) + + :param field_label: The field_label of this CvdInputMeta. + :type: str + """ + + self._field_label = field_label + + @property + def field_name(self): + """ + Gets the field_name of this CvdInputMeta. + Input field name + + :return: The field_name of this CvdInputMeta. + :rtype: str + """ + return self._field_name + + @field_name.setter + def field_name(self, field_name): + """ + Sets the field_name of this CvdInputMeta. + Input field name + + :param field_name: The field_name of this CvdInputMeta. + :type: str + """ + + self._field_name = field_name + + @property + def field_value(self): + """ + Gets the field_value of this CvdInputMeta. + Input field value + + :return: The field_value of this CvdInputMeta. + :rtype: str + """ + return self._field_value + + @field_value.setter + def field_value(self, field_value): + """ + Sets the field_value of this CvdInputMeta. + Input field value + + :param field_value: The field_value of this CvdInputMeta. + :type: str + """ + + self._field_value = field_value + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdInputMeta): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_input_meta_ref.py b/intersight/models/cvd_input_meta_ref.py new file mode 100644 index 00000000..9b47e098 --- /dev/null +++ b/intersight/models/cvd_input_meta_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdInputMetaRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + CvdInputMetaRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this CvdInputMetaRef. + + :return: The moid of this CvdInputMetaRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdInputMetaRef. + + :param moid: The moid of this CvdInputMetaRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdInputMetaRef. + + :return: The object_type of this CvdInputMetaRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdInputMetaRef. + + :param object_type: The object_type of this CvdInputMetaRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdInputMetaRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_template.py b/intersight/models/cvd_template.py new file mode 100644 index 00000000..410cc6f4 --- /dev/null +++ b/intersight/models/cvd_template.py @@ -0,0 +1,601 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdTemplate(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'deployer': 'str', + 'deployer_input': 'list[CvdInputMeta]', + 'description': 'list[str]', + 'name': 'str', + 'upload_location': 'str', + 'validator': 'str', + 'validator_input': 'list[CvdInputMeta]', + 'version': 'int' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'deployer': 'Deployer', + 'deployer_input': 'DeployerInput', + 'description': 'Description', + 'name': 'Name', + 'upload_location': 'UploadLocation', + 'validator': 'Validator', + 'validator_input': 'ValidatorInput', + 'version': 'Version' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, deployer=None, deployer_input=None, description=None, name=None, upload_location=None, validator=None, validator_input=None, version=None): + """ + CvdTemplate - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._deployer = None + self._deployer_input = None + self._description = None + self._name = None + self._upload_location = None + self._validator = None + self._validator_input = None + self._version = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if deployer is not None: + self.deployer = deployer + if deployer_input is not None: + self.deployer_input = deployer_input + if description is not None: + self.description = description + if name is not None: + self.name = name + if upload_location is not None: + self.upload_location = upload_location + if validator is not None: + self.validator = validator + if validator_input is not None: + self.validator_input = validator_input + if version is not None: + self.version = version + + @property + def account_moid(self): + """ + Gets the account_moid of this CvdTemplate. + The Account ID for this managed object. + + :return: The account_moid of this CvdTemplate. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this CvdTemplate. + The Account ID for this managed object. + + :param account_moid: The account_moid of this CvdTemplate. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this CvdTemplate. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this CvdTemplate. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this CvdTemplate. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this CvdTemplate. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this CvdTemplate. + The time when this managed object was created. + + :return: The create_time of this CvdTemplate. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this CvdTemplate. + The time when this managed object was created. + + :param create_time: The create_time of this CvdTemplate. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this CvdTemplate. + The time when this managed object was last modified. + + :return: The mod_time of this CvdTemplate. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this CvdTemplate. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this CvdTemplate. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this CvdTemplate. + A unique identifier of this Managed Object instance. + + :return: The moid of this CvdTemplate. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdTemplate. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this CvdTemplate. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdTemplate. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this CvdTemplate. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdTemplate. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this CvdTemplate. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this CvdTemplate. + An array of owners which represent effective ownership of this object. + + :return: The owners of this CvdTemplate. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this CvdTemplate. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this CvdTemplate. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this CvdTemplate. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this CvdTemplate. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this CvdTemplate. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this CvdTemplate. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this CvdTemplate. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this CvdTemplate. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this CvdTemplate. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this CvdTemplate. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this CvdTemplate. + The versioning info for this managed object + + :return: The version_context of this CvdTemplate. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CvdTemplate. + The versioning info for this managed object + + :param version_context: The version_context of this CvdTemplate. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def deployer(self): + """ + Gets the deployer of this CvdTemplate. + URL pointing to the S3 location of the workflow JSON which performs the deployment task for this CVD + + :return: The deployer of this CvdTemplate. + :rtype: str + """ + return self._deployer + + @deployer.setter + def deployer(self, deployer): + """ + Sets the deployer of this CvdTemplate. + URL pointing to the S3 location of the workflow JSON which performs the deployment task for this CVD + + :param deployer: The deployer of this CvdTemplate. + :type: str + """ + + self._deployer = deployer + + @property + def deployer_input(self): + """ + Gets the deployer_input of this CvdTemplate. + A collection of input name-value pairs + + :return: The deployer_input of this CvdTemplate. + :rtype: list[CvdInputMeta] + """ + return self._deployer_input + + @deployer_input.setter + def deployer_input(self, deployer_input): + """ + Sets the deployer_input of this CvdTemplate. + A collection of input name-value pairs + + :param deployer_input: The deployer_input of this CvdTemplate. + :type: list[CvdInputMeta] + """ + + self._deployer_input = deployer_input + + @property + def description(self): + """ + Gets the description of this CvdTemplate. + A short description for the CVD + + :return: The description of this CvdTemplate. + :rtype: list[str] + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this CvdTemplate. + A short description for the CVD + + :param description: The description of this CvdTemplate. + :type: list[str] + """ + + self._description = description + + @property + def name(self): + """ + Gets the name of this CvdTemplate. + Unique name identifier for the CVD + + :return: The name of this CvdTemplate. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this CvdTemplate. + Unique name identifier for the CVD + + :param name: The name of this CvdTemplate. + :type: str + """ + + self._name = name + + @property + def upload_location(self): + """ + Gets the upload_location of this CvdTemplate. + S3 directory location where the CVD definition has been uploaded + + :return: The upload_location of this CvdTemplate. + :rtype: str + """ + return self._upload_location + + @upload_location.setter + def upload_location(self, upload_location): + """ + Sets the upload_location of this CvdTemplate. + S3 directory location where the CVD definition has been uploaded + + :param upload_location: The upload_location of this CvdTemplate. + :type: str + """ + + self._upload_location = upload_location + + @property + def validator(self): + """ + Gets the validator of this CvdTemplate. + URL pointing to the S3 location of the workflow JSON which performs the validation task for this CVD + + :return: The validator of this CvdTemplate. + :rtype: str + """ + return self._validator + + @validator.setter + def validator(self, validator): + """ + Sets the validator of this CvdTemplate. + URL pointing to the S3 location of the workflow JSON which performs the validation task for this CVD + + :param validator: The validator of this CvdTemplate. + :type: str + """ + + self._validator = validator + + @property + def validator_input(self): + """ + Gets the validator_input of this CvdTemplate. + A collection of input name-value pairs + + :return: The validator_input of this CvdTemplate. + :rtype: list[CvdInputMeta] + """ + return self._validator_input + + @validator_input.setter + def validator_input(self, validator_input): + """ + Sets the validator_input of this CvdTemplate. + A collection of input name-value pairs + + :param validator_input: The validator_input of this CvdTemplate. + :type: list[CvdInputMeta] + """ + + self._validator_input = validator_input + + @property + def version(self): + """ + Gets the version of this CvdTemplate. + The version or revision number of the CVD definition + + :return: The version of this CvdTemplate. + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this CvdTemplate. + The version or revision number of the CVD definition + + :param version: The version of this CvdTemplate. + :type: int + """ + + self._version = version + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdTemplate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_template_list.py b/intersight/models/cvd_template_list.py new file mode 100644 index 00000000..c407846a --- /dev/null +++ b/intersight/models/cvd_template_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdTemplateList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[CvdTemplate]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + CvdTemplateList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this CvdTemplateList. + The number of cvdTemplates matching your request in total for all pages. + + :return: The count of this CvdTemplateList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this CvdTemplateList. + The number of cvdTemplates matching your request in total for all pages. + + :param count: The count of this CvdTemplateList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this CvdTemplateList. + The array of cvdTemplates matching your request. + + :return: The results of this CvdTemplateList. + :rtype: list[CvdTemplate] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this CvdTemplateList. + The array of cvdTemplates matching your request. + + :param results: The results of this CvdTemplateList. + :type: list[CvdTemplate] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdTemplateList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_template_ref.py b/intersight/models/cvd_template_ref.py new file mode 100644 index 00000000..78946ffe --- /dev/null +++ b/intersight/models/cvd_template_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdTemplateRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + CvdTemplateRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this CvdTemplateRef. + + :return: The moid of this CvdTemplateRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdTemplateRef. + + :param moid: The moid of this CvdTemplateRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdTemplateRef. + + :return: The object_type of this CvdTemplateRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdTemplateRef. + + :param object_type: The object_type of this CvdTemplateRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdTemplateRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_validation_task.py b/intersight/models/cvd_validation_task.py new file mode 100644 index 00000000..fc773a85 --- /dev/null +++ b/intersight/models/cvd_validation_task.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdValidationTask(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'input_data': 'object', + 'organization': 'IamAccountRef', + 'result': 'object', + 'template': 'CvdTemplateRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'input_data': 'InputData', + 'organization': 'Organization', + 'result': 'Result', + 'template': 'Template' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, input_data=None, organization=None, result=None, template=None): + """ + CvdValidationTask - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._input_data = None + self._organization = None + self._result = None + self._template = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if input_data is not None: + self.input_data = input_data + if organization is not None: + self.organization = organization + if result is not None: + self.result = result + if template is not None: + self.template = template + + @property + def account_moid(self): + """ + Gets the account_moid of this CvdValidationTask. + The Account ID for this managed object. + + :return: The account_moid of this CvdValidationTask. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this CvdValidationTask. + The Account ID for this managed object. + + :param account_moid: The account_moid of this CvdValidationTask. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this CvdValidationTask. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this CvdValidationTask. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this CvdValidationTask. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this CvdValidationTask. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this CvdValidationTask. + The time when this managed object was created. + + :return: The create_time of this CvdValidationTask. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this CvdValidationTask. + The time when this managed object was created. + + :param create_time: The create_time of this CvdValidationTask. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this CvdValidationTask. + The time when this managed object was last modified. + + :return: The mod_time of this CvdValidationTask. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this CvdValidationTask. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this CvdValidationTask. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this CvdValidationTask. + A unique identifier of this Managed Object instance. + + :return: The moid of this CvdValidationTask. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdValidationTask. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this CvdValidationTask. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdValidationTask. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this CvdValidationTask. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdValidationTask. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this CvdValidationTask. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this CvdValidationTask. + An array of owners which represent effective ownership of this object. + + :return: The owners of this CvdValidationTask. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this CvdValidationTask. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this CvdValidationTask. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this CvdValidationTask. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this CvdValidationTask. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this CvdValidationTask. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this CvdValidationTask. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this CvdValidationTask. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this CvdValidationTask. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this CvdValidationTask. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this CvdValidationTask. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this CvdValidationTask. + The versioning info for this managed object + + :return: The version_context of this CvdValidationTask. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this CvdValidationTask. + The versioning info for this managed object + + :param version_context: The version_context of this CvdValidationTask. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def input_data(self): + """ + Gets the input_data of this CvdValidationTask. + Input data set to be provided to the validation workflow + + :return: The input_data of this CvdValidationTask. + :rtype: object + """ + return self._input_data + + @input_data.setter + def input_data(self, input_data): + """ + Sets the input_data of this CvdValidationTask. + Input data set to be provided to the validation workflow + + :param input_data: The input_data of this CvdValidationTask. + :type: object + """ + + self._input_data = input_data + + @property + def organization(self): + """ + Gets the organization of this CvdValidationTask. + Organization + + :return: The organization of this CvdValidationTask. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this CvdValidationTask. + Organization + + :param organization: The organization of this CvdValidationTask. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def result(self): + """ + Gets the result of this CvdValidationTask. + Result of the validation operation + + :return: The result of this CvdValidationTask. + :rtype: object + """ + return self._result + + @result.setter + def result(self, result): + """ + Sets the result of this CvdValidationTask. + Result of the validation operation + + :param result: The result of this CvdValidationTask. + :type: object + """ + + self._result = result + + @property + def template(self): + """ + Gets the template of this CvdValidationTask. + eCVD instance for which the validation task is being run + + :return: The template of this CvdValidationTask. + :rtype: CvdTemplateRef + """ + return self._template + + @template.setter + def template(self, template): + """ + Sets the template of this CvdValidationTask. + eCVD instance for which the validation task is being run + + :param template: The template of this CvdValidationTask. + :type: CvdTemplateRef + """ + + self._template = template + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdValidationTask): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_validation_task_list.py b/intersight/models/cvd_validation_task_list.py new file mode 100644 index 00000000..34a4b55f --- /dev/null +++ b/intersight/models/cvd_validation_task_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdValidationTaskList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[CvdValidationTask]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + CvdValidationTaskList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this CvdValidationTaskList. + The number of cvdValidationTasks matching your request in total for all pages. + + :return: The count of this CvdValidationTaskList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this CvdValidationTaskList. + The number of cvdValidationTasks matching your request in total for all pages. + + :param count: The count of this CvdValidationTaskList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this CvdValidationTaskList. + The array of cvdValidationTasks matching your request. + + :return: The results of this CvdValidationTaskList. + :rtype: list[CvdValidationTask] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this CvdValidationTaskList. + The array of cvdValidationTasks matching your request. + + :param results: The results of this CvdValidationTaskList. + :type: list[CvdValidationTask] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdValidationTaskList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/cvd_validation_task_ref.py b/intersight/models/cvd_validation_task_ref.py new file mode 100644 index 00000000..30235a03 --- /dev/null +++ b/intersight/models/cvd_validation_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class CvdValidationTaskRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + CvdValidationTaskRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this CvdValidationTaskRef. + + :return: The moid of this CvdValidationTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this CvdValidationTaskRef. + + :param moid: The moid of this CvdValidationTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this CvdValidationTaskRef. + + :return: The object_type of this CvdValidationTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this CvdValidationTaskRef. + + :param object_type: The object_type of this CvdValidationTaskRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, CvdValidationTaskRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceconnector_deploy_task_ref.py b/intersight/models/deviceconnector_deploy_task_ref.py new file mode 100644 index 00000000..c8466306 --- /dev/null +++ b/intersight/models/deviceconnector_deploy_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DeviceconnectorDeployTaskRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + DeviceconnectorDeployTaskRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this DeviceconnectorDeployTaskRef. + + :return: The moid of this DeviceconnectorDeployTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DeviceconnectorDeployTaskRef. + + :param moid: The moid of this DeviceconnectorDeployTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DeviceconnectorDeployTaskRef. + + :return: The object_type of this DeviceconnectorDeployTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DeviceconnectorDeployTaskRef. + + :param object_type: The object_type of this DeviceconnectorDeployTaskRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, DeviceconnectorDeployTaskRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceconnector_policy.py b/intersight/models/deviceconnector_policy.py new file mode 100644 index 00000000..f1f5779e --- /dev/null +++ b/intersight/models/deviceconnector_policy.py @@ -0,0 +1,517 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DeviceconnectorPolicy(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'description': 'str', + 'name': 'str', + 'lockout_enabled': 'bool', + 'organization': 'IamAccountRef', + 'profiles': 'list[PolicyAbstractConfigProfileRef]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'description': 'Description', + 'name': 'Name', + 'lockout_enabled': 'LockoutEnabled', + 'organization': 'Organization', + 'profiles': 'Profiles' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, lockout_enabled=None, organization=None, profiles=None): + """ + DeviceconnectorPolicy - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._description = None + self._name = None + self._lockout_enabled = None + self._organization = None + self._profiles = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if description is not None: + self.description = description + if name is not None: + self.name = name + if lockout_enabled is not None: + self.lockout_enabled = lockout_enabled + if organization is not None: + self.organization = organization + if profiles is not None: + self.profiles = profiles + + @property + def account_moid(self): + """ + Gets the account_moid of this DeviceconnectorPolicy. + The Account ID for this managed object. + + :return: The account_moid of this DeviceconnectorPolicy. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this DeviceconnectorPolicy. + The Account ID for this managed object. + + :param account_moid: The account_moid of this DeviceconnectorPolicy. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this DeviceconnectorPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this DeviceconnectorPolicy. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this DeviceconnectorPolicy. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this DeviceconnectorPolicy. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this DeviceconnectorPolicy. + The time when this managed object was created. + + :return: The create_time of this DeviceconnectorPolicy. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this DeviceconnectorPolicy. + The time when this managed object was created. + + :param create_time: The create_time of this DeviceconnectorPolicy. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this DeviceconnectorPolicy. + The time when this managed object was last modified. + + :return: The mod_time of this DeviceconnectorPolicy. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this DeviceconnectorPolicy. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this DeviceconnectorPolicy. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this DeviceconnectorPolicy. + A unique identifier of this Managed Object instance. + + :return: The moid of this DeviceconnectorPolicy. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DeviceconnectorPolicy. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this DeviceconnectorPolicy. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DeviceconnectorPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this DeviceconnectorPolicy. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DeviceconnectorPolicy. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this DeviceconnectorPolicy. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this DeviceconnectorPolicy. + An array of owners which represent effective ownership of this object. + + :return: The owners of this DeviceconnectorPolicy. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this DeviceconnectorPolicy. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this DeviceconnectorPolicy. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this DeviceconnectorPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this DeviceconnectorPolicy. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this DeviceconnectorPolicy. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this DeviceconnectorPolicy. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this DeviceconnectorPolicy. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this DeviceconnectorPolicy. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this DeviceconnectorPolicy. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this DeviceconnectorPolicy. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this DeviceconnectorPolicy. + The versioning info for this managed object + + :return: The version_context of this DeviceconnectorPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this DeviceconnectorPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this DeviceconnectorPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def description(self): + """ + Gets the description of this DeviceconnectorPolicy. + Description of the policy. + + :return: The description of this DeviceconnectorPolicy. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """ + Sets the description of this DeviceconnectorPolicy. + Description of the policy. + + :param description: The description of this DeviceconnectorPolicy. + :type: str + """ + + self._description = description + + @property + def name(self): + """ + Gets the name of this DeviceconnectorPolicy. + Name of the policy. + + :return: The name of this DeviceconnectorPolicy. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this DeviceconnectorPolicy. + Name of the policy. + + :param name: The name of this DeviceconnectorPolicy. + :type: str + """ + + self._name = name + + @property + def lockout_enabled(self): + """ + Gets the lockout_enabled of this DeviceconnectorPolicy. + Enables configuration lockout on the endpoint + + :return: The lockout_enabled of this DeviceconnectorPolicy. + :rtype: bool + """ + return self._lockout_enabled + + @lockout_enabled.setter + def lockout_enabled(self, lockout_enabled): + """ + Sets the lockout_enabled of this DeviceconnectorPolicy. + Enables configuration lockout on the endpoint + + :param lockout_enabled: The lockout_enabled of this DeviceconnectorPolicy. + :type: bool + """ + + self._lockout_enabled = lockout_enabled + + @property + def organization(self): + """ + Gets the organization of this DeviceconnectorPolicy. + Organization + + :return: The organization of this DeviceconnectorPolicy. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this DeviceconnectorPolicy. + Organization + + :param organization: The organization of this DeviceconnectorPolicy. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def profiles(self): + """ + Gets the profiles of this DeviceconnectorPolicy. + Relationship to the profile object + + :return: The profiles of this DeviceconnectorPolicy. + :rtype: list[PolicyAbstractConfigProfileRef] + """ + return self._profiles + + @profiles.setter + def profiles(self, profiles): + """ + Sets the profiles of this DeviceconnectorPolicy. + Relationship to the profile object + + :param profiles: The profiles of this DeviceconnectorPolicy. + :type: list[PolicyAbstractConfigProfileRef] + """ + + self._profiles = profiles + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, DeviceconnectorPolicy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceconnector_policy_list.py b/intersight/models/deviceconnector_policy_list.py new file mode 100644 index 00000000..09c5a3b4 --- /dev/null +++ b/intersight/models/deviceconnector_policy_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DeviceconnectorPolicyList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[DeviceconnectorPolicy]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + DeviceconnectorPolicyList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this DeviceconnectorPolicyList. + The number of deviceconnectorPolicies matching your request in total for all pages. + + :return: The count of this DeviceconnectorPolicyList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this DeviceconnectorPolicyList. + The number of deviceconnectorPolicies matching your request in total for all pages. + + :param count: The count of this DeviceconnectorPolicyList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this DeviceconnectorPolicyList. + The array of deviceconnectorPolicies matching your request. + + :return: The results of this DeviceconnectorPolicyList. + :rtype: list[DeviceconnectorPolicy] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this DeviceconnectorPolicyList. + The array of deviceconnectorPolicies matching your request. + + :param results: The results of this DeviceconnectorPolicyList. + :type: list[DeviceconnectorPolicy] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, DeviceconnectorPolicyList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceconnector_policy_ref.py b/intersight/models/deviceconnector_policy_ref.py new file mode 100644 index 00000000..fc1ec44e --- /dev/null +++ b/intersight/models/deviceconnector_policy_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DeviceconnectorPolicyRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + DeviceconnectorPolicyRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this DeviceconnectorPolicyRef. + + :return: The moid of this DeviceconnectorPolicyRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DeviceconnectorPolicyRef. + + :param moid: The moid of this DeviceconnectorPolicyRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DeviceconnectorPolicyRef. + + :return: The object_type of this DeviceconnectorPolicyRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DeviceconnectorPolicyRef. + + :param object_type: The object_type of this DeviceconnectorPolicyRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, DeviceconnectorPolicyRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceconnector_validation_task_ref.py b/intersight/models/deviceconnector_validation_task_ref.py new file mode 100644 index 00000000..5c2e8532 --- /dev/null +++ b/intersight/models/deviceconnector_validation_task_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class DeviceconnectorValidationTaskRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + DeviceconnectorValidationTaskRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this DeviceconnectorValidationTaskRef. + + :return: The moid of this DeviceconnectorValidationTaskRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this DeviceconnectorValidationTaskRef. + + :param moid: The moid of this DeviceconnectorValidationTaskRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this DeviceconnectorValidationTaskRef. + + :return: The object_type of this DeviceconnectorValidationTaskRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this DeviceconnectorValidationTaskRef. + + :param object_type: The object_type of this DeviceconnectorValidationTaskRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, DeviceconnectorValidationTaskRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/deviceinfo_serial_number_info.py b/intersight/models/deviceinfo_serial_number_info.py index 1f83fc3b..8e7bf1f3 100644 --- a/intersight/models/deviceinfo_serial_number_info.py +++ b/intersight/models/deviceinfo_serial_number_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class DeviceinfoSerialNumberInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'covered_product_line_end_date': 'str', 'customer_address': 'str', 'customer_city': 'str', @@ -67,6 +68,7 @@ class DeviceinfoSerialNumberInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'covered_product_line_end_date': 'CoveredProductLineEndDate', 'customer_address': 'CustomerAddress', 'customer_city': 'CustomerCity', @@ -84,7 +86,7 @@ class DeviceinfoSerialNumberInfo(object): 'warranty_type': 'WarrantyType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, covered_product_line_end_date=None, customer_address=None, customer_city=None, customer_country=None, customer_name=None, customer_province=None, is_valid=None, item_description=None, orderable_pid=None, registered_device=None, serial_number=None, service_contract_number=None, service_line_descr=None, warranty_end_date=None, warranty_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, covered_product_line_end_date=None, customer_address=None, customer_city=None, customer_country=None, customer_name=None, customer_province=None, is_valid=None, item_description=None, orderable_pid=None, registered_device=None, serial_number=None, service_contract_number=None, service_line_descr=None, warranty_end_date=None, warranty_type=None): """ DeviceinfoSerialNumberInfo - a model defined in Swagger """ @@ -98,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._covered_product_line_end_date = None self._customer_address = None self._customer_city = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if covered_product_line_end_date is not None: self.covered_product_line_end_date = covered_product_line_end_date if customer_address is not None: @@ -351,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this DeviceinfoSerialNumberInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this DeviceinfoSerialNumberInfo. :rtype: list[MoTag] @@ -362,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this DeviceinfoSerialNumberInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this DeviceinfoSerialNumberInfo. :type: list[MoTag] @@ -370,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this DeviceinfoSerialNumberInfo. + The versioning info for this managed object + + :return: The version_context of this DeviceinfoSerialNumberInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this DeviceinfoSerialNumberInfo. + The versioning info for this managed object + + :param version_context: The version_context of this DeviceinfoSerialNumberInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def covered_product_line_end_date(self): """ diff --git a/intersight/models/deviceinfo_serial_number_info_list.py b/intersight/models/deviceinfo_serial_number_info_list.py index af5744bd..907f956a 100644 --- a/intersight/models/deviceinfo_serial_number_info_list.py +++ b/intersight/models/deviceinfo_serial_number_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/deviceinfo_serial_number_info_ref.py b/intersight/models/deviceinfo_serial_number_info_ref.py index 56219896..72fba424 100644 --- a/intersight/models/deviceinfo_serial_number_info_ref.py +++ b/intersight/models/deviceinfo_serial_number_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/devops_abstract_trigger_details.py b/intersight/models/devops_abstract_trigger_details.py index 60e9ae91..3d4af3f6 100644 --- a/intersight/models/devops_abstract_trigger_details.py +++ b/intersight/models/devops_abstract_trigger_details.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/devops_abstract_trigger_details_ref.py b/intersight/models/devops_abstract_trigger_details_ref.py index 86578520..d0af4470 100644 --- a/intersight/models/devops_abstract_trigger_details_ref.py +++ b/intersight/models/devops_abstract_trigger_details_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/devops_notification_trigger.py b/intersight/models/devops_notification_trigger.py index 4bb6f670..7f73dda6 100644 --- a/intersight/models/devops_notification_trigger.py +++ b/intersight/models/devops_notification_trigger.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/devops_notification_trigger_ref.py b/intersight/models/devops_notification_trigger_ref.py index 572d201c..02ecef45 100644 --- a/intersight/models/devops_notification_trigger_ref.py +++ b/intersight/models/devops_notification_trigger_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/devops_trigger_ref.py b/intersight/models/devops_trigger_ref.py index 4bf61628..623779e7 100644 --- a/intersight/models/devops_trigger_ref.py +++ b/intersight/models/devops_trigger_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/epansible_runner_ref.py b/intersight/models/epansible_runner_ref.py index eb6eb107..7891bdb4 100644 --- a/intersight/models/epansible_runner_ref.py +++ b/intersight/models/epansible_runner_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_base.py b/intersight/models/equipment_base.py index 3b49c125..10bdb984 100644 --- a/intersight/models/equipment_base.py +++ b/intersight/models/equipment_base.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentBase(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -59,6 +60,7 @@ class EquipmentBase(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -68,7 +70,7 @@ class EquipmentBase(object): 'vendor': 'Vendor' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None): """ EquipmentBase - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentBase. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentBase. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentBase. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentBase. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentBase. + The versioning info for this managed object + + :return: The version_context of this EquipmentBase. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentBase. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentBase. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_base_ref.py b/intersight/models/equipment_base_ref.py index 39a95165..8a468dd3 100644 --- a/intersight/models/equipment_base_ref.py +++ b/intersight/models/equipment_base_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_chassis.py b/intersight/models/equipment_chassis.py index 2318e9e2..e1a59a29 100644 --- a/intersight/models/equipment_chassis.py +++ b/intersight/models/equipment_chassis.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentChassis(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -68,6 +69,7 @@ class EquipmentChassis(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -86,7 +88,7 @@ class EquipmentChassis(object): 'storage_enclosures': 'StorageEnclosures' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, blades=None, fanmodules=None, ioms=None, oper_state=None, psus=None, registered_device=None, sasexpanders=None, siocs=None, storage_enclosures=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, blades=None, fanmodules=None, ioms=None, oper_state=None, psus=None, registered_device=None, sasexpanders=None, siocs=None, storage_enclosures=None): """ EquipmentChassis - a model defined in Swagger """ @@ -100,6 +102,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -135,6 +138,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -356,7 +361,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentChassis. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentChassis. :rtype: list[MoTag] @@ -367,7 +372,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentChassis. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentChassis. :type: list[MoTag] @@ -375,6 +380,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentChassis. + The versioning info for this managed object + + :return: The version_context of this EquipmentChassis. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentChassis. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentChassis. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_chassis_list.py b/intersight/models/equipment_chassis_list.py index 511de19d..ecce0841 100644 --- a/intersight/models/equipment_chassis_list.py +++ b/intersight/models/equipment_chassis_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_chassis_ref.py b/intersight/models/equipment_chassis_ref.py index 06dd1b15..5ee25c20 100644 --- a/intersight/models/equipment_chassis_ref.py +++ b/intersight/models/equipment_chassis_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_device_summary.py b/intersight/models/equipment_device_summary.py index d82fb38e..0090a144 100644 --- a/intersight/models/equipment_device_summary.py +++ b/intersight/models/equipment_device_summary.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentDeviceSummary(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'dn': 'str', 'model': 'str', 'registered_device': 'AssetDeviceRegistrationRef', @@ -57,6 +58,7 @@ class EquipmentDeviceSummary(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'dn': 'Dn', 'model': 'Model', 'registered_device': 'RegisteredDevice', @@ -64,7 +66,7 @@ class EquipmentDeviceSummary(object): 'source_object_type': 'SourceObjectType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, dn=None, model=None, registered_device=None, serial=None, source_object_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, dn=None, model=None, registered_device=None, serial=None, source_object_type=None): """ EquipmentDeviceSummary - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._dn = None self._model = None self._registered_device = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if dn is not None: self.dn = dn if model is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentDeviceSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentDeviceSummary. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentDeviceSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentDeviceSummary. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentDeviceSummary. + The versioning info for this managed object + + :return: The version_context of this EquipmentDeviceSummary. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentDeviceSummary. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentDeviceSummary. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def dn(self): """ diff --git a/intersight/models/equipment_device_summary_list.py b/intersight/models/equipment_device_summary_list.py index fa349275..0f8ab2c0 100644 --- a/intersight/models/equipment_device_summary_list.py +++ b/intersight/models/equipment_device_summary_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_device_summary_ref.py b/intersight/models/equipment_device_summary_ref.py index d0bff693..3cdadfdf 100644 --- a/intersight/models/equipment_device_summary_ref.py +++ b/intersight/models/equipment_device_summary_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan.py b/intersight/models/equipment_fan.py index 36497983..9eee1174 100644 --- a/intersight/models/equipment_fan.py +++ b/intersight/models/equipment_fan.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentFan(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -63,6 +64,7 @@ class EquipmentFan(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -76,7 +78,7 @@ class EquipmentFan(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_fan_module=None, oper_state=None, presence=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_fan_module=None, oper_state=None, presence=None, registered_device=None): """ EquipmentFan - a model defined in Swagger """ @@ -90,6 +92,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -120,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -331,7 +336,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentFan. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentFan. :rtype: list[MoTag] @@ -342,7 +347,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentFan. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentFan. :type: list[MoTag] @@ -350,6 +355,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentFan. + The versioning info for this managed object + + :return: The version_context of this EquipmentFan. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentFan. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentFan. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_fan_list.py b/intersight/models/equipment_fan_list.py index 096dc10f..0f9b5621 100644 --- a/intersight/models/equipment_fan_list.py +++ b/intersight/models/equipment_fan_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan_module.py b/intersight/models/equipment_fan_module.py index ee38be6e..50592435 100644 --- a/intersight/models/equipment_fan_module.py +++ b/intersight/models/equipment_fan_module.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentFanModule(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -49,6 +50,7 @@ class EquipmentFanModule(object): 'vendor': 'str', 'compute_rack_unit': 'ComputeRackUnitRef', 'equipment_chassis': 'EquipmentChassisRef', + 'equipment_rack_enclosure': 'EquipmentRackEnclosureRef', 'fans': 'list[EquipmentFanRef]', 'network_element': 'NetworkElementRef', 'oper_state': 'str', @@ -66,6 +68,7 @@ class EquipmentFanModule(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -75,6 +78,7 @@ class EquipmentFanModule(object): 'vendor': 'Vendor', 'compute_rack_unit': 'ComputeRackUnit', 'equipment_chassis': 'EquipmentChassis', + 'equipment_rack_enclosure': 'EquipmentRackEnclosure', 'fans': 'Fans', 'network_element': 'NetworkElement', 'oper_state': 'OperState', @@ -82,7 +86,7 @@ class EquipmentFanModule(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_rack_unit=None, equipment_chassis=None, fans=None, network_element=None, oper_state=None, presence=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_rack_unit=None, equipment_chassis=None, equipment_rack_enclosure=None, fans=None, network_element=None, oper_state=None, presence=None, registered_device=None): """ EquipmentFanModule - a model defined in Swagger """ @@ -96,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -105,6 +110,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._vendor = None self._compute_rack_unit = None self._equipment_chassis = None + self._equipment_rack_enclosure = None self._fans = None self._network_element = None self._oper_state = None @@ -129,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -147,6 +155,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.compute_rack_unit = compute_rack_unit if equipment_chassis is not None: self.equipment_chassis = equipment_chassis + if equipment_rack_enclosure is not None: + self.equipment_rack_enclosure = equipment_rack_enclosure if fans is not None: self.fans = fans if network_element is not None: @@ -346,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentFanModule. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentFanModule. :rtype: list[MoTag] @@ -357,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentFanModule. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentFanModule. :type: list[MoTag] @@ -365,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentFanModule. + The versioning info for this managed object + + :return: The version_context of this EquipmentFanModule. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentFanModule. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentFanModule. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -554,6 +587,27 @@ def equipment_chassis(self, equipment_chassis): self._equipment_chassis = equipment_chassis + @property + def equipment_rack_enclosure(self): + """ + Gets the equipment_rack_enclosure of this EquipmentFanModule. + + :return: The equipment_rack_enclosure of this EquipmentFanModule. + :rtype: EquipmentRackEnclosureRef + """ + return self._equipment_rack_enclosure + + @equipment_rack_enclosure.setter + def equipment_rack_enclosure(self, equipment_rack_enclosure): + """ + Sets the equipment_rack_enclosure of this EquipmentFanModule. + + :param equipment_rack_enclosure: The equipment_rack_enclosure of this EquipmentFanModule. + :type: EquipmentRackEnclosureRef + """ + + self._equipment_rack_enclosure = equipment_rack_enclosure + @property def fans(self): """ diff --git a/intersight/models/equipment_fan_module_list.py b/intersight/models/equipment_fan_module_list.py index 397af8f8..58222172 100644 --- a/intersight/models/equipment_fan_module_list.py +++ b/intersight/models/equipment_fan_module_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan_module_ref.py b/intersight/models/equipment_fan_module_ref.py index f0d82d7c..2f5b636e 100644 --- a/intersight/models/equipment_fan_module_ref.py +++ b/intersight/models/equipment_fan_module_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fan_ref.py b/intersight/models/equipment_fan_ref.py index f1de8a2b..4b5bcb66 100644 --- a/intersight/models/equipment_fan_ref.py +++ b/intersight/models/equipment_fan_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fex.py b/intersight/models/equipment_fex.py index d381394b..c86e0d14 100644 --- a/intersight/models/equipment_fex.py +++ b/intersight/models/equipment_fex.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentFex(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -61,6 +62,7 @@ class EquipmentFex(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -72,7 +74,7 @@ class EquipmentFex(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, oper_state=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, oper_state=None, registered_device=None): """ EquipmentFex - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentFex. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentFex. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentFex. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentFex. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentFex. + The versioning info for this managed object + + :return: The version_context of this EquipmentFex. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentFex. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentFex. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_fex_list.py b/intersight/models/equipment_fex_list.py index 2dd9ed01..fda1df25 100644 --- a/intersight/models/equipment_fex_list.py +++ b/intersight/models/equipment_fex_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_fex_ref.py b/intersight/models/equipment_fex_ref.py index 98339dff..019c7930 100644 --- a/intersight/models/equipment_fex_ref.py +++ b/intersight/models/equipment_fex_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_io_card.py b/intersight/models/equipment_io_card.py index c9efac82..a4b2af39 100644 --- a/intersight/models/equipment_io_card.py +++ b/intersight/models/equipment_io_card.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentIoCard(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class EquipmentIoCard(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class EquipmentIoCard(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_chassis=None, oper_state=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_chassis=None, oper_state=None, registered_device=None): """ EquipmentIoCard - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentIoCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentIoCard. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentIoCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentIoCard. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentIoCard. + The versioning info for this managed object + + :return: The version_context of this EquipmentIoCard. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentIoCard. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentIoCard. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_io_card_list.py b/intersight/models/equipment_io_card_list.py index d120252c..43e1c963 100644 --- a/intersight/models/equipment_io_card_list.py +++ b/intersight/models/equipment_io_card_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_io_card_ref.py b/intersight/models/equipment_io_card_ref.py index 4989eeff..63e1d8dc 100644 --- a/intersight/models/equipment_io_card_ref.py +++ b/intersight/models/equipment_io_card_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_io_expander.py b/intersight/models/equipment_io_expander.py new file mode 100644 index 00000000..a563647c --- /dev/null +++ b/intersight/models/equipment_io_expander.py @@ -0,0 +1,663 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentIoExpander(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'model': 'str', + 'revision': 'str', + 'serial': 'str', + 'vendor': 'str', + 'compute_blade': 'ComputeBladeRef', + 'oper_state': 'str', + 'presence': 'str', + 'registered_device': 'AssetDeviceRegistrationRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'model': 'Model', + 'revision': 'Revision', + 'serial': 'Serial', + 'vendor': 'Vendor', + 'compute_blade': 'ComputeBlade', + 'oper_state': 'OperState', + 'presence': 'Presence', + 'registered_device': 'RegisteredDevice' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_blade=None, oper_state=None, presence=None, registered_device=None): + """ + EquipmentIoExpander - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._model = None + self._revision = None + self._serial = None + self._vendor = None + self._compute_blade = None + self._oper_state = None + self._presence = None + self._registered_device = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if model is not None: + self.model = model + if revision is not None: + self.revision = revision + if serial is not None: + self.serial = serial + if vendor is not None: + self.vendor = vendor + if compute_blade is not None: + self.compute_blade = compute_blade + if oper_state is not None: + self.oper_state = oper_state + if presence is not None: + self.presence = presence + if registered_device is not None: + self.registered_device = registered_device + + @property + def account_moid(self): + """ + Gets the account_moid of this EquipmentIoExpander. + The Account ID for this managed object. + + :return: The account_moid of this EquipmentIoExpander. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this EquipmentIoExpander. + The Account ID for this managed object. + + :param account_moid: The account_moid of this EquipmentIoExpander. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this EquipmentIoExpander. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this EquipmentIoExpander. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this EquipmentIoExpander. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this EquipmentIoExpander. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this EquipmentIoExpander. + The time when this managed object was created. + + :return: The create_time of this EquipmentIoExpander. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this EquipmentIoExpander. + The time when this managed object was created. + + :param create_time: The create_time of this EquipmentIoExpander. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this EquipmentIoExpander. + The time when this managed object was last modified. + + :return: The mod_time of this EquipmentIoExpander. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this EquipmentIoExpander. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this EquipmentIoExpander. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this EquipmentIoExpander. + A unique identifier of this Managed Object instance. + + :return: The moid of this EquipmentIoExpander. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentIoExpander. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this EquipmentIoExpander. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentIoExpander. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this EquipmentIoExpander. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentIoExpander. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this EquipmentIoExpander. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this EquipmentIoExpander. + An array of owners which represent effective ownership of this object. + + :return: The owners of this EquipmentIoExpander. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this EquipmentIoExpander. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this EquipmentIoExpander. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this EquipmentIoExpander. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this EquipmentIoExpander. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this EquipmentIoExpander. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this EquipmentIoExpander. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this EquipmentIoExpander. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this EquipmentIoExpander. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this EquipmentIoExpander. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this EquipmentIoExpander. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this EquipmentIoExpander. + The versioning info for this managed object + + :return: The version_context of this EquipmentIoExpander. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentIoExpander. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentIoExpander. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this EquipmentIoExpander. + + :return: The device_mo_id of this EquipmentIoExpander. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this EquipmentIoExpander. + + :param device_mo_id: The device_mo_id of this EquipmentIoExpander. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this EquipmentIoExpander. + + :return: The dn of this EquipmentIoExpander. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this EquipmentIoExpander. + + :param dn: The dn of this EquipmentIoExpander. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this EquipmentIoExpander. + + :return: The rn of this EquipmentIoExpander. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this EquipmentIoExpander. + + :param rn: The rn of this EquipmentIoExpander. + :type: str + """ + + self._rn = rn + + @property + def model(self): + """ + Gets the model of this EquipmentIoExpander. + + :return: The model of this EquipmentIoExpander. + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """ + Sets the model of this EquipmentIoExpander. + + :param model: The model of this EquipmentIoExpander. + :type: str + """ + + self._model = model + + @property + def revision(self): + """ + Gets the revision of this EquipmentIoExpander. + + :return: The revision of this EquipmentIoExpander. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this EquipmentIoExpander. + + :param revision: The revision of this EquipmentIoExpander. + :type: str + """ + + self._revision = revision + + @property + def serial(self): + """ + Gets the serial of this EquipmentIoExpander. + + :return: The serial of this EquipmentIoExpander. + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """ + Sets the serial of this EquipmentIoExpander. + + :param serial: The serial of this EquipmentIoExpander. + :type: str + """ + + self._serial = serial + + @property + def vendor(self): + """ + Gets the vendor of this EquipmentIoExpander. + + :return: The vendor of this EquipmentIoExpander. + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this EquipmentIoExpander. + + :param vendor: The vendor of this EquipmentIoExpander. + :type: str + """ + + self._vendor = vendor + + @property + def compute_blade(self): + """ + Gets the compute_blade of this EquipmentIoExpander. + + :return: The compute_blade of this EquipmentIoExpander. + :rtype: ComputeBladeRef + """ + return self._compute_blade + + @compute_blade.setter + def compute_blade(self, compute_blade): + """ + Sets the compute_blade of this EquipmentIoExpander. + + :param compute_blade: The compute_blade of this EquipmentIoExpander. + :type: ComputeBladeRef + """ + + self._compute_blade = compute_blade + + @property + def oper_state(self): + """ + Gets the oper_state of this EquipmentIoExpander. + + :return: The oper_state of this EquipmentIoExpander. + :rtype: str + """ + return self._oper_state + + @oper_state.setter + def oper_state(self, oper_state): + """ + Sets the oper_state of this EquipmentIoExpander. + + :param oper_state: The oper_state of this EquipmentIoExpander. + :type: str + """ + + self._oper_state = oper_state + + @property + def presence(self): + """ + Gets the presence of this EquipmentIoExpander. + + :return: The presence of this EquipmentIoExpander. + :rtype: str + """ + return self._presence + + @presence.setter + def presence(self, presence): + """ + Sets the presence of this EquipmentIoExpander. + + :param presence: The presence of this EquipmentIoExpander. + :type: str + """ + + self._presence = presence + + @property + def registered_device(self): + """ + Gets the registered_device of this EquipmentIoExpander. + + :return: The registered_device of this EquipmentIoExpander. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this EquipmentIoExpander. + + :param registered_device: The registered_device of this EquipmentIoExpander. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentIoExpander): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_io_expander_list.py b/intersight/models/equipment_io_expander_list.py new file mode 100644 index 00000000..fa9720ad --- /dev/null +++ b/intersight/models/equipment_io_expander_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentIoExpanderList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[EquipmentIoExpander]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + EquipmentIoExpanderList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this EquipmentIoExpanderList. + The number of equipmentIoExpanders matching your request in total for all pages. + + :return: The count of this EquipmentIoExpanderList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this EquipmentIoExpanderList. + The number of equipmentIoExpanders matching your request in total for all pages. + + :param count: The count of this EquipmentIoExpanderList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this EquipmentIoExpanderList. + The array of equipmentIoExpanders matching your request. + + :return: The results of this EquipmentIoExpanderList. + :rtype: list[EquipmentIoExpander] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this EquipmentIoExpanderList. + The array of equipmentIoExpanders matching your request. + + :param results: The results of this EquipmentIoExpanderList. + :type: list[EquipmentIoExpander] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentIoExpanderList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_io_expander_ref.py b/intersight/models/equipment_io_expander_ref.py new file mode 100644 index 00000000..651345ad --- /dev/null +++ b/intersight/models/equipment_io_expander_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentIoExpanderRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + EquipmentIoExpanderRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this EquipmentIoExpanderRef. + + :return: The moid of this EquipmentIoExpanderRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentIoExpanderRef. + + :param moid: The moid of this EquipmentIoExpanderRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentIoExpanderRef. + + :return: The object_type of this EquipmentIoExpanderRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentIoExpanderRef. + + :param object_type: The object_type of this EquipmentIoExpanderRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentIoExpanderRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_locator_led.py b/intersight/models/equipment_locator_led.py index 70834a3e..c090bd6d 100644 --- a/intersight/models/equipment_locator_led.py +++ b/intersight/models/equipment_locator_led.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentLocatorLed(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -61,6 +62,7 @@ class EquipmentLocatorLed(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -72,7 +74,7 @@ class EquipmentLocatorLed(object): 'storage_physical_disk': 'StoragePhysicalDisk' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, color=None, compute_blade=None, compute_rack_unit=None, oper_state=None, registered_device=None, storage_physical_disk=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, color=None, compute_blade=None, compute_rack_unit=None, oper_state=None, registered_device=None, storage_physical_disk=None): """ EquipmentLocatorLed - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentLocatorLed. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentLocatorLed. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentLocatorLed. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentLocatorLed. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentLocatorLed. + The versioning info for this managed object + + :return: The version_context of this EquipmentLocatorLed. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentLocatorLed. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentLocatorLed. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_locator_led_list.py b/intersight/models/equipment_locator_led_list.py index 92547acb..3c994e95 100644 --- a/intersight/models/equipment_locator_led_list.py +++ b/intersight/models/equipment_locator_led_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_locator_led_ref.py b/intersight/models/equipment_locator_led_ref.py index 11040964..01e42661 100644 --- a/intersight/models/equipment_locator_led_ref.py +++ b/intersight/models/equipment_locator_led_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_psu.py b/intersight/models/equipment_psu.py index a3eac957..404c3718 100644 --- a/intersight/models/equipment_psu.py +++ b/intersight/models/equipment_psu.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentPsu(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -49,6 +50,7 @@ class EquipmentPsu(object): 'vendor': 'str', 'compute_rack_unit': 'ComputeRackUnitRef', 'equipment_chassis': 'EquipmentChassisRef', + 'equipment_rack_enclosure': 'EquipmentRackEnclosureRef', 'network_element': 'NetworkElementRef', 'oper_state': 'str', 'presence': 'str', @@ -66,6 +68,7 @@ class EquipmentPsu(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -75,6 +78,7 @@ class EquipmentPsu(object): 'vendor': 'Vendor', 'compute_rack_unit': 'ComputeRackUnit', 'equipment_chassis': 'EquipmentChassis', + 'equipment_rack_enclosure': 'EquipmentRackEnclosure', 'network_element': 'NetworkElement', 'oper_state': 'OperState', 'presence': 'Presence', @@ -82,7 +86,7 @@ class EquipmentPsu(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_rack_unit=None, equipment_chassis=None, network_element=None, oper_state=None, presence=None, psu_id=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_rack_unit=None, equipment_chassis=None, equipment_rack_enclosure=None, network_element=None, oper_state=None, presence=None, psu_id=None, registered_device=None): """ EquipmentPsu - a model defined in Swagger """ @@ -96,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -105,6 +110,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._vendor = None self._compute_rack_unit = None self._equipment_chassis = None + self._equipment_rack_enclosure = None self._network_element = None self._oper_state = None self._presence = None @@ -129,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -147,6 +155,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.compute_rack_unit = compute_rack_unit if equipment_chassis is not None: self.equipment_chassis = equipment_chassis + if equipment_rack_enclosure is not None: + self.equipment_rack_enclosure = equipment_rack_enclosure if network_element is not None: self.network_element = network_element if oper_state is not None: @@ -346,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentPsu. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentPsu. :rtype: list[MoTag] @@ -357,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentPsu. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentPsu. :type: list[MoTag] @@ -365,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentPsu. + The versioning info for this managed object + + :return: The version_context of this EquipmentPsu. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentPsu. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentPsu. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -554,6 +587,27 @@ def equipment_chassis(self, equipment_chassis): self._equipment_chassis = equipment_chassis + @property + def equipment_rack_enclosure(self): + """ + Gets the equipment_rack_enclosure of this EquipmentPsu. + + :return: The equipment_rack_enclosure of this EquipmentPsu. + :rtype: EquipmentRackEnclosureRef + """ + return self._equipment_rack_enclosure + + @equipment_rack_enclosure.setter + def equipment_rack_enclosure(self, equipment_rack_enclosure): + """ + Sets the equipment_rack_enclosure of this EquipmentPsu. + + :param equipment_rack_enclosure: The equipment_rack_enclosure of this EquipmentPsu. + :type: EquipmentRackEnclosureRef + """ + + self._equipment_rack_enclosure = equipment_rack_enclosure + @property def network_element(self): """ diff --git a/intersight/models/equipment_psu_list.py b/intersight/models/equipment_psu_list.py index 2ad621e5..3468dc1d 100644 --- a/intersight/models/equipment_psu_list.py +++ b/intersight/models/equipment_psu_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_psu_ref.py b/intersight/models/equipment_psu_ref.py index 93e51133..eb471e30 100644 --- a/intersight/models/equipment_psu_ref.py +++ b/intersight/models/equipment_psu_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_rack_enclosure.py b/intersight/models/equipment_rack_enclosure.py new file mode 100644 index 00000000..cefbd8c0 --- /dev/null +++ b/intersight/models/equipment_rack_enclosure.py @@ -0,0 +1,689 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosure(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'model': 'str', + 'revision': 'str', + 'serial': 'str', + 'vendor': 'str', + 'enclosure_id': 'int', + 'fanmodules': 'list[EquipmentFanModuleRef]', + 'psus': 'list[EquipmentPsuRef]', + 'registered_device': 'AssetDeviceRegistrationRef', + 'slots': 'list[EquipmentRackEnclosureSlotRef]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'model': 'Model', + 'revision': 'Revision', + 'serial': 'Serial', + 'vendor': 'Vendor', + 'enclosure_id': 'EnclosureId', + 'fanmodules': 'Fanmodules', + 'psus': 'Psus', + 'registered_device': 'RegisteredDevice', + 'slots': 'Slots' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, enclosure_id=None, fanmodules=None, psus=None, registered_device=None, slots=None): + """ + EquipmentRackEnclosure - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._model = None + self._revision = None + self._serial = None + self._vendor = None + self._enclosure_id = None + self._fanmodules = None + self._psus = None + self._registered_device = None + self._slots = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if model is not None: + self.model = model + if revision is not None: + self.revision = revision + if serial is not None: + self.serial = serial + if vendor is not None: + self.vendor = vendor + if enclosure_id is not None: + self.enclosure_id = enclosure_id + if fanmodules is not None: + self.fanmodules = fanmodules + if psus is not None: + self.psus = psus + if registered_device is not None: + self.registered_device = registered_device + if slots is not None: + self.slots = slots + + @property + def account_moid(self): + """ + Gets the account_moid of this EquipmentRackEnclosure. + The Account ID for this managed object. + + :return: The account_moid of this EquipmentRackEnclosure. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this EquipmentRackEnclosure. + The Account ID for this managed object. + + :param account_moid: The account_moid of this EquipmentRackEnclosure. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this EquipmentRackEnclosure. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this EquipmentRackEnclosure. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this EquipmentRackEnclosure. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this EquipmentRackEnclosure. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this EquipmentRackEnclosure. + The time when this managed object was created. + + :return: The create_time of this EquipmentRackEnclosure. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this EquipmentRackEnclosure. + The time when this managed object was created. + + :param create_time: The create_time of this EquipmentRackEnclosure. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this EquipmentRackEnclosure. + The time when this managed object was last modified. + + :return: The mod_time of this EquipmentRackEnclosure. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this EquipmentRackEnclosure. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this EquipmentRackEnclosure. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this EquipmentRackEnclosure. + A unique identifier of this Managed Object instance. + + :return: The moid of this EquipmentRackEnclosure. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentRackEnclosure. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this EquipmentRackEnclosure. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentRackEnclosure. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this EquipmentRackEnclosure. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentRackEnclosure. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this EquipmentRackEnclosure. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this EquipmentRackEnclosure. + An array of owners which represent effective ownership of this object. + + :return: The owners of this EquipmentRackEnclosure. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this EquipmentRackEnclosure. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this EquipmentRackEnclosure. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this EquipmentRackEnclosure. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this EquipmentRackEnclosure. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this EquipmentRackEnclosure. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this EquipmentRackEnclosure. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this EquipmentRackEnclosure. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this EquipmentRackEnclosure. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this EquipmentRackEnclosure. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this EquipmentRackEnclosure. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this EquipmentRackEnclosure. + The versioning info for this managed object + + :return: The version_context of this EquipmentRackEnclosure. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentRackEnclosure. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentRackEnclosure. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this EquipmentRackEnclosure. + + :return: The device_mo_id of this EquipmentRackEnclosure. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this EquipmentRackEnclosure. + + :param device_mo_id: The device_mo_id of this EquipmentRackEnclosure. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this EquipmentRackEnclosure. + + :return: The dn of this EquipmentRackEnclosure. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this EquipmentRackEnclosure. + + :param dn: The dn of this EquipmentRackEnclosure. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this EquipmentRackEnclosure. + + :return: The rn of this EquipmentRackEnclosure. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this EquipmentRackEnclosure. + + :param rn: The rn of this EquipmentRackEnclosure. + :type: str + """ + + self._rn = rn + + @property + def model(self): + """ + Gets the model of this EquipmentRackEnclosure. + + :return: The model of this EquipmentRackEnclosure. + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """ + Sets the model of this EquipmentRackEnclosure. + + :param model: The model of this EquipmentRackEnclosure. + :type: str + """ + + self._model = model + + @property + def revision(self): + """ + Gets the revision of this EquipmentRackEnclosure. + + :return: The revision of this EquipmentRackEnclosure. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this EquipmentRackEnclosure. + + :param revision: The revision of this EquipmentRackEnclosure. + :type: str + """ + + self._revision = revision + + @property + def serial(self): + """ + Gets the serial of this EquipmentRackEnclosure. + + :return: The serial of this EquipmentRackEnclosure. + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """ + Sets the serial of this EquipmentRackEnclosure. + + :param serial: The serial of this EquipmentRackEnclosure. + :type: str + """ + + self._serial = serial + + @property + def vendor(self): + """ + Gets the vendor of this EquipmentRackEnclosure. + + :return: The vendor of this EquipmentRackEnclosure. + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this EquipmentRackEnclosure. + + :param vendor: The vendor of this EquipmentRackEnclosure. + :type: str + """ + + self._vendor = vendor + + @property + def enclosure_id(self): + """ + Gets the enclosure_id of this EquipmentRackEnclosure. + + :return: The enclosure_id of this EquipmentRackEnclosure. + :rtype: int + """ + return self._enclosure_id + + @enclosure_id.setter + def enclosure_id(self, enclosure_id): + """ + Sets the enclosure_id of this EquipmentRackEnclosure. + + :param enclosure_id: The enclosure_id of this EquipmentRackEnclosure. + :type: int + """ + + self._enclosure_id = enclosure_id + + @property + def fanmodules(self): + """ + Gets the fanmodules of this EquipmentRackEnclosure. + + :return: The fanmodules of this EquipmentRackEnclosure. + :rtype: list[EquipmentFanModuleRef] + """ + return self._fanmodules + + @fanmodules.setter + def fanmodules(self, fanmodules): + """ + Sets the fanmodules of this EquipmentRackEnclosure. + + :param fanmodules: The fanmodules of this EquipmentRackEnclosure. + :type: list[EquipmentFanModuleRef] + """ + + self._fanmodules = fanmodules + + @property + def psus(self): + """ + Gets the psus of this EquipmentRackEnclosure. + + :return: The psus of this EquipmentRackEnclosure. + :rtype: list[EquipmentPsuRef] + """ + return self._psus + + @psus.setter + def psus(self, psus): + """ + Sets the psus of this EquipmentRackEnclosure. + + :param psus: The psus of this EquipmentRackEnclosure. + :type: list[EquipmentPsuRef] + """ + + self._psus = psus + + @property + def registered_device(self): + """ + Gets the registered_device of this EquipmentRackEnclosure. + + :return: The registered_device of this EquipmentRackEnclosure. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this EquipmentRackEnclosure. + + :param registered_device: The registered_device of this EquipmentRackEnclosure. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + @property + def slots(self): + """ + Gets the slots of this EquipmentRackEnclosure. + + :return: The slots of this EquipmentRackEnclosure. + :rtype: list[EquipmentRackEnclosureSlotRef] + """ + return self._slots + + @slots.setter + def slots(self, slots): + """ + Sets the slots of this EquipmentRackEnclosure. + + :param slots: The slots of this EquipmentRackEnclosure. + :type: list[EquipmentRackEnclosureSlotRef] + """ + + self._slots = slots + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosure): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_rack_enclosure_list.py b/intersight/models/equipment_rack_enclosure_list.py new file mode 100644 index 00000000..338cec40 --- /dev/null +++ b/intersight/models/equipment_rack_enclosure_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosureList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[EquipmentRackEnclosure]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + EquipmentRackEnclosureList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this EquipmentRackEnclosureList. + The number of equipmentRackEnclosures matching your request in total for all pages. + + :return: The count of this EquipmentRackEnclosureList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this EquipmentRackEnclosureList. + The number of equipmentRackEnclosures matching your request in total for all pages. + + :param count: The count of this EquipmentRackEnclosureList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this EquipmentRackEnclosureList. + The array of equipmentRackEnclosures matching your request. + + :return: The results of this EquipmentRackEnclosureList. + :rtype: list[EquipmentRackEnclosure] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this EquipmentRackEnclosureList. + The array of equipmentRackEnclosures matching your request. + + :param results: The results of this EquipmentRackEnclosureList. + :type: list[EquipmentRackEnclosure] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosureList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_rack_enclosure_ref.py b/intersight/models/equipment_rack_enclosure_ref.py new file mode 100644 index 00000000..cdce6227 --- /dev/null +++ b/intersight/models/equipment_rack_enclosure_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosureRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + EquipmentRackEnclosureRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this EquipmentRackEnclosureRef. + + :return: The moid of this EquipmentRackEnclosureRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentRackEnclosureRef. + + :param moid: The moid of this EquipmentRackEnclosureRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentRackEnclosureRef. + + :return: The object_type of this EquipmentRackEnclosureRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentRackEnclosureRef. + + :param object_type: The object_type of this EquipmentRackEnclosureRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosureRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_rack_enclosure_slot.py b/intersight/models/equipment_rack_enclosure_slot.py new file mode 100644 index 00000000..025b1acf --- /dev/null +++ b/intersight/models/equipment_rack_enclosure_slot.py @@ -0,0 +1,689 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosureSlot(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'model': 'str', + 'revision': 'str', + 'serial': 'str', + 'vendor': 'str', + 'equipment_rack_enclosure': 'EquipmentRackEnclosureRef', + 'rack_id': 'int', + 'rack_unit': 'ComputeRackUnitRef', + 'rack_unit_dn': 'str', + 'registered_device': 'AssetDeviceRegistrationRef' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'model': 'Model', + 'revision': 'Revision', + 'serial': 'Serial', + 'vendor': 'Vendor', + 'equipment_rack_enclosure': 'EquipmentRackEnclosure', + 'rack_id': 'RackId', + 'rack_unit': 'RackUnit', + 'rack_unit_dn': 'RackUnitDn', + 'registered_device': 'RegisteredDevice' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_rack_enclosure=None, rack_id=None, rack_unit=None, rack_unit_dn=None, registered_device=None): + """ + EquipmentRackEnclosureSlot - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._model = None + self._revision = None + self._serial = None + self._vendor = None + self._equipment_rack_enclosure = None + self._rack_id = None + self._rack_unit = None + self._rack_unit_dn = None + self._registered_device = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if model is not None: + self.model = model + if revision is not None: + self.revision = revision + if serial is not None: + self.serial = serial + if vendor is not None: + self.vendor = vendor + if equipment_rack_enclosure is not None: + self.equipment_rack_enclosure = equipment_rack_enclosure + if rack_id is not None: + self.rack_id = rack_id + if rack_unit is not None: + self.rack_unit = rack_unit + if rack_unit_dn is not None: + self.rack_unit_dn = rack_unit_dn + if registered_device is not None: + self.registered_device = registered_device + + @property + def account_moid(self): + """ + Gets the account_moid of this EquipmentRackEnclosureSlot. + The Account ID for this managed object. + + :return: The account_moid of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this EquipmentRackEnclosureSlot. + The Account ID for this managed object. + + :param account_moid: The account_moid of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this EquipmentRackEnclosureSlot. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this EquipmentRackEnclosureSlot. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this EquipmentRackEnclosureSlot. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this EquipmentRackEnclosureSlot. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this EquipmentRackEnclosureSlot. + The time when this managed object was created. + + :return: The create_time of this EquipmentRackEnclosureSlot. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this EquipmentRackEnclosureSlot. + The time when this managed object was created. + + :param create_time: The create_time of this EquipmentRackEnclosureSlot. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this EquipmentRackEnclosureSlot. + The time when this managed object was last modified. + + :return: The mod_time of this EquipmentRackEnclosureSlot. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this EquipmentRackEnclosureSlot. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this EquipmentRackEnclosureSlot. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this EquipmentRackEnclosureSlot. + A unique identifier of this Managed Object instance. + + :return: The moid of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentRackEnclosureSlot. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentRackEnclosureSlot. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentRackEnclosureSlot. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this EquipmentRackEnclosureSlot. + An array of owners which represent effective ownership of this object. + + :return: The owners of this EquipmentRackEnclosureSlot. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this EquipmentRackEnclosureSlot. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this EquipmentRackEnclosureSlot. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this EquipmentRackEnclosureSlot. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this EquipmentRackEnclosureSlot. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this EquipmentRackEnclosureSlot. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this EquipmentRackEnclosureSlot. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this EquipmentRackEnclosureSlot. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this EquipmentRackEnclosureSlot. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this EquipmentRackEnclosureSlot. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this EquipmentRackEnclosureSlot. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this EquipmentRackEnclosureSlot. + The versioning info for this managed object + + :return: The version_context of this EquipmentRackEnclosureSlot. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentRackEnclosureSlot. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentRackEnclosureSlot. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this EquipmentRackEnclosureSlot. + + :return: The device_mo_id of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this EquipmentRackEnclosureSlot. + + :param device_mo_id: The device_mo_id of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this EquipmentRackEnclosureSlot. + + :return: The dn of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this EquipmentRackEnclosureSlot. + + :param dn: The dn of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this EquipmentRackEnclosureSlot. + + :return: The rn of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this EquipmentRackEnclosureSlot. + + :param rn: The rn of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._rn = rn + + @property + def model(self): + """ + Gets the model of this EquipmentRackEnclosureSlot. + + :return: The model of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """ + Sets the model of this EquipmentRackEnclosureSlot. + + :param model: The model of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._model = model + + @property + def revision(self): + """ + Gets the revision of this EquipmentRackEnclosureSlot. + + :return: The revision of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this EquipmentRackEnclosureSlot. + + :param revision: The revision of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._revision = revision + + @property + def serial(self): + """ + Gets the serial of this EquipmentRackEnclosureSlot. + + :return: The serial of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """ + Sets the serial of this EquipmentRackEnclosureSlot. + + :param serial: The serial of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._serial = serial + + @property + def vendor(self): + """ + Gets the vendor of this EquipmentRackEnclosureSlot. + + :return: The vendor of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this EquipmentRackEnclosureSlot. + + :param vendor: The vendor of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._vendor = vendor + + @property + def equipment_rack_enclosure(self): + """ + Gets the equipment_rack_enclosure of this EquipmentRackEnclosureSlot. + + :return: The equipment_rack_enclosure of this EquipmentRackEnclosureSlot. + :rtype: EquipmentRackEnclosureRef + """ + return self._equipment_rack_enclosure + + @equipment_rack_enclosure.setter + def equipment_rack_enclosure(self, equipment_rack_enclosure): + """ + Sets the equipment_rack_enclosure of this EquipmentRackEnclosureSlot. + + :param equipment_rack_enclosure: The equipment_rack_enclosure of this EquipmentRackEnclosureSlot. + :type: EquipmentRackEnclosureRef + """ + + self._equipment_rack_enclosure = equipment_rack_enclosure + + @property + def rack_id(self): + """ + Gets the rack_id of this EquipmentRackEnclosureSlot. + + :return: The rack_id of this EquipmentRackEnclosureSlot. + :rtype: int + """ + return self._rack_id + + @rack_id.setter + def rack_id(self, rack_id): + """ + Sets the rack_id of this EquipmentRackEnclosureSlot. + + :param rack_id: The rack_id of this EquipmentRackEnclosureSlot. + :type: int + """ + + self._rack_id = rack_id + + @property + def rack_unit(self): + """ + Gets the rack_unit of this EquipmentRackEnclosureSlot. + + :return: The rack_unit of this EquipmentRackEnclosureSlot. + :rtype: ComputeRackUnitRef + """ + return self._rack_unit + + @rack_unit.setter + def rack_unit(self, rack_unit): + """ + Sets the rack_unit of this EquipmentRackEnclosureSlot. + + :param rack_unit: The rack_unit of this EquipmentRackEnclosureSlot. + :type: ComputeRackUnitRef + """ + + self._rack_unit = rack_unit + + @property + def rack_unit_dn(self): + """ + Gets the rack_unit_dn of this EquipmentRackEnclosureSlot. + + :return: The rack_unit_dn of this EquipmentRackEnclosureSlot. + :rtype: str + """ + return self._rack_unit_dn + + @rack_unit_dn.setter + def rack_unit_dn(self, rack_unit_dn): + """ + Sets the rack_unit_dn of this EquipmentRackEnclosureSlot. + + :param rack_unit_dn: The rack_unit_dn of this EquipmentRackEnclosureSlot. + :type: str + """ + + self._rack_unit_dn = rack_unit_dn + + @property + def registered_device(self): + """ + Gets the registered_device of this EquipmentRackEnclosureSlot. + + :return: The registered_device of this EquipmentRackEnclosureSlot. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this EquipmentRackEnclosureSlot. + + :param registered_device: The registered_device of this EquipmentRackEnclosureSlot. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosureSlot): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_rack_enclosure_slot_list.py b/intersight/models/equipment_rack_enclosure_slot_list.py new file mode 100644 index 00000000..2055f0f1 --- /dev/null +++ b/intersight/models/equipment_rack_enclosure_slot_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosureSlotList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[EquipmentRackEnclosureSlot]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + EquipmentRackEnclosureSlotList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this EquipmentRackEnclosureSlotList. + The number of equipmentRackEnclosureSlots matching your request in total for all pages. + + :return: The count of this EquipmentRackEnclosureSlotList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this EquipmentRackEnclosureSlotList. + The number of equipmentRackEnclosureSlots matching your request in total for all pages. + + :param count: The count of this EquipmentRackEnclosureSlotList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this EquipmentRackEnclosureSlotList. + The array of equipmentRackEnclosureSlots matching your request. + + :return: The results of this EquipmentRackEnclosureSlotList. + :rtype: list[EquipmentRackEnclosureSlot] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this EquipmentRackEnclosureSlotList. + The array of equipmentRackEnclosureSlots matching your request. + + :param results: The results of this EquipmentRackEnclosureSlotList. + :type: list[EquipmentRackEnclosureSlot] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosureSlotList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_rack_enclosure_slot_ref.py b/intersight/models/equipment_rack_enclosure_slot_ref.py new file mode 100644 index 00000000..70c8887f --- /dev/null +++ b/intersight/models/equipment_rack_enclosure_slot_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentRackEnclosureSlotRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + EquipmentRackEnclosureSlotRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this EquipmentRackEnclosureSlotRef. + + :return: The moid of this EquipmentRackEnclosureSlotRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentRackEnclosureSlotRef. + + :param moid: The moid of this EquipmentRackEnclosureSlotRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentRackEnclosureSlotRef. + + :return: The object_type of this EquipmentRackEnclosureSlotRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentRackEnclosureSlotRef. + + :param object_type: The object_type of this EquipmentRackEnclosureSlotRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentRackEnclosureSlotRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_switch_card.py b/intersight/models/equipment_switch_card.py index 25ca0141..61834bf6 100644 --- a/intersight/models/equipment_switch_card.py +++ b/intersight/models/equipment_switch_card.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentSwitchCard(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -67,6 +68,7 @@ class EquipmentSwitchCard(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -84,7 +86,7 @@ class EquipmentSwitchCard(object): 'state': 'State' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, description=None, network_element=None, num_ports=None, port_groups=None, presence=None, registered_device=None, slot_id=None, state=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, description=None, network_element=None, num_ports=None, port_groups=None, presence=None, registered_device=None, slot_id=None, state=None): """ EquipmentSwitchCard - a model defined in Swagger """ @@ -98,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -351,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentSwitchCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentSwitchCard. :rtype: list[MoTag] @@ -362,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentSwitchCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentSwitchCard. :type: list[MoTag] @@ -370,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentSwitchCard. + The versioning info for this managed object + + :return: The version_context of this EquipmentSwitchCard. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentSwitchCard. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentSwitchCard. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_switch_card_list.py b/intersight/models/equipment_switch_card_list.py index dd59e3c9..821705ba 100644 --- a/intersight/models/equipment_switch_card_list.py +++ b/intersight/models/equipment_switch_card_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_switch_card_ref.py b/intersight/models/equipment_switch_card_ref.py index 51242318..f70da0cc 100644 --- a/intersight/models/equipment_switch_card_ref.py +++ b/intersight/models/equipment_switch_card_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_system_io_controller.py b/intersight/models/equipment_system_io_controller.py index 42ab755b..8b2ea6e1 100644 --- a/intersight/models/equipment_system_io_controller.py +++ b/intersight/models/equipment_system_io_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EquipmentSystemIoController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class EquipmentSystemIoController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class EquipmentSystemIoController(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_chassis=None, oper_state=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, equipment_chassis=None, oper_state=None, registered_device=None): """ EquipmentSystemIoController - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EquipmentSystemIoController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EquipmentSystemIoController. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EquipmentSystemIoController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EquipmentSystemIoController. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EquipmentSystemIoController. + The versioning info for this managed object + + :return: The version_context of this EquipmentSystemIoController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentSystemIoController. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentSystemIoController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/equipment_system_io_controller_list.py b/intersight/models/equipment_system_io_controller_list.py index 8153a3d1..88738a2c 100644 --- a/intersight/models/equipment_system_io_controller_list.py +++ b/intersight/models/equipment_system_io_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_system_io_controller_ref.py b/intersight/models/equipment_system_io_controller_ref.py index 6b949103..3ca11325 100644 --- a/intersight/models/equipment_system_io_controller_ref.py +++ b/intersight/models/equipment_system_io_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/equipment_tpm.py b/intersight/models/equipment_tpm.py new file mode 100644 index 00000000..1f535ee8 --- /dev/null +++ b/intersight/models/equipment_tpm.py @@ -0,0 +1,767 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentTpm(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'model': 'str', + 'revision': 'str', + 'serial': 'str', + 'vendor': 'str', + 'activation_status': 'str', + 'admin_state': 'str', + 'compute_board': 'ComputeBoardRef', + 'ownership': 'str', + 'presence': 'str', + 'registered_device': 'AssetDeviceRegistrationRef', + 'tpm_id': 'int', + 'version': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'model': 'Model', + 'revision': 'Revision', + 'serial': 'Serial', + 'vendor': 'Vendor', + 'activation_status': 'ActivationStatus', + 'admin_state': 'AdminState', + 'compute_board': 'ComputeBoard', + 'ownership': 'Ownership', + 'presence': 'Presence', + 'registered_device': 'RegisteredDevice', + 'tpm_id': 'TpmId', + 'version': 'Version' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, activation_status=None, admin_state=None, compute_board=None, ownership=None, presence=None, registered_device=None, tpm_id=None, version=None): + """ + EquipmentTpm - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._model = None + self._revision = None + self._serial = None + self._vendor = None + self._activation_status = None + self._admin_state = None + self._compute_board = None + self._ownership = None + self._presence = None + self._registered_device = None + self._tpm_id = None + self._version = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if model is not None: + self.model = model + if revision is not None: + self.revision = revision + if serial is not None: + self.serial = serial + if vendor is not None: + self.vendor = vendor + if activation_status is not None: + self.activation_status = activation_status + if admin_state is not None: + self.admin_state = admin_state + if compute_board is not None: + self.compute_board = compute_board + if ownership is not None: + self.ownership = ownership + if presence is not None: + self.presence = presence + if registered_device is not None: + self.registered_device = registered_device + if tpm_id is not None: + self.tpm_id = tpm_id + if version is not None: + self.version = version + + @property + def account_moid(self): + """ + Gets the account_moid of this EquipmentTpm. + The Account ID for this managed object. + + :return: The account_moid of this EquipmentTpm. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this EquipmentTpm. + The Account ID for this managed object. + + :param account_moid: The account_moid of this EquipmentTpm. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this EquipmentTpm. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this EquipmentTpm. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this EquipmentTpm. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this EquipmentTpm. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this EquipmentTpm. + The time when this managed object was created. + + :return: The create_time of this EquipmentTpm. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this EquipmentTpm. + The time when this managed object was created. + + :param create_time: The create_time of this EquipmentTpm. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this EquipmentTpm. + The time when this managed object was last modified. + + :return: The mod_time of this EquipmentTpm. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this EquipmentTpm. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this EquipmentTpm. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this EquipmentTpm. + A unique identifier of this Managed Object instance. + + :return: The moid of this EquipmentTpm. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentTpm. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this EquipmentTpm. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentTpm. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this EquipmentTpm. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentTpm. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this EquipmentTpm. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this EquipmentTpm. + An array of owners which represent effective ownership of this object. + + :return: The owners of this EquipmentTpm. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this EquipmentTpm. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this EquipmentTpm. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this EquipmentTpm. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this EquipmentTpm. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this EquipmentTpm. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this EquipmentTpm. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this EquipmentTpm. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this EquipmentTpm. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this EquipmentTpm. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this EquipmentTpm. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this EquipmentTpm. + The versioning info for this managed object + + :return: The version_context of this EquipmentTpm. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EquipmentTpm. + The versioning info for this managed object + + :param version_context: The version_context of this EquipmentTpm. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this EquipmentTpm. + + :return: The device_mo_id of this EquipmentTpm. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this EquipmentTpm. + + :param device_mo_id: The device_mo_id of this EquipmentTpm. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this EquipmentTpm. + + :return: The dn of this EquipmentTpm. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this EquipmentTpm. + + :param dn: The dn of this EquipmentTpm. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this EquipmentTpm. + + :return: The rn of this EquipmentTpm. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this EquipmentTpm. + + :param rn: The rn of this EquipmentTpm. + :type: str + """ + + self._rn = rn + + @property + def model(self): + """ + Gets the model of this EquipmentTpm. + + :return: The model of this EquipmentTpm. + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """ + Sets the model of this EquipmentTpm. + + :param model: The model of this EquipmentTpm. + :type: str + """ + + self._model = model + + @property + def revision(self): + """ + Gets the revision of this EquipmentTpm. + + :return: The revision of this EquipmentTpm. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this EquipmentTpm. + + :param revision: The revision of this EquipmentTpm. + :type: str + """ + + self._revision = revision + + @property + def serial(self): + """ + Gets the serial of this EquipmentTpm. + + :return: The serial of this EquipmentTpm. + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """ + Sets the serial of this EquipmentTpm. + + :param serial: The serial of this EquipmentTpm. + :type: str + """ + + self._serial = serial + + @property + def vendor(self): + """ + Gets the vendor of this EquipmentTpm. + + :return: The vendor of this EquipmentTpm. + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this EquipmentTpm. + + :param vendor: The vendor of this EquipmentTpm. + :type: str + """ + + self._vendor = vendor + + @property + def activation_status(self): + """ + Gets the activation_status of this EquipmentTpm. + + :return: The activation_status of this EquipmentTpm. + :rtype: str + """ + return self._activation_status + + @activation_status.setter + def activation_status(self, activation_status): + """ + Sets the activation_status of this EquipmentTpm. + + :param activation_status: The activation_status of this EquipmentTpm. + :type: str + """ + + self._activation_status = activation_status + + @property + def admin_state(self): + """ + Gets the admin_state of this EquipmentTpm. + + :return: The admin_state of this EquipmentTpm. + :rtype: str + """ + return self._admin_state + + @admin_state.setter + def admin_state(self, admin_state): + """ + Sets the admin_state of this EquipmentTpm. + + :param admin_state: The admin_state of this EquipmentTpm. + :type: str + """ + + self._admin_state = admin_state + + @property + def compute_board(self): + """ + Gets the compute_board of this EquipmentTpm. + + :return: The compute_board of this EquipmentTpm. + :rtype: ComputeBoardRef + """ + return self._compute_board + + @compute_board.setter + def compute_board(self, compute_board): + """ + Sets the compute_board of this EquipmentTpm. + + :param compute_board: The compute_board of this EquipmentTpm. + :type: ComputeBoardRef + """ + + self._compute_board = compute_board + + @property + def ownership(self): + """ + Gets the ownership of this EquipmentTpm. + + :return: The ownership of this EquipmentTpm. + :rtype: str + """ + return self._ownership + + @ownership.setter + def ownership(self, ownership): + """ + Sets the ownership of this EquipmentTpm. + + :param ownership: The ownership of this EquipmentTpm. + :type: str + """ + + self._ownership = ownership + + @property + def presence(self): + """ + Gets the presence of this EquipmentTpm. + + :return: The presence of this EquipmentTpm. + :rtype: str + """ + return self._presence + + @presence.setter + def presence(self, presence): + """ + Sets the presence of this EquipmentTpm. + + :param presence: The presence of this EquipmentTpm. + :type: str + """ + + self._presence = presence + + @property + def registered_device(self): + """ + Gets the registered_device of this EquipmentTpm. + + :return: The registered_device of this EquipmentTpm. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this EquipmentTpm. + + :param registered_device: The registered_device of this EquipmentTpm. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + @property + def tpm_id(self): + """ + Gets the tpm_id of this EquipmentTpm. + + :return: The tpm_id of this EquipmentTpm. + :rtype: int + """ + return self._tpm_id + + @tpm_id.setter + def tpm_id(self, tpm_id): + """ + Sets the tpm_id of this EquipmentTpm. + + :param tpm_id: The tpm_id of this EquipmentTpm. + :type: int + """ + + self._tpm_id = tpm_id + + @property + def version(self): + """ + Gets the version of this EquipmentTpm. + + :return: The version of this EquipmentTpm. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this EquipmentTpm. + + :param version: The version of this EquipmentTpm. + :type: str + """ + + self._version = version + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentTpm): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_tpm_list.py b/intersight/models/equipment_tpm_list.py new file mode 100644 index 00000000..c8e9bc83 --- /dev/null +++ b/intersight/models/equipment_tpm_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentTpmList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[EquipmentTpm]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + EquipmentTpmList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this EquipmentTpmList. + The number of equipmentTpms matching your request in total for all pages. + + :return: The count of this EquipmentTpmList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this EquipmentTpmList. + The number of equipmentTpms matching your request in total for all pages. + + :param count: The count of this EquipmentTpmList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this EquipmentTpmList. + The array of equipmentTpms matching your request. + + :return: The results of this EquipmentTpmList. + :rtype: list[EquipmentTpm] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this EquipmentTpmList. + The array of equipmentTpms matching your request. + + :param results: The results of this EquipmentTpmList. + :type: list[EquipmentTpm] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentTpmList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/equipment_tpm_ref.py b/intersight/models/equipment_tpm_ref.py new file mode 100644 index 00000000..504376b5 --- /dev/null +++ b/intersight/models/equipment_tpm_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class EquipmentTpmRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + EquipmentTpmRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this EquipmentTpmRef. + + :return: The moid of this EquipmentTpmRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this EquipmentTpmRef. + + :param moid: The moid of this EquipmentTpmRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this EquipmentTpmRef. + + :return: The object_type of this EquipmentTpmRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this EquipmentTpmRef. + + :param object_type: The object_type of this EquipmentTpmRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, EquipmentTpmRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/error.py b/intersight/models/error.py index 5b009c4a..7a09ae45 100644 --- a/intersight/models/error.py +++ b/intersight/models/error.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ether_physical_port.py b/intersight/models/ether_physical_port.py index 3dcd82d8..dc0be936 100644 --- a/intersight/models/ether_physical_port.py +++ b/intersight/models/ether_physical_port.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class EtherPhysicalPort(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class EtherPhysicalPort(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class EtherPhysicalPort(object): 'transceiver_type': 'TransceiverType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None, mac_address=None, port_group=None, port_sub_group=None, registered_device=None, transceiver_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None, mac_address=None, port_group=None, port_sub_group=None, registered_device=None, transceiver_type=None): """ EtherPhysicalPort - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this EtherPhysicalPort. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this EtherPhysicalPort. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this EtherPhysicalPort. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this EtherPhysicalPort. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this EtherPhysicalPort. + The versioning info for this managed object + + :return: The version_context of this EtherPhysicalPort. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this EtherPhysicalPort. + The versioning info for this managed object + + :param version_context: The version_context of this EtherPhysicalPort. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/ether_physical_port_list.py b/intersight/models/ether_physical_port_list.py index 887407bd..a284cea4 100644 --- a/intersight/models/ether_physical_port_list.py +++ b/intersight/models/ether_physical_port_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ether_physical_port_ref.py b/intersight/models/ether_physical_port_ref.py index 93eed0a3..d3f5a07d 100644 --- a/intersight/models/ether_physical_port_ref.py +++ b/intersight/models/ether_physical_port_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/extsearch_app_config_ref.py b/intersight/models/extsearch_app_config_ref.py index e66b9239..544408bd 100644 --- a/intersight/models/extsearch_app_config_ref.py +++ b/intersight/models/extsearch_app_config_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/extsearch_import_ref.py b/intersight/models/extsearch_import_ref.py index eef141bb..fe5d181e 100644 --- a/intersight/models/extsearch_import_ref.py +++ b/intersight/models/extsearch_import_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fault_instance.py b/intersight/models/fault_instance.py index a6c7f666..0c2dbda3 100644 --- a/intersight/models/fault_instance.py +++ b/intersight/models/fault_instance.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FaultInstance(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -71,6 +72,7 @@ class FaultInstance(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -92,7 +94,7 @@ class FaultInstance(object): 'severity': 'Severity' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, acknowledged=None, affected_dn=None, affected_mo_id=None, affected_mo_type=None, ancestor_mo_id=None, ancestor_mo_type=None, code=None, creation_time=None, description=None, last_transition_time=None, num_occurrences=None, original_severity=None, previous_severity=None, registered_device=None, rule=None, severity=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, acknowledged=None, affected_dn=None, affected_mo_id=None, affected_mo_type=None, ancestor_mo_id=None, ancestor_mo_type=None, code=None, creation_time=None, description=None, last_transition_time=None, num_occurrences=None, original_severity=None, previous_severity=None, registered_device=None, rule=None, severity=None): """ FaultInstance - a model defined in Swagger """ @@ -106,6 +108,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -144,6 +147,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -371,7 +376,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FaultInstance. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FaultInstance. :rtype: list[MoTag] @@ -382,7 +387,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FaultInstance. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FaultInstance. :type: list[MoTag] @@ -390,6 +395,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FaultInstance. + The versioning info for this managed object + + :return: The version_context of this FaultInstance. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FaultInstance. + The versioning info for this managed object + + :param version_context: The version_context of this FaultInstance. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/fault_instance_list.py b/intersight/models/fault_instance_list.py index ba4f6f97..4b584beb 100644 --- a/intersight/models/fault_instance_list.py +++ b/intersight/models/fault_instance_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fault_instance_ref.py b/intersight/models/fault_instance_ref.py index 2044aa6b..ef20247a 100644 --- a/intersight/models/fault_instance_ref.py +++ b/intersight/models/fault_instance_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fc_physical_port.py b/intersight/models/fc_physical_port.py index 26908e99..f55c419a 100644 --- a/intersight/models/fc_physical_port.py +++ b/intersight/models/fc_physical_port.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FcPhysicalPort(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -61,6 +62,7 @@ class FcPhysicalPort(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -72,7 +74,7 @@ class FcPhysicalPort(object): 'wwn': 'Wwn' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None, port_group=None, registered_device=None, transceiver_type=None, wwn=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None, port_group=None, registered_device=None, transceiver_type=None, wwn=None): """ FcPhysicalPort - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FcPhysicalPort. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FcPhysicalPort. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FcPhysicalPort. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FcPhysicalPort. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FcPhysicalPort. + The versioning info for this managed object + + :return: The version_context of this FcPhysicalPort. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FcPhysicalPort. + The versioning info for this managed object + + :param version_context: The version_context of this FcPhysicalPort. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/fc_physical_port_list.py b/intersight/models/fc_physical_port_list.py index 3151fdb7..9307857e 100644 --- a/intersight/models/fc_physical_port_list.py +++ b/intersight/models/fc_physical_port_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/fc_physical_port_ref.py b/intersight/models/fc_physical_port_ref.py index 05de1e87..ad2e1e91 100644 --- a/intersight/models/fc_physical_port_ref.py +++ b/intersight/models/fc_physical_port_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_data.py b/intersight/models/feedback_feedback_data.py index afe36f4b..15de5518 100644 --- a/intersight/models/feedback_feedback_data.py +++ b/intersight/models/feedback_feedback_data.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_data_ref.py b/intersight/models/feedback_feedback_data_ref.py index 82334b1c..45b5bb44 100644 --- a/intersight/models/feedback_feedback_data_ref.py +++ b/intersight/models/feedback_feedback_data_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_post.py b/intersight/models/feedback_feedback_post.py index 1e3146c5..ccc07b66 100644 --- a/intersight/models/feedback_feedback_post.py +++ b/intersight/models/feedback_feedback_post.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FeedbackFeedbackPost(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'feedback_data': 'FeedbackFeedbackData' } @@ -54,11 +55,12 @@ class FeedbackFeedbackPost(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'feedback_data': 'FeedbackData' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, feedback_data=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, feedback_data=None): """ FeedbackFeedbackPost - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._feedback_data = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if feedback_data is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FeedbackFeedbackPost. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FeedbackFeedbackPost. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FeedbackFeedbackPost. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FeedbackFeedbackPost. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FeedbackFeedbackPost. + The versioning info for this managed object + + :return: The version_context of this FeedbackFeedbackPost. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FeedbackFeedbackPost. + The versioning info for this managed object + + :param version_context: The version_context of this FeedbackFeedbackPost. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/feedback_feedback_post_ref.py b/intersight/models/feedback_feedback_post_ref.py index 17d9a0b4..48c42bc3 100644 --- a/intersight/models/feedback_feedback_post_ref.py +++ b/intersight/models/feedback_feedback_post_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_ref.py b/intersight/models/feedback_feedback_ref.py index 5e0699bd..d28ced00 100644 --- a/intersight/models/feedback_feedback_ref.py +++ b/intersight/models/feedback_feedback_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_feedback_settings_ref.py b/intersight/models/feedback_feedback_settings_ref.py index ad3bdc10..03845b39 100644 --- a/intersight/models/feedback_feedback_settings_ref.py +++ b/intersight/models/feedback_feedback_settings_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/feedback_history_item_ref.py b/intersight/models/feedback_history_item_ref.py index 6cd17ef9..7fa5384c 100644 --- a/intersight/models/feedback_history_item_ref.py +++ b/intersight/models/feedback_history_item_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_cifs_server.py b/intersight/models/firmware_cifs_server.py index 8f35f7a8..5e22350d 100644 --- a/intersight/models/firmware_cifs_server.py +++ b/intersight/models/firmware_cifs_server.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -119,7 +119,7 @@ def remote_file(self, remote_file): def remote_ip(self): """ Gets the remote_ip of this FirmwareCifsServer. - CIFS Server IP Address. Example:10.10.8.7. + CIFS Server Hostname or IP Address. Example:cifs-server-hostname or 10.10.8.7. :return: The remote_ip of this FirmwareCifsServer. :rtype: str @@ -130,7 +130,7 @@ def remote_ip(self): def remote_ip(self, remote_ip): """ Sets the remote_ip of this FirmwareCifsServer. - CIFS Server IP Address. Example:10.10.8.7. + CIFS Server Hostname or IP Address. Example:cifs-server-hostname or 10.10.8.7. :param remote_ip: The remote_ip of this FirmwareCifsServer. :type: str diff --git a/intersight/models/firmware_cifs_server_ref.py b/intersight/models/firmware_cifs_server_ref.py index 0c7a984e..90e7a52f 100644 --- a/intersight/models/firmware_cifs_server_ref.py +++ b/intersight/models/firmware_cifs_server_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_direct_download.py b/intersight/models/firmware_direct_download.py index 805898ea..bbbd0937 100644 --- a/intersight/models/firmware_direct_download.py +++ b/intersight/models/firmware_direct_download.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_direct_download_ref.py b/intersight/models/firmware_direct_download_ref.py index caa24f23..661a4f84 100644 --- a/intersight/models/firmware_direct_download_ref.py +++ b/intersight/models/firmware_direct_download_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_distributable.py b/intersight/models/firmware_distributable.py index 52e9afd9..76d7defc 100644 --- a/intersight/models/firmware_distributable.py +++ b/intersight/models/firmware_distributable.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FirmwareDistributable(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'bundle_type': 'str', 'description': 'str', 'guid': 'str', @@ -51,6 +52,7 @@ class FirmwareDistributable(object): 'platform_type': 'str', 'release_date': 'str', 'size': 'str', + 'software_advisory_url': 'str', 'software_type_id': 'str', 'source': 'str', 'supported_models': 'list[str]', @@ -68,6 +70,7 @@ class FirmwareDistributable(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'bundle_type': 'BundleType', 'description': 'Description', 'guid': 'Guid', @@ -79,6 +82,7 @@ class FirmwareDistributable(object): 'platform_type': 'PlatformType', 'release_date': 'ReleaseDate', 'size': 'Size', + 'software_advisory_url': 'SoftwareAdvisoryUrl', 'software_type_id': 'SoftwareTypeId', 'source': 'Source', 'supported_models': 'SupportedModels', @@ -86,7 +90,7 @@ class FirmwareDistributable(object): 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, bundle_type=None, description=None, guid=None, md5sum=None, mdfid=None, model=None, name=None, page_index=None, platform_type=None, release_date=None, size=None, software_type_id=None, source='CCO', supported_models=None, vendor=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, bundle_type=None, description=None, guid=None, md5sum=None, mdfid=None, model=None, name=None, page_index=None, platform_type=None, release_date=None, size=None, software_advisory_url=None, software_type_id=None, source='CCO', supported_models=None, vendor=None, version=None): """ FirmwareDistributable - a model defined in Swagger """ @@ -100,6 +104,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._bundle_type = None self._description = None self._guid = None @@ -111,6 +116,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._platform_type = None self._release_date = None self._size = None + self._software_advisory_url = None self._software_type_id = None self._source = None self._supported_models = None @@ -135,6 +141,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if bundle_type is not None: self.bundle_type = bundle_type if description is not None: @@ -157,6 +165,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.release_date = release_date if size is not None: self.size = size + if software_advisory_url is not None: + self.software_advisory_url = software_advisory_url if software_type_id is not None: self.software_type_id = software_type_id if source is not None: @@ -356,7 +366,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FirmwareDistributable. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FirmwareDistributable. :rtype: list[MoTag] @@ -367,7 +377,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FirmwareDistributable. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FirmwareDistributable. :type: list[MoTag] @@ -375,6 +385,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FirmwareDistributable. + The versioning info for this managed object + + :return: The version_context of this FirmwareDistributable. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FirmwareDistributable. + The versioning info for this managed object + + :param version_context: The version_context of this FirmwareDistributable. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def bundle_type(self): """ @@ -628,6 +661,29 @@ def size(self, size): self._size = size + @property + def software_advisory_url(self): + """ + Gets the software_advisory_url of this FirmwareDistributable. + Software Advisory for firmware image from Cisco software repository. Read and accept the software advisory before downloading the firmware image. + + :return: The software_advisory_url of this FirmwareDistributable. + :rtype: str + """ + return self._software_advisory_url + + @software_advisory_url.setter + def software_advisory_url(self, software_advisory_url): + """ + Sets the software_advisory_url of this FirmwareDistributable. + Software Advisory for firmware image from Cisco software repository. Read and accept the software advisory before downloading the firmware image. + + :param software_advisory_url: The software_advisory_url of this FirmwareDistributable. + :type: str + """ + + self._software_advisory_url = software_advisory_url + @property def software_type_id(self): """ diff --git a/intersight/models/firmware_distributable_list.py b/intersight/models/firmware_distributable_list.py index 19b55d65..69808257 100644 --- a/intersight/models/firmware_distributable_list.py +++ b/intersight/models/firmware_distributable_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_distributable_ref.py b/intersight/models/firmware_distributable_ref.py index 33b33d43..d6432223 100644 --- a/intersight/models/firmware_distributable_ref.py +++ b/intersight/models/firmware_distributable_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_download_spec_ref.py b/intersight/models/firmware_download_spec_ref.py index b0bcb2d6..4b273ae2 100644 --- a/intersight/models/firmware_download_spec_ref.py +++ b/intersight/models/firmware_download_spec_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_eula.py b/intersight/models/firmware_eula.py index a1b1b4cd..a6dc4624 100644 --- a/intersight/models/firmware_eula.py +++ b/intersight/models/firmware_eula.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FirmwareEula(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'accepted': 'bool', 'account': 'IamAccountRef', 'content': 'str' @@ -55,12 +56,13 @@ class FirmwareEula(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'accepted': 'Accepted', 'account': 'Account', 'content': 'Content' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, accepted=None, account=None, content=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, accepted=None, account=None, content=None): """ FirmwareEula - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._accepted = None self._account = None self._content = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if accepted is not None: self.accepted = accepted if account is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FirmwareEula. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FirmwareEula. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FirmwareEula. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FirmwareEula. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FirmwareEula. + The versioning info for this managed object + + :return: The version_context of this FirmwareEula. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FirmwareEula. + The versioning info for this managed object + + :param version_context: The version_context of this FirmwareEula. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def accepted(self): """ diff --git a/intersight/models/firmware_eula_list.py b/intersight/models/firmware_eula_list.py index b005ac43..bea04b57 100644 --- a/intersight/models/firmware_eula_list.py +++ b/intersight/models/firmware_eula_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_eula_ref.py b/intersight/models/firmware_eula_ref.py index 490de276..bd6a830e 100644 --- a/intersight/models/firmware_eula_ref.py +++ b/intersight/models/firmware_eula_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_http_server.py b/intersight/models/firmware_http_server.py index 10b12f0f..75197a8b 100644 --- a/intersight/models/firmware_http_server.py +++ b/intersight/models/firmware_http_server.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -57,7 +57,7 @@ def __init__(self, location_link=None, mount_options=None): def location_link(self): """ Gets the location_link of this FirmwareHttpServer. - HTTP/HTTPS link to the image. Accepted format http[s]://serverip/share/image. + HTTP/HTTPS link to the image. Accepted formats http[s]://server-hostname/share/image or http[s]://serverip/share/image. :return: The location_link of this FirmwareHttpServer. :rtype: str @@ -68,7 +68,7 @@ def location_link(self): def location_link(self, location_link): """ Sets the location_link of this FirmwareHttpServer. - HTTP/HTTPS link to the image. Accepted format http[s]://serverip/share/image. + HTTP/HTTPS link to the image. Accepted formats http[s]://server-hostname/share/image or http[s]://serverip/share/image. :param location_link: The location_link of this FirmwareHttpServer. :type: str diff --git a/intersight/models/firmware_http_server_ref.py b/intersight/models/firmware_http_server_ref.py index 9d1932fb..4ef79fb6 100644 --- a/intersight/models/firmware_http_server_ref.py +++ b/intersight/models/firmware_http_server_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_network_share.py b/intersight/models/firmware_network_share.py index 4e205b59..45ed5f33 100644 --- a/intersight/models/firmware_network_share.py +++ b/intersight/models/firmware_network_share.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_network_share_ref.py b/intersight/models/firmware_network_share_ref.py index 4e7f611e..ffb9a2ef 100644 --- a/intersight/models/firmware_network_share_ref.py +++ b/intersight/models/firmware_network_share_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_nfs_server.py b/intersight/models/firmware_nfs_server.py index ca2c15fc..a8cf1d88 100644 --- a/intersight/models/firmware_nfs_server.py +++ b/intersight/models/firmware_nfs_server.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -113,7 +113,7 @@ def remote_file(self, remote_file): def remote_ip(self): """ Gets the remote_ip of this FirmwareNfsServer. - NFS Server IP Address. Example:10.10.8.7. + NFS Server Hostname or IP Address. Example:nfs-server-hostname or 10.10.8.7. :return: The remote_ip of this FirmwareNfsServer. :rtype: str @@ -124,7 +124,7 @@ def remote_ip(self): def remote_ip(self, remote_ip): """ Sets the remote_ip of this FirmwareNfsServer. - NFS Server IP Address. Example:10.10.8.7. + NFS Server Hostname or IP Address. Example:nfs-server-hostname or 10.10.8.7. :param remote_ip: The remote_ip of this FirmwareNfsServer. :type: str diff --git a/intersight/models/firmware_nfs_server_ref.py b/intersight/models/firmware_nfs_server_ref.py index 5d89447d..4134a88f 100644 --- a/intersight/models/firmware_nfs_server_ref.py +++ b/intersight/models/firmware_nfs_server_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_running_firmware.py b/intersight/models/firmware_running_firmware.py index 90c102d1..d5978f67 100644 --- a/intersight/models/firmware_running_firmware.py +++ b/intersight/models/firmware_running_firmware.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FirmwareRunningFirmware(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -65,6 +66,7 @@ class FirmwareRunningFirmware(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -80,7 +82,7 @@ class FirmwareRunningFirmware(object): 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, bios_unit=None, component=None, management_controller=None, network_elements=None, package_version=None, registered_device=None, storage_controller=None, storage_physical_disk=None, type=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, bios_unit=None, component=None, management_controller=None, network_elements=None, package_version=None, registered_device=None, storage_controller=None, storage_physical_disk=None, type=None, version=None): """ FirmwareRunningFirmware - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FirmwareRunningFirmware. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FirmwareRunningFirmware. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FirmwareRunningFirmware. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FirmwareRunningFirmware. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FirmwareRunningFirmware. + The versioning info for this managed object + + :return: The version_context of this FirmwareRunningFirmware. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FirmwareRunningFirmware. + The versioning info for this managed object + + :param version_context: The version_context of this FirmwareRunningFirmware. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/firmware_running_firmware_list.py b/intersight/models/firmware_running_firmware_list.py index 533b5dfd..8657551f 100644 --- a/intersight/models/firmware_running_firmware_list.py +++ b/intersight/models/firmware_running_firmware_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_running_firmware_ref.py b/intersight/models/firmware_running_firmware_ref.py index 392003cd..1d2c5fd3 100644 --- a/intersight/models/firmware_running_firmware_ref.py +++ b/intersight/models/firmware_running_firmware_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade.py b/intersight/models/firmware_upgrade.py index 234e00de..84dc37ef 100644 --- a/intersight/models/firmware_upgrade.py +++ b/intersight/models/firmware_upgrade.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FirmwareUpgrade(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device': 'AssetDeviceRegistrationRef', 'direct_download': 'FirmwareDirectDownload', 'distributable': 'FirmwareDistributableRef', @@ -59,6 +60,7 @@ class FirmwareUpgrade(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device': 'Device', 'direct_download': 'DirectDownload', 'distributable': 'Distributable', @@ -68,7 +70,7 @@ class FirmwareUpgrade(object): 'upgrade_type': 'UpgradeType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device=None, direct_download=None, distributable=None, network_share=None, server=None, upgrade_status=None, upgrade_type='direct_upgrade'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device=None, direct_download=None, distributable=None, network_share=None, server=None, upgrade_status=None, upgrade_type='direct_upgrade'): """ FirmwareUpgrade - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device = None self._direct_download = None self._distributable = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device is not None: self.device = device if direct_download is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FirmwareUpgrade. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FirmwareUpgrade. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FirmwareUpgrade. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FirmwareUpgrade. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FirmwareUpgrade. + The versioning info for this managed object + + :return: The version_context of this FirmwareUpgrade. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FirmwareUpgrade. + The versioning info for this managed object + + :param version_context: The version_context of this FirmwareUpgrade. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device(self): """ diff --git a/intersight/models/firmware_upgrade_list.py b/intersight/models/firmware_upgrade_list.py index c0e6db3d..6e28f7e3 100644 --- a/intersight/models/firmware_upgrade_list.py +++ b/intersight/models/firmware_upgrade_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade_ref.py b/intersight/models/firmware_upgrade_ref.py index fde7d8fa..624bddfa 100644 --- a/intersight/models/firmware_upgrade_ref.py +++ b/intersight/models/firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade_status.py b/intersight/models/firmware_upgrade_status.py index 641ac7e9..1d2a8505 100644 --- a/intersight/models/firmware_upgrade_status.py +++ b/intersight/models/firmware_upgrade_status.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class FirmwareUpgradeStatus(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'download_error': 'str', 'download_percentage': 'int', 'download_stage': 'str', @@ -62,6 +63,7 @@ class FirmwareUpgradeStatus(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'download_error': 'DownloadError', 'download_percentage': 'DownloadPercentage', 'download_stage': 'DownloadStage', @@ -74,7 +76,7 @@ class FirmwareUpgradeStatus(object): 'upgrade': 'Upgrade' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, download_error=None, download_percentage=None, download_stage=None, download_status=None, ep_power_status='none', overall_error=None, overall_percentage=None, overallstatus='none', pending_type='none', upgrade=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, download_error=None, download_percentage=None, download_stage=None, download_status=None, ep_power_status='none', overall_error=None, overall_percentage=None, overallstatus='none', pending_type='none', upgrade=None): """ FirmwareUpgradeStatus - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._download_error = None self._download_percentage = None self._download_stage = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if download_error is not None: self.download_error = download_error if download_percentage is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this FirmwareUpgradeStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this FirmwareUpgradeStatus. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this FirmwareUpgradeStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this FirmwareUpgradeStatus. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this FirmwareUpgradeStatus. + The versioning info for this managed object + + :return: The version_context of this FirmwareUpgradeStatus. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this FirmwareUpgradeStatus. + The versioning info for this managed object + + :param version_context: The version_context of this FirmwareUpgradeStatus. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def download_error(self): """ diff --git a/intersight/models/firmware_upgrade_status_list.py b/intersight/models/firmware_upgrade_status_list.py index 3c3281fd..077c8720 100644 --- a/intersight/models/firmware_upgrade_status_list.py +++ b/intersight/models/firmware_upgrade_status_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmware_upgrade_status_ref.py b/intersight/models/firmware_upgrade_status_ref.py index 39772445..680cdc22 100644 --- a/intersight/models/firmware_upgrade_status_ref.py +++ b/intersight/models/firmware_upgrade_status_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_cancel_pending_firmware_upgrade_ref.py b/intersight/models/firmwareimc_cancel_pending_firmware_upgrade_ref.py index 0cfa1beb..0abf3292 100644 --- a/intersight/models/firmwareimc_cancel_pending_firmware_upgrade_ref.py +++ b/intersight/models/firmwareimc_cancel_pending_firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_check_for_existing_upgrade_ref.py b/intersight/models/firmwareimc_check_for_existing_upgrade_ref.py index 3a2dea30..f386cb50 100644 --- a/intersight/models/firmwareimc_check_for_existing_upgrade_ref.py +++ b/intersight/models/firmwareimc_check_for_existing_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_firmware_upgrade_result_handler_ref.py b/intersight/models/firmwareimc_firmware_upgrade_result_handler_ref.py index 3eeb3ff5..16582708 100644 --- a/intersight/models/firmwareimc_firmware_upgrade_result_handler_ref.py +++ b/intersight/models/firmwareimc_firmware_upgrade_result_handler_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_huu_firmware_upgrade_ref.py b/intersight/models/firmwareimc_huu_firmware_upgrade_ref.py index e95f6244..23432814 100644 --- a/intersight/models/firmwareimc_huu_firmware_upgrade_ref.py +++ b/intersight/models/firmwareimc_huu_firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_initiate_download_ref.py b/intersight/models/firmwareimc_initiate_download_ref.py index 2d02d1fe..610a48c3 100644 --- a/intersight/models/firmwareimc_initiate_download_ref.py +++ b/intersight/models/firmwareimc_initiate_download_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_wait_for_download_ref.py b/intersight/models/firmwareimc_wait_for_download_ref.py index 2ab0be32..fa82d53b 100644 --- a/intersight/models/firmwareimc_wait_for_download_ref.py +++ b/intersight/models/firmwareimc_wait_for_download_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/firmwareimc_wait_for_firmware_upgrade_ref.py b/intersight/models/firmwareimc_wait_for_firmware_upgrade_ref.py index a07cc5cf..fbcf9317 100644 --- a/intersight/models/firmwareimc_wait_for_firmware_upgrade_ref.py +++ b/intersight/models/firmwareimc_wait_for_firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_card.py b/intersight/models/graphics_card.py index e1f9f34e..6a4289e4 100644 --- a/intersight/models/graphics_card.py +++ b/intersight/models/graphics_card.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class GraphicsCard(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -71,6 +72,7 @@ class GraphicsCard(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -92,7 +94,7 @@ class GraphicsCard(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, card_id=None, compute_board=None, device_id=None, expander_slot=None, firmware_version=None, graphics_controllers=None, mode=None, oper_state=None, pci_addr=None, pci_addr_list=None, pci_slot=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, card_id=None, compute_board=None, device_id=None, expander_slot=None, firmware_version=None, graphics_controllers=None, mode=None, oper_state=None, pci_addr=None, pci_addr_list=None, pci_slot=None, registered_device=None): """ GraphicsCard - a model defined in Swagger """ @@ -106,6 +108,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -144,6 +147,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -371,7 +376,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this GraphicsCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this GraphicsCard. :rtype: list[MoTag] @@ -382,7 +387,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this GraphicsCard. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this GraphicsCard. :type: list[MoTag] @@ -390,6 +395,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this GraphicsCard. + The versioning info for this managed object + + :return: The version_context of this GraphicsCard. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this GraphicsCard. + The versioning info for this managed object + + :param version_context: The version_context of this GraphicsCard. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/graphics_card_list.py b/intersight/models/graphics_card_list.py index b4313cdc..cd3e8038 100644 --- a/intersight/models/graphics_card_list.py +++ b/intersight/models/graphics_card_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_card_ref.py b/intersight/models/graphics_card_ref.py index 161b3309..3a360433 100644 --- a/intersight/models/graphics_card_ref.py +++ b/intersight/models/graphics_card_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_controller.py b/intersight/models/graphics_controller.py index aa2c9dd0..ab472685 100644 --- a/intersight/models/graphics_controller.py +++ b/intersight/models/graphics_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class GraphicsController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -64,6 +65,7 @@ class GraphicsController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -78,7 +80,7 @@ class GraphicsController(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, controller_id=None, graphics_card=None, pci_addr=None, pci_slot=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, controller_id=None, graphics_card=None, pci_addr=None, pci_slot=None, registered_device=None): """ GraphicsController - a model defined in Swagger """ @@ -92,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -123,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -336,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this GraphicsController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this GraphicsController. :rtype: list[MoTag] @@ -347,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this GraphicsController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this GraphicsController. :type: list[MoTag] @@ -355,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this GraphicsController. + The versioning info for this managed object + + :return: The version_context of this GraphicsController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this GraphicsController. + The versioning info for this managed object + + :param version_context: The version_context of this GraphicsController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/graphics_controller_list.py b/intersight/models/graphics_controller_list.py index 8681890c..7b38d5f8 100644 --- a/intersight/models/graphics_controller_list.py +++ b/intersight/models/graphics_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/graphics_controller_ref.py b/intersight/models/graphics_controller_ref.py index ba74e9bb..d92c30eb 100644 --- a/intersight/models/graphics_controller_ref.py +++ b/intersight/models/graphics_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_compatibility_info_ref.py b/intersight/models/hcl_compatibility_info_ref.py index dc3df348..12036137 100644 --- a/intersight/models/hcl_compatibility_info_ref.py +++ b/intersight/models/hcl_compatibility_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_compatibility_status.py b/intersight/models/hcl_compatibility_status.py index 3e617111..ea81650b 100644 --- a/intersight/models/hcl_compatibility_status.py +++ b/intersight/models/hcl_compatibility_status.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HclCompatibilityStatus(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'profile_list': 'list[HclHardwareCompatibilityProfile]', 'request_type': 'str' } @@ -54,11 +55,12 @@ class HclCompatibilityStatus(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'profile_list': 'ProfileList', 'request_type': 'RequestType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, profile_list=None, request_type='FillSupportedVersions'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, profile_list=None, request_type='FillSupportedVersions'): """ HclCompatibilityStatus - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._profile_list = None self._request_type = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if profile_list is not None: self.profile_list = profile_list if request_type is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HclCompatibilityStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HclCompatibilityStatus. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HclCompatibilityStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HclCompatibilityStatus. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HclCompatibilityStatus. + The versioning info for this managed object + + :return: The version_context of this HclCompatibilityStatus. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclCompatibilityStatus. + The versioning info for this managed object + + :param version_context: The version_context of this HclCompatibilityStatus. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def profile_list(self): """ @@ -348,7 +376,7 @@ def request_type(self, request_type): :param request_type: The request_type of this HclCompatibilityStatus. :type: str """ - allowed_values = ["FillSupportedVersions", "CheckCompatibility"] + allowed_values = ["FillSupportedVersions", "CheckCompatibility", "GetRecommendedDrivers"] if request_type not in allowed_values: raise ValueError( "Invalid value for `request_type` ({0}), must be one of {1}" diff --git a/intersight/models/hcl_compatibility_status_ref.py b/intersight/models/hcl_compatibility_status_ref.py index c062daf5..4ae054bd 100644 --- a/intersight/models/hcl_compatibility_status_ref.py +++ b/intersight/models/hcl_compatibility_status_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_data_import_log_ref.py b/intersight/models/hcl_data_import_log_ref.py index f65918f9..ab65a882 100644 --- a/intersight/models/hcl_data_import_log_ref.py +++ b/intersight/models/hcl_data_import_log_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_driver.py b/intersight/models/hcl_driver.py index 8d7b66f9..e705dfbc 100644 --- a/intersight/models/hcl_driver.py +++ b/intersight/models/hcl_driver.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_driver_image.py b/intersight/models/hcl_driver_image.py new file mode 100644 index 00000000..02cbca41 --- /dev/null +++ b/intersight/models/hcl_driver_image.py @@ -0,0 +1,467 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclDriverImage(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'driver_iso_url': 'str', + 'management_type': 'str', + 'server_pid': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'driver_iso_url': 'DriverIsoUrl', + 'management_type': 'ManagementType', + 'server_pid': 'ServerPid' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, driver_iso_url=None, management_type='UCSM', server_pid=None): + """ + HclDriverImage - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._driver_iso_url = None + self._management_type = None + self._server_pid = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if driver_iso_url is not None: + self.driver_iso_url = driver_iso_url + if management_type is not None: + self.management_type = management_type + if server_pid is not None: + self.server_pid = server_pid + + @property + def account_moid(self): + """ + Gets the account_moid of this HclDriverImage. + The Account ID for this managed object. + + :return: The account_moid of this HclDriverImage. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HclDriverImage. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HclDriverImage. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HclDriverImage. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HclDriverImage. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HclDriverImage. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HclDriverImage. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HclDriverImage. + The time when this managed object was created. + + :return: The create_time of this HclDriverImage. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HclDriverImage. + The time when this managed object was created. + + :param create_time: The create_time of this HclDriverImage. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HclDriverImage. + The time when this managed object was last modified. + + :return: The mod_time of this HclDriverImage. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HclDriverImage. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HclDriverImage. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HclDriverImage. + A unique identifier of this Managed Object instance. + + :return: The moid of this HclDriverImage. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclDriverImage. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HclDriverImage. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclDriverImage. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HclDriverImage. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclDriverImage. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HclDriverImage. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HclDriverImage. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HclDriverImage. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HclDriverImage. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HclDriverImage. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HclDriverImage. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HclDriverImage. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HclDriverImage. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HclDriverImage. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HclDriverImage. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HclDriverImage. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this HclDriverImage. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this HclDriverImage. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this HclDriverImage. + The versioning info for this managed object + + :return: The version_context of this HclDriverImage. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclDriverImage. + The versioning info for this managed object + + :param version_context: The version_context of this HclDriverImage. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def driver_iso_url(self): + """ + Gets the driver_iso_url of this HclDriverImage. + URL of the driver ISO + + :return: The driver_iso_url of this HclDriverImage. + :rtype: str + """ + return self._driver_iso_url + + @driver_iso_url.setter + def driver_iso_url(self, driver_iso_url): + """ + Sets the driver_iso_url of this HclDriverImage. + URL of the driver ISO + + :param driver_iso_url: The driver_iso_url of this HclDriverImage. + :type: str + """ + + self._driver_iso_url = driver_iso_url + + @property + def management_type(self): + """ + Gets the management_type of this HclDriverImage. + How the server is managed. It is managed by UCSM or as a stand alone server + + :return: The management_type of this HclDriverImage. + :rtype: str + """ + return self._management_type + + @management_type.setter + def management_type(self, management_type): + """ + Sets the management_type of this HclDriverImage. + How the server is managed. It is managed by UCSM or as a stand alone server + + :param management_type: The management_type of this HclDriverImage. + :type: str + """ + allowed_values = ["UCSM", "IMC"] + if management_type not in allowed_values: + raise ValueError( + "Invalid value for `management_type` ({0}), must be one of {1}" + .format(management_type, allowed_values) + ) + + self._management_type = management_type + + @property + def server_pid(self): + """ + Gets the server_pid of this HclDriverImage. + Server PID + + :return: The server_pid of this HclDriverImage. + :rtype: str + """ + return self._server_pid + + @server_pid.setter + def server_pid(self, server_pid): + """ + Sets the server_pid of this HclDriverImage. + Server PID + + :param server_pid: The server_pid of this HclDriverImage. + :type: str + """ + + self._server_pid = server_pid + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclDriverImage): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_driver_image_list.py b/intersight/models/hcl_driver_image_list.py new file mode 100644 index 00000000..7d305795 --- /dev/null +++ b/intersight/models/hcl_driver_image_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclDriverImageList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[HclDriverImage]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HclDriverImageList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this HclDriverImageList. + The number of hclDriverImages matching your request in total for all pages. + + :return: The count of this HclDriverImageList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HclDriverImageList. + The number of hclDriverImages matching your request in total for all pages. + + :param count: The count of this HclDriverImageList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HclDriverImageList. + The array of hclDriverImages matching your request. + + :return: The results of this HclDriverImageList. + :rtype: list[HclDriverImage] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HclDriverImageList. + The array of hclDriverImages matching your request. + + :param results: The results of this HclDriverImageList. + :type: list[HclDriverImage] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclDriverImageList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_driver_image_ref.py b/intersight/models/hcl_driver_image_ref.py new file mode 100644 index 00000000..f57dd6de --- /dev/null +++ b/intersight/models/hcl_driver_image_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclDriverImageRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HclDriverImageRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HclDriverImageRef. + + :return: The moid of this HclDriverImageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclDriverImageRef. + + :param moid: The moid of this HclDriverImageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclDriverImageRef. + + :return: The object_type of this HclDriverImageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclDriverImageRef. + + :param object_type: The object_type of this HclDriverImageRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclDriverImageRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_driver_ref.py b/intersight/models/hcl_driver_ref.py index 326d004d..add3a643 100644 --- a/intersight/models/hcl_driver_ref.py +++ b/intersight/models/hcl_driver_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_firmware.py b/intersight/models/hcl_firmware.py index a275a5a3..3c63f93f 100644 --- a/intersight/models/hcl_firmware.py +++ b/intersight/models/hcl_firmware.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,7 +35,8 @@ class HclFirmware(object): 'driver_version': 'str', 'error_code': 'str', 'firmware_version': 'str', - 'id': 'str' + 'id': 'str', + 'latest_driver': 'bool' } attribute_map = { @@ -43,10 +44,11 @@ class HclFirmware(object): 'driver_version': 'DriverVersion', 'error_code': 'ErrorCode', 'firmware_version': 'FirmwareVersion', - 'id': 'Id' + 'id': 'Id', + 'latest_driver': 'LatestDriver' } - def __init__(self, driver_name=None, driver_version=None, error_code='Success', firmware_version=None, id=None): + def __init__(self, driver_name=None, driver_version=None, error_code='Success', firmware_version=None, id=None, latest_driver=None): """ HclFirmware - a model defined in Swagger """ @@ -56,6 +58,7 @@ def __init__(self, driver_name=None, driver_version=None, error_code='Success', self._error_code = None self._firmware_version = None self._id = None + self._latest_driver = None if driver_name is not None: self.driver_name = driver_name @@ -67,6 +70,8 @@ def __init__(self, driver_name=None, driver_version=None, error_code='Success', self.firmware_version = firmware_version if id is not None: self.id = id + if latest_driver is not None: + self.latest_driver = latest_driver @property def driver_name(self): @@ -187,6 +192,29 @@ def id(self, id): self._id = id + @property + def latest_driver(self): + """ + Gets the latest_driver of this HclFirmware. + True if the driver is latest recommended driver + + :return: The latest_driver of this HclFirmware. + :rtype: bool + """ + return self._latest_driver + + @latest_driver.setter + def latest_driver(self, latest_driver): + """ + Sets the latest_driver of this HclFirmware. + True if the driver is latest recommended driver + + :param latest_driver: The latest_driver of this HclFirmware. + :type: bool + """ + + self._latest_driver = latest_driver + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/hcl_firmware_ref.py b/intersight/models/hcl_firmware_ref.py index d2b46255..efcc0241 100644 --- a/intersight/models/hcl_firmware_ref.py +++ b/intersight/models/hcl_firmware_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_hardware_compatibility_profile.py b/intersight/models/hcl_hardware_compatibility_profile.py index 5f2d527a..825560bb 100644 --- a/intersight/models/hcl_hardware_compatibility_profile.py +++ b/intersight/models/hcl_hardware_compatibility_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,6 +31,7 @@ class HclHardwareCompatibilityProfile(object): and the value is json key in definition. """ swagger_types = { + 'driver_iso_url': 'str', 'error_code': 'str', 'id': 'str', 'os_vendor': 'str', @@ -44,6 +45,7 @@ class HclHardwareCompatibilityProfile(object): } attribute_map = { + 'driver_iso_url': 'DriverIsoUrl', 'error_code': 'ErrorCode', 'id': 'Id', 'os_vendor': 'OsVendor', @@ -56,11 +58,12 @@ class HclHardwareCompatibilityProfile(object): 'version_type': 'VersionType' } - def __init__(self, error_code='Success', id=None, os_vendor=None, os_version=None, processor_model=None, products=None, server_model=None, server_revision=None, ucs_version=None, version_type='UCSM'): + def __init__(self, driver_iso_url=None, error_code='Success', id=None, os_vendor=None, os_version=None, processor_model=None, products=None, server_model=None, server_revision=None, ucs_version=None, version_type='UCSM'): """ HclHardwareCompatibilityProfile - a model defined in Swagger """ + self._driver_iso_url = None self._error_code = None self._id = None self._os_vendor = None @@ -72,6 +75,8 @@ def __init__(self, error_code='Success', id=None, os_vendor=None, os_version=Non self._ucs_version = None self._version_type = None + if driver_iso_url is not None: + self.driver_iso_url = driver_iso_url if error_code is not None: self.error_code = error_code if id is not None: @@ -93,6 +98,29 @@ def __init__(self, error_code='Success', id=None, os_vendor=None, os_version=Non if version_type is not None: self.version_type = version_type + @property + def driver_iso_url(self): + """ + Gets the driver_iso_url of this HclHardwareCompatibilityProfile. + Url for the driver iso for the server model + + :return: The driver_iso_url of this HclHardwareCompatibilityProfile. + :rtype: str + """ + return self._driver_iso_url + + @driver_iso_url.setter + def driver_iso_url(self, driver_iso_url): + """ + Sets the driver_iso_url of this HclHardwareCompatibilityProfile. + Url for the driver iso for the server model + + :param driver_iso_url: The driver_iso_url of this HclHardwareCompatibilityProfile. + :type: str + """ + + self._driver_iso_url = driver_iso_url + @property def error_code(self): """ diff --git a/intersight/models/hcl_hardware_compatibility_profile_ref.py b/intersight/models/hcl_hardware_compatibility_profile_ref.py index 020e5cbc..3891f944 100644 --- a/intersight/models/hcl_hardware_compatibility_profile_ref.py +++ b/intersight/models/hcl_hardware_compatibility_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_note_ref.py b/intersight/models/hcl_note_ref.py index fcf7775d..63bdc781 100644 --- a/intersight/models/hcl_note_ref.py +++ b/intersight/models/hcl_note_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_operating_system.py b/intersight/models/hcl_operating_system.py new file mode 100644 index 00000000..168f2a95 --- /dev/null +++ b/intersight/models/hcl_operating_system.py @@ -0,0 +1,433 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystem(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'vendor': 'HclOperatingSystemVendorRef', + 'version': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'vendor': 'Vendor', + 'version': 'Version' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, vendor=None, version=None): + """ + HclOperatingSystem - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._vendor = None + self._version = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if vendor is not None: + self.vendor = vendor + if version is not None: + self.version = version + + @property + def account_moid(self): + """ + Gets the account_moid of this HclOperatingSystem. + The Account ID for this managed object. + + :return: The account_moid of this HclOperatingSystem. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HclOperatingSystem. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HclOperatingSystem. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HclOperatingSystem. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HclOperatingSystem. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HclOperatingSystem. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HclOperatingSystem. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HclOperatingSystem. + The time when this managed object was created. + + :return: The create_time of this HclOperatingSystem. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HclOperatingSystem. + The time when this managed object was created. + + :param create_time: The create_time of this HclOperatingSystem. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HclOperatingSystem. + The time when this managed object was last modified. + + :return: The mod_time of this HclOperatingSystem. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HclOperatingSystem. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HclOperatingSystem. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HclOperatingSystem. + A unique identifier of this Managed Object instance. + + :return: The moid of this HclOperatingSystem. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclOperatingSystem. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HclOperatingSystem. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclOperatingSystem. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HclOperatingSystem. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclOperatingSystem. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HclOperatingSystem. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HclOperatingSystem. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HclOperatingSystem. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HclOperatingSystem. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HclOperatingSystem. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HclOperatingSystem. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HclOperatingSystem. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HclOperatingSystem. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HclOperatingSystem. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HclOperatingSystem. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HclOperatingSystem. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this HclOperatingSystem. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this HclOperatingSystem. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this HclOperatingSystem. + The versioning info for this managed object + + :return: The version_context of this HclOperatingSystem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclOperatingSystem. + The versioning info for this managed object + + :param version_context: The version_context of this HclOperatingSystem. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def vendor(self): + """ + Gets the vendor of this HclOperatingSystem. + a relation to the notes collection + + :return: The vendor of this HclOperatingSystem. + :rtype: HclOperatingSystemVendorRef + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this HclOperatingSystem. + a relation to the notes collection + + :param vendor: The vendor of this HclOperatingSystem. + :type: HclOperatingSystemVendorRef + """ + + self._vendor = vendor + + @property + def version(self): + """ + Gets the version of this HclOperatingSystem. + Version of the Operating System + + :return: The version of this HclOperatingSystem. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this HclOperatingSystem. + Version of the Operating System + + :param version: The version of this HclOperatingSystem. + :type: str + """ + + self._version = version + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystem): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_operating_system_list.py b/intersight/models/hcl_operating_system_list.py new file mode 100644 index 00000000..449474a5 --- /dev/null +++ b/intersight/models/hcl_operating_system_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystemList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[HclOperatingSystem]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HclOperatingSystemList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this HclOperatingSystemList. + The number of hclOperatingSystems matching your request in total for all pages. + + :return: The count of this HclOperatingSystemList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HclOperatingSystemList. + The number of hclOperatingSystems matching your request in total for all pages. + + :param count: The count of this HclOperatingSystemList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HclOperatingSystemList. + The array of hclOperatingSystems matching your request. + + :return: The results of this HclOperatingSystemList. + :rtype: list[HclOperatingSystem] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HclOperatingSystemList. + The array of hclOperatingSystems matching your request. + + :param results: The results of this HclOperatingSystemList. + :type: list[HclOperatingSystem] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystemList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_operating_system_ref.py b/intersight/models/hcl_operating_system_ref.py new file mode 100644 index 00000000..6c0a341f --- /dev/null +++ b/intersight/models/hcl_operating_system_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystemRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HclOperatingSystemRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HclOperatingSystemRef. + + :return: The moid of this HclOperatingSystemRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclOperatingSystemRef. + + :param moid: The moid of this HclOperatingSystemRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclOperatingSystemRef. + + :return: The object_type of this HclOperatingSystemRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclOperatingSystemRef. + + :param object_type: The object_type of this HclOperatingSystemRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystemRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_operating_system_vendor.py b/intersight/models/hcl_operating_system_vendor.py new file mode 100644 index 00000000..358ba04f --- /dev/null +++ b/intersight/models/hcl_operating_system_vendor.py @@ -0,0 +1,405 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystemVendor(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'name': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'name': 'Name' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, name=None): + """ + HclOperatingSystemVendor - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._name = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if name is not None: + self.name = name + + @property + def account_moid(self): + """ + Gets the account_moid of this HclOperatingSystemVendor. + The Account ID for this managed object. + + :return: The account_moid of this HclOperatingSystemVendor. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HclOperatingSystemVendor. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HclOperatingSystemVendor. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HclOperatingSystemVendor. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HclOperatingSystemVendor. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HclOperatingSystemVendor. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HclOperatingSystemVendor. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HclOperatingSystemVendor. + The time when this managed object was created. + + :return: The create_time of this HclOperatingSystemVendor. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HclOperatingSystemVendor. + The time when this managed object was created. + + :param create_time: The create_time of this HclOperatingSystemVendor. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HclOperatingSystemVendor. + The time when this managed object was last modified. + + :return: The mod_time of this HclOperatingSystemVendor. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HclOperatingSystemVendor. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HclOperatingSystemVendor. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HclOperatingSystemVendor. + A unique identifier of this Managed Object instance. + + :return: The moid of this HclOperatingSystemVendor. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclOperatingSystemVendor. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HclOperatingSystemVendor. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclOperatingSystemVendor. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HclOperatingSystemVendor. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclOperatingSystemVendor. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HclOperatingSystemVendor. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HclOperatingSystemVendor. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HclOperatingSystemVendor. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HclOperatingSystemVendor. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HclOperatingSystemVendor. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HclOperatingSystemVendor. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HclOperatingSystemVendor. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HclOperatingSystemVendor. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HclOperatingSystemVendor. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HclOperatingSystemVendor. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HclOperatingSystemVendor. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this HclOperatingSystemVendor. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this HclOperatingSystemVendor. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this HclOperatingSystemVendor. + The versioning info for this managed object + + :return: The version_context of this HclOperatingSystemVendor. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclOperatingSystemVendor. + The versioning info for this managed object + + :param version_context: The version_context of this HclOperatingSystemVendor. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def name(self): + """ + Gets the name of this HclOperatingSystemVendor. + Name of the vendor of the operating system + + :return: The name of this HclOperatingSystemVendor. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this HclOperatingSystemVendor. + Name of the vendor of the operating system + + :param name: The name of this HclOperatingSystemVendor. + :type: str + """ + + self._name = name + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystemVendor): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_operating_system_vendor_list.py b/intersight/models/hcl_operating_system_vendor_list.py new file mode 100644 index 00000000..bacef399 --- /dev/null +++ b/intersight/models/hcl_operating_system_vendor_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystemVendorList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[HclOperatingSystemVendor]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HclOperatingSystemVendorList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this HclOperatingSystemVendorList. + The number of hclOperatingSystemVendors matching your request in total for all pages. + + :return: The count of this HclOperatingSystemVendorList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HclOperatingSystemVendorList. + The number of hclOperatingSystemVendors matching your request in total for all pages. + + :param count: The count of this HclOperatingSystemVendorList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HclOperatingSystemVendorList. + The array of hclOperatingSystemVendors matching your request. + + :return: The results of this HclOperatingSystemVendorList. + :rtype: list[HclOperatingSystemVendor] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HclOperatingSystemVendorList. + The array of hclOperatingSystemVendors matching your request. + + :param results: The results of this HclOperatingSystemVendorList. + :type: list[HclOperatingSystemVendor] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystemVendorList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_operating_system_vendor_ref.py b/intersight/models/hcl_operating_system_vendor_ref.py new file mode 100644 index 00000000..a4ce096c --- /dev/null +++ b/intersight/models/hcl_operating_system_vendor_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HclOperatingSystemVendorRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HclOperatingSystemVendorRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HclOperatingSystemVendorRef. + + :return: The moid of this HclOperatingSystemVendorRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HclOperatingSystemVendorRef. + + :param moid: The moid of this HclOperatingSystemVendorRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HclOperatingSystemVendorRef. + + :return: The object_type of this HclOperatingSystemVendorRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HclOperatingSystemVendorRef. + + :param object_type: The object_type of this HclOperatingSystemVendorRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HclOperatingSystemVendorRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hcl_product.py b/intersight/models/hcl_product.py index 97f418cf..7dbb7f17 100644 --- a/intersight/models/hcl_product.py +++ b/intersight/models/hcl_product.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_product_ref.py b/intersight/models/hcl_product_ref.py index f280bada..cefb0941 100644 --- a/intersight/models/hcl_product_ref.py +++ b/intersight/models/hcl_product_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_service_status.py b/intersight/models/hcl_service_status.py index 06199dc2..ccdb7074 100644 --- a/intersight/models/hcl_service_status.py +++ b/intersight/models/hcl_service_status.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HclServiceStatus(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'identity': 'str', 'last_hcl_data_modified_time': 'datetime', 'last_imported_data_checksum': 'str', @@ -56,13 +57,14 @@ class HclServiceStatus(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'identity': 'Identity', 'last_hcl_data_modified_time': 'LastHclDataModifiedTime', 'last_imported_data_checksum': 'LastImportedDataChecksum', 'status': 'Status' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, identity=None, last_hcl_data_modified_time=None, last_imported_data_checksum=None, status='Unknown'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, identity=None, last_hcl_data_modified_time=None, last_imported_data_checksum=None, status='Unknown'): """ HclServiceStatus - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._identity = None self._last_hcl_data_modified_time = None self._last_imported_data_checksum = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if identity is not None: self.identity = identity if last_hcl_data_modified_time is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HclServiceStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HclServiceStatus. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HclServiceStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HclServiceStatus. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HclServiceStatus. + The versioning info for this managed object + + :return: The version_context of this HclServiceStatus. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclServiceStatus. + The versioning info for this managed object + + :param version_context: The version_context of this HclServiceStatus. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def identity(self): """ diff --git a/intersight/models/hcl_service_status_list.py b/intersight/models/hcl_service_status_list.py index 63253296..3f8b254a 100644 --- a/intersight/models/hcl_service_status_list.py +++ b/intersight/models/hcl_service_status_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_service_status_ref.py b/intersight/models/hcl_service_status_ref.py index f2fc3403..1a3e234a 100644 --- a/intersight/models/hcl_service_status_ref.py +++ b/intersight/models/hcl_service_status_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hcl_supported_driver_name.py b/intersight/models/hcl_supported_driver_name.py index f17c9f2e..74cd240b 100644 --- a/intersight/models/hcl_supported_driver_name.py +++ b/intersight/models/hcl_supported_driver_name.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HclSupportedDriverName(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'product_list': 'list[HclProduct]' } @@ -53,10 +54,11 @@ class HclSupportedDriverName(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'product_list': 'ProductList' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, product_list=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, product_list=None): """ HclSupportedDriverName - a model defined in Swagger """ @@ -70,6 +72,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._product_list = None if account_moid is not None: @@ -90,6 +93,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if product_list is not None: self.product_list = product_list @@ -281,7 +286,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HclSupportedDriverName. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HclSupportedDriverName. :rtype: list[MoTag] @@ -292,7 +297,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HclSupportedDriverName. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HclSupportedDriverName. :type: list[MoTag] @@ -300,6 +305,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HclSupportedDriverName. + The versioning info for this managed object + + :return: The version_context of this HclSupportedDriverName. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HclSupportedDriverName. + The versioning info for this managed object + + :param version_context: The version_context of this HclSupportedDriverName. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def product_list(self): """ diff --git a/intersight/models/hcl_supported_driver_name_ref.py b/intersight/models/hcl_supported_driver_name_ref.py index eb3f9baf..53390a1a 100644 --- a/intersight/models/hcl_supported_driver_name_ref.py +++ b/intersight/models/hcl_supported_driver_name_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hxdpconnector_hx_inventory_msg_ref.py b/intersight/models/hxdpconnector_hx_inventory_msg_ref.py index b2555ce3..53bf0951 100644 --- a/intersight/models/hxdpconnector_hx_inventory_msg_ref.py +++ b/intersight/models/hxdpconnector_hx_inventory_msg_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_abstract_app_setting.py b/intersight/models/hyperflex_abstract_app_setting.py index 374e93b5..777f731d 100644 --- a/intersight/models/hyperflex_abstract_app_setting.py +++ b/intersight/models/hyperflex_abstract_app_setting.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_abstract_app_setting_ref.py b/intersight/models/hyperflex_abstract_app_setting_ref.py index 4f3eecef..6cf8d491 100644 --- a/intersight/models/hyperflex_abstract_app_setting_ref.py +++ b/intersight/models/hyperflex_abstract_app_setting_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_alarm.py b/intersight/models/hyperflex_alarm.py index a27e42ff..713516f8 100644 --- a/intersight/models/hyperflex_alarm.py +++ b/intersight/models/hyperflex_alarm.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexAlarm(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'acknowledged': 'bool', 'cluster': 'HyperflexClusterRef', 'description': 'str', @@ -61,6 +62,7 @@ class HyperflexAlarm(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'acknowledged': 'Acknowledged', 'cluster': 'Cluster', 'description': 'Description', @@ -72,7 +74,7 @@ class HyperflexAlarm(object): 'triggered_time': 'TriggeredTime' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, acknowledged=None, cluster=None, description=None, entity=None, entity_name=None, key=None, mor=None, status=None, triggered_time=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, acknowledged=None, cluster=None, description=None, entity=None, entity_name=None, key=None, mor=None, status=None, triggered_time=None): """ HyperflexAlarm - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._acknowledged = None self._cluster = None self._description = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if acknowledged is not None: self.acknowledged = acknowledged if cluster is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexAlarm. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexAlarm. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexAlarm. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexAlarm. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexAlarm. + The versioning info for this managed object + + :return: The version_context of this HyperflexAlarm. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexAlarm. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexAlarm. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def acknowledged(self): """ diff --git a/intersight/models/hyperflex_alarm_list.py b/intersight/models/hyperflex_alarm_list.py index 19957e6e..9b4837c5 100644 --- a/intersight/models/hyperflex_alarm_list.py +++ b/intersight/models/hyperflex_alarm_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_alarm_ref.py b/intersight/models/hyperflex_alarm_ref.py index 4c5ec95a..daff1d64 100644 --- a/intersight/models/hyperflex_alarm_ref.py +++ b/intersight/models/hyperflex_alarm_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_app_catalog.py b/intersight/models/hyperflex_app_catalog.py index a1944fe9..7d5ee604 100644 --- a/intersight/models/hyperflex_app_catalog.py +++ b/intersight/models/hyperflex_app_catalog.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexAppCatalog(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'feature_limit_external': 'HyperflexFeatureLimitExternalRef', 'feature_limit_internal': 'HyperflexFeatureLimitInternalRef', 'hxdp_versions': 'list[HyperflexHxdpVersionRef]', @@ -57,6 +58,7 @@ class HyperflexAppCatalog(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'feature_limit_external': 'FeatureLimitExternal', 'feature_limit_internal': 'FeatureLimitInternal', 'hxdp_versions': 'HxdpVersions', @@ -64,7 +66,7 @@ class HyperflexAppCatalog(object): 'server_model': 'ServerModel' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, feature_limit_external=None, feature_limit_internal=None, hxdp_versions=None, server_firmware_version=None, server_model=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, feature_limit_external=None, feature_limit_internal=None, hxdp_versions=None, server_firmware_version=None, server_model=None): """ HyperflexAppCatalog - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._feature_limit_external = None self._feature_limit_internal = None self._hxdp_versions = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if feature_limit_external is not None: self.feature_limit_external = feature_limit_external if feature_limit_internal is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexAppCatalog. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexAppCatalog. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexAppCatalog. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexAppCatalog. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexAppCatalog. + The versioning info for this managed object + + :return: The version_context of this HyperflexAppCatalog. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexAppCatalog. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexAppCatalog. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def feature_limit_external(self): """ diff --git a/intersight/models/hyperflex_app_catalog_list.py b/intersight/models/hyperflex_app_catalog_list.py index 55ba2d2f..a42aae1f 100644 --- a/intersight/models/hyperflex_app_catalog_list.py +++ b/intersight/models/hyperflex_app_catalog_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_app_catalog_ref.py b/intersight/models/hyperflex_app_catalog_ref.py index 07f12fad..49828b39 100644 --- a/intersight/models/hyperflex_app_catalog_ref.py +++ b/intersight/models/hyperflex_app_catalog_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_app_setting_constraint.py b/intersight/models/hyperflex_app_setting_constraint.py index f23a438f..313767d9 100644 --- a/intersight/models/hyperflex_app_setting_constraint.py +++ b/intersight/models/hyperflex_app_setting_constraint.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_app_setting_constraint_ref.py b/intersight/models/hyperflex_app_setting_constraint_ref.py index 84e6de7d..88ebae85 100644 --- a/intersight/models/hyperflex_app_setting_constraint_ref.py +++ b/intersight/models/hyperflex_app_setting_constraint_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_auto_support_policy.py b/intersight/models/hyperflex_auto_support_policy.py index 208186d5..91ce0a20 100644 --- a/intersight/models/hyperflex_auto_support_policy.py +++ b/intersight/models/hyperflex_auto_support_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexAutoSupportPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'admin_state': 'bool', @@ -58,6 +59,7 @@ class HyperflexAutoSupportPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'admin_state': 'AdminState', @@ -66,7 +68,7 @@ class HyperflexAutoSupportPolicy(object): 'service_ticket_receipient': 'ServiceTicketReceipient' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, admin_state=None, cluster_profiles=None, organization=None, service_ticket_receipient=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, admin_state=None, cluster_profiles=None, organization=None, service_ticket_receipient=None): """ HyperflexAutoSupportPolicy - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._admin_state = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexAutoSupportPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexAutoSupportPolicy. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexAutoSupportPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexAutoSupportPolicy. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexAutoSupportPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexAutoSupportPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexAutoSupportPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexAutoSupportPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_auto_support_policy_list.py b/intersight/models/hyperflex_auto_support_policy_list.py index dcbcc0b8..0b082cf3 100644 --- a/intersight/models/hyperflex_auto_support_policy_list.py +++ b/intersight/models/hyperflex_auto_support_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_auto_support_policy_ref.py b/intersight/models/hyperflex_auto_support_policy_ref.py index 400d96ad..2bbc66a7 100644 --- a/intersight/models/hyperflex_auto_support_policy_ref.py +++ b/intersight/models/hyperflex_auto_support_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster.py b/intersight/models/hyperflex_cluster.py index ec4d638a..823d10d6 100644 --- a/intersight/models/hyperflex_cluster.py +++ b/intersight/models/hyperflex_cluster.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexCluster(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'alarm': 'list[HyperflexAlarmRef]', 'cluster_name': 'str', 'cluster_type': 'int', @@ -49,7 +50,9 @@ class HyperflexCluster(object): 'device_id': 'str', 'flt_aggr': 'int', 'hx_version': 'str', + 'hypervisor_type': 'str', 'hypervisor_version': 'str', + 'nodes': 'list[HyperflexNodeRef]', 'registered_device': 'AssetDeviceRegistrationRef', 'summary': 'HyperflexSummary', 'vm_count': 'int' @@ -65,6 +68,7 @@ class HyperflexCluster(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'alarm': 'Alarm', 'cluster_name': 'ClusterName', 'cluster_type': 'ClusterType', @@ -74,13 +78,15 @@ class HyperflexCluster(object): 'device_id': 'DeviceId', 'flt_aggr': 'FltAggr', 'hx_version': 'HxVersion', + 'hypervisor_type': 'HypervisorType', 'hypervisor_version': 'HypervisorVersion', + 'nodes': 'Nodes', 'registered_device': 'RegisteredDevice', 'summary': 'Summary', 'vm_count': 'VmCount' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, alarm=None, cluster_name=None, cluster_type=None, cluster_uuid=None, compute_node_count=None, converged_node_count=None, device_id=None, flt_aggr=None, hx_version=None, hypervisor_version=None, registered_device=None, summary=None, vm_count=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, alarm=None, cluster_name=None, cluster_type=None, cluster_uuid=None, compute_node_count=None, converged_node_count=None, device_id=None, flt_aggr=None, hx_version=None, hypervisor_type='Unknown', hypervisor_version=None, nodes=None, registered_device=None, summary=None, vm_count=None): """ HyperflexCluster - a model defined in Swagger """ @@ -94,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._alarm = None self._cluster_name = None self._cluster_type = None @@ -103,7 +110,9 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._device_id = None self._flt_aggr = None self._hx_version = None + self._hypervisor_type = None self._hypervisor_version = None + self._nodes = None self._registered_device = None self._summary = None self._vm_count = None @@ -126,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if alarm is not None: self.alarm = alarm if cluster_name is not None: @@ -144,8 +155,12 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.flt_aggr = flt_aggr if hx_version is not None: self.hx_version = hx_version + if hypervisor_type is not None: + self.hypervisor_type = hypervisor_type if hypervisor_version is not None: self.hypervisor_version = hypervisor_version + if nodes is not None: + self.nodes = nodes if registered_device is not None: self.registered_device = registered_device if summary is not None: @@ -341,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexCluster. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexCluster. :rtype: list[MoTag] @@ -352,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexCluster. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexCluster. :type: list[MoTag] @@ -360,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexCluster. + The versioning info for this managed object + + :return: The version_context of this HyperflexCluster. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexCluster. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexCluster. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def alarm(self): """ @@ -549,6 +587,33 @@ def hx_version(self, hx_version): self._hx_version = hx_version + @property + def hypervisor_type(self): + """ + Gets the hypervisor_type of this HyperflexCluster. + + :return: The hypervisor_type of this HyperflexCluster. + :rtype: str + """ + return self._hypervisor_type + + @hypervisor_type.setter + def hypervisor_type(self, hypervisor_type): + """ + Sets the hypervisor_type of this HyperflexCluster. + + :param hypervisor_type: The hypervisor_type of this HyperflexCluster. + :type: str + """ + allowed_values = ["Unknown", "HyperV", "ESXi"] + if hypervisor_type not in allowed_values: + raise ValueError( + "Invalid value for `hypervisor_type` ({0}), must be one of {1}" + .format(hypervisor_type, allowed_values) + ) + + self._hypervisor_type = hypervisor_type + @property def hypervisor_version(self): """ @@ -570,6 +635,27 @@ def hypervisor_version(self, hypervisor_version): self._hypervisor_version = hypervisor_version + @property + def nodes(self): + """ + Gets the nodes of this HyperflexCluster. + + :return: The nodes of this HyperflexCluster. + :rtype: list[HyperflexNodeRef] + """ + return self._nodes + + @nodes.setter + def nodes(self, nodes): + """ + Sets the nodes of this HyperflexCluster. + + :param nodes: The nodes of this HyperflexCluster. + :type: list[HyperflexNodeRef] + """ + + self._nodes = nodes + @property def registered_device(self): """ diff --git a/intersight/models/hyperflex_cluster_list.py b/intersight/models/hyperflex_cluster_list.py index 3ec8e476..421c4302 100644 --- a/intersight/models/hyperflex_cluster_list.py +++ b/intersight/models/hyperflex_cluster_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_network_policy.py b/intersight/models/hyperflex_cluster_network_policy.py index 4f2914fc..411a4a90 100644 --- a/intersight/models/hyperflex_cluster_network_policy.py +++ b/intersight/models/hyperflex_cluster_network_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexClusterNetworkPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -60,6 +61,7 @@ class HyperflexClusterNetworkPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -70,7 +72,7 @@ class HyperflexClusterNetworkPolicy(object): 'vm_network_vlans': 'VmNetworkVlans' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, jumbo_frame=None, mgmt_vlan=None, organization=None, vm_migration_vlan=None, vm_network_vlans=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, jumbo_frame=None, mgmt_vlan=None, organization=None, vm_migration_vlan=None, vm_network_vlans=None): """ HyperflexClusterNetworkPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexClusterNetworkPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexClusterNetworkPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexClusterNetworkPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexClusterNetworkPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexClusterNetworkPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexClusterNetworkPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexClusterNetworkPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexClusterNetworkPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_cluster_network_policy_list.py b/intersight/models/hyperflex_cluster_network_policy_list.py index 325fa98d..aff5f5c3 100644 --- a/intersight/models/hyperflex_cluster_network_policy_list.py +++ b/intersight/models/hyperflex_cluster_network_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_network_policy_ref.py b/intersight/models/hyperflex_cluster_network_policy_ref.py index 2a89b84b..f94da0c8 100644 --- a/intersight/models/hyperflex_cluster_network_policy_ref.py +++ b/intersight/models/hyperflex_cluster_network_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_profile.py b/intersight/models/hyperflex_cluster_profile.py index 01c0d3eb..4b7c7c95 100644 --- a/intersight/models/hyperflex_cluster_profile.py +++ b/intersight/models/hyperflex_cluster_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexClusterProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'src_template': 'PolicyAbstractProfileRef', @@ -81,6 +82,7 @@ class HyperflexClusterProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'src_template': 'SrcTemplate', @@ -112,7 +114,7 @@ class HyperflexClusterProfile(object): 'wwxn_prefix': 'WwxnPrefix' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None, auto_support=None, cluster_network=None, cluster_storage=None, config_result=None, data_ip_address=None, ext_fc_storage=None, ext_iscsi_storage=None, hxdp_version=None, hypervisor_type='ESXi', local_credential=None, mac_address_prefix=None, mgmt_ip_address=None, mgmt_platform='FI', node_config=None, node_profile_config=None, organization=None, proxy_setting=None, replication=None, storage_data_vlan=None, sys_config=None, ucsm_config=None, vcenter_config=None, wwxn_prefix=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None, auto_support=None, cluster_network=None, cluster_storage=None, config_result=None, data_ip_address=None, ext_fc_storage=None, ext_iscsi_storage=None, hxdp_version=None, hypervisor_type='ESXi', local_credential=None, mac_address_prefix=None, mgmt_ip_address=None, mgmt_platform='FI', node_config=None, node_profile_config=None, organization=None, proxy_setting=None, replication=None, storage_data_vlan=None, sys_config=None, ucsm_config=None, vcenter_config=None, wwxn_prefix=None): """ HyperflexClusterProfile - a model defined in Swagger """ @@ -126,6 +128,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._src_template = None @@ -174,6 +177,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -421,7 +426,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexClusterProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexClusterProfile. :rtype: list[MoTag] @@ -432,7 +437,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexClusterProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexClusterProfile. :type: list[MoTag] @@ -440,6 +445,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexClusterProfile. + The versioning info for this managed object + + :return: The version_context of this HyperflexClusterProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexClusterProfile. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexClusterProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_cluster_profile_list.py b/intersight/models/hyperflex_cluster_profile_list.py index fa32d9e6..96d84895 100644 --- a/intersight/models/hyperflex_cluster_profile_list.py +++ b/intersight/models/hyperflex_cluster_profile_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_profile_ref.py b/intersight/models/hyperflex_cluster_profile_ref.py index af3b3c3e..187a1673 100644 --- a/intersight/models/hyperflex_cluster_profile_ref.py +++ b/intersight/models/hyperflex_cluster_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_ref.py b/intersight/models/hyperflex_cluster_ref.py index 90d8661a..0fa7362a 100644 --- a/intersight/models/hyperflex_cluster_ref.py +++ b/intersight/models/hyperflex_cluster_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_storage_policy.py b/intersight/models/hyperflex_cluster_storage_policy.py index f58fe163..f9ea47f4 100644 --- a/intersight/models/hyperflex_cluster_storage_policy.py +++ b/intersight/models/hyperflex_cluster_storage_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexClusterStoragePolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -59,6 +60,7 @@ class HyperflexClusterStoragePolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -68,7 +70,7 @@ class HyperflexClusterStoragePolicy(object): 'vdi_optimization': 'VdiOptimization' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, disk_partition_cleanup=None, logical_avalability_zone_config=None, organization=None, vdi_optimization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, disk_partition_cleanup=None, logical_avalability_zone_config=None, organization=None, vdi_optimization=None): """ HyperflexClusterStoragePolicy - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexClusterStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexClusterStoragePolicy. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexClusterStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexClusterStoragePolicy. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexClusterStoragePolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexClusterStoragePolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexClusterStoragePolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexClusterStoragePolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_cluster_storage_policy_list.py b/intersight/models/hyperflex_cluster_storage_policy_list.py index e17fcc3a..f242935b 100644 --- a/intersight/models/hyperflex_cluster_storage_policy_list.py +++ b/intersight/models/hyperflex_cluster_storage_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_cluster_storage_policy_ref.py b/intersight/models/hyperflex_cluster_storage_policy_ref.py index b1380678..f7de5b04 100644 --- a/intersight/models/hyperflex_cluster_storage_policy_ref.py +++ b/intersight/models/hyperflex_cluster_storage_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result.py b/intersight/models/hyperflex_config_result.py index 53f3b9e0..04a3e531 100644 --- a/intersight/models/hyperflex_config_result.py +++ b/intersight/models/hyperflex_config_result.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexConfigResult(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'config_stage': 'str', 'config_state': 'str', 'validation_state': 'str', @@ -60,6 +61,7 @@ class HyperflexConfigResult(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'config_stage': 'ConfigStage', 'config_state': 'ConfigState', 'validation_state': 'ValidationState', @@ -70,7 +72,7 @@ class HyperflexConfigResult(object): 'start_time': 'StartTime' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, config_stage=None, config_state=None, validation_state=None, cluster_profile=None, config_progress=None, duration=None, result_entries=None, start_time=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, config_stage=None, config_state=None, validation_state=None, cluster_profile=None, config_progress=None, duration=None, result_entries=None, start_time=None): """ HyperflexConfigResult - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._config_stage = None self._config_state = None self._validation_state = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if config_stage is not None: self.config_stage = config_stage if config_state is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexConfigResult. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexConfigResult. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexConfigResult. + The versioning info for this managed object + + :return: The version_context of this HyperflexConfigResult. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexConfigResult. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexConfigResult. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def config_stage(self): """ diff --git a/intersight/models/hyperflex_config_result_entry.py b/intersight/models/hyperflex_config_result_entry.py index 9fd6feb9..7ad19ee9 100644 --- a/intersight/models/hyperflex_config_result_entry.py +++ b/intersight/models/hyperflex_config_result_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexConfigResultEntry(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'completed_time': 'str', 'context': 'PolicyConfigResultContext', 'message': 'str', @@ -59,6 +60,7 @@ class HyperflexConfigResultEntry(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'completed_time': 'CompletedTime', 'context': 'Context', 'message': 'Message', @@ -68,7 +70,7 @@ class HyperflexConfigResultEntry(object): 'config_result': 'ConfigResult' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None, config_result=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None, config_result=None): """ HyperflexConfigResultEntry - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._completed_time = None self._context = None self._message = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if completed_time is not None: self.completed_time = completed_time if context is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexConfigResultEntry. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexConfigResultEntry. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexConfigResultEntry. + The versioning info for this managed object + + :return: The version_context of this HyperflexConfigResultEntry. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexConfigResultEntry. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexConfigResultEntry. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def completed_time(self): """ diff --git a/intersight/models/hyperflex_config_result_entry_list.py b/intersight/models/hyperflex_config_result_entry_list.py index 09111c2f..073da3fb 100644 --- a/intersight/models/hyperflex_config_result_entry_list.py +++ b/intersight/models/hyperflex_config_result_entry_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result_entry_ref.py b/intersight/models/hyperflex_config_result_entry_ref.py index 3661c040..7b919ec4 100644 --- a/intersight/models/hyperflex_config_result_entry_ref.py +++ b/intersight/models/hyperflex_config_result_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result_list.py b/intersight/models/hyperflex_config_result_list.py index 60509367..b9d029ff 100644 --- a/intersight/models/hyperflex_config_result_list.py +++ b/intersight/models/hyperflex_config_result_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_config_result_ref.py b/intersight/models/hyperflex_config_result_ref.py index 56103b22..4989c695 100644 --- a/intersight/models/hyperflex_config_result_ref.py +++ b/intersight/models/hyperflex_config_result_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_credentials_ref.py b/intersight/models/hyperflex_credentials_ref.py index 0eea7fcd..e3cbdb99 100644 --- a/intersight/models/hyperflex_credentials_ref.py +++ b/intersight/models/hyperflex_credentials_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_fc_storage_policy.py b/intersight/models/hyperflex_ext_fc_storage_policy.py index 2eff8969..e14b2b0e 100644 --- a/intersight/models/hyperflex_ext_fc_storage_policy.py +++ b/intersight/models/hyperflex_ext_fc_storage_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexExtFcStoragePolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'admin_state': 'bool', @@ -60,6 +61,7 @@ class HyperflexExtFcStoragePolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'admin_state': 'AdminState', @@ -70,7 +72,7 @@ class HyperflexExtFcStoragePolicy(object): 'wwxn_prefix_range': 'WwxnPrefixRange' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, admin_state=None, cluster_profiles=None, exta_traffic=None, extb_traffic=None, organization=None, wwxn_prefix_range=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, admin_state=None, cluster_profiles=None, exta_traffic=None, extb_traffic=None, organization=None, wwxn_prefix_range=None): """ HyperflexExtFcStoragePolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._admin_state = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexExtFcStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexExtFcStoragePolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexExtFcStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexExtFcStoragePolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexExtFcStoragePolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexExtFcStoragePolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexExtFcStoragePolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexExtFcStoragePolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_ext_fc_storage_policy_list.py b/intersight/models/hyperflex_ext_fc_storage_policy_list.py index 2012d2ef..363876db 100644 --- a/intersight/models/hyperflex_ext_fc_storage_policy_list.py +++ b/intersight/models/hyperflex_ext_fc_storage_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_fc_storage_policy_ref.py b/intersight/models/hyperflex_ext_fc_storage_policy_ref.py index 77c29f63..fc1468f0 100644 --- a/intersight/models/hyperflex_ext_fc_storage_policy_ref.py +++ b/intersight/models/hyperflex_ext_fc_storage_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_iscsi_storage_policy.py b/intersight/models/hyperflex_ext_iscsi_storage_policy.py index ae21431f..8e30483f 100644 --- a/intersight/models/hyperflex_ext_iscsi_storage_policy.py +++ b/intersight/models/hyperflex_ext_iscsi_storage_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexExtIscsiStoragePolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'admin_state': 'bool', @@ -59,6 +60,7 @@ class HyperflexExtIscsiStoragePolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'admin_state': 'AdminState', @@ -68,7 +70,7 @@ class HyperflexExtIscsiStoragePolicy(object): 'organization': 'Organization' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, admin_state=None, cluster_profiles=None, exta_traffic=None, extb_traffic=None, organization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, admin_state=None, cluster_profiles=None, exta_traffic=None, extb_traffic=None, organization=None): """ HyperflexExtIscsiStoragePolicy - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._admin_state = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexExtIscsiStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexExtIscsiStoragePolicy. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexExtIscsiStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexExtIscsiStoragePolicy. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexExtIscsiStoragePolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexExtIscsiStoragePolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexExtIscsiStoragePolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexExtIscsiStoragePolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py b/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py index dca1bc9d..aac25772 100644 --- a/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py +++ b/intersight/models/hyperflex_ext_iscsi_storage_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ext_iscsi_storage_policy_ref.py b/intersight/models/hyperflex_ext_iscsi_storage_policy_ref.py index 77ccfea0..80eccfae 100644 --- a/intersight/models/hyperflex_ext_iscsi_storage_policy_ref.py +++ b/intersight/models/hyperflex_ext_iscsi_storage_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_entry.py b/intersight/models/hyperflex_feature_limit_entry.py index 8f78d47c..f198cf56 100644 --- a/intersight/models/hyperflex_feature_limit_entry.py +++ b/intersight/models/hyperflex_feature_limit_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_entry_ref.py b/intersight/models/hyperflex_feature_limit_entry_ref.py index 6cd4cd95..60987259 100644 --- a/intersight/models/hyperflex_feature_limit_entry_ref.py +++ b/intersight/models/hyperflex_feature_limit_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_external.py b/intersight/models/hyperflex_feature_limit_external.py index 48c59397..a460b864 100644 --- a/intersight/models/hyperflex_feature_limit_external.py +++ b/intersight/models/hyperflex_feature_limit_external.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexFeatureLimitExternal(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'app_catalog': 'HyperflexAppCatalogRef', 'feature_limit_entries': 'list[HyperflexFeatureLimitEntry]' } @@ -54,11 +55,12 @@ class HyperflexFeatureLimitExternal(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'app_catalog': 'AppCatalog', 'feature_limit_entries': 'FeatureLimitEntries' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, app_catalog=None, feature_limit_entries=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, app_catalog=None, feature_limit_entries=None): """ HyperflexFeatureLimitExternal - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._app_catalog = None self._feature_limit_entries = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if app_catalog is not None: self.app_catalog = app_catalog if feature_limit_entries is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexFeatureLimitExternal. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexFeatureLimitExternal. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexFeatureLimitExternal. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexFeatureLimitExternal. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexFeatureLimitExternal. + The versioning info for this managed object + + :return: The version_context of this HyperflexFeatureLimitExternal. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexFeatureLimitExternal. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexFeatureLimitExternal. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def app_catalog(self): """ diff --git a/intersight/models/hyperflex_feature_limit_external_list.py b/intersight/models/hyperflex_feature_limit_external_list.py index 5dcbe5f5..3e9a4cae 100644 --- a/intersight/models/hyperflex_feature_limit_external_list.py +++ b/intersight/models/hyperflex_feature_limit_external_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_external_ref.py b/intersight/models/hyperflex_feature_limit_external_ref.py index 38b685c2..4e05706c 100644 --- a/intersight/models/hyperflex_feature_limit_external_ref.py +++ b/intersight/models/hyperflex_feature_limit_external_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_internal.py b/intersight/models/hyperflex_feature_limit_internal.py index b18cc957..021811ed 100644 --- a/intersight/models/hyperflex_feature_limit_internal.py +++ b/intersight/models/hyperflex_feature_limit_internal.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexFeatureLimitInternal(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'app_catalog': 'HyperflexAppCatalogRef', 'feature_limit_entries': 'list[HyperflexFeatureLimitEntry]' } @@ -54,11 +55,12 @@ class HyperflexFeatureLimitInternal(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'app_catalog': 'AppCatalog', 'feature_limit_entries': 'FeatureLimitEntries' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, app_catalog=None, feature_limit_entries=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, app_catalog=None, feature_limit_entries=None): """ HyperflexFeatureLimitInternal - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._app_catalog = None self._feature_limit_entries = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if app_catalog is not None: self.app_catalog = app_catalog if feature_limit_entries is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexFeatureLimitInternal. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexFeatureLimitInternal. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexFeatureLimitInternal. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexFeatureLimitInternal. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexFeatureLimitInternal. + The versioning info for this managed object + + :return: The version_context of this HyperflexFeatureLimitInternal. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexFeatureLimitInternal. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexFeatureLimitInternal. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def app_catalog(self): """ diff --git a/intersight/models/hyperflex_feature_limit_internal_list.py b/intersight/models/hyperflex_feature_limit_internal_list.py index 50c041c3..1b65bf45 100644 --- a/intersight/models/hyperflex_feature_limit_internal_list.py +++ b/intersight/models/hyperflex_feature_limit_internal_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_feature_limit_internal_ref.py b/intersight/models/hyperflex_feature_limit_internal_ref.py index 13830c28..a4feceb2 100644 --- a/intersight/models/hyperflex_feature_limit_internal_ref.py +++ b/intersight/models/hyperflex_feature_limit_internal_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_hx_link_dt.py b/intersight/models/hyperflex_hx_link_dt.py new file mode 100644 index 00000000..1713f569 --- /dev/null +++ b/intersight/models/hyperflex_hx_link_dt.py @@ -0,0 +1,207 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxLinkDt(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'comments': 'str', + 'href': 'str', + 'method': 'str', + 'rel': 'str' + } + + attribute_map = { + 'comments': 'Comments', + 'href': 'Href', + 'method': 'Method', + 'rel': 'Rel' + } + + def __init__(self, comments=None, href=None, method='POST', rel=None): + """ + HyperflexHxLinkDt - a model defined in Swagger + """ + + self._comments = None + self._href = None + self._method = None + self._rel = None + + if comments is not None: + self.comments = comments + if href is not None: + self.href = href + if method is not None: + self.method = method + if rel is not None: + self.rel = rel + + @property + def comments(self): + """ + Gets the comments of this HyperflexHxLinkDt. + + :return: The comments of this HyperflexHxLinkDt. + :rtype: str + """ + return self._comments + + @comments.setter + def comments(self, comments): + """ + Sets the comments of this HyperflexHxLinkDt. + + :param comments: The comments of this HyperflexHxLinkDt. + :type: str + """ + + self._comments = comments + + @property + def href(self): + """ + Gets the href of this HyperflexHxLinkDt. + + :return: The href of this HyperflexHxLinkDt. + :rtype: str + """ + return self._href + + @href.setter + def href(self, href): + """ + Sets the href of this HyperflexHxLinkDt. + + :param href: The href of this HyperflexHxLinkDt. + :type: str + """ + + self._href = href + + @property + def method(self): + """ + Gets the method of this HyperflexHxLinkDt. + + :return: The method of this HyperflexHxLinkDt. + :rtype: str + """ + return self._method + + @method.setter + def method(self, method): + """ + Sets the method of this HyperflexHxLinkDt. + + :param method: The method of this HyperflexHxLinkDt. + :type: str + """ + allowed_values = ["POST", "GET", "PUT", "DELETE"] + if method not in allowed_values: + raise ValueError( + "Invalid value for `method` ({0}), must be one of {1}" + .format(method, allowed_values) + ) + + self._method = method + + @property + def rel(self): + """ + Gets the rel of this HyperflexHxLinkDt. + + :return: The rel of this HyperflexHxLinkDt. + :rtype: str + """ + return self._rel + + @rel.setter + def rel(self, rel): + """ + Sets the rel of this HyperflexHxLinkDt. + + :param rel: The rel of this HyperflexHxLinkDt. + :type: str + """ + + self._rel = rel + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxLinkDt): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hx_link_dt_ref.py b/intersight/models/hyperflex_hx_link_dt_ref.py new file mode 100644 index 00000000..df9b8959 --- /dev/null +++ b/intersight/models/hyperflex_hx_link_dt_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxLinkDtRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HyperflexHxLinkDtRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HyperflexHxLinkDtRef. + + :return: The moid of this HyperflexHxLinkDtRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexHxLinkDtRef. + + :param moid: The moid of this HyperflexHxLinkDtRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexHxLinkDtRef. + + :return: The object_type of this HyperflexHxLinkDtRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexHxLinkDtRef. + + :param object_type: The object_type of this HyperflexHxLinkDtRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxLinkDtRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hx_network_address_dt.py b/intersight/models/hyperflex_hx_network_address_dt.py new file mode 100644 index 00000000..23278482 --- /dev/null +++ b/intersight/models/hyperflex_hx_network_address_dt.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxNetworkAddressDt(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'address': 'str', + 'fqdn': 'str', + 'ip': 'str' + } + + attribute_map = { + 'address': 'Address', + 'fqdn': 'Fqdn', + 'ip': 'Ip' + } + + def __init__(self, address=None, fqdn=None, ip=None): + """ + HyperflexHxNetworkAddressDt - a model defined in Swagger + """ + + self._address = None + self._fqdn = None + self._ip = None + + if address is not None: + self.address = address + if fqdn is not None: + self.fqdn = fqdn + if ip is not None: + self.ip = ip + + @property + def address(self): + """ + Gets the address of this HyperflexHxNetworkAddressDt. + + :return: The address of this HyperflexHxNetworkAddressDt. + :rtype: str + """ + return self._address + + @address.setter + def address(self, address): + """ + Sets the address of this HyperflexHxNetworkAddressDt. + + :param address: The address of this HyperflexHxNetworkAddressDt. + :type: str + """ + + self._address = address + + @property + def fqdn(self): + """ + Gets the fqdn of this HyperflexHxNetworkAddressDt. + + :return: The fqdn of this HyperflexHxNetworkAddressDt. + :rtype: str + """ + return self._fqdn + + @fqdn.setter + def fqdn(self, fqdn): + """ + Sets the fqdn of this HyperflexHxNetworkAddressDt. + + :param fqdn: The fqdn of this HyperflexHxNetworkAddressDt. + :type: str + """ + + self._fqdn = fqdn + + @property + def ip(self): + """ + Gets the ip of this HyperflexHxNetworkAddressDt. + + :return: The ip of this HyperflexHxNetworkAddressDt. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """ + Sets the ip of this HyperflexHxNetworkAddressDt. + + :param ip: The ip of this HyperflexHxNetworkAddressDt. + :type: str + """ + + self._ip = ip + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxNetworkAddressDt): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hx_network_address_dt_ref.py b/intersight/models/hyperflex_hx_network_address_dt_ref.py new file mode 100644 index 00000000..9bde013a --- /dev/null +++ b/intersight/models/hyperflex_hx_network_address_dt_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxNetworkAddressDtRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HyperflexHxNetworkAddressDtRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HyperflexHxNetworkAddressDtRef. + + :return: The moid of this HyperflexHxNetworkAddressDtRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexHxNetworkAddressDtRef. + + :param moid: The moid of this HyperflexHxNetworkAddressDtRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexHxNetworkAddressDtRef. + + :return: The object_type of this HyperflexHxNetworkAddressDtRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexHxNetworkAddressDtRef. + + :param object_type: The object_type of this HyperflexHxNetworkAddressDtRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxNetworkAddressDtRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hx_uu_id_dt.py b/intersight/models/hyperflex_hx_uu_id_dt.py new file mode 100644 index 00000000..0c103c4b --- /dev/null +++ b/intersight/models/hyperflex_hx_uu_id_dt.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxUuIdDt(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'links': 'list[HyperflexHxLinkDt]', + 'uuid': 'str' + } + + attribute_map = { + 'links': 'Links', + 'uuid': 'Uuid' + } + + def __init__(self, links=None, uuid=None): + """ + HyperflexHxUuIdDt - a model defined in Swagger + """ + + self._links = None + self._uuid = None + + if links is not None: + self.links = links + if uuid is not None: + self.uuid = uuid + + @property + def links(self): + """ + Gets the links of this HyperflexHxUuIdDt. + + :return: The links of this HyperflexHxUuIdDt. + :rtype: list[HyperflexHxLinkDt] + """ + return self._links + + @links.setter + def links(self, links): + """ + Sets the links of this HyperflexHxUuIdDt. + + :param links: The links of this HyperflexHxUuIdDt. + :type: list[HyperflexHxLinkDt] + """ + + self._links = links + + @property + def uuid(self): + """ + Gets the uuid of this HyperflexHxUuIdDt. + + :return: The uuid of this HyperflexHxUuIdDt. + :rtype: str + """ + return self._uuid + + @uuid.setter + def uuid(self, uuid): + """ + Sets the uuid of this HyperflexHxUuIdDt. + + :param uuid: The uuid of this HyperflexHxUuIdDt. + :type: str + """ + + self._uuid = uuid + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxUuIdDt): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hx_uu_id_dt_ref.py b/intersight/models/hyperflex_hx_uu_id_dt_ref.py new file mode 100644 index 00000000..77a6699c --- /dev/null +++ b/intersight/models/hyperflex_hx_uu_id_dt_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexHxUuIdDtRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HyperflexHxUuIdDtRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HyperflexHxUuIdDtRef. + + :return: The moid of this HyperflexHxUuIdDtRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexHxUuIdDtRef. + + :param moid: The moid of this HyperflexHxUuIdDtRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexHxUuIdDtRef. + + :return: The object_type of this HyperflexHxUuIdDtRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexHxUuIdDtRef. + + :param object_type: The object_type of this HyperflexHxUuIdDtRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexHxUuIdDtRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_hxdp_version.py b/intersight/models/hyperflex_hxdp_version.py index 37126280..2af68c69 100644 --- a/intersight/models/hyperflex_hxdp_version.py +++ b/intersight/models/hyperflex_hxdp_version.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexHxdpVersion(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'app_catalog': 'HyperflexAppCatalogRef', 'installer_image': 'HyperflexInstallerImageRef', 'version': 'str' @@ -55,12 +56,13 @@ class HyperflexHxdpVersion(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'app_catalog': 'AppCatalog', 'installer_image': 'InstallerImage', 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, app_catalog=None, installer_image=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, app_catalog=None, installer_image=None, version=None): """ HyperflexHxdpVersion - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._app_catalog = None self._installer_image = None self._version = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if app_catalog is not None: self.app_catalog = app_catalog if installer_image is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexHxdpVersion. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexHxdpVersion. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexHxdpVersion. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexHxdpVersion. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexHxdpVersion. + The versioning info for this managed object + + :return: The version_context of this HyperflexHxdpVersion. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexHxdpVersion. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexHxdpVersion. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def app_catalog(self): """ diff --git a/intersight/models/hyperflex_hxdp_version_list.py b/intersight/models/hyperflex_hxdp_version_list.py index ceaff069..b2caf6dd 100644 --- a/intersight/models/hyperflex_hxdp_version_list.py +++ b/intersight/models/hyperflex_hxdp_version_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_hxdp_version_ref.py b/intersight/models/hyperflex_hxdp_version_ref.py index af2778a4..f208c0fd 100644 --- a/intersight/models/hyperflex_hxdp_version_ref.py +++ b/intersight/models/hyperflex_hxdp_version_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_installer_image_ref.py b/intersight/models/hyperflex_installer_image_ref.py index fe8a8833..45b03699 100644 --- a/intersight/models/hyperflex_installer_image_ref.py +++ b/intersight/models/hyperflex_installer_image_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ip_addr_range.py b/intersight/models/hyperflex_ip_addr_range.py index 9f84e3f7..37f746bc 100644 --- a/intersight/models/hyperflex_ip_addr_range.py +++ b/intersight/models/hyperflex_ip_addr_range.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ip_addr_range_ref.py b/intersight/models/hyperflex_ip_addr_range_ref.py index 559f0557..6afe2519 100644 --- a/intersight/models/hyperflex_ip_addr_range_ref.py +++ b/intersight/models/hyperflex_ip_addr_range_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_local_credential_policy.py b/intersight/models/hyperflex_local_credential_policy.py index 7138fb02..89a4edc4 100644 --- a/intersight/models/hyperflex_local_credential_policy.py +++ b/intersight/models/hyperflex_local_credential_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexLocalCredentialPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -62,6 +63,7 @@ class HyperflexLocalCredentialPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -74,7 +76,7 @@ class HyperflexLocalCredentialPolicy(object): 'organization': 'Organization' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, factory_hypervisor_password=None, hxdp_root_pwd=None, hypervisor_admin=None, hypervisor_admin_pwd=None, is_hxdp_root_pwd_set=None, is_hypervisor_admin_pwd_set=None, organization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, factory_hypervisor_password=None, hxdp_root_pwd=None, hypervisor_admin=None, hypervisor_admin_pwd=None, is_hxdp_root_pwd_set=None, is_hypervisor_admin_pwd_set=None, organization=None): """ HyperflexLocalCredentialPolicy - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexLocalCredentialPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexLocalCredentialPolicy. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexLocalCredentialPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexLocalCredentialPolicy. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexLocalCredentialPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexLocalCredentialPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexLocalCredentialPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexLocalCredentialPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ @@ -441,7 +469,7 @@ def factory_hypervisor_password(self, factory_hypervisor_password): def hxdp_root_pwd(self): """ Gets the hxdp_root_pwd of this HyperflexLocalCredentialPolicy. - HyperFlex storage controller VM password Must contain a minimum of 10 characters with at least 1 lowercase, 1 uppercase, 1 numeric, and 1 special character - !@#$%^&* + HyperFlex storage controller VM password must contain a minimum of 10 characters, with at least 1 lowercase, 1 uppercase, 1 numeric, and 1 of these special characters - !@#$%^&* :return: The hxdp_root_pwd of this HyperflexLocalCredentialPolicy. :rtype: str @@ -452,7 +480,7 @@ def hxdp_root_pwd(self): def hxdp_root_pwd(self, hxdp_root_pwd): """ Sets the hxdp_root_pwd of this HyperflexLocalCredentialPolicy. - HyperFlex storage controller VM password Must contain a minimum of 10 characters with at least 1 lowercase, 1 uppercase, 1 numeric, and 1 special character - !@#$%^&* + HyperFlex storage controller VM password must contain a minimum of 10 characters, with at least 1 lowercase, 1 uppercase, 1 numeric, and 1 of these special characters - !@#$%^&* :param hxdp_root_pwd: The hxdp_root_pwd of this HyperflexLocalCredentialPolicy. :type: str @@ -464,7 +492,7 @@ def hxdp_root_pwd(self, hxdp_root_pwd): def hypervisor_admin(self): """ Gets the hypervisor_admin of this HyperflexLocalCredentialPolicy. - Hypervisor administrator username Must contain only alphanumeric characters Use the root account for ESXi deployments + Hypervisor administrator username must contain only alphanumeric characters. Use the root account for ESXi deployments. :return: The hypervisor_admin of this HyperflexLocalCredentialPolicy. :rtype: str @@ -475,7 +503,7 @@ def hypervisor_admin(self): def hypervisor_admin(self, hypervisor_admin): """ Sets the hypervisor_admin of this HyperflexLocalCredentialPolicy. - Hypervisor administrator username Must contain only alphanumeric characters Use the root account for ESXi deployments + Hypervisor administrator username must contain only alphanumeric characters. Use the root account for ESXi deployments. :param hypervisor_admin: The hypervisor_admin of this HyperflexLocalCredentialPolicy. :type: str @@ -487,7 +515,7 @@ def hypervisor_admin(self, hypervisor_admin): def hypervisor_admin_pwd(self): """ Gets the hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. - Specifies the ESXi root password. For HyperFlex Data Platform 3.0 or later, if the factory default password was not manually changed, you will be required to set a new custom password. If the password was manually changed, you must not enable factory default password property and provide the current Hypervisor password. Note - All HyperFlex nodes require the same Hypervisor password for installation. For HyperFlex Data Platform prior to 3.0, use the default password \"Cisco123\" for newly manufactured HyperFlex servers. A custom password should only be entered if Hypervisor credentials were manually changed prior to deployment. + Specifies the ESXi root password. For HyperFlex Data Platform 3.0 or later, if the factory default password was not manually changed, you must set a new custom password. If the password was manually changed, you must not enable the factory default password property and provide the current hypervisor password. Note - All HyperFlex nodes require the same hypervisor password for installation. For HyperFlex Data Platform prior to 3.0, use the default password \"Cisco123\" for newly manufactured HyperFlex servers. A custom password should only be entered if hypervisor credentials were manually changed prior to deployment. :return: The hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. :rtype: str @@ -498,7 +526,7 @@ def hypervisor_admin_pwd(self): def hypervisor_admin_pwd(self, hypervisor_admin_pwd): """ Sets the hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. - Specifies the ESXi root password. For HyperFlex Data Platform 3.0 or later, if the factory default password was not manually changed, you will be required to set a new custom password. If the password was manually changed, you must not enable factory default password property and provide the current Hypervisor password. Note - All HyperFlex nodes require the same Hypervisor password for installation. For HyperFlex Data Platform prior to 3.0, use the default password \"Cisco123\" for newly manufactured HyperFlex servers. A custom password should only be entered if Hypervisor credentials were manually changed prior to deployment. + Specifies the ESXi root password. For HyperFlex Data Platform 3.0 or later, if the factory default password was not manually changed, you must set a new custom password. If the password was manually changed, you must not enable the factory default password property and provide the current hypervisor password. Note - All HyperFlex nodes require the same hypervisor password for installation. For HyperFlex Data Platform prior to 3.0, use the default password \"Cisco123\" for newly manufactured HyperFlex servers. A custom password should only be entered if hypervisor credentials were manually changed prior to deployment. :param hypervisor_admin_pwd: The hypervisor_admin_pwd of this HyperflexLocalCredentialPolicy. :type: str diff --git a/intersight/models/hyperflex_local_credential_policy_list.py b/intersight/models/hyperflex_local_credential_policy_list.py index 722c46b3..861af8f5 100644 --- a/intersight/models/hyperflex_local_credential_policy_list.py +++ b/intersight/models/hyperflex_local_credential_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_local_credential_policy_ref.py b/intersight/models/hyperflex_local_credential_policy_ref.py index 9bd47645..d34df1c3 100644 --- a/intersight/models/hyperflex_local_credential_policy_ref.py +++ b/intersight/models/hyperflex_local_credential_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_logical_availability_zone.py b/intersight/models/hyperflex_logical_availability_zone.py index 6f82d964..f5831b2a 100644 --- a/intersight/models/hyperflex_logical_availability_zone.py +++ b/intersight/models/hyperflex_logical_availability_zone.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_logical_availability_zone_ref.py b/intersight/models/hyperflex_logical_availability_zone_ref.py index f6249d43..a455c6be 100644 --- a/intersight/models/hyperflex_logical_availability_zone_ref.py +++ b/intersight/models/hyperflex_logical_availability_zone_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_mac_addr_prefix_range.py b/intersight/models/hyperflex_mac_addr_prefix_range.py index 88203544..764a47a2 100644 --- a/intersight/models/hyperflex_mac_addr_prefix_range.py +++ b/intersight/models/hyperflex_mac_addr_prefix_range.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_mac_addr_prefix_range_ref.py b/intersight/models/hyperflex_mac_addr_prefix_range_ref.py index aebe4474..18362db2 100644 --- a/intersight/models/hyperflex_mac_addr_prefix_range_ref.py +++ b/intersight/models/hyperflex_mac_addr_prefix_range_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_managed_object_reference.py b/intersight/models/hyperflex_managed_object_reference.py index fa6ff35f..672f52f0 100644 --- a/intersight/models/hyperflex_managed_object_reference.py +++ b/intersight/models/hyperflex_managed_object_reference.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_managed_object_reference_ref.py b/intersight/models/hyperflex_managed_object_reference_ref.py index c883bcb9..7aed7db1 100644 --- a/intersight/models/hyperflex_managed_object_reference_ref.py +++ b/intersight/models/hyperflex_managed_object_reference_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_named_vlan.py b/intersight/models/hyperflex_named_vlan.py index dac1fa58..719044d7 100644 --- a/intersight/models/hyperflex_named_vlan.py +++ b/intersight/models/hyperflex_named_vlan.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_named_vlan_ref.py b/intersight/models/hyperflex_named_vlan_ref.py index 57b237de..8c27915f 100644 --- a/intersight/models/hyperflex_named_vlan_ref.py +++ b/intersight/models/hyperflex_named_vlan_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_named_vsan.py b/intersight/models/hyperflex_named_vsan.py index 020b1764..dc705e06 100644 --- a/intersight/models/hyperflex_named_vsan.py +++ b/intersight/models/hyperflex_named_vsan.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_named_vsan_ref.py b/intersight/models/hyperflex_named_vsan_ref.py index c1c0b0ba..a83ff4c7 100644 --- a/intersight/models/hyperflex_named_vsan_ref.py +++ b/intersight/models/hyperflex_named_vsan_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node.py b/intersight/models/hyperflex_node.py new file mode 100644 index 00000000..0530df7e --- /dev/null +++ b/intersight/models/hyperflex_node.py @@ -0,0 +1,751 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexNode(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'build_number': 'str', + 'cluster': 'HyperflexClusterRef', + 'cluster_member': 'AssetClusterMemberRef', + 'display_version': 'str', + 'host_name': 'str', + 'hypervisor': 'str', + 'identity': 'HyperflexHxUuIdDt', + 'ip': 'HyperflexHxNetworkAddressDt', + 'lockdown': 'bool', + 'model_number': 'str', + 'physical_server': 'ComputePhysicalRef', + 'serial_number': 'str', + 'status': 'str', + 'version': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'build_number': 'BuildNumber', + 'cluster': 'Cluster', + 'cluster_member': 'ClusterMember', + 'display_version': 'DisplayVersion', + 'host_name': 'HostName', + 'hypervisor': 'Hypervisor', + 'identity': 'Identity', + 'ip': 'Ip', + 'lockdown': 'Lockdown', + 'model_number': 'ModelNumber', + 'physical_server': 'PhysicalServer', + 'serial_number': 'SerialNumber', + 'status': 'Status', + 'version': 'Version' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, build_number=None, cluster=None, cluster_member=None, display_version=None, host_name=None, hypervisor=None, identity=None, ip=None, lockdown=None, model_number=None, physical_server=None, serial_number=None, status='UNKNOWN', version=None): + """ + HyperflexNode - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._build_number = None + self._cluster = None + self._cluster_member = None + self._display_version = None + self._host_name = None + self._hypervisor = None + self._identity = None + self._ip = None + self._lockdown = None + self._model_number = None + self._physical_server = None + self._serial_number = None + self._status = None + self._version = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if build_number is not None: + self.build_number = build_number + if cluster is not None: + self.cluster = cluster + if cluster_member is not None: + self.cluster_member = cluster_member + if display_version is not None: + self.display_version = display_version + if host_name is not None: + self.host_name = host_name + if hypervisor is not None: + self.hypervisor = hypervisor + if identity is not None: + self.identity = identity + if ip is not None: + self.ip = ip + if lockdown is not None: + self.lockdown = lockdown + if model_number is not None: + self.model_number = model_number + if physical_server is not None: + self.physical_server = physical_server + if serial_number is not None: + self.serial_number = serial_number + if status is not None: + self.status = status + if version is not None: + self.version = version + + @property + def account_moid(self): + """ + Gets the account_moid of this HyperflexNode. + The Account ID for this managed object. + + :return: The account_moid of this HyperflexNode. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this HyperflexNode. + The Account ID for this managed object. + + :param account_moid: The account_moid of this HyperflexNode. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this HyperflexNode. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this HyperflexNode. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this HyperflexNode. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this HyperflexNode. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this HyperflexNode. + The time when this managed object was created. + + :return: The create_time of this HyperflexNode. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this HyperflexNode. + The time when this managed object was created. + + :param create_time: The create_time of this HyperflexNode. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this HyperflexNode. + The time when this managed object was last modified. + + :return: The mod_time of this HyperflexNode. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this HyperflexNode. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this HyperflexNode. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this HyperflexNode. + A unique identifier of this Managed Object instance. + + :return: The moid of this HyperflexNode. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexNode. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this HyperflexNode. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexNode. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this HyperflexNode. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexNode. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this HyperflexNode. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this HyperflexNode. + An array of owners which represent effective ownership of this object. + + :return: The owners of this HyperflexNode. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this HyperflexNode. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this HyperflexNode. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this HyperflexNode. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this HyperflexNode. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this HyperflexNode. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this HyperflexNode. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this HyperflexNode. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this HyperflexNode. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this HyperflexNode. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this HyperflexNode. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this HyperflexNode. + The versioning info for this managed object + + :return: The version_context of this HyperflexNode. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexNode. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexNode. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def build_number(self): + """ + Gets the build_number of this HyperflexNode. + + :return: The build_number of this HyperflexNode. + :rtype: str + """ + return self._build_number + + @build_number.setter + def build_number(self, build_number): + """ + Sets the build_number of this HyperflexNode. + + :param build_number: The build_number of this HyperflexNode. + :type: str + """ + + self._build_number = build_number + + @property + def cluster(self): + """ + Gets the cluster of this HyperflexNode. + + :return: The cluster of this HyperflexNode. + :rtype: HyperflexClusterRef + """ + return self._cluster + + @cluster.setter + def cluster(self, cluster): + """ + Sets the cluster of this HyperflexNode. + + :param cluster: The cluster of this HyperflexNode. + :type: HyperflexClusterRef + """ + + self._cluster = cluster + + @property + def cluster_member(self): + """ + Gets the cluster_member of this HyperflexNode. + A relationship to the ClusterMember that represents this node's registration to Intersight + + :return: The cluster_member of this HyperflexNode. + :rtype: AssetClusterMemberRef + """ + return self._cluster_member + + @cluster_member.setter + def cluster_member(self, cluster_member): + """ + Sets the cluster_member of this HyperflexNode. + A relationship to the ClusterMember that represents this node's registration to Intersight + + :param cluster_member: The cluster_member of this HyperflexNode. + :type: AssetClusterMemberRef + """ + + self._cluster_member = cluster_member + + @property + def display_version(self): + """ + Gets the display_version of this HyperflexNode. + + :return: The display_version of this HyperflexNode. + :rtype: str + """ + return self._display_version + + @display_version.setter + def display_version(self, display_version): + """ + Sets the display_version of this HyperflexNode. + + :param display_version: The display_version of this HyperflexNode. + :type: str + """ + + self._display_version = display_version + + @property + def host_name(self): + """ + Gets the host_name of this HyperflexNode. + + :return: The host_name of this HyperflexNode. + :rtype: str + """ + return self._host_name + + @host_name.setter + def host_name(self, host_name): + """ + Sets the host_name of this HyperflexNode. + + :param host_name: The host_name of this HyperflexNode. + :type: str + """ + + self._host_name = host_name + + @property + def hypervisor(self): + """ + Gets the hypervisor of this HyperflexNode. + + :return: The hypervisor of this HyperflexNode. + :rtype: str + """ + return self._hypervisor + + @hypervisor.setter + def hypervisor(self, hypervisor): + """ + Sets the hypervisor of this HyperflexNode. + + :param hypervisor: The hypervisor of this HyperflexNode. + :type: str + """ + + self._hypervisor = hypervisor + + @property + def identity(self): + """ + Gets the identity of this HyperflexNode. + + :return: The identity of this HyperflexNode. + :rtype: HyperflexHxUuIdDt + """ + return self._identity + + @identity.setter + def identity(self, identity): + """ + Sets the identity of this HyperflexNode. + + :param identity: The identity of this HyperflexNode. + :type: HyperflexHxUuIdDt + """ + + self._identity = identity + + @property + def ip(self): + """ + Gets the ip of this HyperflexNode. + + :return: The ip of this HyperflexNode. + :rtype: HyperflexHxNetworkAddressDt + """ + return self._ip + + @ip.setter + def ip(self, ip): + """ + Sets the ip of this HyperflexNode. + + :param ip: The ip of this HyperflexNode. + :type: HyperflexHxNetworkAddressDt + """ + + self._ip = ip + + @property + def lockdown(self): + """ + Gets the lockdown of this HyperflexNode. + + :return: The lockdown of this HyperflexNode. + :rtype: bool + """ + return self._lockdown + + @lockdown.setter + def lockdown(self, lockdown): + """ + Sets the lockdown of this HyperflexNode. + + :param lockdown: The lockdown of this HyperflexNode. + :type: bool + """ + + self._lockdown = lockdown + + @property + def model_number(self): + """ + Gets the model_number of this HyperflexNode. + + :return: The model_number of this HyperflexNode. + :rtype: str + """ + return self._model_number + + @model_number.setter + def model_number(self, model_number): + """ + Sets the model_number of this HyperflexNode. + + :param model_number: The model_number of this HyperflexNode. + :type: str + """ + + self._model_number = model_number + + @property + def physical_server(self): + """ + Gets the physical_server of this HyperflexNode. + A relationship to the UCS server associated with this node + + :return: The physical_server of this HyperflexNode. + :rtype: ComputePhysicalRef + """ + return self._physical_server + + @physical_server.setter + def physical_server(self, physical_server): + """ + Sets the physical_server of this HyperflexNode. + A relationship to the UCS server associated with this node + + :param physical_server: The physical_server of this HyperflexNode. + :type: ComputePhysicalRef + """ + + self._physical_server = physical_server + + @property + def serial_number(self): + """ + Gets the serial_number of this HyperflexNode. + + :return: The serial_number of this HyperflexNode. + :rtype: str + """ + return self._serial_number + + @serial_number.setter + def serial_number(self, serial_number): + """ + Sets the serial_number of this HyperflexNode. + + :param serial_number: The serial_number of this HyperflexNode. + :type: str + """ + + self._serial_number = serial_number + + @property + def status(self): + """ + Gets the status of this HyperflexNode. + + :return: The status of this HyperflexNode. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this HyperflexNode. + + :param status: The status of this HyperflexNode. + :type: str + """ + allowed_values = ["UNKNOWN", "ONLINE", "OFFLINE", "INMAINTENANCE", "DEGRADED"] + if status not in allowed_values: + raise ValueError( + "Invalid value for `status` ({0}), must be one of {1}" + .format(status, allowed_values) + ) + + self._status = status + + @property + def version(self): + """ + Gets the version of this HyperflexNode. + + :return: The version of this HyperflexNode. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this HyperflexNode. + + :param version: The version of this HyperflexNode. + :type: str + """ + + self._version = version + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_node_config_policy.py b/intersight/models/hyperflex_node_config_policy.py index d370d4f5..413519ef 100644 --- a/intersight/models/hyperflex_node_config_policy.py +++ b/intersight/models/hyperflex_node_config_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexNodeConfigPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -60,6 +61,7 @@ class HyperflexNodeConfigPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -70,7 +72,7 @@ class HyperflexNodeConfigPolicy(object): 'organization': 'Organization' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, data_ip_range=None, hxdp_ip_range=None, mgmt_ip_range=None, node_name_prefix=None, organization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, data_ip_range=None, hxdp_ip_range=None, mgmt_ip_range=None, node_name_prefix=None, organization=None): """ HyperflexNodeConfigPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexNodeConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexNodeConfigPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexNodeConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexNodeConfigPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexNodeConfigPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexNodeConfigPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexNodeConfigPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexNodeConfigPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_node_config_policy_list.py b/intersight/models/hyperflex_node_config_policy_list.py index 1af76090..2291c174 100644 --- a/intersight/models/hyperflex_node_config_policy_list.py +++ b/intersight/models/hyperflex_node_config_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_config_policy_ref.py b/intersight/models/hyperflex_node_config_policy_ref.py index 03b83469..82c9e1c1 100644 --- a/intersight/models/hyperflex_node_config_policy_ref.py +++ b/intersight/models/hyperflex_node_config_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_list.py b/intersight/models/hyperflex_node_list.py new file mode 100644 index 00000000..0b40720c --- /dev/null +++ b/intersight/models/hyperflex_node_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexNodeList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[HyperflexNode]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + HyperflexNodeList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this HyperflexNodeList. + The number of hyperflexNodes matching your request in total for all pages. + + :return: The count of this HyperflexNodeList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this HyperflexNodeList. + The number of hyperflexNodes matching your request in total for all pages. + + :param count: The count of this HyperflexNodeList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this HyperflexNodeList. + The array of hyperflexNodes matching your request. + + :return: The results of this HyperflexNodeList. + :rtype: list[HyperflexNode] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this HyperflexNodeList. + The array of hyperflexNodes matching your request. + + :param results: The results of this HyperflexNodeList. + :type: list[HyperflexNode] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexNodeList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_node_profile.py b/intersight/models/hyperflex_node_profile.py index 6824385a..b883acef 100644 --- a/intersight/models/hyperflex_node_profile.py +++ b/intersight/models/hyperflex_node_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexNodeProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'src_template': 'PolicyAbstractProfileRef', @@ -62,6 +63,7 @@ class HyperflexNodeProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'src_template': 'SrcTemplate', @@ -74,7 +76,7 @@ class HyperflexNodeProfile(object): 'hypervisor_mgmt_ip': 'HypervisorMgmtIp' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, src_template=None, type='instance', assigned_server=None, cluster_profile=None, hxdp_data_ip=None, hxdp_mgmt_ip=None, hypervisor_data_ip=None, hypervisor_mgmt_ip=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, src_template=None, type='instance', assigned_server=None, cluster_profile=None, hxdp_data_ip=None, hxdp_mgmt_ip=None, hypervisor_data_ip=None, hypervisor_mgmt_ip=None): """ HyperflexNodeProfile - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._src_template = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexNodeProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexNodeProfile. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexNodeProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexNodeProfile. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexNodeProfile. + The versioning info for this managed object + + :return: The version_context of this HyperflexNodeProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexNodeProfile. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexNodeProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_node_profile_list.py b/intersight/models/hyperflex_node_profile_list.py index daba7bc3..095d8e8e 100644 --- a/intersight/models/hyperflex_node_profile_list.py +++ b/intersight/models/hyperflex_node_profile_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_profile_ref.py b/intersight/models/hyperflex_node_profile_ref.py index 4c441b38..5d852e4e 100644 --- a/intersight/models/hyperflex_node_profile_ref.py +++ b/intersight/models/hyperflex_node_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_node_ref.py b/intersight/models/hyperflex_node_ref.py new file mode 100644 index 00000000..769196c3 --- /dev/null +++ b/intersight/models/hyperflex_node_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class HyperflexNodeRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + HyperflexNodeRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this HyperflexNodeRef. + + :return: The moid of this HyperflexNodeRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this HyperflexNodeRef. + + :param moid: The moid of this HyperflexNodeRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this HyperflexNodeRef. + + :return: The object_type of this HyperflexNodeRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this HyperflexNodeRef. + + :param object_type: The object_type of this HyperflexNodeRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, HyperflexNodeRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/hyperflex_proxy_setting_policy.py b/intersight/models/hyperflex_proxy_setting_policy.py index 5ae27da3..4c33f71e 100644 --- a/intersight/models/hyperflex_proxy_setting_policy.py +++ b/intersight/models/hyperflex_proxy_setting_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexProxySettingPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -61,6 +62,7 @@ class HyperflexProxySettingPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -72,7 +74,7 @@ class HyperflexProxySettingPolicy(object): 'username': 'Username' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, hostname=None, is_password_set=None, organization=None, password=None, port=None, username=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, hostname=None, is_password_set=None, organization=None, password=None, port=None, username=None): """ HyperflexProxySettingPolicy - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexProxySettingPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexProxySettingPolicy. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexProxySettingPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexProxySettingPolicy. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexProxySettingPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexProxySettingPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexProxySettingPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexProxySettingPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_proxy_setting_policy_list.py b/intersight/models/hyperflex_proxy_setting_policy_list.py index c0e38678..cf48a15a 100644 --- a/intersight/models/hyperflex_proxy_setting_policy_list.py +++ b/intersight/models/hyperflex_proxy_setting_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_proxy_setting_policy_ref.py b/intersight/models/hyperflex_proxy_setting_policy_ref.py index abe13565..879cd304 100644 --- a/intersight/models/hyperflex_proxy_setting_policy_ref.py +++ b/intersight/models/hyperflex_proxy_setting_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_firmware_version.py b/intersight/models/hyperflex_server_firmware_version.py index 3e5d0e27..62e4ecf6 100644 --- a/intersight/models/hyperflex_server_firmware_version.py +++ b/intersight/models/hyperflex_server_firmware_version.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexServerFirmwareVersion(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'app_catalog': 'HyperflexAppCatalogRef', 'server_firmware_version_entries': 'list[HyperflexServerFirmwareVersionEntry]' } @@ -54,11 +55,12 @@ class HyperflexServerFirmwareVersion(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'app_catalog': 'AppCatalog', 'server_firmware_version_entries': 'ServerFirmwareVersionEntries' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, app_catalog=None, server_firmware_version_entries=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, app_catalog=None, server_firmware_version_entries=None): """ HyperflexServerFirmwareVersion - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._app_catalog = None self._server_firmware_version_entries = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if app_catalog is not None: self.app_catalog = app_catalog if server_firmware_version_entries is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexServerFirmwareVersion. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexServerFirmwareVersion. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexServerFirmwareVersion. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexServerFirmwareVersion. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexServerFirmwareVersion. + The versioning info for this managed object + + :return: The version_context of this HyperflexServerFirmwareVersion. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexServerFirmwareVersion. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexServerFirmwareVersion. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def app_catalog(self): """ diff --git a/intersight/models/hyperflex_server_firmware_version_entry.py b/intersight/models/hyperflex_server_firmware_version_entry.py index d30b7f01..9e9e714d 100644 --- a/intersight/models/hyperflex_server_firmware_version_entry.py +++ b/intersight/models/hyperflex_server_firmware_version_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_firmware_version_entry_ref.py b/intersight/models/hyperflex_server_firmware_version_entry_ref.py index 98f4c87c..b2087e05 100644 --- a/intersight/models/hyperflex_server_firmware_version_entry_ref.py +++ b/intersight/models/hyperflex_server_firmware_version_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_firmware_version_list.py b/intersight/models/hyperflex_server_firmware_version_list.py index 9096bc84..6e27f5a5 100644 --- a/intersight/models/hyperflex_server_firmware_version_list.py +++ b/intersight/models/hyperflex_server_firmware_version_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_firmware_version_ref.py b/intersight/models/hyperflex_server_firmware_version_ref.py index d5296fff..792db226 100644 --- a/intersight/models/hyperflex_server_firmware_version_ref.py +++ b/intersight/models/hyperflex_server_firmware_version_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_model.py b/intersight/models/hyperflex_server_model.py index d4d4e191..53a81a58 100644 --- a/intersight/models/hyperflex_server_model.py +++ b/intersight/models/hyperflex_server_model.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexServerModel(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'app_catalog': 'HyperflexAppCatalogRef', 'server_model_entries': 'list[HyperflexServerModelEntry]' } @@ -54,11 +55,12 @@ class HyperflexServerModel(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'app_catalog': 'AppCatalog', 'server_model_entries': 'ServerModelEntries' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, app_catalog=None, server_model_entries=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, app_catalog=None, server_model_entries=None): """ HyperflexServerModel - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._app_catalog = None self._server_model_entries = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if app_catalog is not None: self.app_catalog = app_catalog if server_model_entries is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexServerModel. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexServerModel. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexServerModel. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexServerModel. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexServerModel. + The versioning info for this managed object + + :return: The version_context of this HyperflexServerModel. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexServerModel. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexServerModel. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def app_catalog(self): """ diff --git a/intersight/models/hyperflex_server_model_entry.py b/intersight/models/hyperflex_server_model_entry.py index 5a1c3035..2bcd6879 100644 --- a/intersight/models/hyperflex_server_model_entry.py +++ b/intersight/models/hyperflex_server_model_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_model_entry_ref.py b/intersight/models/hyperflex_server_model_entry_ref.py index 69954373..b9cf1979 100644 --- a/intersight/models/hyperflex_server_model_entry_ref.py +++ b/intersight/models/hyperflex_server_model_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_model_list.py b/intersight/models/hyperflex_server_model_list.py index 46cb8783..7c928404 100644 --- a/intersight/models/hyperflex_server_model_list.py +++ b/intersight/models/hyperflex_server_model_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_server_model_ref.py b/intersight/models/hyperflex_server_model_ref.py index 7ad2c8bd..e8945196 100644 --- a/intersight/models/hyperflex_server_model_ref.py +++ b/intersight/models/hyperflex_server_model_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_st_platform_cluster_healing_info.py b/intersight/models/hyperflex_st_platform_cluster_healing_info.py index 8b8f71e2..47fb4818 100644 --- a/intersight/models/hyperflex_st_platform_cluster_healing_info.py +++ b/intersight/models/hyperflex_st_platform_cluster_healing_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ class HyperflexStPlatformClusterHealingInfo(object): 'estimated_completion_time_in_seconds': 'int', 'in_progress': 'bool', 'messages': 'list[str]', - 'messages_iterator': 'HyperflexIteratorString', + 'messages_iterator': 'object', 'messages_size': 'int', 'percent_complete': 'int' } @@ -142,7 +142,7 @@ def messages_iterator(self): Gets the messages_iterator of this HyperflexStPlatformClusterHealingInfo. :return: The messages_iterator of this HyperflexStPlatformClusterHealingInfo. - :rtype: HyperflexIteratorString + :rtype: object """ return self._messages_iterator @@ -152,7 +152,7 @@ def messages_iterator(self, messages_iterator): Sets the messages_iterator of this HyperflexStPlatformClusterHealingInfo. :param messages_iterator: The messages_iterator of this HyperflexStPlatformClusterHealingInfo. - :type: HyperflexIteratorString + :type: object """ self._messages_iterator = messages_iterator diff --git a/intersight/models/hyperflex_st_platform_cluster_healing_info_ref.py b/intersight/models/hyperflex_st_platform_cluster_healing_info_ref.py index 1c74af90..f01505f8 100644 --- a/intersight/models/hyperflex_st_platform_cluster_healing_info_ref.py +++ b/intersight/models/hyperflex_st_platform_cluster_healing_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_st_platform_cluster_resiliency_info.py b/intersight/models/hyperflex_st_platform_cluster_resiliency_info.py index 95a6ab2b..52ca8c98 100644 --- a/intersight/models/hyperflex_st_platform_cluster_resiliency_info.py +++ b/intersight/models/hyperflex_st_platform_cluster_resiliency_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,7 +33,7 @@ class HyperflexStPlatformClusterResiliencyInfo(object): swagger_types = { 'hdd_failures_tolerable': 'int', 'messages': 'list[str]', - 'messages_iterator': 'HyperflexIteratorString', + 'messages_iterator': 'object', 'messages_size': 'int', 'node_failures_tolerable': 'int', 'ssd_failures_tolerable': 'int', @@ -126,7 +126,7 @@ def messages_iterator(self): Gets the messages_iterator of this HyperflexStPlatformClusterResiliencyInfo. :return: The messages_iterator of this HyperflexStPlatformClusterResiliencyInfo. - :rtype: HyperflexIteratorString + :rtype: object """ return self._messages_iterator @@ -136,7 +136,7 @@ def messages_iterator(self, messages_iterator): Sets the messages_iterator of this HyperflexStPlatformClusterResiliencyInfo. :param messages_iterator: The messages_iterator of this HyperflexStPlatformClusterResiliencyInfo. - :type: HyperflexIteratorString + :type: object """ self._messages_iterator = messages_iterator diff --git a/intersight/models/hyperflex_st_platform_cluster_resiliency_info_ref.py b/intersight/models/hyperflex_st_platform_cluster_resiliency_info_ref.py index 15d45b98..c810bf27 100644 --- a/intersight/models/hyperflex_st_platform_cluster_resiliency_info_ref.py +++ b/intersight/models/hyperflex_st_platform_cluster_resiliency_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_summary.py b/intersight/models/hyperflex_summary.py index 8687a58e..50f8c643 100644 --- a/intersight/models/hyperflex_summary.py +++ b/intersight/models/hyperflex_summary.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -43,7 +43,7 @@ class HyperflexSummary(object): 'free_capacity': 'int', 'healing_info': 'HyperflexStPlatformClusterHealingInfo', 'name': 'str', - 'resiliency_details': 'str', + 'resiliency_details': 'object', 'resiliency_details_size': 'int', 'resiliency_info': 'HyperflexStPlatformClusterResiliencyInfo', 'space_status': 'str', @@ -406,7 +406,7 @@ def resiliency_details(self): Gets the resiliency_details of this HyperflexSummary. :return: The resiliency_details of this HyperflexSummary. - :rtype: str + :rtype: object """ return self._resiliency_details @@ -416,7 +416,7 @@ def resiliency_details(self, resiliency_details): Sets the resiliency_details of this HyperflexSummary. :param resiliency_details: The resiliency_details of this HyperflexSummary. - :type: str + :type: object """ self._resiliency_details = resiliency_details diff --git a/intersight/models/hyperflex_summary_ref.py b/intersight/models/hyperflex_summary_ref.py index c953e405..34ef88b0 100644 --- a/intersight/models/hyperflex_summary_ref.py +++ b/intersight/models/hyperflex_summary_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_sys_config_policy.py b/intersight/models/hyperflex_sys_config_policy.py index 03297d22..fa3bfaa4 100644 --- a/intersight/models/hyperflex_sys_config_policy.py +++ b/intersight/models/hyperflex_sys_config_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexSysConfigPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -60,6 +61,7 @@ class HyperflexSysConfigPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -70,7 +72,7 @@ class HyperflexSysConfigPolicy(object): 'timezone': 'Timezone' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, dns_domain_name=None, dns_servers=None, ntp_servers=None, organization=None, timezone=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, dns_domain_name=None, dns_servers=None, ntp_servers=None, organization=None, timezone=None): """ HyperflexSysConfigPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexSysConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexSysConfigPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexSysConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexSysConfigPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexSysConfigPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexSysConfigPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexSysConfigPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexSysConfigPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_sys_config_policy_list.py b/intersight/models/hyperflex_sys_config_policy_list.py index fbd100fe..bd392513 100644 --- a/intersight/models/hyperflex_sys_config_policy_list.py +++ b/intersight/models/hyperflex_sys_config_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_sys_config_policy_ref.py b/intersight/models/hyperflex_sys_config_policy_ref.py index 95a8d487..c856412a 100644 --- a/intersight/models/hyperflex_sys_config_policy_ref.py +++ b/intersight/models/hyperflex_sys_config_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ucsm_config_policy.py b/intersight/models/hyperflex_ucsm_config_policy.py index 29f81528..acf492a5 100644 --- a/intersight/models/hyperflex_ucsm_config_policy.py +++ b/intersight/models/hyperflex_ucsm_config_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexUcsmConfigPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -59,6 +60,7 @@ class HyperflexUcsmConfigPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -68,7 +70,7 @@ class HyperflexUcsmConfigPolicy(object): 'server_firmware_version': 'ServerFirmwareVersion' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, kvm_ip_range=None, mac_prefix_range=None, organization=None, server_firmware_version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, kvm_ip_range=None, mac_prefix_range=None, organization=None, server_firmware_version=None): """ HyperflexUcsmConfigPolicy - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexUcsmConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexUcsmConfigPolicy. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexUcsmConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexUcsmConfigPolicy. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexUcsmConfigPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexUcsmConfigPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexUcsmConfigPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexUcsmConfigPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/hyperflex_ucsm_config_policy_list.py b/intersight/models/hyperflex_ucsm_config_policy_list.py index 170f335a..3a976ddd 100644 --- a/intersight/models/hyperflex_ucsm_config_policy_list.py +++ b/intersight/models/hyperflex_ucsm_config_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_ucsm_config_policy_ref.py b/intersight/models/hyperflex_ucsm_config_policy_ref.py index 8fa7b82f..f1e05c8c 100644 --- a/intersight/models/hyperflex_ucsm_config_policy_ref.py +++ b/intersight/models/hyperflex_ucsm_config_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_vcenter_config_policy.py b/intersight/models/hyperflex_vcenter_config_policy.py index f4574c78..73a45ee3 100644 --- a/intersight/models/hyperflex_vcenter_config_policy.py +++ b/intersight/models/hyperflex_vcenter_config_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class HyperflexVcenterConfigPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'cluster_profiles': 'list[HyperflexClusterProfileRef]', @@ -62,6 +63,7 @@ class HyperflexVcenterConfigPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'cluster_profiles': 'ClusterProfiles', @@ -74,7 +76,7 @@ class HyperflexVcenterConfigPolicy(object): 'username': 'Username' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, cluster_profiles=None, data_center=None, hostname=None, is_password_set=None, organization=None, password=None, sso_url=None, username=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, cluster_profiles=None, data_center=None, hostname=None, is_password_set=None, organization=None, password=None, sso_url=None, username=None): """ HyperflexVcenterConfigPolicy - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._cluster_profiles = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this HyperflexVcenterConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this HyperflexVcenterConfigPolicy. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this HyperflexVcenterConfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this HyperflexVcenterConfigPolicy. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this HyperflexVcenterConfigPolicy. + The versioning info for this managed object + + :return: The version_context of this HyperflexVcenterConfigPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this HyperflexVcenterConfigPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this HyperflexVcenterConfigPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ @@ -508,7 +536,7 @@ def organization(self, organization): def password(self): """ Gets the password of this HyperflexVcenterConfigPolicy. - vCenter password Password must be atleast 6 characters. Follow the corresponding password policy governed by vCenter. + vCenter password must be atleast 6 characters. Follow the corresponding password policy governed by vCenter. :return: The password of this HyperflexVcenterConfigPolicy. :rtype: str @@ -519,7 +547,7 @@ def password(self): def password(self, password): """ Sets the password of this HyperflexVcenterConfigPolicy. - vCenter password Password must be atleast 6 characters. Follow the corresponding password policy governed by vCenter. + vCenter password must be atleast 6 characters. Follow the corresponding password policy governed by vCenter. :param password: The password of this HyperflexVcenterConfigPolicy. :type: str @@ -531,7 +559,7 @@ def password(self, password): def sso_url(self): """ Gets the sso_url of this HyperflexVcenterConfigPolicy. - Overrides the default vCenter Single Sign-On URL. Do not specify unless instructed by Cisco TAC + Overrides the default vCenter Single Sign-On URL. Do not specify unless instructed by Cisco TAC. :return: The sso_url of this HyperflexVcenterConfigPolicy. :rtype: str @@ -542,7 +570,7 @@ def sso_url(self): def sso_url(self, sso_url): """ Sets the sso_url of this HyperflexVcenterConfigPolicy. - Overrides the default vCenter Single Sign-On URL. Do not specify unless instructed by Cisco TAC + Overrides the default vCenter Single Sign-On URL. Do not specify unless instructed by Cisco TAC. :param sso_url: The sso_url of this HyperflexVcenterConfigPolicy. :type: str diff --git a/intersight/models/hyperflex_vcenter_config_policy_list.py b/intersight/models/hyperflex_vcenter_config_policy_list.py index cba91681..01a76230 100644 --- a/intersight/models/hyperflex_vcenter_config_policy_list.py +++ b/intersight/models/hyperflex_vcenter_config_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_vcenter_config_policy_ref.py b/intersight/models/hyperflex_vcenter_config_policy_ref.py index f4f5eac6..97f7eb3b 100644 --- a/intersight/models/hyperflex_vcenter_config_policy_ref.py +++ b/intersight/models/hyperflex_vcenter_config_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_wwxn_prefix_range.py b/intersight/models/hyperflex_wwxn_prefix_range.py index e6ff07ca..28982a83 100644 --- a/intersight/models/hyperflex_wwxn_prefix_range.py +++ b/intersight/models/hyperflex_wwxn_prefix_range.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/hyperflex_wwxn_prefix_range_ref.py b/intersight/models/hyperflex_wwxn_prefix_range_ref.py index 878ab496..f772f1ec 100644 --- a/intersight/models/hyperflex_wwxn_prefix_range_ref.py +++ b/intersight/models/hyperflex_wwxn_prefix_range_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/i18n_message.py b/intersight/models/i18n_message.py index 5ca77ce4..3e8c13d7 100644 --- a/intersight/models/i18n_message.py +++ b/intersight/models/i18n_message.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/i18n_message_param.py b/intersight/models/i18n_message_param.py index 7d40c2ab..6a4e93ff 100644 --- a/intersight/models/i18n_message_param.py +++ b/intersight/models/i18n_message_param.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/i18n_message_param_ref.py b/intersight/models/i18n_message_param_ref.py index 1df09277..484a0066 100644 --- a/intersight/models/i18n_message_param_ref.py +++ b/intersight/models/i18n_message_param_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/i18n_message_ref.py b/intersight/models/i18n_message_ref.py index adeccb89..53fab698 100644 --- a/intersight/models/i18n_message_ref.py +++ b/intersight/models/i18n_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_connector_pack.py b/intersight/models/iaas_connector_pack.py index 306e3bd2..27d151ad 100644 --- a/intersight/models/iaas_connector_pack.py +++ b/intersight/models/iaas_connector_pack.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IaasConnectorPack(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'dependency_names': 'list[str]', 'downloaded_version': 'str', 'guid': 'IaasUcsdInfoRef', @@ -58,6 +59,7 @@ class IaasConnectorPack(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'dependency_names': 'DependencyNames', 'downloaded_version': 'DownloadedVersion', 'guid': 'Guid', @@ -66,7 +68,7 @@ class IaasConnectorPack(object): 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, dependency_names=None, downloaded_version=None, guid=None, name=None, state=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, dependency_names=None, downloaded_version=None, guid=None, name=None, state=None, version=None): """ IaasConnectorPack - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._dependency_names = None self._downloaded_version = None self._guid = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if dependency_names is not None: self.dependency_names = dependency_names if downloaded_version is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IaasConnectorPack. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IaasConnectorPack. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IaasConnectorPack. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IaasConnectorPack. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IaasConnectorPack. + The versioning info for this managed object + + :return: The version_context of this IaasConnectorPack. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasConnectorPack. + The versioning info for this managed object + + :param version_context: The version_context of this IaasConnectorPack. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def dependency_names(self): """ diff --git a/intersight/models/iaas_connector_pack_list.py b/intersight/models/iaas_connector_pack_list.py index 78d21e4b..48943eda 100644 --- a/intersight/models/iaas_connector_pack_list.py +++ b/intersight/models/iaas_connector_pack_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_connector_pack_ref.py b/intersight/models/iaas_connector_pack_ref.py index e1d0cd9a..6ecfab0e 100644 --- a/intersight/models/iaas_connector_pack_ref.py +++ b/intersight/models/iaas_connector_pack_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_device_status.py b/intersight/models/iaas_device_status.py index 19379ecf..e7c33bed 100644 --- a/intersight/models/iaas_device_status.py +++ b/intersight/models/iaas_device_status.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IaasDeviceStatus(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_name': 'str', 'account_type': 'str', 'connection_status': 'str', @@ -48,7 +49,8 @@ class IaasDeviceStatus(object): 'device_version': 'str', 'guid': 'IaasUcsdInfoRef', 'ip_address': 'str', - 'pod': 'str' + 'pod': 'str', + 'pod_type': 'str' } attribute_map = { @@ -61,6 +63,7 @@ class IaasDeviceStatus(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_name': 'AccountName', 'account_type': 'AccountType', 'connection_status': 'ConnectionStatus', @@ -69,10 +72,11 @@ class IaasDeviceStatus(object): 'device_version': 'DeviceVersion', 'guid': 'Guid', 'ip_address': 'IpAddress', - 'pod': 'Pod' + 'pod': 'Pod', + 'pod_type': 'PodType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_name=None, account_type=None, connection_status=None, device_model=None, device_vendor=None, device_version=None, guid=None, ip_address=None, pod=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_name=None, account_type=None, connection_status=None, device_model=None, device_vendor=None, device_version=None, guid=None, ip_address=None, pod=None, pod_type=None): """ IaasDeviceStatus - a model defined in Swagger """ @@ -86,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_name = None self._account_type = None self._connection_status = None @@ -95,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._guid = None self._ip_address = None self._pod = None + self._pod_type = None if account_moid is not None: self.account_moid = account_moid @@ -114,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_name is not None: self.account_name = account_name if account_type is not None: @@ -132,6 +140,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.ip_address = ip_address if pod is not None: self.pod = pod + if pod_type is not None: + self.pod_type = pod_type @property def account_moid(self): @@ -321,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IaasDeviceStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IaasDeviceStatus. :rtype: list[MoTag] @@ -332,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IaasDeviceStatus. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IaasDeviceStatus. :type: list[MoTag] @@ -340,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IaasDeviceStatus. + The versioning info for this managed object + + :return: The version_context of this IaasDeviceStatus. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasDeviceStatus. + The versioning info for this managed object + + :param version_context: The version_context of this IaasDeviceStatus. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_name(self): """ @@ -526,7 +559,7 @@ def ip_address(self, ip_address): def pod(self): """ Gets the pod of this IaasDeviceStatus. - Describes about the pod to which this device belongs to in UCSD + Describes about the pod to which this device belongs to in UCSD :return: The pod of this IaasDeviceStatus. :rtype: str @@ -537,7 +570,7 @@ def pod(self): def pod(self, pod): """ Sets the pod of this IaasDeviceStatus. - Describes about the pod to which this device belongs to in UCSD + Describes about the pod to which this device belongs to in UCSD :param pod: The pod of this IaasDeviceStatus. :type: str @@ -545,6 +578,29 @@ def pod(self, pod): self._pod = pod + @property + def pod_type(self): + """ + Gets the pod_type of this IaasDeviceStatus. + Describes about the podType of Pod to which this device belongs to in UCSD + + :return: The pod_type of this IaasDeviceStatus. + :rtype: str + """ + return self._pod_type + + @pod_type.setter + def pod_type(self, pod_type): + """ + Sets the pod_type of this IaasDeviceStatus. + Describes about the podType of Pod to which this device belongs to in UCSD + + :param pod_type: The pod_type of this IaasDeviceStatus. + :type: str + """ + + self._pod_type = pod_type + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/iaas_device_status_list.py b/intersight/models/iaas_device_status_list.py index 52e76300..35419e24 100644 --- a/intersight/models/iaas_device_status_list.py +++ b/intersight/models/iaas_device_status_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_device_status_ref.py b/intersight/models/iaas_device_status_ref.py index 24d9445c..cc045166 100644 --- a/intersight/models/iaas_device_status_ref.py +++ b/intersight/models/iaas_device_status_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_info.py b/intersight/models/iaas_license_info.py index 6c33eb0e..6c6e0036 100644 --- a/intersight/models/iaas_license_info.py +++ b/intersight/models/iaas_license_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IaasLicenseInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'guid': 'IaasUcsdInfoRef', 'license_expiration_date': 'str', 'license_keys_info': 'list[IaasLicenseKeysInfo]', @@ -57,6 +58,7 @@ class IaasLicenseInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'guid': 'Guid', 'license_expiration_date': 'LicenseExpirationDate', 'license_keys_info': 'LicenseKeysInfo', @@ -64,7 +66,7 @@ class IaasLicenseInfo(object): 'license_utilization_info': 'LicenseUtilizationInfo' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, guid=None, license_expiration_date=None, license_keys_info=None, license_type=None, license_utilization_info=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, guid=None, license_expiration_date=None, license_keys_info=None, license_type=None, license_utilization_info=None): """ IaasLicenseInfo - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._guid = None self._license_expiration_date = None self._license_keys_info = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if guid is not None: self.guid = guid if license_expiration_date is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IaasLicenseInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IaasLicenseInfo. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IaasLicenseInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IaasLicenseInfo. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IaasLicenseInfo. + The versioning info for this managed object + + :return: The version_context of this IaasLicenseInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasLicenseInfo. + The versioning info for this managed object + + :param version_context: The version_context of this IaasLicenseInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def guid(self): """ diff --git a/intersight/models/iaas_license_info_list.py b/intersight/models/iaas_license_info_list.py index 5abfcc34..c6d13106 100644 --- a/intersight/models/iaas_license_info_list.py +++ b/intersight/models/iaas_license_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_info_ref.py b/intersight/models/iaas_license_info_ref.py index 740f9040..23a82473 100644 --- a/intersight/models/iaas_license_info_ref.py +++ b/intersight/models/iaas_license_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_keys_info.py b/intersight/models/iaas_license_keys_info.py index 74cf9da0..d4b4cdcc 100644 --- a/intersight/models/iaas_license_keys_info.py +++ b/intersight/models/iaas_license_keys_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_keys_info_ref.py b/intersight/models/iaas_license_keys_info_ref.py index 1afbdb26..7b3be4fe 100644 --- a/intersight/models/iaas_license_keys_info_ref.py +++ b/intersight/models/iaas_license_keys_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_utilization_info.py b/intersight/models/iaas_license_utilization_info.py index 95bab0e5..749b4da0 100644 --- a/intersight/models/iaas_license_utilization_info.py +++ b/intersight/models/iaas_license_utilization_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_license_utilization_info_ref.py b/intersight/models/iaas_license_utilization_info_ref.py index 88854ab6..4a5da2a5 100644 --- a/intersight/models/iaas_license_utilization_info_ref.py +++ b/intersight/models/iaas_license_utilization_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_most_run_tasks.py b/intersight/models/iaas_most_run_tasks.py new file mode 100644 index 00000000..098bc301 --- /dev/null +++ b/intersight/models/iaas_most_run_tasks.py @@ -0,0 +1,515 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasMostRunTasks(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'guid': 'IaasUcsdInfoRef', + 'task_category': 'str', + 'task_execution_count': 'int', + 'task_name': 'str', + 'task_type': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'guid': 'Guid', + 'task_category': 'TaskCategory', + 'task_execution_count': 'TaskExecutionCount', + 'task_name': 'TaskName', + 'task_type': 'TaskType' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, guid=None, task_category=None, task_execution_count=None, task_name=None, task_type=None): + """ + IaasMostRunTasks - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._guid = None + self._task_category = None + self._task_execution_count = None + self._task_name = None + self._task_type = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if guid is not None: + self.guid = guid + if task_category is not None: + self.task_category = task_category + if task_execution_count is not None: + self.task_execution_count = task_execution_count + if task_name is not None: + self.task_name = task_name + if task_type is not None: + self.task_type = task_type + + @property + def account_moid(self): + """ + Gets the account_moid of this IaasMostRunTasks. + The Account ID for this managed object. + + :return: The account_moid of this IaasMostRunTasks. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this IaasMostRunTasks. + The Account ID for this managed object. + + :param account_moid: The account_moid of this IaasMostRunTasks. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this IaasMostRunTasks. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this IaasMostRunTasks. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this IaasMostRunTasks. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this IaasMostRunTasks. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this IaasMostRunTasks. + The time when this managed object was created. + + :return: The create_time of this IaasMostRunTasks. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this IaasMostRunTasks. + The time when this managed object was created. + + :param create_time: The create_time of this IaasMostRunTasks. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this IaasMostRunTasks. + The time when this managed object was last modified. + + :return: The mod_time of this IaasMostRunTasks. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this IaasMostRunTasks. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this IaasMostRunTasks. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this IaasMostRunTasks. + A unique identifier of this Managed Object instance. + + :return: The moid of this IaasMostRunTasks. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IaasMostRunTasks. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this IaasMostRunTasks. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IaasMostRunTasks. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this IaasMostRunTasks. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IaasMostRunTasks. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this IaasMostRunTasks. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this IaasMostRunTasks. + An array of owners which represent effective ownership of this object. + + :return: The owners of this IaasMostRunTasks. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this IaasMostRunTasks. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this IaasMostRunTasks. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this IaasMostRunTasks. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this IaasMostRunTasks. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this IaasMostRunTasks. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this IaasMostRunTasks. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this IaasMostRunTasks. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this IaasMostRunTasks. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this IaasMostRunTasks. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this IaasMostRunTasks. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this IaasMostRunTasks. + The versioning info for this managed object + + :return: The version_context of this IaasMostRunTasks. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasMostRunTasks. + The versioning info for this managed object + + :param version_context: The version_context of this IaasMostRunTasks. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def guid(self): + """ + Gets the guid of this IaasMostRunTasks. + + :return: The guid of this IaasMostRunTasks. + :rtype: IaasUcsdInfoRef + """ + return self._guid + + @guid.setter + def guid(self, guid): + """ + Sets the guid of this IaasMostRunTasks. + + :param guid: The guid of this IaasMostRunTasks. + :type: IaasUcsdInfoRef + """ + + self._guid = guid + + @property + def task_category(self): + """ + Gets the task_category of this IaasMostRunTasks. + A functional area to which a task belongs to + + :return: The task_category of this IaasMostRunTasks. + :rtype: str + """ + return self._task_category + + @task_category.setter + def task_category(self, task_category): + """ + Sets the task_category of this IaasMostRunTasks. + A functional area to which a task belongs to + + :param task_category: The task_category of this IaasMostRunTasks. + :type: str + """ + + self._task_category = task_category + + @property + def task_execution_count(self): + """ + Gets the task_execution_count of this IaasMostRunTasks. + Number of times this task has executed. + + :return: The task_execution_count of this IaasMostRunTasks. + :rtype: int + """ + return self._task_execution_count + + @task_execution_count.setter + def task_execution_count(self, task_execution_count): + """ + Sets the task_execution_count of this IaasMostRunTasks. + Number of times this task has executed. + + :param task_execution_count: The task_execution_count of this IaasMostRunTasks. + :type: int + """ + + self._task_execution_count = task_execution_count + + @property + def task_name(self): + """ + Gets the task_name of this IaasMostRunTasks. + Name of the task + + :return: The task_name of this IaasMostRunTasks. + :rtype: str + """ + return self._task_name + + @task_name.setter + def task_name(self, task_name): + """ + Sets the task_name of this IaasMostRunTasks. + Name of the task + + :param task_name: The task_name of this IaasMostRunTasks. + :type: str + """ + + self._task_name = task_name + + @property + def task_type(self): + """ + Gets the task_type of this IaasMostRunTasks. + Type of the task whether it is system task or custom task + + :return: The task_type of this IaasMostRunTasks. + :rtype: str + """ + return self._task_type + + @task_type.setter + def task_type(self, task_type): + """ + Sets the task_type of this IaasMostRunTasks. + Type of the task whether it is system task or custom task + + :param task_type: The task_type of this IaasMostRunTasks. + :type: str + """ + + self._task_type = task_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasMostRunTasks): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iaas_most_run_tasks_list.py b/intersight/models/iaas_most_run_tasks_list.py new file mode 100644 index 00000000..80614868 --- /dev/null +++ b/intersight/models/iaas_most_run_tasks_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasMostRunTasksList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[IaasMostRunTasks]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + IaasMostRunTasksList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this IaasMostRunTasksList. + The number of iaasMostRunTasks matching your request in total for all pages. + + :return: The count of this IaasMostRunTasksList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this IaasMostRunTasksList. + The number of iaasMostRunTasks matching your request in total for all pages. + + :param count: The count of this IaasMostRunTasksList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this IaasMostRunTasksList. + The array of iaasMostRunTasks matching your request. + + :return: The results of this IaasMostRunTasksList. + :rtype: list[IaasMostRunTasks] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this IaasMostRunTasksList. + The array of iaasMostRunTasks matching your request. + + :param results: The results of this IaasMostRunTasksList. + :type: list[IaasMostRunTasks] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasMostRunTasksList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iaas_most_run_tasks_ref.py b/intersight/models/iaas_most_run_tasks_ref.py new file mode 100644 index 00000000..73f9af88 --- /dev/null +++ b/intersight/models/iaas_most_run_tasks_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasMostRunTasksRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + IaasMostRunTasksRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this IaasMostRunTasksRef. + + :return: The moid of this IaasMostRunTasksRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IaasMostRunTasksRef. + + :param moid: The moid of this IaasMostRunTasksRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IaasMostRunTasksRef. + + :return: The object_type of this IaasMostRunTasksRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IaasMostRunTasksRef. + + :param object_type: The object_type of this IaasMostRunTasksRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasMostRunTasksRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iaas_ucsd_info.py b/intersight/models/iaas_ucsd_info.py index 126586c0..1166adc3 100644 --- a/intersight/models/iaas_ucsd_info.py +++ b/intersight/models/iaas_ucsd_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IaasUcsdInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'connector_pack': 'list[IaasConnectorPackRef]', 'device_id': 'str', 'device_status': 'list[IaasDeviceStatusRef]', @@ -47,11 +48,14 @@ class IaasUcsdInfo(object): 'host_name': 'str', 'ip': 'str', 'license_info': 'IaasLicenseInfoRef', + 'most_run_tasks': 'list[IaasMostRunTasksRef]', + 'node_type': 'str', 'product_name': 'str', 'product_vendor': 'str', 'product_version': 'str', 'registered_device': 'AssetDeviceRegistrationRef', - 'status': 'str' + 'status': 'str', + 'ucsd_managed_infra': 'IaasUcsdManagedInfraRef' } attribute_map = { @@ -64,6 +68,7 @@ class IaasUcsdInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'connector_pack': 'ConnectorPack', 'device_id': 'DeviceId', 'device_status': 'DeviceStatus', @@ -71,14 +76,17 @@ class IaasUcsdInfo(object): 'host_name': 'HostName', 'ip': 'Ip', 'license_info': 'LicenseInfo', + 'most_run_tasks': 'MostRunTasks', + 'node_type': 'NodeType', 'product_name': 'ProductName', 'product_vendor': 'ProductVendor', 'product_version': 'ProductVersion', 'registered_device': 'RegisteredDevice', - 'status': 'Status' + 'status': 'Status', + 'ucsd_managed_infra': 'UcsdManagedInfra' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, connector_pack=None, device_id=None, device_status=None, guid=None, host_name=None, ip=None, license_info=None, product_name=None, product_vendor=None, product_version=None, registered_device=None, status=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, connector_pack=None, device_id=None, device_status=None, guid=None, host_name=None, ip=None, license_info=None, most_run_tasks=None, node_type=None, product_name=None, product_vendor=None, product_version=None, registered_device=None, status=None, ucsd_managed_infra=None): """ IaasUcsdInfo - a model defined in Swagger """ @@ -92,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._connector_pack = None self._device_id = None self._device_status = None @@ -99,11 +108,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._host_name = None self._ip = None self._license_info = None + self._most_run_tasks = None + self._node_type = None self._product_name = None self._product_vendor = None self._product_version = None self._registered_device = None self._status = None + self._ucsd_managed_infra = None if account_moid is not None: self.account_moid = account_moid @@ -123,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if connector_pack is not None: self.connector_pack = connector_pack if device_id is not None: @@ -137,6 +151,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.ip = ip if license_info is not None: self.license_info = license_info + if most_run_tasks is not None: + self.most_run_tasks = most_run_tasks + if node_type is not None: + self.node_type = node_type if product_name is not None: self.product_name = product_name if product_vendor is not None: @@ -147,6 +165,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.registered_device = registered_device if status is not None: self.status = status + if ucsd_managed_infra is not None: + self.ucsd_managed_infra = ucsd_managed_infra @property def account_moid(self): @@ -336,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IaasUcsdInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IaasUcsdInfo. :rtype: list[MoTag] @@ -347,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IaasUcsdInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IaasUcsdInfo. :type: list[MoTag] @@ -355,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IaasUcsdInfo. + The versioning info for this managed object + + :return: The version_context of this IaasUcsdInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasUcsdInfo. + The versioning info for this managed object + + :param version_context: The version_context of this IaasUcsdInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def connector_pack(self): """ @@ -510,6 +553,50 @@ def license_info(self, license_info): self._license_info = license_info + @property + def most_run_tasks(self): + """ + Gets the most_run_tasks of this IaasUcsdInfo. + + :return: The most_run_tasks of this IaasUcsdInfo. + :rtype: list[IaasMostRunTasksRef] + """ + return self._most_run_tasks + + @most_run_tasks.setter + def most_run_tasks(self, most_run_tasks): + """ + Sets the most_run_tasks of this IaasUcsdInfo. + + :param most_run_tasks: The most_run_tasks of this IaasUcsdInfo. + :type: list[IaasMostRunTasksRef] + """ + + self._most_run_tasks = most_run_tasks + + @property + def node_type(self): + """ + Gets the node_type of this IaasUcsdInfo. + nodeType specifies if UCSD is deployed in Stand-alone or Multi Node + + :return: The node_type of this IaasUcsdInfo. + :rtype: str + """ + return self._node_type + + @node_type.setter + def node_type(self, node_type): + """ + Sets the node_type of this IaasUcsdInfo. + nodeType specifies if UCSD is deployed in Stand-alone or Multi Node + + :param node_type: The node_type of this IaasUcsdInfo. + :type: str + """ + + self._node_type = node_type + @property def product_name(self): """ @@ -623,6 +710,27 @@ def status(self, status): self._status = status + @property + def ucsd_managed_infra(self): + """ + Gets the ucsd_managed_infra of this IaasUcsdInfo. + + :return: The ucsd_managed_infra of this IaasUcsdInfo. + :rtype: IaasUcsdManagedInfraRef + """ + return self._ucsd_managed_infra + + @ucsd_managed_infra.setter + def ucsd_managed_infra(self, ucsd_managed_infra): + """ + Sets the ucsd_managed_infra of this IaasUcsdInfo. + + :param ucsd_managed_infra: The ucsd_managed_infra of this IaasUcsdInfo. + :type: IaasUcsdManagedInfraRef + """ + + self._ucsd_managed_infra = ucsd_managed_infra + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/iaas_ucsd_info_list.py b/intersight/models/iaas_ucsd_info_list.py index 31d1efc8..6f4ed50a 100644 --- a/intersight/models/iaas_ucsd_info_list.py +++ b/intersight/models/iaas_ucsd_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_ucsd_info_ref.py b/intersight/models/iaas_ucsd_info_ref.py index f28b3d9f..8a5ab59d 100644 --- a/intersight/models/iaas_ucsd_info_ref.py +++ b/intersight/models/iaas_ucsd_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iaas_ucsd_managed_infra.py b/intersight/models/iaas_ucsd_managed_infra.py new file mode 100644 index 00000000..6983ca50 --- /dev/null +++ b/intersight/models/iaas_ucsd_managed_infra.py @@ -0,0 +1,711 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasUcsdManagedInfra(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'advanced_catalog_count': 'int', + 'bm_catalog_count': 'int', + 'container_catalog_count': 'int', + 'esxi_host_count': 'int', + 'external_group_count': 'int', + 'guid': 'IaasUcsdInfoRef', + 'hyperv_host_count': 'int', + 'local_group_count': 'int', + 'standard_catalog_count': 'int', + 'user_count': 'int', + 'vdc_count': 'int', + 'vm_count': 'int' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'advanced_catalog_count': 'AdvancedCatalogCount', + 'bm_catalog_count': 'BmCatalogCount', + 'container_catalog_count': 'ContainerCatalogCount', + 'esxi_host_count': 'EsxiHostCount', + 'external_group_count': 'ExternalGroupCount', + 'guid': 'Guid', + 'hyperv_host_count': 'HypervHostCount', + 'local_group_count': 'LocalGroupCount', + 'standard_catalog_count': 'StandardCatalogCount', + 'user_count': 'UserCount', + 'vdc_count': 'VdcCount', + 'vm_count': 'VmCount' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, advanced_catalog_count=None, bm_catalog_count=None, container_catalog_count=None, esxi_host_count=None, external_group_count=None, guid=None, hyperv_host_count=None, local_group_count=None, standard_catalog_count=None, user_count=None, vdc_count=None, vm_count=None): + """ + IaasUcsdManagedInfra - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._advanced_catalog_count = None + self._bm_catalog_count = None + self._container_catalog_count = None + self._esxi_host_count = None + self._external_group_count = None + self._guid = None + self._hyperv_host_count = None + self._local_group_count = None + self._standard_catalog_count = None + self._user_count = None + self._vdc_count = None + self._vm_count = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if advanced_catalog_count is not None: + self.advanced_catalog_count = advanced_catalog_count + if bm_catalog_count is not None: + self.bm_catalog_count = bm_catalog_count + if container_catalog_count is not None: + self.container_catalog_count = container_catalog_count + if esxi_host_count is not None: + self.esxi_host_count = esxi_host_count + if external_group_count is not None: + self.external_group_count = external_group_count + if guid is not None: + self.guid = guid + if hyperv_host_count is not None: + self.hyperv_host_count = hyperv_host_count + if local_group_count is not None: + self.local_group_count = local_group_count + if standard_catalog_count is not None: + self.standard_catalog_count = standard_catalog_count + if user_count is not None: + self.user_count = user_count + if vdc_count is not None: + self.vdc_count = vdc_count + if vm_count is not None: + self.vm_count = vm_count + + @property + def account_moid(self): + """ + Gets the account_moid of this IaasUcsdManagedInfra. + The Account ID for this managed object. + + :return: The account_moid of this IaasUcsdManagedInfra. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this IaasUcsdManagedInfra. + The Account ID for this managed object. + + :param account_moid: The account_moid of this IaasUcsdManagedInfra. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this IaasUcsdManagedInfra. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this IaasUcsdManagedInfra. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this IaasUcsdManagedInfra. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this IaasUcsdManagedInfra. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this IaasUcsdManagedInfra. + The time when this managed object was created. + + :return: The create_time of this IaasUcsdManagedInfra. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this IaasUcsdManagedInfra. + The time when this managed object was created. + + :param create_time: The create_time of this IaasUcsdManagedInfra. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this IaasUcsdManagedInfra. + The time when this managed object was last modified. + + :return: The mod_time of this IaasUcsdManagedInfra. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this IaasUcsdManagedInfra. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this IaasUcsdManagedInfra. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this IaasUcsdManagedInfra. + A unique identifier of this Managed Object instance. + + :return: The moid of this IaasUcsdManagedInfra. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IaasUcsdManagedInfra. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this IaasUcsdManagedInfra. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IaasUcsdManagedInfra. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this IaasUcsdManagedInfra. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IaasUcsdManagedInfra. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this IaasUcsdManagedInfra. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this IaasUcsdManagedInfra. + An array of owners which represent effective ownership of this object. + + :return: The owners of this IaasUcsdManagedInfra. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this IaasUcsdManagedInfra. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this IaasUcsdManagedInfra. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this IaasUcsdManagedInfra. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this IaasUcsdManagedInfra. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this IaasUcsdManagedInfra. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this IaasUcsdManagedInfra. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this IaasUcsdManagedInfra. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this IaasUcsdManagedInfra. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this IaasUcsdManagedInfra. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this IaasUcsdManagedInfra. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this IaasUcsdManagedInfra. + The versioning info for this managed object + + :return: The version_context of this IaasUcsdManagedInfra. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IaasUcsdManagedInfra. + The versioning info for this managed object + + :param version_context: The version_context of this IaasUcsdManagedInfra. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def advanced_catalog_count(self): + """ + Gets the advanced_catalog_count of this IaasUcsdManagedInfra. + Total advanced catalogs in UCSD + + :return: The advanced_catalog_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._advanced_catalog_count + + @advanced_catalog_count.setter + def advanced_catalog_count(self, advanced_catalog_count): + """ + Sets the advanced_catalog_count of this IaasUcsdManagedInfra. + Total advanced catalogs in UCSD + + :param advanced_catalog_count: The advanced_catalog_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._advanced_catalog_count = advanced_catalog_count + + @property + def bm_catalog_count(self): + """ + Gets the bm_catalog_count of this IaasUcsdManagedInfra. + Total bare metal catalogs in UCSD + + :return: The bm_catalog_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._bm_catalog_count + + @bm_catalog_count.setter + def bm_catalog_count(self, bm_catalog_count): + """ + Sets the bm_catalog_count of this IaasUcsdManagedInfra. + Total bare metal catalogs in UCSD + + :param bm_catalog_count: The bm_catalog_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._bm_catalog_count = bm_catalog_count + + @property + def container_catalog_count(self): + """ + Gets the container_catalog_count of this IaasUcsdManagedInfra. + Total service container catalogs in UCSD + + :return: The container_catalog_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._container_catalog_count + + @container_catalog_count.setter + def container_catalog_count(self, container_catalog_count): + """ + Sets the container_catalog_count of this IaasUcsdManagedInfra. + Total service container catalogs in UCSD + + :param container_catalog_count: The container_catalog_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._container_catalog_count = container_catalog_count + + @property + def esxi_host_count(self): + """ + Gets the esxi_host_count of this IaasUcsdManagedInfra. + Total ESXi hosts in UCSD + + :return: The esxi_host_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._esxi_host_count + + @esxi_host_count.setter + def esxi_host_count(self, esxi_host_count): + """ + Sets the esxi_host_count of this IaasUcsdManagedInfra. + Total ESXi hosts in UCSD + + :param esxi_host_count: The esxi_host_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._esxi_host_count = esxi_host_count + + @property + def external_group_count(self): + """ + Gets the external_group_count of this IaasUcsdManagedInfra. + Total external (Ldap) groups in UCSD + + :return: The external_group_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._external_group_count + + @external_group_count.setter + def external_group_count(self, external_group_count): + """ + Sets the external_group_count of this IaasUcsdManagedInfra. + Total external (Ldap) groups in UCSD + + :param external_group_count: The external_group_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._external_group_count = external_group_count + + @property + def guid(self): + """ + Gets the guid of this IaasUcsdManagedInfra. + + :return: The guid of this IaasUcsdManagedInfra. + :rtype: IaasUcsdInfoRef + """ + return self._guid + + @guid.setter + def guid(self, guid): + """ + Sets the guid of this IaasUcsdManagedInfra. + + :param guid: The guid of this IaasUcsdManagedInfra. + :type: IaasUcsdInfoRef + """ + + self._guid = guid + + @property + def hyperv_host_count(self): + """ + Gets the hyperv_host_count of this IaasUcsdManagedInfra. + Total HyperV hosts in UCSD + + :return: The hyperv_host_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._hyperv_host_count + + @hyperv_host_count.setter + def hyperv_host_count(self, hyperv_host_count): + """ + Sets the hyperv_host_count of this IaasUcsdManagedInfra. + Total HyperV hosts in UCSD + + :param hyperv_host_count: The hyperv_host_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._hyperv_host_count = hyperv_host_count + + @property + def local_group_count(self): + """ + Gets the local_group_count of this IaasUcsdManagedInfra. + Total local groups in UCSD + + :return: The local_group_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._local_group_count + + @local_group_count.setter + def local_group_count(self, local_group_count): + """ + Sets the local_group_count of this IaasUcsdManagedInfra. + Total local groups in UCSD + + :param local_group_count: The local_group_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._local_group_count = local_group_count + + @property + def standard_catalog_count(self): + """ + Gets the standard_catalog_count of this IaasUcsdManagedInfra. + Total standard catalogs in UCSD + + :return: The standard_catalog_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._standard_catalog_count + + @standard_catalog_count.setter + def standard_catalog_count(self, standard_catalog_count): + """ + Sets the standard_catalog_count of this IaasUcsdManagedInfra. + Total standard catalogs in UCSD + + :param standard_catalog_count: The standard_catalog_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._standard_catalog_count = standard_catalog_count + + @property + def user_count(self): + """ + Gets the user_count of this IaasUcsdManagedInfra. + Total user accounts in UCSD + + :return: The user_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._user_count + + @user_count.setter + def user_count(self, user_count): + """ + Sets the user_count of this IaasUcsdManagedInfra. + Total user accounts in UCSD + + :param user_count: The user_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._user_count = user_count + + @property + def vdc_count(self): + """ + Gets the vdc_count of this IaasUcsdManagedInfra. + Total virtual datacenters in UCSD + + :return: The vdc_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._vdc_count + + @vdc_count.setter + def vdc_count(self, vdc_count): + """ + Sets the vdc_count of this IaasUcsdManagedInfra. + Total virtual datacenters in UCSD + + :param vdc_count: The vdc_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._vdc_count = vdc_count + + @property + def vm_count(self): + """ + Gets the vm_count of this IaasUcsdManagedInfra. + Total VMs in UCSD + + :return: The vm_count of this IaasUcsdManagedInfra. + :rtype: int + """ + return self._vm_count + + @vm_count.setter + def vm_count(self, vm_count): + """ + Sets the vm_count of this IaasUcsdManagedInfra. + Total VMs in UCSD + + :param vm_count: The vm_count of this IaasUcsdManagedInfra. + :type: int + """ + + self._vm_count = vm_count + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasUcsdManagedInfra): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iaas_ucsd_managed_infra_list.py b/intersight/models/iaas_ucsd_managed_infra_list.py new file mode 100644 index 00000000..62435599 --- /dev/null +++ b/intersight/models/iaas_ucsd_managed_infra_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasUcsdManagedInfraList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[IaasUcsdManagedInfra]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + IaasUcsdManagedInfraList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this IaasUcsdManagedInfraList. + The number of iaasUcsdManagedInfras matching your request in total for all pages. + + :return: The count of this IaasUcsdManagedInfraList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this IaasUcsdManagedInfraList. + The number of iaasUcsdManagedInfras matching your request in total for all pages. + + :param count: The count of this IaasUcsdManagedInfraList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this IaasUcsdManagedInfraList. + The array of iaasUcsdManagedInfras matching your request. + + :return: The results of this IaasUcsdManagedInfraList. + :rtype: list[IaasUcsdManagedInfra] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this IaasUcsdManagedInfraList. + The array of iaasUcsdManagedInfras matching your request. + + :param results: The results of this IaasUcsdManagedInfraList. + :type: list[IaasUcsdManagedInfra] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasUcsdManagedInfraList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iaas_ucsd_managed_infra_ref.py b/intersight/models/iaas_ucsd_managed_infra_ref.py new file mode 100644 index 00000000..e0d3a431 --- /dev/null +++ b/intersight/models/iaas_ucsd_managed_infra_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IaasUcsdManagedInfraRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + IaasUcsdManagedInfraRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this IaasUcsdManagedInfraRef. + + :return: The moid of this IaasUcsdManagedInfraRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IaasUcsdManagedInfraRef. + + :param moid: The moid of this IaasUcsdManagedInfraRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IaasUcsdManagedInfraRef. + + :return: The object_type of this IaasUcsdManagedInfraRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IaasUcsdManagedInfraRef. + + :param object_type: The object_type of this IaasUcsdManagedInfraRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IaasUcsdManagedInfraRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iam_account.py b/intersight/models/iam_account.py index dd68d418..467e962a 100644 --- a/intersight/models/iam_account.py +++ b/intersight/models/iam_account.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamAccount(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'domain_groups': 'list[IamDomainGroupRef]', 'end_point_roles': 'list[IamEndPointRoleRef]', 'idpreferences': 'list[IamIdpReferenceRef]', @@ -64,6 +65,7 @@ class IamAccount(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'domain_groups': 'DomainGroups', 'end_point_roles': 'EndPointRoles', 'idpreferences': 'Idpreferences', @@ -78,7 +80,7 @@ class IamAccount(object): 'status': 'Status' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, domain_groups=None, end_point_roles=None, idpreferences=None, idps=None, name=None, permissions=None, privilege_sets=None, privileges=None, resource_limits=None, roles=None, session_limits=None, status=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, domain_groups=None, end_point_roles=None, idpreferences=None, idps=None, name=None, permissions=None, privilege_sets=None, privileges=None, resource_limits=None, roles=None, session_limits=None, status=None): """ IamAccount - a model defined in Swagger """ @@ -92,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._domain_groups = None self._end_point_roles = None self._idpreferences = None @@ -123,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if domain_groups is not None: self.domain_groups = domain_groups if end_point_roles is not None: @@ -336,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamAccount. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamAccount. :rtype: list[MoTag] @@ -347,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamAccount. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamAccount. :type: list[MoTag] @@ -355,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamAccount. + The versioning info for this managed object + + :return: The version_context of this IamAccount. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamAccount. + The versioning info for this managed object + + :param version_context: The version_context of this IamAccount. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def domain_groups(self): """ diff --git a/intersight/models/iam_account_list.py b/intersight/models/iam_account_list.py index caeb4115..e6863ba2 100644 --- a/intersight/models/iam_account_list.py +++ b/intersight/models/iam_account_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_account_permissions.py b/intersight/models/iam_account_permissions.py index ca498c39..7ad0f977 100644 --- a/intersight/models/iam_account_permissions.py +++ b/intersight/models/iam_account_permissions.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_account_permissions_ref.py b/intersight/models/iam_account_permissions_ref.py index 79ce5d5d..4a38f4ef 100644 --- a/intersight/models/iam_account_permissions_ref.py +++ b/intersight/models/iam_account_permissions_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_account_ref.py b/intersight/models/iam_account_ref.py index a9579ddc..339c184e 100644 --- a/intersight/models/iam_account_ref.py +++ b/intersight/models/iam_account_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_api_key.py b/intersight/models/iam_api_key.py index 3ca3cc73..c78176ab 100644 --- a/intersight/models/iam_api_key.py +++ b/intersight/models/iam_api_key.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamApiKey(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'permission': 'IamPermissionRef', 'private_key': 'str', 'purpose': 'str', @@ -56,13 +57,14 @@ class IamApiKey(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'permission': 'Permission', 'private_key': 'PrivateKey', 'purpose': 'Purpose', 'user': 'User' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, permission=None, private_key=None, purpose=None, user=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, permission=None, private_key=None, purpose=None, user=None): """ IamApiKey - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._permission = None self._private_key = None self._purpose = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if permission is not None: self.permission = permission if private_key is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamApiKey. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamApiKey. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamApiKey. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamApiKey. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamApiKey. + The versioning info for this managed object + + :return: The version_context of this IamApiKey. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamApiKey. + The versioning info for this managed object + + :param version_context: The version_context of this IamApiKey. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def permission(self): """ diff --git a/intersight/models/iam_api_key_list.py b/intersight/models/iam_api_key_list.py index f94de7a7..302f0a91 100644 --- a/intersight/models/iam_api_key_list.py +++ b/intersight/models/iam_api_key_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_api_key_ref.py b/intersight/models/iam_api_key_ref.py index 2e31458d..cbc0bffd 100644 --- a/intersight/models/iam_api_key_ref.py +++ b/intersight/models/iam_api_key_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_domain_group.py b/intersight/models/iam_domain_group.py index f33848bb..2d61722b 100644 --- a/intersight/models/iam_domain_group.py +++ b/intersight/models/iam_domain_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamDomainGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'name': 'str', 'partition1': 'int', @@ -59,6 +60,7 @@ class IamDomainGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'name': 'Name', 'partition1': 'Partition1', @@ -68,7 +70,7 @@ class IamDomainGroup(object): 'usage': 'Usage' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, name=None, partition1=None, partition2=None, partition3=None, partition_key=None, usage=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, name=None, partition1=None, partition2=None, partition3=None, partition_key=None, usage=None): """ IamDomainGroup - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._name = None self._partition1 = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamDomainGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamDomainGroup. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamDomainGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamDomainGroup. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamDomainGroup. + The versioning info for this managed object + + :return: The version_context of this IamDomainGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamDomainGroup. + The versioning info for this managed object + + :param version_context: The version_context of this IamDomainGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_domain_group_list.py b/intersight/models/iam_domain_group_list.py index f3c92d7e..a0d98ba5 100644 --- a/intersight/models/iam_domain_group_list.py +++ b/intersight/models/iam_domain_group_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_domain_group_ref.py b/intersight/models/iam_domain_group_ref.py index 7ab1b31c..07957f45 100644 --- a/intersight/models/iam_domain_group_ref.py +++ b/intersight/models/iam_domain_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_password_properties.py b/intersight/models/iam_end_point_password_properties.py index ac94b440..84f041f3 100644 --- a/intersight/models/iam_end_point_password_properties.py +++ b/intersight/models/iam_end_point_password_properties.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_password_properties_ref.py b/intersight/models/iam_end_point_password_properties_ref.py index 18645963..7c9a94da 100644 --- a/intersight/models/iam_end_point_password_properties_ref.py +++ b/intersight/models/iam_end_point_password_properties_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_privilege.py b/intersight/models/iam_end_point_privilege.py index de272108..75baf15d 100644 --- a/intersight/models/iam_end_point_privilege.py +++ b/intersight/models/iam_end_point_privilege.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamEndPointPrivilege(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'system': 'IamSystemRef', @@ -56,13 +57,14 @@ class IamEndPointPrivilege(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'system': 'System', 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, system=None, type='null'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, system=None, type='null'): """ IamEndPointPrivilege - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._system = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamEndPointPrivilege. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamEndPointPrivilege. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamEndPointPrivilege. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamEndPointPrivilege. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamEndPointPrivilege. + The versioning info for this managed object + + :return: The version_context of this IamEndPointPrivilege. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamEndPointPrivilege. + The versioning info for this managed object + + :param version_context: The version_context of this IamEndPointPrivilege. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/iam_end_point_privilege_list.py b/intersight/models/iam_end_point_privilege_list.py index ea61695a..c62b1893 100644 --- a/intersight/models/iam_end_point_privilege_list.py +++ b/intersight/models/iam_end_point_privilege_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_privilege_ref.py b/intersight/models/iam_end_point_privilege_ref.py index 2f280c1a..5d525c70 100644 --- a/intersight/models/iam_end_point_privilege_ref.py +++ b/intersight/models/iam_end_point_privilege_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_role.py b/intersight/models/iam_end_point_role.py index 5cc0223f..b91f9c45 100644 --- a/intersight/models/iam_end_point_role.py +++ b/intersight/models/iam_end_point_role.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamEndPointRole(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'end_point_privileges': 'list[IamEndPointPrivilegeRef]', 'name': 'str', @@ -58,6 +59,7 @@ class IamEndPointRole(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'end_point_privileges': 'EndPointPrivileges', 'name': 'Name', @@ -66,7 +68,7 @@ class IamEndPointRole(object): 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, end_point_privileges=None, name=None, role_type=None, system=None, type='null'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, end_point_privileges=None, name=None, role_type=None, system=None, type='null'): """ IamEndPointRole - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._end_point_privileges = None self._name = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if end_point_privileges is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamEndPointRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamEndPointRole. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamEndPointRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamEndPointRole. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamEndPointRole. + The versioning info for this managed object + + :return: The version_context of this IamEndPointRole. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamEndPointRole. + The versioning info for this managed object + + :param version_context: The version_context of this IamEndPointRole. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_end_point_role_list.py b/intersight/models/iam_end_point_role_list.py index 035b8b45..7578fe18 100644 --- a/intersight/models/iam_end_point_role_list.py +++ b/intersight/models/iam_end_point_role_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_role_ref.py b/intersight/models/iam_end_point_role_ref.py index 6c6b72ac..e6fc73d2 100644 --- a/intersight/models/iam_end_point_role_ref.py +++ b/intersight/models/iam_end_point_role_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user.py b/intersight/models/iam_end_point_user.py index f28729e8..75b58aa6 100644 --- a/intersight/models/iam_end_point_user.py +++ b/intersight/models/iam_end_point_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamEndPointUser(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'end_point_user_role': 'list[IamEndPointUserRoleRef]', 'name': 'str', 'organization': 'IamAccountRef' @@ -55,12 +56,13 @@ class IamEndPointUser(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'end_point_user_role': 'EndPointUserRole', 'name': 'Name', 'organization': 'Organization' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, end_point_user_role=None, name=None, organization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, end_point_user_role=None, name=None, organization=None): """ IamEndPointUser - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._end_point_user_role = None self._name = None self._organization = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if end_point_user_role is not None: self.end_point_user_role = end_point_user_role if name is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamEndPointUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamEndPointUser. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamEndPointUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamEndPointUser. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamEndPointUser. + The versioning info for this managed object + + :return: The version_context of this IamEndPointUser. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamEndPointUser. + The versioning info for this managed object + + :param version_context: The version_context of this IamEndPointUser. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def end_point_user_role(self): """ diff --git a/intersight/models/iam_end_point_user_deploy_task_ref.py b/intersight/models/iam_end_point_user_deploy_task_ref.py index 49458ac4..b28c754e 100644 --- a/intersight/models/iam_end_point_user_deploy_task_ref.py +++ b/intersight/models/iam_end_point_user_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_list.py b/intersight/models/iam_end_point_user_list.py index 94f5637e..373816c6 100644 --- a/intersight/models/iam_end_point_user_list.py +++ b/intersight/models/iam_end_point_user_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_policy.py b/intersight/models/iam_end_point_user_policy.py index 604cff6e..75ad698e 100644 --- a/intersight/models/iam_end_point_user_policy.py +++ b/intersight/models/iam_end_point_user_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamEndPointUserPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'end_point_user_roles': 'list[IamEndPointUserRoleRef]', @@ -58,6 +59,7 @@ class IamEndPointUserPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'end_point_user_roles': 'EndPointUserRoles', @@ -66,7 +68,7 @@ class IamEndPointUserPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, end_point_user_roles=None, organization=None, password_properties=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, end_point_user_roles=None, organization=None, password_properties=None, profiles=None): """ IamEndPointUserPolicy - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._end_point_user_roles = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamEndPointUserPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamEndPointUserPolicy. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamEndPointUserPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamEndPointUserPolicy. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamEndPointUserPolicy. + The versioning info for this managed object + + :return: The version_context of this IamEndPointUserPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamEndPointUserPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this IamEndPointUserPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/iam_end_point_user_policy_list.py b/intersight/models/iam_end_point_user_policy_list.py index 06f9c390..29895ae7 100644 --- a/intersight/models/iam_end_point_user_policy_list.py +++ b/intersight/models/iam_end_point_user_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_policy_ref.py b/intersight/models/iam_end_point_user_policy_ref.py index b888988e..f958c7ba 100644 --- a/intersight/models/iam_end_point_user_policy_ref.py +++ b/intersight/models/iam_end_point_user_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_ref.py b/intersight/models/iam_end_point_user_ref.py index f2dd638f..7f02d1c4 100644 --- a/intersight/models/iam_end_point_user_ref.py +++ b/intersight/models/iam_end_point_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_role.py b/intersight/models/iam_end_point_user_role.py index 0ab78b62..9bbab290 100644 --- a/intersight/models/iam_end_point_user_role.py +++ b/intersight/models/iam_end_point_user_role.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamEndPointUserRole(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'change_password': 'bool', 'enabled': 'bool', 'end_point_role': 'list[IamEndPointRoleRef]', @@ -59,6 +60,7 @@ class IamEndPointUserRole(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'change_password': 'ChangePassword', 'enabled': 'Enabled', 'end_point_role': 'EndPointRole', @@ -68,7 +70,7 @@ class IamEndPointUserRole(object): 'password': 'Password' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, change_password=None, enabled=None, end_point_role=None, end_point_user=None, end_point_user_policy=None, is_password_set=None, password=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, change_password=None, enabled=None, end_point_role=None, end_point_user=None, end_point_user_policy=None, is_password_set=None, password=None): """ IamEndPointUserRole - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._change_password = None self._enabled = None self._end_point_role = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if change_password is not None: self.change_password = change_password if enabled is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamEndPointUserRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamEndPointUserRole. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamEndPointUserRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamEndPointUserRole. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamEndPointUserRole. + The versioning info for this managed object + + :return: The version_context of this IamEndPointUserRole. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamEndPointUserRole. + The versioning info for this managed object + + :param version_context: The version_context of this IamEndPointUserRole. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def change_password(self): """ diff --git a/intersight/models/iam_end_point_user_role_list.py b/intersight/models/iam_end_point_user_role_list.py index af220c5c..9aab758a 100644 --- a/intersight/models/iam_end_point_user_role_list.py +++ b/intersight/models/iam_end_point_user_role_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_role_ref.py b/intersight/models/iam_end_point_user_role_ref.py index 7a37f6b3..9558d4f7 100644 --- a/intersight/models/iam_end_point_user_role_ref.py +++ b/intersight/models/iam_end_point_user_role_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_end_point_user_validation_task_ref.py b/intersight/models/iam_end_point_user_validation_task_ref.py index dfbb2907..4dd3ae49 100644 --- a/intersight/models/iam_end_point_user_validation_task_ref.py +++ b/intersight/models/iam_end_point_user_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_idp.py b/intersight/models/iam_idp.py index 54450b5e..27394055 100644 --- a/intersight/models/iam_idp.py +++ b/intersight/models/iam_idp.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamIdp(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'domain_name': 'str', 'idp_entity_id': 'str', @@ -62,6 +63,7 @@ class IamIdp(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'domain_name': 'DomainName', 'idp_entity_id': 'IdpEntityId', @@ -74,7 +76,7 @@ class IamIdp(object): 'users': 'Users' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, domain_name=None, idp_entity_id=None, metadata=None, name=None, system=None, user_login_time=None, user_preferences=None, usergroups=None, users=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, domain_name=None, idp_entity_id=None, metadata=None, name=None, system=None, user_login_time=None, user_preferences=None, usergroups=None, users=None): """ IamIdp - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._domain_name = None self._idp_entity_id = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if domain_name is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamIdp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamIdp. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamIdp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamIdp. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamIdp. + The versioning info for this managed object + + :return: The version_context of this IamIdp. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamIdp. + The versioning info for this managed object + + :param version_context: The version_context of this IamIdp. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_idp_list.py b/intersight/models/iam_idp_list.py index 3ff5375e..30bd1add 100644 --- a/intersight/models/iam_idp_list.py +++ b/intersight/models/iam_idp_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_idp_ref.py b/intersight/models/iam_idp_ref.py index 858101e4..794af5a7 100644 --- a/intersight/models/iam_idp_ref.py +++ b/intersight/models/iam_idp_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_idp_reference.py b/intersight/models/iam_idp_reference.py index f292c3de..ac25fdd2 100644 --- a/intersight/models/iam_idp_reference.py +++ b/intersight/models/iam_idp_reference.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamIdpReference(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'domain_name': 'str', 'idp': 'IamIdpRef', @@ -62,6 +63,7 @@ class IamIdpReference(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'domain_name': 'DomainName', 'idp': 'Idp', @@ -74,7 +76,7 @@ class IamIdpReference(object): 'users': 'Users' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, domain_name=None, idp=None, idp_entity_id=None, multi_factor_authentication=None, name=None, user_login_time=None, user_preferences=None, usergroups=None, users=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, domain_name=None, idp=None, idp_entity_id=None, multi_factor_authentication=None, name=None, user_login_time=None, user_preferences=None, usergroups=None, users=None): """ IamIdpReference - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._domain_name = None self._idp = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if domain_name is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamIdpReference. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamIdpReference. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamIdpReference. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamIdpReference. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamIdpReference. + The versioning info for this managed object + + :return: The version_context of this IamIdpReference. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamIdpReference. + The versioning info for this managed object + + :param version_context: The version_context of this IamIdpReference. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_idp_reference_list.py b/intersight/models/iam_idp_reference_list.py index 69fc9fa3..f268d696 100644 --- a/intersight/models/iam_idp_reference_list.py +++ b/intersight/models/iam_idp_reference_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_idp_reference_ref.py b/intersight/models/iam_idp_reference_ref.py index 16210b68..844d0aea 100644 --- a/intersight/models/iam_idp_reference_ref.py +++ b/intersight/models/iam_idp_reference_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_base_properties.py b/intersight/models/iam_ldap_base_properties.py index 13613b3f..34211f6e 100644 --- a/intersight/models/iam_ldap_base_properties.py +++ b/intersight/models/iam_ldap_base_properties.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_base_properties_ref.py b/intersight/models/iam_ldap_base_properties_ref.py index 124b8912..8a8bff64 100644 --- a/intersight/models/iam_ldap_base_properties_ref.py +++ b/intersight/models/iam_ldap_base_properties_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_credentials_ref.py b/intersight/models/iam_ldap_credentials_ref.py new file mode 100644 index 00000000..71325959 --- /dev/null +++ b/intersight/models/iam_ldap_credentials_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class IamLdapCredentialsRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + IamLdapCredentialsRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this IamLdapCredentialsRef. + + :return: The moid of this IamLdapCredentialsRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this IamLdapCredentialsRef. + + :param moid: The moid of this IamLdapCredentialsRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this IamLdapCredentialsRef. + + :return: The object_type of this IamLdapCredentialsRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this IamLdapCredentialsRef. + + :param object_type: The object_type of this IamLdapCredentialsRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, IamLdapCredentialsRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/iam_ldap_deploy_task_ref.py b/intersight/models/iam_ldap_deploy_task_ref.py index 73506af8..5fb581cc 100644 --- a/intersight/models/iam_ldap_deploy_task_ref.py +++ b/intersight/models/iam_ldap_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_dns_parameters.py b/intersight/models/iam_ldap_dns_parameters.py index eaba3498..f9818744 100644 --- a/intersight/models/iam_ldap_dns_parameters.py +++ b/intersight/models/iam_ldap_dns_parameters.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_dns_parameters_ref.py b/intersight/models/iam_ldap_dns_parameters_ref.py index d52a71e3..0cb09d52 100644 --- a/intersight/models/iam_ldap_dns_parameters_ref.py +++ b/intersight/models/iam_ldap_dns_parameters_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_group.py b/intersight/models/iam_ldap_group.py index f92aa440..47d0521b 100644 --- a/intersight/models/iam_ldap_group.py +++ b/intersight/models/iam_ldap_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamLdapGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'domain': 'str', 'end_point_role': 'list[IamEndPointRoleRef]', 'ldap_policy': 'IamLdapPolicyRef', @@ -56,13 +57,14 @@ class IamLdapGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'domain': 'Domain', 'end_point_role': 'EndPointRole', 'ldap_policy': 'LdapPolicy', 'name': 'Name' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, domain=None, end_point_role=None, ldap_policy=None, name=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, domain=None, end_point_role=None, ldap_policy=None, name=None): """ IamLdapGroup - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._domain = None self._end_point_role = None self._ldap_policy = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if domain is not None: self.domain = domain if end_point_role is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamLdapGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamLdapGroup. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamLdapGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamLdapGroup. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamLdapGroup. + The versioning info for this managed object + + :return: The version_context of this IamLdapGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamLdapGroup. + The versioning info for this managed object + + :param version_context: The version_context of this IamLdapGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def domain(self): """ diff --git a/intersight/models/iam_ldap_group_list.py b/intersight/models/iam_ldap_group_list.py index f0f51774..0ac6c94d 100644 --- a/intersight/models/iam_ldap_group_list.py +++ b/intersight/models/iam_ldap_group_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_group_ref.py b/intersight/models/iam_ldap_group_ref.py index f9827a24..71b53733 100644 --- a/intersight/models/iam_ldap_group_ref.py +++ b/intersight/models/iam_ldap_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_policy.py b/intersight/models/iam_ldap_policy.py index fcf833cd..ec63f21e 100644 --- a/intersight/models/iam_ldap_policy.py +++ b/intersight/models/iam_ldap_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamLdapPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'base_properties': 'IamLdapBaseProperties', @@ -63,6 +64,7 @@ class IamLdapPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'base_properties': 'BaseProperties', @@ -76,7 +78,7 @@ class IamLdapPolicy(object): 'user_search_precedence': 'UserSearchPrecedence' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, base_properties=None, dns_parameters=None, enable_dns=None, enabled=None, groups=None, organization=None, profiles=None, providers=None, user_search_precedence='LocalUserDb'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, base_properties=None, dns_parameters=None, enable_dns=None, enabled=None, groups=None, organization=None, profiles=None, providers=None, user_search_precedence='LocalUserDb'): """ IamLdapPolicy - a model defined in Swagger """ @@ -90,6 +92,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._base_properties = None @@ -120,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -331,7 +336,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamLdapPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamLdapPolicy. :rtype: list[MoTag] @@ -342,7 +347,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamLdapPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamLdapPolicy. :type: list[MoTag] @@ -350,6 +355,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamLdapPolicy. + The versioning info for this managed object + + :return: The version_context of this IamLdapPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamLdapPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this IamLdapPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/iam_ldap_policy_list.py b/intersight/models/iam_ldap_policy_list.py index 447cbdcd..4786f06c 100644 --- a/intersight/models/iam_ldap_policy_list.py +++ b/intersight/models/iam_ldap_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_policy_ref.py b/intersight/models/iam_ldap_policy_ref.py index 68fc01d4..d1c2c5a4 100644 --- a/intersight/models/iam_ldap_policy_ref.py +++ b/intersight/models/iam_ldap_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_provider.py b/intersight/models/iam_ldap_provider.py index 01493fbf..5d67e3c0 100644 --- a/intersight/models/iam_ldap_provider.py +++ b/intersight/models/iam_ldap_provider.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamLdapProvider(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'ldap_policy': 'IamLdapPolicyRef', 'port': 'int', 'server': 'str' @@ -55,12 +56,13 @@ class IamLdapProvider(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'ldap_policy': 'LdapPolicy', 'port': 'Port', 'server': 'Server' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, ldap_policy=None, port=None, server=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, ldap_policy=None, port=None, server=None): """ IamLdapProvider - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._ldap_policy = None self._port = None self._server = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if ldap_policy is not None: self.ldap_policy = ldap_policy if port is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamLdapProvider. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamLdapProvider. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamLdapProvider. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamLdapProvider. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamLdapProvider. + The versioning info for this managed object + + :return: The version_context of this IamLdapProvider. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamLdapProvider. + The versioning info for this managed object + + :param version_context: The version_context of this IamLdapProvider. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def ldap_policy(self): """ diff --git a/intersight/models/iam_ldap_provider_list.py b/intersight/models/iam_ldap_provider_list.py index 2acb9766..76afa311 100644 --- a/intersight/models/iam_ldap_provider_list.py +++ b/intersight/models/iam_ldap_provider_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_provider_ref.py b/intersight/models/iam_ldap_provider_ref.py index 0ee5cc57..4b2371cd 100644 --- a/intersight/models/iam_ldap_provider_ref.py +++ b/intersight/models/iam_ldap_provider_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_ldap_validation_task_ref.py b/intersight/models/iam_ldap_validation_task_ref.py index 8bb8fe09..c0b2ef27 100644 --- a/intersight/models/iam_ldap_validation_task_ref.py +++ b/intersight/models/iam_ldap_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_permission.py b/intersight/models/iam_permission.py index 1ffe27d3..96fabe21 100644 --- a/intersight/models/iam_permission.py +++ b/intersight/models/iam_permission.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamPermission(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'end_point_roles': 'list[IamEndPointRoleRef]', 'name': 'str', @@ -58,6 +59,7 @@ class IamPermission(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'end_point_roles': 'EndPointRoles', 'name': 'Name', @@ -66,7 +68,7 @@ class IamPermission(object): 'users': 'Users' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, end_point_roles=None, name=None, roles=None, user_groups=None, users=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, end_point_roles=None, name=None, roles=None, user_groups=None, users=None): """ IamPermission - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._end_point_roles = None self._name = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if end_point_roles is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamPermission. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamPermission. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamPermission. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamPermission. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamPermission. + The versioning info for this managed object + + :return: The version_context of this IamPermission. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamPermission. + The versioning info for this managed object + + :param version_context: The version_context of this IamPermission. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_permission_list.py b/intersight/models/iam_permission_list.py index b8350146..6479c8d4 100644 --- a/intersight/models/iam_permission_list.py +++ b/intersight/models/iam_permission_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_permission_ref.py b/intersight/models/iam_permission_ref.py index 09694ed4..a272507b 100644 --- a/intersight/models/iam_permission_ref.py +++ b/intersight/models/iam_permission_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_permission_reference.py b/intersight/models/iam_permission_reference.py index f731c0de..4bfd4dc6 100644 --- a/intersight/models/iam_permission_reference.py +++ b/intersight/models/iam_permission_reference.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_permission_reference_ref.py b/intersight/models/iam_permission_reference_ref.py index 94415368..cb81f10b 100644 --- a/intersight/models/iam_permission_reference_ref.py +++ b/intersight/models/iam_permission_reference_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_privilege.py b/intersight/models/iam_privilege.py index a1149ef3..6dc2b3c3 100644 --- a/intersight/models/iam_privilege.py +++ b/intersight/models/iam_privilege.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamPrivilege(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'method': 'str', 'name': 'str', @@ -57,6 +58,7 @@ class IamPrivilege(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'method': 'Method', 'name': 'Name', @@ -64,7 +66,7 @@ class IamPrivilege(object): 'system': 'System' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, method=None, name=None, rest_path=None, system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, method=None, name=None, rest_path=None, system=None): """ IamPrivilege - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._method = None self._name = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if method is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamPrivilege. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamPrivilege. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamPrivilege. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamPrivilege. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamPrivilege. + The versioning info for this managed object + + :return: The version_context of this IamPrivilege. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamPrivilege. + The versioning info for this managed object + + :param version_context: The version_context of this IamPrivilege. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_privilege_list.py b/intersight/models/iam_privilege_list.py index ad35ac0e..65d9190a 100644 --- a/intersight/models/iam_privilege_list.py +++ b/intersight/models/iam_privilege_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_privilege_ref.py b/intersight/models/iam_privilege_ref.py index 7c7c9431..75ef1e25 100644 --- a/intersight/models/iam_privilege_ref.py +++ b/intersight/models/iam_privilege_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_privilege_set.py b/intersight/models/iam_privilege_set.py index 8cb6102e..dc2535b6 100644 --- a/intersight/models/iam_privilege_set.py +++ b/intersight/models/iam_privilege_set.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamPrivilegeSet(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'name': 'str', 'privileges': 'list[IamPrivilegeRef]', @@ -56,13 +57,14 @@ class IamPrivilegeSet(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'name': 'Name', 'privileges': 'Privileges', 'system': 'System' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, name=None, privileges=None, system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, name=None, privileges=None, system=None): """ IamPrivilegeSet - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._name = None self._privileges = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if name is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamPrivilegeSet. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamPrivilegeSet. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamPrivilegeSet. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamPrivilegeSet. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamPrivilegeSet. + The versioning info for this managed object + + :return: The version_context of this IamPrivilegeSet. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamPrivilegeSet. + The versioning info for this managed object + + :param version_context: The version_context of this IamPrivilegeSet. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_privilege_set_list.py b/intersight/models/iam_privilege_set_list.py index 82214496..61c188f1 100644 --- a/intersight/models/iam_privilege_set_list.py +++ b/intersight/models/iam_privilege_set_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_privilege_set_ref.py b/intersight/models/iam_privilege_set_ref.py index ae1f399d..b2c58dfb 100644 --- a/intersight/models/iam_privilege_set_ref.py +++ b/intersight/models/iam_privilege_set_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_qualifier.py b/intersight/models/iam_qualifier.py index 01992012..7499d4ba 100644 --- a/intersight/models/iam_qualifier.py +++ b/intersight/models/iam_qualifier.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamQualifier(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'name': 'str', 'usergroup': 'IamUserGroupRef', 'value': 'str' @@ -55,12 +56,13 @@ class IamQualifier(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'name': 'Name', 'usergroup': 'Usergroup', 'value': 'Value' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, name=None, usergroup=None, value=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, name=None, usergroup=None, value=None): """ IamQualifier - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._name = None self._usergroup = None self._value = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if name is not None: self.name = name if usergroup is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamQualifier. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamQualifier. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamQualifier. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamQualifier. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamQualifier. + The versioning info for this managed object + + :return: The version_context of this IamQualifier. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamQualifier. + The versioning info for this managed object + + :param version_context: The version_context of this IamQualifier. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def name(self): """ diff --git a/intersight/models/iam_qualifier_list.py b/intersight/models/iam_qualifier_list.py index 0fe251b9..3d761048 100644 --- a/intersight/models/iam_qualifier_list.py +++ b/intersight/models/iam_qualifier_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_qualifier_ref.py b/intersight/models/iam_qualifier_ref.py index 22c52324..0ee6d82e 100644 --- a/intersight/models/iam_qualifier_ref.py +++ b/intersight/models/iam_qualifier_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_resource_limits.py b/intersight/models/iam_resource_limits.py index 1111e321..9c9c99ea 100644 --- a/intersight/models/iam_resource_limits.py +++ b/intersight/models/iam_resource_limits.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamResourceLimits(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'per_account_user_limit': 'int' } @@ -54,11 +55,12 @@ class IamResourceLimits(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'per_account_user_limit': 'PerAccountUserLimit' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, per_account_user_limit=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, per_account_user_limit=None): """ IamResourceLimits - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._per_account_user_limit = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if per_account_user_limit is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamResourceLimits. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamResourceLimits. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamResourceLimits. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamResourceLimits. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamResourceLimits. + The versioning info for this managed object + + :return: The version_context of this IamResourceLimits. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamResourceLimits. + The versioning info for this managed object + + :param version_context: The version_context of this IamResourceLimits. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_resource_limits_list.py b/intersight/models/iam_resource_limits_list.py index cdc5ad12..8589dd20 100644 --- a/intersight/models/iam_resource_limits_list.py +++ b/intersight/models/iam_resource_limits_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_resource_limits_ref.py b/intersight/models/iam_resource_limits_ref.py index bcf3fb15..93fdc7b3 100644 --- a/intersight/models/iam_resource_limits_ref.py +++ b/intersight/models/iam_resource_limits_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_role.py b/intersight/models/iam_role.py index 10a89923..ab11c99f 100644 --- a/intersight/models/iam_role.py +++ b/intersight/models/iam_role.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamRole(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'name': 'str', 'privilege_sets': 'list[IamPrivilegeSetRef]', @@ -56,13 +57,14 @@ class IamRole(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'name': 'Name', 'privilege_sets': 'PrivilegeSets', 'system': 'System' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, name=None, privilege_sets=None, system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, name=None, privilege_sets=None, system=None): """ IamRole - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._name = None self._privilege_sets = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if name is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamRole. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamRole. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamRole. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamRole. + The versioning info for this managed object + + :return: The version_context of this IamRole. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamRole. + The versioning info for this managed object + + :param version_context: The version_context of this IamRole. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_role_list.py b/intersight/models/iam_role_list.py index 1d221ab1..50079251 100644 --- a/intersight/models/iam_role_list.py +++ b/intersight/models/iam_role_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_role_ref.py b/intersight/models/iam_role_ref.py index ae2260ec..fa0d4f15 100644 --- a/intersight/models/iam_role_ref.py +++ b/intersight/models/iam_role_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_service_provider.py b/intersight/models/iam_service_provider.py index 0809d7b9..0ec88a60 100644 --- a/intersight/models/iam_service_provider.py +++ b/intersight/models/iam_service_provider.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamServiceProvider(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'entity_id': 'str', 'metadata': 'str', 'name': 'str', @@ -56,13 +57,14 @@ class IamServiceProvider(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'entity_id': 'EntityId', 'metadata': 'Metadata', 'name': 'Name', 'system': 'System' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, entity_id=None, metadata=None, name=None, system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, entity_id=None, metadata=None, name=None, system=None): """ IamServiceProvider - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._entity_id = None self._metadata = None self._name = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if entity_id is not None: self.entity_id = entity_id if metadata is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamServiceProvider. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamServiceProvider. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamServiceProvider. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamServiceProvider. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamServiceProvider. + The versioning info for this managed object + + :return: The version_context of this IamServiceProvider. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamServiceProvider. + The versioning info for this managed object + + :param version_context: The version_context of this IamServiceProvider. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def entity_id(self): """ diff --git a/intersight/models/iam_service_provider_list.py b/intersight/models/iam_service_provider_list.py index f0e6c8b2..fcda0b2c 100644 --- a/intersight/models/iam_service_provider_list.py +++ b/intersight/models/iam_service_provider_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_service_provider_ref.py b/intersight/models/iam_service_provider_ref.py index 02f4f5f5..249ed9ea 100644 --- a/intersight/models/iam_service_provider_ref.py +++ b/intersight/models/iam_service_provider_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_session.py b/intersight/models/iam_session.py index bd56504a..3946b3e0 100644 --- a/intersight/models/iam_session.py +++ b/intersight/models/iam_session.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamSession(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_permissions': 'list[IamAccountPermissions]', 'client_ip_address': 'str', 'expiration': 'datetime', @@ -60,6 +61,7 @@ class IamSession(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_permissions': 'AccountPermissions', 'client_ip_address': 'ClientIpAddress', 'expiration': 'Expiration', @@ -70,7 +72,7 @@ class IamSession(object): 'user': 'User' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_permissions=None, client_ip_address=None, expiration=None, idle_time_expiration=None, last_login_client=None, last_login_time=None, permission=None, user=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_permissions=None, client_ip_address=None, expiration=None, idle_time_expiration=None, last_login_client=None, last_login_time=None, permission=None, user=None): """ IamSession - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_permissions = None self._client_ip_address = None self._expiration = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_permissions is not None: self.account_permissions = account_permissions if client_ip_address is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamSession. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamSession. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamSession. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamSession. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamSession. + The versioning info for this managed object + + :return: The version_context of this IamSession. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamSession. + The versioning info for this managed object + + :param version_context: The version_context of this IamSession. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_permissions(self): """ diff --git a/intersight/models/iam_session_limits.py b/intersight/models/iam_session_limits.py index 4798882c..6fa76093 100644 --- a/intersight/models/iam_session_limits.py +++ b/intersight/models/iam_session_limits.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamSessionLimits(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'idle_time_out': 'int', 'maximum_limit': 'int', @@ -57,6 +58,7 @@ class IamSessionLimits(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'idle_time_out': 'IdleTimeOut', 'maximum_limit': 'MaximumLimit', @@ -64,7 +66,7 @@ class IamSessionLimits(object): 'session_time_out': 'SessionTimeOut' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, idle_time_out=None, maximum_limit=None, per_user_limit=None, session_time_out=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, idle_time_out=None, maximum_limit=None, per_user_limit=None, session_time_out=None): """ IamSessionLimits - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._idle_time_out = None self._maximum_limit = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if idle_time_out is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamSessionLimits. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamSessionLimits. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamSessionLimits. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamSessionLimits. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamSessionLimits. + The versioning info for this managed object + + :return: The version_context of this IamSessionLimits. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamSessionLimits. + The versioning info for this managed object + + :param version_context: The version_context of this IamSessionLimits. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/iam_session_limits_list.py b/intersight/models/iam_session_limits_list.py index 77f8e3f2..848f19af 100644 --- a/intersight/models/iam_session_limits_list.py +++ b/intersight/models/iam_session_limits_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_session_limits_ref.py b/intersight/models/iam_session_limits_ref.py index 533330f3..b1028b0b 100644 --- a/intersight/models/iam_session_limits_ref.py +++ b/intersight/models/iam_session_limits_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_session_list.py b/intersight/models/iam_session_list.py index 148400c9..080bce7f 100644 --- a/intersight/models/iam_session_list.py +++ b/intersight/models/iam_session_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_session_ref.py b/intersight/models/iam_session_ref.py index 196ae37a..28440468 100644 --- a/intersight/models/iam_session_ref.py +++ b/intersight/models/iam_session_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_sp_console_ref.py b/intersight/models/iam_sp_console_ref.py index 21d31412..9553736a 100644 --- a/intersight/models/iam_sp_console_ref.py +++ b/intersight/models/iam_sp_console_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_sp_engine_ref.py b/intersight/models/iam_sp_engine_ref.py index 358541eb..d78a0a9f 100644 --- a/intersight/models/iam_sp_engine_ref.py +++ b/intersight/models/iam_sp_engine_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_sso_session_attributes.py b/intersight/models/iam_sso_session_attributes.py index 05d3cab9..4b96c31d 100644 --- a/intersight/models/iam_sso_session_attributes.py +++ b/intersight/models/iam_sso_session_attributes.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_sso_session_attributes_ref.py b/intersight/models/iam_sso_session_attributes_ref.py index c19c4e0f..57fcbc2d 100644 --- a/intersight/models/iam_sso_session_attributes_ref.py +++ b/intersight/models/iam_sso_session_attributes_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_system.py b/intersight/models/iam_system.py index f101550c..9a000561 100644 --- a/intersight/models/iam_system.py +++ b/intersight/models/iam_system.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamSystem(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'end_point_privileges': 'list[IamEndPointPrivilegeRef]', 'end_point_roles': 'list[IamEndPointRoleRef]', 'idp': 'IamIdpRef', @@ -59,6 +60,7 @@ class IamSystem(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'end_point_privileges': 'EndPointPrivileges', 'end_point_roles': 'EndPointRoles', 'idp': 'Idp', @@ -68,7 +70,7 @@ class IamSystem(object): 'service_provider': 'ServiceProvider' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, end_point_privileges=None, end_point_roles=None, idp=None, privilege_sets=None, privileges=None, roles=None, service_provider=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, end_point_privileges=None, end_point_roles=None, idp=None, privilege_sets=None, privileges=None, roles=None, service_provider=None): """ IamSystem - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._end_point_privileges = None self._end_point_roles = None self._idp = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if end_point_privileges is not None: self.end_point_privileges = end_point_privileges if end_point_roles is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamSystem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamSystem. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamSystem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamSystem. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamSystem. + The versioning info for this managed object + + :return: The version_context of this IamSystem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamSystem. + The versioning info for this managed object + + :param version_context: The version_context of this IamSystem. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def end_point_privileges(self): """ diff --git a/intersight/models/iam_system_list.py b/intersight/models/iam_system_list.py index 4cbc06b1..b57c1be4 100644 --- a/intersight/models/iam_system_list.py +++ b/intersight/models/iam_system_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_system_ref.py b/intersight/models/iam_system_ref.py index 3d5153e6..1f23399b 100644 --- a/intersight/models/iam_system_ref.py +++ b/intersight/models/iam_system_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user.py b/intersight/models/iam_user.py index 3d898d99..d0f6f229 100644 --- a/intersight/models/iam_user.py +++ b/intersight/models/iam_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamUser(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'api_keys': 'list[IamApiKeyRef]', 'client_ip_address': 'str', 'email': 'str', @@ -64,6 +65,7 @@ class IamUser(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'api_keys': 'ApiKeys', 'client_ip_address': 'ClientIpAddress', 'email': 'Email', @@ -78,7 +80,7 @@ class IamUser(object): 'user_type': 'UserType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, api_keys=None, client_ip_address=None, email=None, first_name=None, idp=None, idpreference=None, last_login_time=None, last_name=None, name=None, permissions=None, sessions=None, user_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, api_keys=None, client_ip_address=None, email=None, first_name=None, idp=None, idpreference=None, last_login_time=None, last_name=None, name=None, permissions=None, sessions=None, user_type=None): """ IamUser - a model defined in Swagger """ @@ -92,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._api_keys = None self._client_ip_address = None self._email = None @@ -123,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if api_keys is not None: self.api_keys = api_keys if client_ip_address is not None: @@ -336,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamUser. :rtype: list[MoTag] @@ -347,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamUser. :type: list[MoTag] @@ -355,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamUser. + The versioning info for this managed object + + :return: The version_context of this IamUser. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamUser. + The versioning info for this managed object + + :param version_context: The version_context of this IamUser. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def api_keys(self): """ diff --git a/intersight/models/iam_user_group.py b/intersight/models/iam_user_group.py index 1fde8bfd..1256c84a 100644 --- a/intersight/models/iam_user_group.py +++ b/intersight/models/iam_user_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamUserGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'idp': 'IamIdpRef', 'idpreference': 'IamIdpReferenceRef', 'name': 'str', @@ -58,6 +59,7 @@ class IamUserGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'idp': 'Idp', 'idpreference': 'Idpreference', 'name': 'Name', @@ -66,7 +68,7 @@ class IamUserGroup(object): 'users': 'Users' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, idp=None, idpreference=None, name=None, permissions=None, qualifier=None, users=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, idp=None, idpreference=None, name=None, permissions=None, qualifier=None, users=None): """ IamUserGroup - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._idp = None self._idpreference = None self._name = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if idp is not None: self.idp = idp if idpreference is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamUserGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamUserGroup. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamUserGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamUserGroup. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamUserGroup. + The versioning info for this managed object + + :return: The version_context of this IamUserGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamUserGroup. + The versioning info for this managed object + + :param version_context: The version_context of this IamUserGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def idp(self): """ diff --git a/intersight/models/iam_user_group_list.py b/intersight/models/iam_user_group_list.py index 55064776..c3d9d4fb 100644 --- a/intersight/models/iam_user_group_list.py +++ b/intersight/models/iam_user_group_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_group_ref.py b/intersight/models/iam_user_group_ref.py index cbe6a9ae..ef334fad 100644 --- a/intersight/models/iam_user_group_ref.py +++ b/intersight/models/iam_user_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_list.py b/intersight/models/iam_user_list.py index 49175cff..fcc8aada 100644 --- a/intersight/models/iam_user_list.py +++ b/intersight/models/iam_user_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_login_time_ref.py b/intersight/models/iam_user_login_time_ref.py index 51fcec9f..156c5acb 100644 --- a/intersight/models/iam_user_login_time_ref.py +++ b/intersight/models/iam_user_login_time_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_preference.py b/intersight/models/iam_user_preference.py index 05a3a21e..665a4789 100644 --- a/intersight/models/iam_user_preference.py +++ b/intersight/models/iam_user_preference.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IamUserPreference(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'idp': 'IamIdpRef', 'idp_reference': 'IamIdpReferenceRef', 'preference': 'object' @@ -55,12 +56,13 @@ class IamUserPreference(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'idp': 'Idp', 'idp_reference': 'IdpReference', 'preference': 'Preference' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, idp=None, idp_reference=None, preference=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, idp=None, idp_reference=None, preference=None): """ IamUserPreference - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._idp = None self._idp_reference = None self._preference = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if idp is not None: self.idp = idp if idp_reference is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IamUserPreference. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IamUserPreference. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IamUserPreference. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IamUserPreference. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IamUserPreference. + The versioning info for this managed object + + :return: The version_context of this IamUserPreference. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IamUserPreference. + The versioning info for this managed object + + :param version_context: The version_context of this IamUserPreference. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def idp(self): """ diff --git a/intersight/models/iam_user_preference_list.py b/intersight/models/iam_user_preference_list.py index 3a8cf718..0a540466 100644 --- a/intersight/models/iam_user_preference_list.py +++ b/intersight/models/iam_user_preference_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_preference_ref.py b/intersight/models/iam_user_preference_ref.py index ec30b984..af0a161c 100644 --- a/intersight/models/iam_user_preference_ref.py +++ b/intersight/models/iam_user_preference_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/iam_user_ref.py b/intersight/models/iam_user_ref.py index bd46d713..0e86a0d8 100644 --- a/intersight/models/iam_user_ref.py +++ b/intersight/models/iam_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/imcconnector_sd_card_image_download_message_ref.py b/intersight/models/imcconnector_sd_card_image_download_message_ref.py index a9aa55af..e10e87b7 100644 --- a/intersight/models/imcconnector_sd_card_image_download_message_ref.py +++ b/intersight/models/imcconnector_sd_card_image_download_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_base.py b/intersight/models/inventory_base.py index c6010d20..bf4861f2 100644 --- a/intersight/models/inventory_base.py +++ b/intersight/models/inventory_base.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class InventoryBase(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str' @@ -55,12 +56,13 @@ class InventoryBase(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None): """ InventoryBase - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryBase. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryBase. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryBase. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryBase. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryBase. + The versioning info for this managed object + + :return: The version_context of this InventoryBase. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryBase. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryBase. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/inventory_base_ref.py b/intersight/models/inventory_base_ref.py index a5be7be0..43a857c1 100644 --- a/intersight/models/inventory_base_ref.py +++ b/intersight/models/inventory_base_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_device_info.py b/intersight/models/inventory_device_info.py index accd1cd6..e11e8096 100644 --- a/intersight/models/inventory_device_info.py +++ b/intersight/models/inventory_device_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,8 +40,10 @@ class InventoryDeviceInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'event_counter': 'int', 'event_counter_enabled': 'bool', + 'interval': 'int', 'job_info': 'list[InventoryJobInfo]', 'registered_device': 'AssetDeviceRegistrationRef' } @@ -56,13 +58,15 @@ class InventoryDeviceInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'event_counter': 'EventCounter', 'event_counter_enabled': 'EventCounterEnabled', + 'interval': 'Interval', 'job_info': 'JobInfo', 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, event_counter=None, event_counter_enabled=None, job_info=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, event_counter=None, event_counter_enabled=None, interval=None, job_info=None, registered_device=None): """ InventoryDeviceInfo - a model defined in Swagger """ @@ -76,8 +80,10 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._event_counter = None self._event_counter_enabled = None + self._interval = None self._job_info = None self._registered_device = None @@ -99,10 +105,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if event_counter is not None: self.event_counter = event_counter if event_counter_enabled is not None: self.event_counter_enabled = event_counter_enabled + if interval is not None: + self.interval = interval if job_info is not None: self.job_info = job_info if registered_device is not None: @@ -296,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryDeviceInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryDeviceInfo. :rtype: list[MoTag] @@ -307,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryDeviceInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryDeviceInfo. :type: list[MoTag] @@ -315,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryDeviceInfo. + The versioning info for this managed object + + :return: The version_context of this InventoryDeviceInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryDeviceInfo. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryDeviceInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def event_counter(self): """ @@ -357,6 +390,29 @@ def event_counter_enabled(self, event_counter_enabled): self._event_counter_enabled = event_counter_enabled + @property + def interval(self): + """ + Gets the interval of this InventoryDeviceInfo. + The time interval (in hours) between job runs + + :return: The interval of this InventoryDeviceInfo. + :rtype: int + """ + return self._interval + + @interval.setter + def interval(self, interval): + """ + Sets the interval of this InventoryDeviceInfo. + The time interval (in hours) between job runs + + :param interval: The interval of this InventoryDeviceInfo. + :type: int + """ + + self._interval = interval + @property def job_info(self): """ diff --git a/intersight/models/inventory_device_info_list.py b/intersight/models/inventory_device_info_list.py index 3ba50ed5..3e9caa8e 100644 --- a/intersight/models/inventory_device_info_list.py +++ b/intersight/models/inventory_device_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_device_info_ref.py b/intersight/models/inventory_device_info_ref.py index 19dd28b1..ca93ecf7 100644 --- a/intersight/models/inventory_device_info_ref.py +++ b/intersight/models/inventory_device_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_dn_mo_binding.py b/intersight/models/inventory_dn_mo_binding.py index c3f00aca..d9b7c499 100644 --- a/intersight/models/inventory_dn_mo_binding.py +++ b/intersight/models/inventory_dn_mo_binding.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class InventoryDnMoBinding(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'dn': 'str', 'registered_device': 'AssetDeviceRegistrationRef', 'target_mo_id': 'str', @@ -56,13 +57,14 @@ class InventoryDnMoBinding(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'dn': 'Dn', 'registered_device': 'RegisteredDevice', 'target_mo_id': 'TargetMoId', 'target_mo_type': 'TargetMoType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, dn=None, registered_device=None, target_mo_id=None, target_mo_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, dn=None, registered_device=None, target_mo_id=None, target_mo_type=None): """ InventoryDnMoBinding - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._dn = None self._registered_device = None self._target_mo_id = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if dn is not None: self.dn = dn if registered_device is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryDnMoBinding. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryDnMoBinding. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryDnMoBinding. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryDnMoBinding. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryDnMoBinding. + The versioning info for this managed object + + :return: The version_context of this InventoryDnMoBinding. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryDnMoBinding. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryDnMoBinding. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def dn(self): """ diff --git a/intersight/models/inventory_dn_mo_binding_list.py b/intersight/models/inventory_dn_mo_binding_list.py index 78bb0cdc..e43dfee0 100644 --- a/intersight/models/inventory_dn_mo_binding_list.py +++ b/intersight/models/inventory_dn_mo_binding_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_dn_mo_binding_ref.py b/intersight/models/inventory_dn_mo_binding_ref.py index fbcb3103..f33db0ea 100644 --- a/intersight/models/inventory_dn_mo_binding_ref.py +++ b/intersight/models/inventory_dn_mo_binding_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory.py b/intersight/models/inventory_generic_inventory.py index 1d35839c..a6aae7d5 100644 --- a/intersight/models/inventory_generic_inventory.py +++ b/intersight/models/inventory_generic_inventory.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class InventoryGenericInventory(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -60,6 +61,7 @@ class InventoryGenericInventory(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -70,7 +72,7 @@ class InventoryGenericInventory(object): 'value': 'Value' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, inventory_generic_inventory_holder=None, key=None, registered_device=None, type=None, value=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, inventory_generic_inventory_holder=None, key=None, registered_device=None, type=None, value=None): """ InventoryGenericInventory - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryGenericInventory. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryGenericInventory. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryGenericInventory. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryGenericInventory. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryGenericInventory. + The versioning info for this managed object + + :return: The version_context of this InventoryGenericInventory. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryGenericInventory. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryGenericInventory. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/inventory_generic_inventory_holder.py b/intersight/models/inventory_generic_inventory_holder.py index 80ac5098..87c16997 100644 --- a/intersight/models/inventory_generic_inventory_holder.py +++ b/intersight/models/inventory_generic_inventory_holder.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class InventoryGenericInventoryHolder(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -60,6 +61,7 @@ class InventoryGenericInventoryHolder(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -70,7 +72,7 @@ class InventoryGenericInventoryHolder(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, compute_blade=None, compute_rack_unit=None, endpoint=None, generic_inventory=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, compute_blade=None, compute_rack_unit=None, endpoint=None, generic_inventory=None, registered_device=None): """ InventoryGenericInventoryHolder - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryGenericInventoryHolder. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryGenericInventoryHolder. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryGenericInventoryHolder. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryGenericInventoryHolder. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryGenericInventoryHolder. + The versioning info for this managed object + + :return: The version_context of this InventoryGenericInventoryHolder. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryGenericInventoryHolder. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryGenericInventoryHolder. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/inventory_generic_inventory_holder_list.py b/intersight/models/inventory_generic_inventory_holder_list.py index ad346629..49dfcecf 100644 --- a/intersight/models/inventory_generic_inventory_holder_list.py +++ b/intersight/models/inventory_generic_inventory_holder_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory_holder_ref.py b/intersight/models/inventory_generic_inventory_holder_ref.py index 43addb04..043893bf 100644 --- a/intersight/models/inventory_generic_inventory_holder_ref.py +++ b/intersight/models/inventory_generic_inventory_holder_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory_list.py b/intersight/models/inventory_generic_inventory_list.py index 9a8faf22..d4130cdb 100644 --- a/intersight/models/inventory_generic_inventory_list.py +++ b/intersight/models/inventory_generic_inventory_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_generic_inventory_ref.py b/intersight/models/inventory_generic_inventory_ref.py index 327897cb..52ce4f25 100644 --- a/intersight/models/inventory_generic_inventory_ref.py +++ b/intersight/models/inventory_generic_inventory_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_inventory_mo.py b/intersight/models/inventory_inventory_mo.py index f94d91e1..30f5ccdf 100644 --- a/intersight/models/inventory_inventory_mo.py +++ b/intersight/models/inventory_inventory_mo.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_inventory_mo_ref.py b/intersight/models/inventory_inventory_mo_ref.py index dc7001fb..677868dd 100644 --- a/intersight/models/inventory_inventory_mo_ref.py +++ b/intersight/models/inventory_inventory_mo_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_job_info.py b/intersight/models/inventory_job_info.py index f920617b..f8a8f4e0 100644 --- a/intersight/models/inventory_job_info.py +++ b/intersight/models/inventory_job_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_job_info_ref.py b/intersight/models/inventory_job_info_ref.py index 219e56ca..d3ae0417 100644 --- a/intersight/models/inventory_job_info_ref.py +++ b/intersight/models/inventory_job_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_request.py b/intersight/models/inventory_request.py index 6e760ad7..5827a342 100644 --- a/intersight/models/inventory_request.py +++ b/intersight/models/inventory_request.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class InventoryRequest(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device': 'AssetDeviceRegistrationRef', 'mos': 'list[InventoryInventoryMo]' } @@ -54,11 +55,12 @@ class InventoryRequest(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device': 'Device', 'mos': 'Mos' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device=None, mos=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device=None, mos=None): """ InventoryRequest - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device = None self._mos = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device is not None: self.device = device if mos is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this InventoryRequest. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this InventoryRequest. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this InventoryRequest. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this InventoryRequest. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this InventoryRequest. + The versioning info for this managed object + + :return: The version_context of this InventoryRequest. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this InventoryRequest. + The versioning info for this managed object + + :param version_context: The version_context of this InventoryRequest. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device(self): """ diff --git a/intersight/models/inventory_request_ref.py b/intersight/models/inventory_request_ref.py index d45ec63e..e3cb778b 100644 --- a/intersight/models/inventory_request_ref.py +++ b/intersight/models/inventory_request_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/inventory_scoped_inventory_task_ref.py b/intersight/models/inventory_scoped_inventory_task_ref.py index 807839fd..f8a4c286 100644 --- a/intersight/models/inventory_scoped_inventory_task_ref.py +++ b/intersight/models/inventory_scoped_inventory_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ipmioverlan_deploy_task_ref.py b/intersight/models/ipmioverlan_deploy_task_ref.py index 980e879b..bd99cab2 100644 --- a/intersight/models/ipmioverlan_deploy_task_ref.py +++ b/intersight/models/ipmioverlan_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ipmioverlan_policy.py b/intersight/models/ipmioverlan_policy.py index 59081451..43d6add8 100644 --- a/intersight/models/ipmioverlan_policy.py +++ b/intersight/models/ipmioverlan_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class IpmioverlanPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enabled': 'bool', @@ -60,6 +61,7 @@ class IpmioverlanPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enabled': 'Enabled', @@ -70,7 +72,7 @@ class IpmioverlanPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enabled=None, encryption_key=None, is_encryption_key_set=None, organization=None, privilege='admin', profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enabled=None, encryption_key=None, is_encryption_key_set=None, organization=None, privilege='admin', profiles=None): """ IpmioverlanPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enabled = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this IpmioverlanPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this IpmioverlanPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this IpmioverlanPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this IpmioverlanPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this IpmioverlanPolicy. + The versioning info for this managed object + + :return: The version_context of this IpmioverlanPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this IpmioverlanPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this IpmioverlanPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/ipmioverlan_policy_list.py b/intersight/models/ipmioverlan_policy_list.py index e6034fb4..64369e84 100644 --- a/intersight/models/ipmioverlan_policy_list.py +++ b/intersight/models/ipmioverlan_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ipmioverlan_policy_ref.py b/intersight/models/ipmioverlan_policy_ref.py index dff671df..fa4d70c8 100644 --- a/intersight/models/ipmioverlan_policy_ref.py +++ b/intersight/models/ipmioverlan_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ipmioverlan_validation_task_ref.py b/intersight/models/ipmioverlan_validation_task_ref.py index e71f450b..b437ab88 100644 --- a/intersight/models/ipmioverlan_validation_task_ref.py +++ b/intersight/models/ipmioverlan_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/kvm_deploy_task_ref.py b/intersight/models/kvm_deploy_task_ref.py index f5a3b054..f7deb067 100644 --- a/intersight/models/kvm_deploy_task_ref.py +++ b/intersight/models/kvm_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/kvm_policy.py b/intersight/models/kvm_policy.py index 52ecbd0b..bc5ec0b5 100644 --- a/intersight/models/kvm_policy.py +++ b/intersight/models/kvm_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class KvmPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enable_local_server_video': 'bool', @@ -61,6 +62,7 @@ class KvmPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enable_local_server_video': 'EnableLocalServerVideo', @@ -72,7 +74,7 @@ class KvmPolicy(object): 'remote_port': 'RemotePort' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enable_local_server_video=None, enable_video_encryption=None, enabled=None, maximum_sessions=None, organization=None, profiles=None, remote_port=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enable_local_server_video=None, enable_video_encryption=None, enabled=None, maximum_sessions=None, organization=None, profiles=None, remote_port=None): """ KvmPolicy - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enable_local_server_video = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this KvmPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this KvmPolicy. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this KvmPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this KvmPolicy. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this KvmPolicy. + The versioning info for this managed object + + :return: The version_context of this KvmPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this KvmPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this KvmPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/kvm_policy_list.py b/intersight/models/kvm_policy_list.py index cfa0cca5..cec2a615 100644 --- a/intersight/models/kvm_policy_list.py +++ b/intersight/models/kvm_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/kvm_policy_ref.py b/intersight/models/kvm_policy_ref.py index 09435d65..e646be5b 100644 --- a/intersight/models/kvm_policy_ref.py +++ b/intersight/models/kvm_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/kvm_validation_task_ref.py b/intersight/models/kvm_validation_task_ref.py index 15a3c95f..5ef1cf6c 100644 --- a/intersight/models/kvm_validation_task_ref.py +++ b/intersight/models/kvm_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_account_license_data.py b/intersight/models/license_account_license_data.py index 85183ef8..f9a66767 100644 --- a/intersight/models/license_account_license_data.py +++ b/intersight/models/license_account_license_data.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class LicenseAccountLicenseData(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'account_id': 'str', 'agent_data': 'str', @@ -75,6 +76,7 @@ class LicenseAccountLicenseData(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'account_id': 'AccountId', 'agent_data': 'AgentData', @@ -100,7 +102,7 @@ class LicenseAccountLicenseData(object): 'virtual_account': 'VirtualAccount' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, account_id=None, agent_data=None, auth_expire_time=None, auth_initial_time=None, auth_next_time=None, category=None, customer_op=None, group=None, last_sync=None, last_updated_time=None, license_state=None, license_tech_support_info=None, licenseinfos=None, register_expire_time=None, register_initial_time=None, register_next_time=None, registration_status=None, renew_failure_string=None, smart_account=None, smartlicense_token=None, sync_status=None, virtual_account=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, account_id=None, agent_data=None, auth_expire_time=None, auth_initial_time=None, auth_next_time=None, category=None, customer_op=None, group=None, last_sync=None, last_updated_time=None, license_state=None, license_tech_support_info=None, licenseinfos=None, register_expire_time=None, register_initial_time=None, register_next_time=None, registration_status=None, renew_failure_string=None, smart_account=None, smartlicense_token=None, sync_status=None, virtual_account=None): """ LicenseAccountLicenseData - a model defined in Swagger """ @@ -114,6 +116,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._account_id = None self._agent_data = None @@ -156,6 +159,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if account_id is not None: @@ -391,7 +396,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this LicenseAccountLicenseData. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this LicenseAccountLicenseData. :rtype: list[MoTag] @@ -402,7 +407,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this LicenseAccountLicenseData. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this LicenseAccountLicenseData. :type: list[MoTag] @@ -410,6 +415,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this LicenseAccountLicenseData. + The versioning info for this managed object + + :return: The version_context of this LicenseAccountLicenseData. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this LicenseAccountLicenseData. + The versioning info for this managed object + + :param version_context: The version_context of this LicenseAccountLicenseData. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/license_account_license_data_list.py b/intersight/models/license_account_license_data_list.py index 8ad59c96..5eece210 100644 --- a/intersight/models/license_account_license_data_list.py +++ b/intersight/models/license_account_license_data_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_account_license_data_ref.py b/intersight/models/license_account_license_data_ref.py index 7013867c..c9a29bcd 100644 --- a/intersight/models/license_account_license_data_ref.py +++ b/intersight/models/license_account_license_data_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_customer_op.py b/intersight/models/license_customer_op.py index e3feb781..110702ac 100644 --- a/intersight/models/license_customer_op.py +++ b/intersight/models/license_customer_op.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class LicenseCustomerOp(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_license_data': 'LicenseAccountLicenseDataRef', 'deregister_device': 'bool', 'renew_authorization': 'bool', @@ -57,6 +58,7 @@ class LicenseCustomerOp(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_license_data': 'AccountLicenseData', 'deregister_device': 'DeregisterDevice', 'renew_authorization': 'RenewAuthorization', @@ -64,7 +66,7 @@ class LicenseCustomerOp(object): 'show_agent_tech_support': 'ShowAgentTechSupport' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_license_data=None, deregister_device=None, renew_authorization=None, renew_id_certificate=None, show_agent_tech_support=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_license_data=None, deregister_device=None, renew_authorization=None, renew_id_certificate=None, show_agent_tech_support=None): """ LicenseCustomerOp - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_license_data = None self._deregister_device = None self._renew_authorization = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_license_data is not None: self.account_license_data = account_license_data if deregister_device is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this LicenseCustomerOp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this LicenseCustomerOp. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this LicenseCustomerOp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this LicenseCustomerOp. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this LicenseCustomerOp. + The versioning info for this managed object + + :return: The version_context of this LicenseCustomerOp. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this LicenseCustomerOp. + The versioning info for this managed object + + :param version_context: The version_context of this LicenseCustomerOp. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_license_data(self): """ diff --git a/intersight/models/license_customer_op_list.py b/intersight/models/license_customer_op_list.py index 9d21c6b7..c86189c7 100644 --- a/intersight/models/license_customer_op_list.py +++ b/intersight/models/license_customer_op_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_customer_op_ref.py b/intersight/models/license_customer_op_ref.py index ff40aa0a..17c14987 100644 --- a/intersight/models/license_customer_op_ref.py +++ b/intersight/models/license_customer_op_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_license_info.py b/intersight/models/license_license_info.py index 06a1e418..ef6d2451 100644 --- a/intersight/models/license_license_info.py +++ b/intersight/models/license_license_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class LicenseLicenseInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_license_data': 'LicenseAccountLicenseDataRef', 'active_admin': 'bool', 'days_left': 'int', @@ -65,6 +66,7 @@ class LicenseLicenseInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_license_data': 'AccountLicenseData', 'active_admin': 'ActiveAdmin', 'days_left': 'DaysLeft', @@ -80,7 +82,7 @@ class LicenseLicenseInfo(object): 'trial_admin': 'TrialAdmin' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_license_data=None, active_admin=None, days_left=None, end_time=None, enforce_mode=None, error_desc=None, evaluation_period=None, extra_evaluation=None, license_count=None, license_state=None, license_type=None, start_time=None, trial_admin=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_license_data=None, active_admin=None, days_left=None, end_time=None, enforce_mode=None, error_desc=None, evaluation_period=None, extra_evaluation=None, license_count=None, license_state=None, license_type=None, start_time=None, trial_admin=None): """ LicenseLicenseInfo - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_license_data = None self._active_admin = None self._days_left = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_license_data is not None: self.account_license_data = account_license_data if active_admin is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this LicenseLicenseInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this LicenseLicenseInfo. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this LicenseLicenseInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this LicenseLicenseInfo. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this LicenseLicenseInfo. + The versioning info for this managed object + + :return: The version_context of this LicenseLicenseInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this LicenseLicenseInfo. + The versioning info for this managed object + + :param version_context: The version_context of this LicenseLicenseInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_license_data(self): """ diff --git a/intersight/models/license_license_info_list.py b/intersight/models/license_license_info_list.py index a1b0b91f..f1855290 100644 --- a/intersight/models/license_license_info_list.py +++ b/intersight/models/license_license_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_license_info_ref.py b/intersight/models/license_license_info_ref.py index 53837b45..bca7ebfc 100644 --- a/intersight/models/license_license_info_ref.py +++ b/intersight/models/license_license_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_smartlicense_token.py b/intersight/models/license_smartlicense_token.py index 57ca0830..15ef6d1c 100644 --- a/intersight/models/license_smartlicense_token.py +++ b/intersight/models/license_smartlicense_token.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class LicenseSmartlicenseToken(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account_license_data': 'LicenseAccountLicenseDataRef', 'token': 'str' } @@ -54,11 +55,12 @@ class LicenseSmartlicenseToken(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account_license_data': 'AccountLicenseData', 'token': 'Token' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account_license_data=None, token=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account_license_data=None, token=None): """ LicenseSmartlicenseToken - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account_license_data = None self._token = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account_license_data is not None: self.account_license_data = account_license_data if token is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this LicenseSmartlicenseToken. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this LicenseSmartlicenseToken. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this LicenseSmartlicenseToken. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this LicenseSmartlicenseToken. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this LicenseSmartlicenseToken. + The versioning info for this managed object + + :return: The version_context of this LicenseSmartlicenseToken. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this LicenseSmartlicenseToken. + The versioning info for this managed object + + :param version_context: The version_context of this LicenseSmartlicenseToken. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account_license_data(self): """ diff --git a/intersight/models/license_smartlicense_token_list.py b/intersight/models/license_smartlicense_token_list.py index 79a72def..a9977627 100644 --- a/intersight/models/license_smartlicense_token_list.py +++ b/intersight/models/license_smartlicense_token_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_smartlicense_token_ref.py b/intersight/models/license_smartlicense_token_ref.py index a362d251..51f6b903 100644 --- a/intersight/models/license_smartlicense_token_ref.py +++ b/intersight/models/license_smartlicense_token_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/license_sync_response_ref.py b/intersight/models/license_sync_response_ref.py index 5f174849..c2ee389d 100644 --- a/intersight/models/license_sync_response_ref.py +++ b/intersight/models/license_sync_response_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ls_service_profile.py b/intersight/models/ls_service_profile.py index 2f1861c8..c7fd79ee 100644 --- a/intersight/models/ls_service_profile.py +++ b/intersight/models/ls_service_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class LsServiceProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class LsServiceProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class LsServiceProfile(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, assign_state=None, assoc_state=None, associated_server=None, config_state=None, name=None, oper_state=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, assign_state=None, assoc_state=None, associated_server=None, config_state=None, name=None, oper_state=None, registered_device=None): """ LsServiceProfile - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this LsServiceProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this LsServiceProfile. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this LsServiceProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this LsServiceProfile. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this LsServiceProfile. + The versioning info for this managed object + + :return: The version_context of this LsServiceProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this LsServiceProfile. + The versioning info for this managed object + + :param version_context: The version_context of this LsServiceProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/ls_service_profile_list.py b/intersight/models/ls_service_profile_list.py index 98ac4b27..3e56cd87 100644 --- a/intersight/models/ls_service_profile_list.py +++ b/intersight/models/ls_service_profile_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ls_service_profile_ref.py b/intersight/models/ls_service_profile_ref.py index 0cf97e68..bfbb2acc 100644 --- a/intersight/models/ls_service_profile_ref.py +++ b/intersight/models/ls_service_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_controller.py b/intersight/models/management_controller.py index 9e87c112..6d8f2b18 100644 --- a/intersight/models/management_controller.py +++ b/intersight/models/management_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ManagementController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -65,6 +66,7 @@ class ManagementController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -80,7 +82,7 @@ class ManagementController(object): 'top_system': 'TopSystem' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, adapter_unit=None, compute_blade=None, compute_rack_unit=None, management_interfaces=None, model=None, network_element=None, registered_device=None, running_firmware=None, storage_sas_expander=None, top_system=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, adapter_unit=None, compute_blade=None, compute_rack_unit=None, management_interfaces=None, model=None, network_element=None, registered_device=None, running_firmware=None, storage_sas_expander=None, top_system=None): """ ManagementController - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ManagementController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ManagementController. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ManagementController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ManagementController. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ManagementController. + The versioning info for this managed object + + :return: The version_context of this ManagementController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ManagementController. + The versioning info for this managed object + + :param version_context: The version_context of this ManagementController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/management_controller_list.py b/intersight/models/management_controller_list.py index 275aa459..04b2054d 100644 --- a/intersight/models/management_controller_list.py +++ b/intersight/models/management_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_controller_ref.py b/intersight/models/management_controller_ref.py index e6d4de91..7126cf49 100644 --- a/intersight/models/management_controller_ref.py +++ b/intersight/models/management_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_entity.py b/intersight/models/management_entity.py index 378189b6..3b27aaed 100644 --- a/intersight/models/management_entity.py +++ b/intersight/models/management_entity.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ManagementEntity(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -59,6 +60,7 @@ class ManagementEntity(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -68,7 +70,7 @@ class ManagementEntity(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, entity_id=None, leadership=None, network_element=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, entity_id=None, leadership=None, network_element=None, registered_device=None): """ ManagementEntity - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ManagementEntity. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ManagementEntity. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ManagementEntity. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ManagementEntity. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ManagementEntity. + The versioning info for this managed object + + :return: The version_context of this ManagementEntity. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ManagementEntity. + The versioning info for this managed object + + :param version_context: The version_context of this ManagementEntity. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/management_entity_list.py b/intersight/models/management_entity_list.py index 46116e32..2836bc8d 100644 --- a/intersight/models/management_entity_list.py +++ b/intersight/models/management_entity_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_entity_ref.py b/intersight/models/management_entity_ref.py index f515b56c..2c4a96e4 100644 --- a/intersight/models/management_entity_ref.py +++ b/intersight/models/management_entity_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_interface.py b/intersight/models/management_interface.py index 0b998614..63ff7be9 100644 --- a/intersight/models/management_interface.py +++ b/intersight/models/management_interface.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ManagementInterface(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -61,6 +62,7 @@ class ManagementInterface(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -72,7 +74,7 @@ class ManagementInterface(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, gateway=None, ip_address=None, mac_address=None, management_controller=None, mask=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, gateway=None, ip_address=None, mac_address=None, management_controller=None, mask=None, registered_device=None): """ ManagementInterface - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ManagementInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ManagementInterface. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ManagementInterface. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ManagementInterface. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ManagementInterface. + The versioning info for this managed object + + :return: The version_context of this ManagementInterface. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ManagementInterface. + The versioning info for this managed object + + :param version_context: The version_context of this ManagementInterface. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/management_interface_list.py b/intersight/models/management_interface_list.py index c3209bc7..7f1c2fc6 100644 --- a/intersight/models/management_interface_list.py +++ b/intersight/models/management_interface_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/management_interface_ref.py b/intersight/models/management_interface_ref.py index 64c6e59d..2b81125c 100644 --- a/intersight/models/management_interface_ref.py +++ b/intersight/models/management_interface_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_array.py b/intersight/models/memory_array.py index 459abdd2..63a08a5a 100644 --- a/intersight/models/memory_array.py +++ b/intersight/models/memory_array.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class MemoryArray(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -70,6 +71,7 @@ class MemoryArray(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -90,7 +92,7 @@ class MemoryArray(object): 'units': 'Units' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, array_id=None, compute_board=None, cpu_id=None, current_capacity=None, error_correction=None, max_capacity=None, max_devices=None, oper_power_state=None, presence=None, registered_device=None, units=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, array_id=None, compute_board=None, cpu_id=None, current_capacity=None, error_correction=None, max_capacity=None, max_devices=None, oper_power_state=None, presence=None, registered_device=None, units=None): """ MemoryArray - a model defined in Swagger """ @@ -104,6 +106,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -141,6 +144,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -366,7 +371,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this MemoryArray. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this MemoryArray. :rtype: list[MoTag] @@ -377,7 +382,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this MemoryArray. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this MemoryArray. :type: list[MoTag] @@ -385,6 +390,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this MemoryArray. + The versioning info for this managed object + + :return: The version_context of this MemoryArray. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this MemoryArray. + The versioning info for this managed object + + :param version_context: The version_context of this MemoryArray. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/memory_array_list.py b/intersight/models/memory_array_list.py index 86f43f2f..7d7d8e5e 100644 --- a/intersight/models/memory_array_list.py +++ b/intersight/models/memory_array_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_array_ref.py b/intersight/models/memory_array_ref.py index 8aea2cd8..04d5837e 100644 --- a/intersight/models/memory_array_ref.py +++ b/intersight/models/memory_array_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_unit.py b/intersight/models/memory_unit.py index 644eef12..fd689880 100644 --- a/intersight/models/memory_unit.py +++ b/intersight/models/memory_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class MemoryUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -80,6 +81,7 @@ class MemoryUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -110,7 +112,7 @@ class MemoryUnit(object): 'width': 'Width' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_state=None, array_id=None, bank=None, capacity=None, clock=None, form_factor=None, latency=None, location=None, memory_array=None, memory_id=None, oper_power_state=None, oper_state=None, operability=None, presence=None, registered_device=None, set=None, speed=None, thermal=None, type=None, visibility=None, width=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_state=None, array_id=None, bank=None, capacity=None, clock=None, form_factor=None, latency=None, location=None, memory_array=None, memory_id=None, oper_power_state=None, oper_state=None, operability=None, presence=None, registered_device=None, set=None, speed=None, thermal=None, type=None, visibility=None, width=None): """ MemoryUnit - a model defined in Swagger """ @@ -124,6 +126,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -171,6 +174,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -416,7 +421,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this MemoryUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this MemoryUnit. :rtype: list[MoTag] @@ -427,7 +432,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this MemoryUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this MemoryUnit. :type: list[MoTag] @@ -435,6 +440,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this MemoryUnit. + The versioning info for this managed object + + :return: The version_context of this MemoryUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this MemoryUnit. + The versioning info for this managed object + + :param version_context: The version_context of this MemoryUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/memory_unit_list.py b/intersight/models/memory_unit_list.py index 36f56981..46afc728 100644 --- a/intersight/models/memory_unit_list.py +++ b/intersight/models/memory_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/memory_unit_ref.py b/intersight/models/memory_unit_ref.py index dc15cc9d..d9b89853 100644 --- a/intersight/models/memory_unit_ref.py +++ b/intersight/models/memory_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_definition.py b/intersight/models/meta_definition.py index b672418b..efc291b7 100644 --- a/intersight/models/meta_definition.py +++ b/intersight/models/meta_definition.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,9 @@ class MetaDefinition(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'ancestor_classes': 'list[str]', + 'is_concrete': 'bool', 'name': 'str', 'namespace': 'str', 'parent_class': 'str', @@ -60,7 +62,9 @@ class MetaDefinition(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'ancestor_classes': 'AncestorClasses', + 'is_concrete': 'IsConcrete', 'name': 'Name', 'namespace': 'Namespace', 'parent_class': 'ParentClass', @@ -70,7 +74,7 @@ class MetaDefinition(object): 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, ancestor_classes=None, name=None, namespace=None, parent_class=None, properties=None, relationships=None, rest_path=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, ancestor_classes=None, is_concrete=None, name=None, namespace=None, parent_class=None, properties=None, relationships=None, rest_path=None, version=None): """ MetaDefinition - a model defined in Swagger """ @@ -84,7 +88,9 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._ancestor_classes = None + self._is_concrete = None self._name = None self._namespace = None self._parent_class = None @@ -111,8 +117,12 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if ancestor_classes is not None: self.ancestor_classes = ancestor_classes + if is_concrete is not None: + self.is_concrete = is_concrete if name is not None: self.name = name if namespace is not None: @@ -316,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this MetaDefinition. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this MetaDefinition. :rtype: list[MoTag] @@ -327,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this MetaDefinition. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this MetaDefinition. :type: list[MoTag] @@ -335,11 +345,34 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this MetaDefinition. + The versioning info for this managed object + + :return: The version_context of this MetaDefinition. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this MetaDefinition. + The versioning info for this managed object + + :param version_context: The version_context of this MetaDefinition. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def ancestor_classes(self): """ Gets the ancestor_classes of this MetaDefinition. - An array of parent metaclasses in the class inheritance hierarchy. The first element in the array is the parent class. The next element is the grand-parent, etc. The last element in the array is the mo.BaseMo class. + An array of parent metaclasses in the class inheritance hierarchy. The first element in the array is the parent class. The next element is the grand-parent, etc. The last element in the array is the mo.BaseMo class. :return: The ancestor_classes of this MetaDefinition. :rtype: list[str] @@ -350,7 +383,7 @@ def ancestor_classes(self): def ancestor_classes(self, ancestor_classes): """ Sets the ancestor_classes of this MetaDefinition. - An array of parent metaclasses in the class inheritance hierarchy. The first element in the array is the parent class. The next element is the grand-parent, etc. The last element in the array is the mo.BaseMo class. + An array of parent metaclasses in the class inheritance hierarchy. The first element in the array is the parent class. The next element is the grand-parent, etc. The last element in the array is the mo.BaseMo class. :param ancestor_classes: The ancestor_classes of this MetaDefinition. :type: list[str] @@ -358,6 +391,29 @@ def ancestor_classes(self, ancestor_classes): self._ancestor_classes = ancestor_classes + @property + def is_concrete(self): + """ + Gets the is_concrete of this MetaDefinition. + Boolean flag to specify whether the meta class is a concrete class or not. + + :return: The is_concrete of this MetaDefinition. + :rtype: bool + """ + return self._is_concrete + + @is_concrete.setter + def is_concrete(self, is_concrete): + """ + Sets the is_concrete of this MetaDefinition. + Boolean flag to specify whether the meta class is a concrete class or not. + + :param is_concrete: The is_concrete of this MetaDefinition. + :type: bool + """ + + self._is_concrete = is_concrete + @property def name(self): """ diff --git a/intersight/models/meta_definition_list.py b/intersight/models/meta_definition_list.py index 09a7d509..0fb7da6c 100644 --- a/intersight/models/meta_definition_list.py +++ b/intersight/models/meta_definition_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_definition_ref.py b/intersight/models/meta_definition_ref.py index 013b1b4a..66b9fba5 100644 --- a/intersight/models/meta_definition_ref.py +++ b/intersight/models/meta_definition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_prop_definition.py b/intersight/models/meta_prop_definition.py index d3b75ba8..66c8e327 100644 --- a/intersight/models/meta_prop_definition.py +++ b/intersight/models/meta_prop_definition.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_prop_definition_ref.py b/intersight/models/meta_prop_definition_ref.py index 0366b84a..7345912e 100644 --- a/intersight/models/meta_prop_definition_ref.py +++ b/intersight/models/meta_prop_definition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_relationship_definition.py b/intersight/models/meta_relationship_definition.py index c137a69a..f65e650e 100644 --- a/intersight/models/meta_relationship_definition.py +++ b/intersight/models/meta_relationship_definition.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/meta_relationship_definition_ref.py b/intersight/models/meta_relationship_definition_ref.py index a7a96af7..b7a25bee 100644 --- a/intersight/models/meta_relationship_definition_ref.py +++ b/intersight/models/meta_relationship_definition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_base_complex_type.py b/intersight/models/mo_base_complex_type.py index 64741a66..13c00ebe 100644 --- a/intersight/models/mo_base_complex_type.py +++ b/intersight/models/mo_base_complex_type.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_base_complex_type_ref.py b/intersight/models/mo_base_complex_type_ref.py index 84c44e73..c418c763 100644 --- a/intersight/models/mo_base_complex_type_ref.py +++ b/intersight/models/mo_base_complex_type_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_base_mo.py b/intersight/models/mo_base_mo.py index dc42ba06..57d4ce1c 100644 --- a/intersight/models/mo_base_mo.py +++ b/intersight/models/mo_base_mo.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,7 +39,8 @@ class MoBaseMo(object): 'object_type': 'str', 'owners': 'list[str]', 'parent': 'MoBaseMoRef', - 'tags': 'list[MoTag]' + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext' } attribute_map = { @@ -51,10 +52,11 @@ class MoBaseMo(object): 'object_type': 'ObjectType', 'owners': 'Owners', 'parent': 'Parent', - 'tags': 'Tags' + 'tags': 'Tags', + 'version_context': 'VersionContext' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None): """ MoBaseMo - a model defined in Swagger """ @@ -68,6 +70,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None if account_moid is not None: self.account_moid = account_moid @@ -87,6 +90,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context @property def account_moid(self): @@ -276,7 +281,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this MoBaseMo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this MoBaseMo. :rtype: list[MoTag] @@ -287,7 +292,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this MoBaseMo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this MoBaseMo. :type: list[MoTag] @@ -295,6 +300,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this MoBaseMo. + The versioning info for this managed object + + :return: The version_context of this MoBaseMo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this MoBaseMo. + The versioning info for this managed object + + :param version_context: The version_context of this MoBaseMo. + :type: MoVersionContext + """ + + self._version_context = version_context + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/mo_base_mo_ref.py b/intersight/models/mo_base_mo_ref.py index 67a91abf..1387aa3b 100644 --- a/intersight/models/mo_base_mo_ref.py +++ b/intersight/models/mo_base_mo_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_interest_registration_ref.py b/intersight/models/mo_interest_registration_ref.py index 8c4d3065..5a5ea80c 100644 --- a/intersight/models/mo_interest_registration_ref.py +++ b/intersight/models/mo_interest_registration_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_mo_ref.py b/intersight/models/mo_mo_ref.py index a44ea357..d1a0a106 100644 --- a/intersight/models/mo_mo_ref.py +++ b/intersight/models/mo_mo_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_mo_ref_ref.py b/intersight/models/mo_mo_ref_ref.py index af0e2bf8..0f57f610 100644 --- a/intersight/models/mo_mo_ref_ref.py +++ b/intersight/models/mo_mo_ref_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_tag.py b/intersight/models/mo_tag.py index a01b0fb4..bda55378 100644 --- a/intersight/models/mo_tag.py +++ b/intersight/models/mo_tag.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_tag_ref.py b/intersight/models/mo_tag_ref.py index da94067e..5a4abb35 100644 --- a/intersight/models/mo_tag_ref.py +++ b/intersight/models/mo_tag_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/mo_version_context.py b/intersight/models/mo_version_context.py new file mode 100644 index 00000000..3c81ee1d --- /dev/null +++ b/intersight/models/mo_version_context.py @@ -0,0 +1,243 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class MoVersionContext(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'interested_mos': 'list[MoMoRef]', + 'ref_mo': 'MoMoRef', + 'timestamp': 'datetime', + 'version': 'str', + 'version_type': 'str' + } + + attribute_map = { + 'interested_mos': 'InterestedMos', + 'ref_mo': 'RefMo', + 'timestamp': 'Timestamp', + 'version': 'Version', + 'version_type': 'VersionType' + } + + def __init__(self, interested_mos=None, ref_mo=None, timestamp=None, version=None, version_type='Modified'): + """ + MoVersionContext - a model defined in Swagger + """ + + self._interested_mos = None + self._ref_mo = None + self._timestamp = None + self._version = None + self._version_type = None + + if interested_mos is not None: + self.interested_mos = interested_mos + if ref_mo is not None: + self.ref_mo = ref_mo + if timestamp is not None: + self.timestamp = timestamp + if version is not None: + self.version = version + if version_type is not None: + self.version_type = version_type + + @property + def interested_mos(self): + """ + Gets the interested_mos of this MoVersionContext. + A collection of objects that have reference to this versioned object. The lifecycle of the versioned object is based on the interestedMos list; the versioned object will be purged when interestedMos is empty. + + :return: The interested_mos of this MoVersionContext. + :rtype: list[MoMoRef] + """ + return self._interested_mos + + @interested_mos.setter + def interested_mos(self, interested_mos): + """ + Sets the interested_mos of this MoVersionContext. + A collection of objects that have reference to this versioned object. The lifecycle of the versioned object is based on the interestedMos list; the versioned object will be purged when interestedMos is empty. + + :param interested_mos: The interested_mos of this MoVersionContext. + :type: list[MoMoRef] + """ + + self._interested_mos = interested_mos + + @property + def ref_mo(self): + """ + Gets the ref_mo of this MoVersionContext. + A reference to the original mo. + + :return: The ref_mo of this MoVersionContext. + :rtype: MoMoRef + """ + return self._ref_mo + + @ref_mo.setter + def ref_mo(self, ref_mo): + """ + Sets the ref_mo of this MoVersionContext. + A reference to the original mo. + + :param ref_mo: The ref_mo of this MoVersionContext. + :type: MoMoRef + """ + + self._ref_mo = ref_mo + + @property + def timestamp(self): + """ + Gets the timestamp of this MoVersionContext. + The time this versioned mo was created. + + :return: The timestamp of this MoVersionContext. + :rtype: datetime + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """ + Sets the timestamp of this MoVersionContext. + The time this versioned mo was created. + + :param timestamp: The timestamp of this MoVersionContext. + :type: datetime + """ + + self._timestamp = timestamp + + @property + def version(self): + """ + Gets the version of this MoVersionContext. + The version of the mo, eg an incrementing number or a hash id. + + :return: The version of this MoVersionContext. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this MoVersionContext. + The version of the mo, eg an incrementing number or a hash id. + + :param version: The version of this MoVersionContext. + :type: str + """ + + self._version = version + + @property + def version_type(self): + """ + Gets the version_type of this MoVersionContext. + Specifies type of version. Currently the only supported value is ”Configured\" that is used to keep track of snapshots of policies and profiles that are intended to be configured to target endpoints. + + :return: The version_type of this MoVersionContext. + :rtype: str + """ + return self._version_type + + @version_type.setter + def version_type(self, version_type): + """ + Sets the version_type of this MoVersionContext. + Specifies type of version. Currently the only supported value is ”Configured\" that is used to keep track of snapshots of policies and profiles that are intended to be configured to target endpoints. + + :param version_type: The version_type of this MoVersionContext. + :type: str + """ + allowed_values = ["Modified", "Configured", "Deployed"] + if version_type not in allowed_values: + raise ValueError( + "Invalid value for `version_type` ({0}), must be one of {1}" + .format(version_type, allowed_values) + ) + + self._version_type = version_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, MoVersionContext): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/mo_version_context_ref.py b/intersight/models/mo_version_context_ref.py new file mode 100644 index 00000000..7cd78470 --- /dev/null +++ b/intersight/models/mo_version_context_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class MoVersionContextRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + MoVersionContextRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this MoVersionContextRef. + + :return: The moid of this MoVersionContextRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this MoVersionContextRef. + + :param moid: The moid of this MoVersionContextRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this MoVersionContextRef. + + :return: The object_type of this MoVersionContextRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this MoVersionContextRef. + + :param object_type: The object_type of this MoVersionContextRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, MoVersionContextRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/network_element.py b/intersight/models/network_element.py index 316495f5..aa965b34 100644 --- a/intersight/models/network_element.py +++ b/intersight/models/network_element.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class NetworkElement(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -78,6 +79,7 @@ class NetworkElement(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -106,7 +108,7 @@ class NetworkElement(object): 'ucsm_running_firmware': 'UcsmRunningFirmware' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_inband_interface_state=None, cards=None, fanmodules=None, fault_summary=None, inband_ip_address=None, inband_ip_gateway=None, inband_ip_mask=None, inband_vlan=None, management_contoller=None, management_entity=None, out_of_band_ip_address=None, out_of_band_ip_gateway=None, out_of_band_ip_mask=None, out_of_band_mac=None, psus=None, registered_device=None, switch_id=None, top_system=None, ucsm_running_firmware=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, admin_inband_interface_state=None, cards=None, fanmodules=None, fault_summary=None, inband_ip_address=None, inband_ip_gateway=None, inband_ip_mask=None, inband_vlan=None, management_contoller=None, management_entity=None, out_of_band_ip_address=None, out_of_band_ip_gateway=None, out_of_band_ip_mask=None, out_of_band_mac=None, psus=None, registered_device=None, switch_id=None, top_system=None, ucsm_running_firmware=None): """ NetworkElement - a model defined in Swagger """ @@ -120,6 +122,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -165,6 +168,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -406,7 +411,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this NetworkElement. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this NetworkElement. :rtype: list[MoTag] @@ -417,7 +422,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this NetworkElement. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this NetworkElement. :type: list[MoTag] @@ -425,6 +430,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this NetworkElement. + The versioning info for this managed object + + :return: The version_context of this NetworkElement. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this NetworkElement. + The versioning info for this managed object + + :param version_context: The version_context of this NetworkElement. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/network_element_list.py b/intersight/models/network_element_list.py index 15ebae70..a80a01ff 100644 --- a/intersight/models/network_element_list.py +++ b/intersight/models/network_element_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element_ref.py b/intersight/models/network_element_ref.py index 697d70b6..e5b713eb 100644 --- a/intersight/models/network_element_ref.py +++ b/intersight/models/network_element_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element_summary.py b/intersight/models/network_element_summary.py index 90d2b37e..7ddab494 100644 --- a/intersight/models/network_element_summary.py +++ b/intersight/models/network_element_summary.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class NetworkElementSummary(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'admin_inband_interface_state': 'str', 'device_mo_id': 'str', 'dn': 'str', @@ -83,6 +84,7 @@ class NetworkElementSummary(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'admin_inband_interface_state': 'AdminInbandInterfaceState', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', @@ -116,7 +118,7 @@ class NetworkElementSummary(object): 'version': 'Version' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, admin_inband_interface_state=None, device_mo_id=None, dn=None, fault_summary=None, firmware=None, inband_ip_address=None, inband_ip_gateway=None, inband_ip_mask=None, inband_vlan=None, ipv4_address=None, model=None, name=None, num_ether_ports=None, num_ether_ports_configured=None, num_ether_ports_link_up=None, num_expansion_modules=None, num_fc_ports=None, num_fc_ports_configured=None, num_fc_ports_link_up=None, out_of_band_ip_address=None, out_of_band_ip_gateway=None, out_of_band_ip_mask=None, out_of_band_mac=None, registered_device=None, revision=None, rn=None, serial=None, source_object_type=None, switch_id=None, vendor=None, version=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, admin_inband_interface_state=None, device_mo_id=None, dn=None, fault_summary=None, firmware=None, inband_ip_address=None, inband_ip_gateway=None, inband_ip_mask=None, inband_vlan=None, ipv4_address=None, model=None, name=None, num_ether_ports=None, num_ether_ports_configured=None, num_ether_ports_link_up=None, num_expansion_modules=None, num_fc_ports=None, num_fc_ports_configured=None, num_fc_ports_link_up=None, out_of_band_ip_address=None, out_of_band_ip_gateway=None, out_of_band_ip_mask=None, out_of_band_mac=None, registered_device=None, revision=None, rn=None, serial=None, source_object_type=None, switch_id=None, vendor=None, version=None): """ NetworkElementSummary - a model defined in Swagger """ @@ -130,6 +132,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._admin_inband_interface_state = None self._device_mo_id = None self._dn = None @@ -180,6 +183,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if admin_inband_interface_state is not None: self.admin_inband_interface_state = admin_inband_interface_state if device_mo_id is not None: @@ -431,7 +436,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this NetworkElementSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this NetworkElementSummary. :rtype: list[MoTag] @@ -442,7 +447,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this NetworkElementSummary. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this NetworkElementSummary. :type: list[MoTag] @@ -450,6 +455,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this NetworkElementSummary. + The versioning info for this managed object + + :return: The version_context of this NetworkElementSummary. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this NetworkElementSummary. + The versioning info for this managed object + + :param version_context: The version_context of this NetworkElementSummary. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def admin_inband_interface_state(self): """ diff --git a/intersight/models/network_element_summary_list.py b/intersight/models/network_element_summary_list.py index 8abe9b09..b120a337 100644 --- a/intersight/models/network_element_summary_list.py +++ b/intersight/models/network_element_summary_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/network_element_summary_ref.py b/intersight/models/network_element_summary_ref.py index 618dcdcd..ee9fcea6 100644 --- a/intersight/models/network_element_summary_ref.py +++ b/intersight/models/network_element_summary_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/networkconfig_deploy_task_ref.py b/intersight/models/networkconfig_deploy_task_ref.py index b362e866..0d0f78b0 100644 --- a/intersight/models/networkconfig_deploy_task_ref.py +++ b/intersight/models/networkconfig_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/networkconfig_policy.py b/intersight/models/networkconfig_policy.py index 9300d91e..80a9cb78 100644 --- a/intersight/models/networkconfig_policy.py +++ b/intersight/models/networkconfig_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class NetworkconfigPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'alternate_ipv4dns_server': 'str', @@ -65,6 +66,7 @@ class NetworkconfigPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'alternate_ipv4dns_server': 'AlternateIpv4dnsServer', @@ -80,7 +82,7 @@ class NetworkconfigPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, alternate_ipv4dns_server=None, alternate_ipv6dns_server=None, dynamic_dns_domain=None, enable_dynamic_dns=None, enable_ipv4dns_from_dhcp=None, enable_ipv6=None, enable_ipv6dns_from_dhcp=None, organization=None, preferred_ipv4dns_server=None, preferred_ipv6dns_server=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, alternate_ipv4dns_server=None, alternate_ipv6dns_server=None, dynamic_dns_domain=None, enable_dynamic_dns=None, enable_ipv4dns_from_dhcp=None, enable_ipv6=None, enable_ipv6dns_from_dhcp=None, organization=None, preferred_ipv4dns_server=None, preferred_ipv6dns_server=None, profiles=None): """ NetworkconfigPolicy - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._alternate_ipv4dns_server = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this NetworkconfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this NetworkconfigPolicy. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this NetworkconfigPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this NetworkconfigPolicy. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this NetworkconfigPolicy. + The versioning info for this managed object + + :return: The version_context of this NetworkconfigPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this NetworkconfigPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this NetworkconfigPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/networkconfig_policy_list.py b/intersight/models/networkconfig_policy_list.py index 395067b2..8c3501d0 100644 --- a/intersight/models/networkconfig_policy_list.py +++ b/intersight/models/networkconfig_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/networkconfig_policy_ref.py b/intersight/models/networkconfig_policy_ref.py index 87da46a8..5b39928b 100644 --- a/intersight/models/networkconfig_policy_ref.py +++ b/intersight/models/networkconfig_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/networkconfig_validation_task_ref.py b/intersight/models/networkconfig_validation_task_ref.py index 67ac1a82..c1b0011d 100644 --- a/intersight/models/networkconfig_validation_task_ref.py +++ b/intersight/models/networkconfig_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/notifs_condition.py b/intersight/models/notifs_condition.py new file mode 100644 index 00000000..35d8fcd6 --- /dev/null +++ b/intersight/models/notifs_condition.py @@ -0,0 +1,187 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class NotifsCondition(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'change_set': 'list[str]', + 'change_type': 'str', + 'filter': 'str' + } + + attribute_map = { + 'change_set': 'ChangeSet', + 'change_type': 'ChangeType', + 'filter': 'Filter' + } + + def __init__(self, change_set=None, change_type='Update', filter=None): + """ + NotifsCondition - a model defined in Swagger + """ + + self._change_set = None + self._change_type = None + self._filter = None + + if change_set is not None: + self.change_set = change_set + if change_type is not None: + self.change_type = change_type + if filter is not None: + self.filter = filter + + @property + def change_set(self): + """ + Gets the change_set of this NotifsCondition. + A list of properties which have been modified on an MO in a transaction. Applicable only for MO updates, ignored for creation/deletion. Evaluates to True if any of the listed properties has changed or if the list is empty. Eg: ConnectorStatus,ConnectorVersion + + :return: The change_set of this NotifsCondition. + :rtype: list[str] + """ + return self._change_set + + @change_set.setter + def change_set(self, change_set): + """ + Sets the change_set of this NotifsCondition. + A list of properties which have been modified on an MO in a transaction. Applicable only for MO updates, ignored for creation/deletion. Evaluates to True if any of the listed properties has changed or if the list is empty. Eg: ConnectorStatus,ConnectorVersion + + :param change_set: The change_set of this NotifsCondition. + :type: list[str] + """ + + self._change_set = change_set + + @property + def change_type(self): + """ + Gets the change_type of this NotifsCondition. + Indicates the type of change (create, update, delete) performed on the MO. + + :return: The change_type of this NotifsCondition. + :rtype: str + """ + return self._change_type + + @change_type.setter + def change_type(self, change_type): + """ + Sets the change_type of this NotifsCondition. + Indicates the type of change (create, update, delete) performed on the MO. + + :param change_type: The change_type of this NotifsCondition. + :type: str + """ + allowed_values = ["Update", "Create", "Delete"] + if change_type not in allowed_values: + raise ValueError( + "Invalid value for `change_type` ({0}), must be one of {1}" + .format(change_type, allowed_values) + ) + + self._change_type = change_type + + @property + def filter(self): + """ + Gets the filter of this NotifsCondition. + An Odata-style filter which is evaluated against the state of an MO at the time of transaction commit. An empty filter string evaluates to True. Eg: ConnectionStatus eq 'Connected' + + :return: The filter of this NotifsCondition. + :rtype: str + """ + return self._filter + + @filter.setter + def filter(self, filter): + """ + Sets the filter of this NotifsCondition. + An Odata-style filter which is evaluated against the state of an MO at the time of transaction commit. An empty filter string evaluates to True. Eg: ConnectionStatus eq 'Connected' + + :param filter: The filter of this NotifsCondition. + :type: str + """ + + self._filter = filter + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, NotifsCondition): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/notifs_condition_ref.py b/intersight/models/notifs_condition_ref.py new file mode 100644 index 00000000..fb5d93a6 --- /dev/null +++ b/intersight/models/notifs_condition_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class NotifsConditionRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + NotifsConditionRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this NotifsConditionRef. + + :return: The moid of this NotifsConditionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this NotifsConditionRef. + + :param moid: The moid of this NotifsConditionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this NotifsConditionRef. + + :return: The object_type of this NotifsConditionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this NotifsConditionRef. + + :param object_type: The object_type of this NotifsConditionRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, NotifsConditionRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/notifs_mo_subscription_ref.py b/intersight/models/notifs_mo_subscription_ref.py index 4f199ed9..8d503fae 100644 --- a/intersight/models/notifs_mo_subscription_ref.py +++ b/intersight/models/notifs_mo_subscription_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ntp_deploy_task_ref.py b/intersight/models/ntp_deploy_task_ref.py index 0950c1a9..95fe4fd3 100644 --- a/intersight/models/ntp_deploy_task_ref.py +++ b/intersight/models/ntp_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ntp_policy.py b/intersight/models/ntp_policy.py index 74c1268e..fbee313d 100644 --- a/intersight/models/ntp_policy.py +++ b/intersight/models/ntp_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class NtpPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enabled': 'bool', @@ -58,6 +59,7 @@ class NtpPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enabled': 'Enabled', @@ -66,7 +68,7 @@ class NtpPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enabled=None, ntp_servers=None, organization=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enabled=None, ntp_servers=None, organization=None, profiles=None): """ NtpPolicy - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enabled = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this NtpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this NtpPolicy. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this NtpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this NtpPolicy. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this NtpPolicy. + The versioning info for this managed object + + :return: The version_context of this NtpPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this NtpPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this NtpPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/ntp_policy_list.py b/intersight/models/ntp_policy_list.py index fc3c9f85..c3b8544b 100644 --- a/intersight/models/ntp_policy_list.py +++ b/intersight/models/ntp_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ntp_policy_ref.py b/intersight/models/ntp_policy_ref.py index 8e1c301d..539c607e 100644 --- a/intersight/models/ntp_policy_ref.py +++ b/intersight/models/ntp_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ntp_validation_task_ref.py b/intersight/models/ntp_validation_task_ref.py index 176a251e..86a4099e 100644 --- a/intersight/models/ntp_validation_task_ref.py +++ b/intersight/models/ntp_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/oauth2_auth_token_ref.py b/intersight/models/oauth2_auth_token_ref.py index 6bf6b840..677388cd 100644 --- a/intersight/models/oauth2_auth_token_ref.py +++ b/intersight/models/oauth2_auth_token_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/oauth_access_token.py b/intersight/models/oauth_access_token.py index 869ebc42..d69380d0 100644 --- a/intersight/models/oauth_access_token.py +++ b/intersight/models/oauth_access_token.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/oauth_access_token_ref.py b/intersight/models/oauth_access_token_ref.py index b27d6acb..66f2ff00 100644 --- a/intersight/models/oauth_access_token_ref.py +++ b/intersight/models/oauth_access_token_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/oauth_oauth_user.py b/intersight/models/oauth_oauth_user.py index 4267f7e9..be282567 100644 --- a/intersight/models/oauth_oauth_user.py +++ b/intersight/models/oauth_oauth_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class OauthOauthUser(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'access_tokens': 'list[OauthAccessToken]', 'account': 'IamAccountRef', 'user_id': 'str' @@ -55,12 +56,13 @@ class OauthOauthUser(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'access_tokens': 'AccessTokens', 'account': 'Account', 'user_id': 'UserId' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, access_tokens=None, account=None, user_id=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, access_tokens=None, account=None, user_id=None): """ OauthOauthUser - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._access_tokens = None self._account = None self._user_id = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if access_tokens is not None: self.access_tokens = access_tokens if account is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this OauthOauthUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this OauthOauthUser. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this OauthOauthUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this OauthOauthUser. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this OauthOauthUser. + The versioning info for this managed object + + :return: The version_context of this OauthOauthUser. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this OauthOauthUser. + The versioning info for this managed object + + :param version_context: The version_context of this OauthOauthUser. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def access_tokens(self): """ diff --git a/intersight/models/oauth_oauth_user_list.py b/intersight/models/oauth_oauth_user_list.py index 1ca0ba3f..8e1136bb 100644 --- a/intersight/models/oauth_oauth_user_list.py +++ b/intersight/models/oauth_oauth_user_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/oauth_oauth_user_ref.py b/intersight/models/oauth_oauth_user_ref.py index 8d4f1c8a..f17c1de5 100644 --- a/intersight/models/oauth_oauth_user_ref.py +++ b/intersight/models/oauth_oauth_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.5-612 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/pci_device.py b/intersight/models/pci_device.py new file mode 100644 index 00000000..cb0a03a7 --- /dev/null +++ b/intersight/models/pci_device.py @@ -0,0 +1,663 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PciDevice(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'model': 'str', + 'revision': 'str', + 'serial': 'str', + 'vendor': 'str', + 'compute_rack_unit': 'ComputeRackUnitRef', + 'firmware_version': 'str', + 'registered_device': 'AssetDeviceRegistrationRef', + 'slot_id': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'model': 'Model', + 'revision': 'Revision', + 'serial': 'Serial', + 'vendor': 'Vendor', + 'compute_rack_unit': 'ComputeRackUnit', + 'firmware_version': 'FirmwareVersion', + 'registered_device': 'RegisteredDevice', + 'slot_id': 'SlotId' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_rack_unit=None, firmware_version=None, registered_device=None, slot_id=None): + """ + PciDevice - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._model = None + self._revision = None + self._serial = None + self._vendor = None + self._compute_rack_unit = None + self._firmware_version = None + self._registered_device = None + self._slot_id = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if model is not None: + self.model = model + if revision is not None: + self.revision = revision + if serial is not None: + self.serial = serial + if vendor is not None: + self.vendor = vendor + if compute_rack_unit is not None: + self.compute_rack_unit = compute_rack_unit + if firmware_version is not None: + self.firmware_version = firmware_version + if registered_device is not None: + self.registered_device = registered_device + if slot_id is not None: + self.slot_id = slot_id + + @property + def account_moid(self): + """ + Gets the account_moid of this PciDevice. + The Account ID for this managed object. + + :return: The account_moid of this PciDevice. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this PciDevice. + The Account ID for this managed object. + + :param account_moid: The account_moid of this PciDevice. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this PciDevice. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this PciDevice. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this PciDevice. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this PciDevice. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this PciDevice. + The time when this managed object was created. + + :return: The create_time of this PciDevice. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this PciDevice. + The time when this managed object was created. + + :param create_time: The create_time of this PciDevice. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this PciDevice. + The time when this managed object was last modified. + + :return: The mod_time of this PciDevice. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this PciDevice. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this PciDevice. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this PciDevice. + A unique identifier of this Managed Object instance. + + :return: The moid of this PciDevice. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PciDevice. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this PciDevice. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PciDevice. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this PciDevice. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PciDevice. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this PciDevice. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this PciDevice. + An array of owners which represent effective ownership of this object. + + :return: The owners of this PciDevice. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this PciDevice. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this PciDevice. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this PciDevice. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this PciDevice. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this PciDevice. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this PciDevice. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this PciDevice. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this PciDevice. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this PciDevice. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this PciDevice. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this PciDevice. + The versioning info for this managed object + + :return: The version_context of this PciDevice. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PciDevice. + The versioning info for this managed object + + :param version_context: The version_context of this PciDevice. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this PciDevice. + + :return: The device_mo_id of this PciDevice. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this PciDevice. + + :param device_mo_id: The device_mo_id of this PciDevice. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this PciDevice. + + :return: The dn of this PciDevice. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this PciDevice. + + :param dn: The dn of this PciDevice. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this PciDevice. + + :return: The rn of this PciDevice. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this PciDevice. + + :param rn: The rn of this PciDevice. + :type: str + """ + + self._rn = rn + + @property + def model(self): + """ + Gets the model of this PciDevice. + + :return: The model of this PciDevice. + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """ + Sets the model of this PciDevice. + + :param model: The model of this PciDevice. + :type: str + """ + + self._model = model + + @property + def revision(self): + """ + Gets the revision of this PciDevice. + + :return: The revision of this PciDevice. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this PciDevice. + + :param revision: The revision of this PciDevice. + :type: str + """ + + self._revision = revision + + @property + def serial(self): + """ + Gets the serial of this PciDevice. + + :return: The serial of this PciDevice. + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """ + Sets the serial of this PciDevice. + + :param serial: The serial of this PciDevice. + :type: str + """ + + self._serial = serial + + @property + def vendor(self): + """ + Gets the vendor of this PciDevice. + + :return: The vendor of this PciDevice. + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """ + Sets the vendor of this PciDevice. + + :param vendor: The vendor of this PciDevice. + :type: str + """ + + self._vendor = vendor + + @property + def compute_rack_unit(self): + """ + Gets the compute_rack_unit of this PciDevice. + + :return: The compute_rack_unit of this PciDevice. + :rtype: ComputeRackUnitRef + """ + return self._compute_rack_unit + + @compute_rack_unit.setter + def compute_rack_unit(self, compute_rack_unit): + """ + Sets the compute_rack_unit of this PciDevice. + + :param compute_rack_unit: The compute_rack_unit of this PciDevice. + :type: ComputeRackUnitRef + """ + + self._compute_rack_unit = compute_rack_unit + + @property + def firmware_version(self): + """ + Gets the firmware_version of this PciDevice. + + :return: The firmware_version of this PciDevice. + :rtype: str + """ + return self._firmware_version + + @firmware_version.setter + def firmware_version(self, firmware_version): + """ + Sets the firmware_version of this PciDevice. + + :param firmware_version: The firmware_version of this PciDevice. + :type: str + """ + + self._firmware_version = firmware_version + + @property + def registered_device(self): + """ + Gets the registered_device of this PciDevice. + + :return: The registered_device of this PciDevice. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this PciDevice. + + :param registered_device: The registered_device of this PciDevice. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + @property + def slot_id(self): + """ + Gets the slot_id of this PciDevice. + + :return: The slot_id of this PciDevice. + :rtype: str + """ + return self._slot_id + + @slot_id.setter + def slot_id(self, slot_id): + """ + Sets the slot_id of this PciDevice. + + :param slot_id: The slot_id of this PciDevice. + :type: str + """ + + self._slot_id = slot_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PciDevice): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/pci_device_list.py b/intersight/models/pci_device_list.py new file mode 100644 index 00000000..c1c96925 --- /dev/null +++ b/intersight/models/pci_device_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PciDeviceList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[PciDevice]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + PciDeviceList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this PciDeviceList. + The number of pciDevices matching your request in total for all pages. + + :return: The count of this PciDeviceList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this PciDeviceList. + The number of pciDevices matching your request in total for all pages. + + :param count: The count of this PciDeviceList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this PciDeviceList. + The array of pciDevices matching your request. + + :return: The results of this PciDeviceList. + :rtype: list[PciDevice] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this PciDeviceList. + The array of pciDevices matching your request. + + :param results: The results of this PciDeviceList. + :type: list[PciDevice] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PciDeviceList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/pci_device_ref.py b/intersight/models/pci_device_ref.py new file mode 100644 index 00000000..6009a268 --- /dev/null +++ b/intersight/models/pci_device_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PciDeviceRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + PciDeviceRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this PciDeviceRef. + + :return: The moid of this PciDeviceRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this PciDeviceRef. + + :param moid: The moid of this PciDeviceRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this PciDeviceRef. + + :return: The object_type of this PciDeviceRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this PciDeviceRef. + + :param object_type: The object_type of this PciDeviceRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PciDeviceRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/policy_abstract_config_change_detail.py b/intersight/models/policy_abstract_config_change_detail.py index b55f04fd..f1edc69f 100644 --- a/intersight/models/policy_abstract_config_change_detail.py +++ b/intersight/models/policy_abstract_config_change_detail.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractConfigChangeDetail(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'changes': 'list[str]', 'config_change_context': 'PolicyConfigResultContext', 'disruptions': 'list[str]', @@ -57,6 +58,7 @@ class PolicyAbstractConfigChangeDetail(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'changes': 'Changes', 'config_change_context': 'ConfigChangeContext', 'disruptions': 'Disruptions', @@ -64,7 +66,7 @@ class PolicyAbstractConfigChangeDetail(object): 'mod_status': 'ModStatus' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, changes=None, config_change_context=None, disruptions=None, message=None, mod_status='None'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, changes=None, config_change_context=None, disruptions=None, message=None, mod_status='None'): """ PolicyAbstractConfigChangeDetail - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._changes = None self._config_change_context = None self._disruptions = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if changes is not None: self.changes = changes if config_change_context is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractConfigChangeDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractConfigChangeDetail. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractConfigChangeDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractConfigChangeDetail. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractConfigChangeDetail. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractConfigChangeDetail. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractConfigChangeDetail. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractConfigChangeDetail. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def changes(self): """ diff --git a/intersight/models/policy_abstract_config_change_detail_ref.py b/intersight/models/policy_abstract_config_change_detail_ref.py index 07fc8dc8..cc87ed96 100644 --- a/intersight/models/policy_abstract_config_change_detail_ref.py +++ b/intersight/models/policy_abstract_config_change_detail_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_profile.py b/intersight/models/policy_abstract_config_profile.py index c069271f..021c325a 100644 --- a/intersight/models/policy_abstract_config_profile.py +++ b/intersight/models/policy_abstract_config_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractConfigProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'src_template': 'PolicyAbstractProfileRef', @@ -58,6 +59,7 @@ class PolicyAbstractConfigProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'src_template': 'SrcTemplate', @@ -66,7 +68,7 @@ class PolicyAbstractConfigProfile(object): 'config_context': 'ConfigContext' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None): """ PolicyAbstractConfigProfile - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._src_template = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractConfigProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractConfigProfile. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractConfigProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractConfigProfile. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractConfigProfile. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractConfigProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractConfigProfile. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractConfigProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/policy_abstract_config_profile_ref.py b/intersight/models/policy_abstract_config_profile_ref.py index 2b16d3dd..715e651a 100644 --- a/intersight/models/policy_abstract_config_profile_ref.py +++ b/intersight/models/policy_abstract_config_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_result.py b/intersight/models/policy_abstract_config_result.py index 66571544..27c16887 100644 --- a/intersight/models/policy_abstract_config_result.py +++ b/intersight/models/policy_abstract_config_result.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractConfigResult(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'config_stage': 'str', 'config_state': 'str', 'validation_state': 'str' @@ -55,12 +56,13 @@ class PolicyAbstractConfigResult(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'config_stage': 'ConfigStage', 'config_state': 'ConfigState', 'validation_state': 'ValidationState' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, config_stage=None, config_state=None, validation_state=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, config_stage=None, config_state=None, validation_state=None): """ PolicyAbstractConfigResult - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._config_stage = None self._config_state = None self._validation_state = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if config_stage is not None: self.config_stage = config_stage if config_state is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractConfigResult. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractConfigResult. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractConfigResult. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractConfigResult. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractConfigResult. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractConfigResult. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def config_stage(self): """ diff --git a/intersight/models/policy_abstract_config_result_entry.py b/intersight/models/policy_abstract_config_result_entry.py index 86ca9272..f8928911 100644 --- a/intersight/models/policy_abstract_config_result_entry.py +++ b/intersight/models/policy_abstract_config_result_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractConfigResultEntry(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'completed_time': 'str', 'context': 'PolicyConfigResultContext', 'message': 'str', @@ -58,6 +59,7 @@ class PolicyAbstractConfigResultEntry(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'completed_time': 'CompletedTime', 'context': 'Context', 'message': 'Message', @@ -66,7 +68,7 @@ class PolicyAbstractConfigResultEntry(object): 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None): """ PolicyAbstractConfigResultEntry - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._completed_time = None self._context = None self._message = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if completed_time is not None: self.completed_time = completed_time if context is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractConfigResultEntry. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractConfigResultEntry. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractConfigResultEntry. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractConfigResultEntry. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractConfigResultEntry. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractConfigResultEntry. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def completed_time(self): """ diff --git a/intersight/models/policy_abstract_config_result_entry_ref.py b/intersight/models/policy_abstract_config_result_entry_ref.py index 21646338..a20aaa73 100644 --- a/intersight/models/policy_abstract_config_result_entry_ref.py +++ b/intersight/models/policy_abstract_config_result_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_config_result_ref.py b/intersight/models/policy_abstract_config_result_ref.py index 1e619968..e5435547 100644 --- a/intersight/models/policy_abstract_config_result_ref.py +++ b/intersight/models/policy_abstract_config_result_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_policy.py b/intersight/models/policy_abstract_policy.py index 5089d063..117f44e5 100644 --- a/intersight/models/policy_abstract_policy.py +++ b/intersight/models/policy_abstract_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str' } @@ -54,11 +55,12 @@ class PolicyAbstractPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None): """ PolicyAbstractPolicy - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractPolicy. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractPolicy. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractPolicy. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/policy_abstract_policy_ref.py b/intersight/models/policy_abstract_policy_ref.py index cea40536..13fe109b 100644 --- a/intersight/models/policy_abstract_policy_ref.py +++ b/intersight/models/policy_abstract_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_abstract_profile.py b/intersight/models/policy_abstract_profile.py index a2a038f3..5cc7388c 100644 --- a/intersight/models/policy_abstract_profile.py +++ b/intersight/models/policy_abstract_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PolicyAbstractProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'src_template': 'PolicyAbstractProfileRef', @@ -56,13 +57,14 @@ class PolicyAbstractProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'src_template': 'SrcTemplate', 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, src_template=None, type='instance'): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, src_template=None, type='instance'): """ PolicyAbstractProfile - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._src_template = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PolicyAbstractProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PolicyAbstractProfile. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PolicyAbstractProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PolicyAbstractProfile. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PolicyAbstractProfile. + The versioning info for this managed object + + :return: The version_context of this PolicyAbstractProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PolicyAbstractProfile. + The versioning info for this managed object + + :param version_context: The version_context of this PolicyAbstractProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/policy_abstract_profile_ref.py b/intersight/models/policy_abstract_profile_ref.py index 17735b31..a84fb016 100644 --- a/intersight/models/policy_abstract_profile_ref.py +++ b/intersight/models/policy_abstract_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_analyze_impact_task_ref.py b/intersight/models/policy_analyze_impact_task_ref.py index 176f64f7..fc53a62b 100644 --- a/intersight/models/policy_analyze_impact_task_ref.py +++ b/intersight/models/policy_analyze_impact_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_change.py b/intersight/models/policy_config_change.py index ce490746..b029724a 100644 --- a/intersight/models/policy_config_change.py +++ b/intersight/models/policy_config_change.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_change_detail_type_ref.py b/intersight/models/policy_config_change_detail_type_ref.py index 5afd0d32..71914b98 100644 --- a/intersight/models/policy_config_change_detail_type_ref.py +++ b/intersight/models/policy_config_change_detail_type_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_change_ref.py b/intersight/models/policy_config_change_ref.py index d59781eb..8d31c11b 100644 --- a/intersight/models/policy_config_change_ref.py +++ b/intersight/models/policy_config_change_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_context.py b/intersight/models/policy_config_context.py index c0a7a9bc..5f54cbbb 100644 --- a/intersight/models/policy_config_context.py +++ b/intersight/models/policy_config_context.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_context_ref.py b/intersight/models/policy_config_context_ref.py index 8106bfc6..9643f06a 100644 --- a/intersight/models/policy_config_context_ref.py +++ b/intersight/models/policy_config_context_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_result_context.py b/intersight/models/policy_config_result_context.py index dc6dac35..147aed08 100644 --- a/intersight/models/policy_config_result_context.py +++ b/intersight/models/policy_config_result_context.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_config_result_context_ref.py b/intersight/models/policy_config_result_context_ref.py index a731466a..6f430bd1 100644 --- a/intersight/models/policy_config_result_context_ref.py +++ b/intersight/models/policy_config_result_context_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/policy_take_snapshot_task_ref.py b/intersight/models/policy_take_snapshot_task_ref.py index e653b15b..149c0f51 100644 --- a/intersight/models/policy_take_snapshot_task_ref.py +++ b/intersight/models/policy_take_snapshot_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_group.py b/intersight/models/port_group.py index 4f0a716e..0ac35947 100644 --- a/intersight/models/port_group.py +++ b/intersight/models/port_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PortGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -61,6 +62,7 @@ class PortGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -72,7 +74,7 @@ class PortGroup(object): 'transport': 'Transport' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, equipment_switch_card=None, ethernet_ports=None, fc_ports=None, registered_device=None, sub_groups=None, transport=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, equipment_switch_card=None, ethernet_ports=None, fc_ports=None, registered_device=None, sub_groups=None, transport=None): """ PortGroup - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PortGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PortGroup. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PortGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PortGroup. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PortGroup. + The versioning info for this managed object + + :return: The version_context of this PortGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PortGroup. + The versioning info for this managed object + + :param version_context: The version_context of this PortGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/port_group_list.py b/intersight/models/port_group_list.py index 762efbd0..60df40be 100644 --- a/intersight/models/port_group_list.py +++ b/intersight/models/port_group_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_group_ref.py b/intersight/models/port_group_ref.py index 93e37fd3..6067c67d 100644 --- a/intersight/models/port_group_ref.py +++ b/intersight/models/port_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_physical.py b/intersight/models/port_physical.py index f7c53b0b..0755417b 100644 --- a/intersight/models/port_physical.py +++ b/intersight/models/port_physical.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PortPhysical(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -57,6 +58,7 @@ class PortPhysical(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -64,7 +66,7 @@ class PortPhysical(object): 'role': 'Role' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, oper_state=None, role=None): """ PortPhysical - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PortPhysical. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PortPhysical. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PortPhysical. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PortPhysical. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PortPhysical. + The versioning info for this managed object + + :return: The version_context of this PortPhysical. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PortPhysical. + The versioning info for this managed object + + :param version_context: The version_context of this PortPhysical. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/port_physical_ref.py b/intersight/models/port_physical_ref.py index 370506bb..93f2c13f 100644 --- a/intersight/models/port_physical_ref.py +++ b/intersight/models/port_physical_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_sub_group.py b/intersight/models/port_sub_group.py index d8540ada..663bd0d8 100644 --- a/intersight/models/port_sub_group.py +++ b/intersight/models/port_sub_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class PortSubGroup(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -59,6 +60,7 @@ class PortSubGroup(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -68,7 +70,7 @@ class PortSubGroup(object): 'transport': 'Transport' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, ethernet_ports=None, port_group=None, registered_device=None, transport=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, ethernet_ports=None, port_group=None, registered_device=None, transport=None): """ PortSubGroup - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this PortSubGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this PortSubGroup. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this PortSubGroup. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this PortSubGroup. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this PortSubGroup. + The versioning info for this managed object + + :return: The version_context of this PortSubGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this PortSubGroup. + The versioning info for this managed object + + :param version_context: The version_context of this PortSubGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/port_sub_group_list.py b/intersight/models/port_sub_group_list.py index 52a0b457..bde57e89 100644 --- a/intersight/models/port_sub_group_list.py +++ b/intersight/models/port_sub_group_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/port_sub_group_ref.py b/intersight/models/port_sub_group_ref.py index 141c15ab..7db14852 100644 --- a/intersight/models/port_sub_group_ref.py +++ b/intersight/models/port_sub_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/processor_unit.py b/intersight/models/processor_unit.py index 3f496606..1238dee5 100644 --- a/intersight/models/processor_unit.py +++ b/intersight/models/processor_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ProcessorUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -74,6 +75,7 @@ class ProcessorUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -98,7 +100,7 @@ class ProcessorUnit(object): 'thermal': 'Thermal' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, architecture=None, compute_board=None, num_cores=None, num_cores_enabled=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, presence=None, processor_id=None, registered_device=None, socket_designation=None, speed=None, stepping=None, thermal=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, architecture=None, compute_board=None, num_cores=None, num_cores_enabled=None, num_threads=None, oper_power_state=None, oper_state=None, operability=None, presence=None, processor_id=None, registered_device=None, socket_designation=None, speed=None, stepping=None, thermal=None): """ ProcessorUnit - a model defined in Swagger """ @@ -112,6 +114,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -153,6 +156,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -386,7 +391,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ProcessorUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ProcessorUnit. :rtype: list[MoTag] @@ -397,7 +402,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ProcessorUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ProcessorUnit. :type: list[MoTag] @@ -405,6 +410,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ProcessorUnit. + The versioning info for this managed object + + :return: The version_context of this ProcessorUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ProcessorUnit. + The versioning info for this managed object + + :param version_context: The version_context of this ProcessorUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/processor_unit_list.py b/intersight/models/processor_unit_list.py index 86e64408..a02dc266 100644 --- a/intersight/models/processor_unit_list.py +++ b/intersight/models/processor_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/processor_unit_ref.py b/intersight/models/processor_unit_ref.py index f94d30a0..27cdabea 100644 --- a/intersight/models/processor_unit_ref.py +++ b/intersight/models/processor_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_execution_status_task_ref.py b/intersight/models/qatask_execution_status_task_ref.py index 9ab2f57f..1a94681e 100644 --- a/intersight/models/qatask_execution_status_task_ref.py +++ b/intersight/models/qatask_execution_status_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_expobackoff_retry_ref.py b/intersight/models/qatask_expobackoff_retry_ref.py index 9b35f205..613f0518 100644 --- a/intersight/models/qatask_expobackoff_retry_ref.py +++ b/intersight/models/qatask_expobackoff_retry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_fail_async_task_ref.py b/intersight/models/qatask_fail_async_task_ref.py index 47d388c7..31065ee7 100644 --- a/intersight/models/qatask_fail_async_task_ref.py +++ b/intersight/models/qatask_fail_async_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_failed_no_retry_ref.py b/intersight/models/qatask_failed_no_retry_ref.py index 91a50a73..9a9531b9 100644 --- a/intersight/models/qatask_failed_no_retry_ref.py +++ b/intersight/models/qatask_failed_no_retry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_huu_firmware_upgrade_ref.py b/intersight/models/qatask_huu_firmware_upgrade_ref.py index 96231e45..3402e3b1 100644 --- a/intersight/models/qatask_huu_firmware_upgrade_ref.py +++ b/intersight/models/qatask_huu_firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_initiate_download_ref.py b/intersight/models/qatask_initiate_download_ref.py index 31a574e9..43344a40 100644 --- a/intersight/models/qatask_initiate_download_ref.py +++ b/intersight/models/qatask_initiate_download_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_retry30timeout60task_ref.py b/intersight/models/qatask_retry30timeout60task_ref.py index 653aa146..1497dfe3 100644 --- a/intersight/models/qatask_retry30timeout60task_ref.py +++ b/intersight/models/qatask_retry30timeout60task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_retry_fixed_ref.py b/intersight/models/qatask_retry_fixed_ref.py index ff012dce..9d56bd8b 100644 --- a/intersight/models/qatask_retry_fixed_ref.py +++ b/intersight/models/qatask_retry_fixed_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_success_async_task_ref.py b/intersight/models/qatask_success_async_task_ref.py index dc3ebf1d..3ec03ca1 100644 --- a/intersight/models/qatask_success_async_task_ref.py +++ b/intersight/models/qatask_success_async_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_taskin_scheuled_ref.py b/intersight/models/qatask_taskin_scheuled_ref.py index a864f651..665f1606 100644 --- a/intersight/models/qatask_taskin_scheuled_ref.py +++ b/intersight/models/qatask_taskin_scheuled_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_timeoutwf_exponential_ref.py b/intersight/models/qatask_timeoutwf_exponential_ref.py index ea291984..14203fa8 100644 --- a/intersight/models/qatask_timeoutwf_exponential_ref.py +++ b/intersight/models/qatask_timeoutwf_exponential_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_timeoutwf_fixed_ref.py b/intersight/models/qatask_timeoutwf_fixed_ref.py index e94e955d..fc7a0848 100644 --- a/intersight/models/qatask_timeoutwf_fixed_ref.py +++ b/intersight/models/qatask_timeoutwf_fixed_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task1_ref.py b/intersight/models/qatask_ucs_task1_ref.py index ae4686d7..db0a5d16 100644 --- a/intersight/models/qatask_ucs_task1_ref.py +++ b/intersight/models/qatask_ucs_task1_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task2_ref.py b/intersight/models/qatask_ucs_task2_ref.py index fa832346..a5c031a4 100644 --- a/intersight/models/qatask_ucs_task2_ref.py +++ b/intersight/models/qatask_ucs_task2_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task3_ref.py b/intersight/models/qatask_ucs_task3_ref.py index 0e071fda..63976c3d 100644 --- a/intersight/models/qatask_ucs_task3_ref.py +++ b/intersight/models/qatask_ucs_task3_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task4_ref.py b/intersight/models/qatask_ucs_task4_ref.py index d93b65b3..ba2a4cbc 100644 --- a/intersight/models/qatask_ucs_task4_ref.py +++ b/intersight/models/qatask_ucs_task4_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task5_ref.py b/intersight/models/qatask_ucs_task5_ref.py index 7e673dce..e022bb9f 100644 --- a/intersight/models/qatask_ucs_task5_ref.py +++ b/intersight/models/qatask_ucs_task5_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task6_ref.py b/intersight/models/qatask_ucs_task6_ref.py index 5504eb1e..79a0e046 100644 --- a/intersight/models/qatask_ucs_task6_ref.py +++ b/intersight/models/qatask_ucs_task6_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task7_ref.py b/intersight/models/qatask_ucs_task7_ref.py index 8f5c2c9c..e6dc64ae 100644 --- a/intersight/models/qatask_ucs_task7_ref.py +++ b/intersight/models/qatask_ucs_task7_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task8_ref.py b/intersight/models/qatask_ucs_task8_ref.py index 995f33e3..52999227 100644 --- a/intersight/models/qatask_ucs_task8_ref.py +++ b/intersight/models/qatask_ucs_task8_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_ucs_task9_ref.py b/intersight/models/qatask_ucs_task9_ref.py index 5a770185..4b6f468f 100644 --- a/intersight/models/qatask_ucs_task9_ref.py +++ b/intersight/models/qatask_ucs_task9_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_wait_for_download_ref.py b/intersight/models/qatask_wait_for_download_ref.py index 84c9a7df..c570e842 100644 --- a/intersight/models/qatask_wait_for_download_ref.py +++ b/intersight/models/qatask_wait_for_download_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/qatask_wait_for_firmware_upgrade_ref.py b/intersight/models/qatask_wait_for_firmware_upgrade_ref.py index 3cf0789c..313d0df4 100644 --- a/intersight/models/qatask_wait_for_firmware_upgrade_ref.py +++ b/intersight/models/qatask_wait_for_firmware_upgrade_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/resource_group.py b/intersight/models/resource_group.py new file mode 100644 index 00000000..d3b544e9 --- /dev/null +++ b/intersight/models/resource_group.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ResourceGroup(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'name': 'str', + 'organization': 'IamAccountRef', + 'resources': 'list[MoBaseMoRef]', + 'selectors': 'list[str]' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'name': 'Name', + 'organization': 'Organization', + 'resources': 'Resources', + 'selectors': 'Selectors' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, name=None, organization=None, resources=None, selectors=None): + """ + ResourceGroup - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._name = None + self._organization = None + self._resources = None + self._selectors = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if name is not None: + self.name = name + if organization is not None: + self.organization = organization + if resources is not None: + self.resources = resources + if selectors is not None: + self.selectors = selectors + + @property + def account_moid(self): + """ + Gets the account_moid of this ResourceGroup. + The Account ID for this managed object. + + :return: The account_moid of this ResourceGroup. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this ResourceGroup. + The Account ID for this managed object. + + :param account_moid: The account_moid of this ResourceGroup. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this ResourceGroup. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this ResourceGroup. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this ResourceGroup. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this ResourceGroup. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this ResourceGroup. + The time when this managed object was created. + + :return: The create_time of this ResourceGroup. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this ResourceGroup. + The time when this managed object was created. + + :param create_time: The create_time of this ResourceGroup. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this ResourceGroup. + The time when this managed object was last modified. + + :return: The mod_time of this ResourceGroup. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this ResourceGroup. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this ResourceGroup. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this ResourceGroup. + A unique identifier of this Managed Object instance. + + :return: The moid of this ResourceGroup. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ResourceGroup. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this ResourceGroup. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ResourceGroup. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this ResourceGroup. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ResourceGroup. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this ResourceGroup. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this ResourceGroup. + An array of owners which represent effective ownership of this object. + + :return: The owners of this ResourceGroup. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this ResourceGroup. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this ResourceGroup. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this ResourceGroup. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this ResourceGroup. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this ResourceGroup. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this ResourceGroup. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this ResourceGroup. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this ResourceGroup. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this ResourceGroup. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this ResourceGroup. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this ResourceGroup. + The versioning info for this managed object + + :return: The version_context of this ResourceGroup. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ResourceGroup. + The versioning info for this managed object + + :param version_context: The version_context of this ResourceGroup. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def name(self): + """ + Gets the name of this ResourceGroup. + The name of this resource group + + :return: The name of this ResourceGroup. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this ResourceGroup. + The name of this resource group + + :param name: The name of this ResourceGroup. + :type: str + """ + + self._name = name + + @property + def organization(self): + """ + Gets the organization of this ResourceGroup. + Organization + + :return: The organization of this ResourceGroup. + :rtype: IamAccountRef + """ + return self._organization + + @organization.setter + def organization(self, organization): + """ + Sets the organization of this ResourceGroup. + Organization + + :param organization: The organization of this ResourceGroup. + :type: IamAccountRef + """ + + self._organization = organization + + @property + def resources(self): + """ + Gets the resources of this ResourceGroup. + The list of all resources contained in this resource group. + + :return: The resources of this ResourceGroup. + :rtype: list[MoBaseMoRef] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """ + Sets the resources of this ResourceGroup. + The list of all resources contained in this resource group. + + :param resources: The resources of this ResourceGroup. + :type: list[MoBaseMoRef] + """ + + self._resources = resources + + @property + def selectors(self): + """ + Gets the selectors of this ResourceGroup. + A list of ODATA filters to select resources. The group selectors may be include URLs of individual resources, or OData query with filters that match multiple queries. The URLs must be relative (i.e. do not include the host) and start with \"/api/v1/\" + + :return: The selectors of this ResourceGroup. + :rtype: list[str] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """ + Sets the selectors of this ResourceGroup. + A list of ODATA filters to select resources. The group selectors may be include URLs of individual resources, or OData query with filters that match multiple queries. The URLs must be relative (i.e. do not include the host) and start with \"/api/v1/\" + + :param selectors: The selectors of this ResourceGroup. + :type: list[str] + """ + + self._selectors = selectors + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ResourceGroup): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/resource_group_list.py b/intersight/models/resource_group_list.py new file mode 100644 index 00000000..0ddb729e --- /dev/null +++ b/intersight/models/resource_group_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ResourceGroupList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[ResourceGroup]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + ResourceGroupList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this ResourceGroupList. + The number of resourceGroups matching your request in total for all pages. + + :return: The count of this ResourceGroupList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this ResourceGroupList. + The number of resourceGroups matching your request in total for all pages. + + :param count: The count of this ResourceGroupList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this ResourceGroupList. + The array of resourceGroups matching your request. + + :return: The results of this ResourceGroupList. + :rtype: list[ResourceGroup] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this ResourceGroupList. + The array of resourceGroups matching your request. + + :param results: The results of this ResourceGroupList. + :type: list[ResourceGroup] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ResourceGroupList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/resource_group_ref.py b/intersight/models/resource_group_ref.py new file mode 100644 index 00000000..7e78e355 --- /dev/null +++ b/intersight/models/resource_group_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ResourceGroupRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + ResourceGroupRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this ResourceGroupRef. + + :return: The moid of this ResourceGroupRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this ResourceGroupRef. + + :param moid: The moid of this ResourceGroupRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this ResourceGroupRef. + + :return: The object_type of this ResourceGroupRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this ResourceGroupRef. + + :param object_type: The object_type of this ResourceGroupRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ResourceGroupRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/sdcard_deploy_task_ref.py b/intersight/models/sdcard_deploy_task_ref.py index d5a830d3..99fde6f4 100644 --- a/intersight/models/sdcard_deploy_task_ref.py +++ b/intersight/models/sdcard_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_diagnostics_ref.py b/intersight/models/sdcard_diagnostics_ref.py index 87c934a1..7ad7955e 100644 --- a/intersight/models/sdcard_diagnostics_ref.py +++ b/intersight/models/sdcard_diagnostics_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_drivers_ref.py b/intersight/models/sdcard_drivers_ref.py index 49a8ac46..3bca5e12 100644 --- a/intersight/models/sdcard_drivers_ref.py +++ b/intersight/models/sdcard_drivers_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_host_upgrade_utility_ref.py b/intersight/models/sdcard_host_upgrade_utility_ref.py index 9ce78fd2..a584dc5b 100644 --- a/intersight/models/sdcard_host_upgrade_utility_ref.py +++ b/intersight/models/sdcard_host_upgrade_utility_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_operating_system_ref.py b/intersight/models/sdcard_operating_system_ref.py index 97a6289a..420927ce 100644 --- a/intersight/models/sdcard_operating_system_ref.py +++ b/intersight/models/sdcard_operating_system_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_partition.py b/intersight/models/sdcard_partition.py index 296fa772..99d966f9 100644 --- a/intersight/models/sdcard_partition.py +++ b/intersight/models/sdcard_partition.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_partition_ref.py b/intersight/models/sdcard_partition_ref.py index 1d1c3d7f..e0153fd9 100644 --- a/intersight/models/sdcard_partition_ref.py +++ b/intersight/models/sdcard_partition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_policy.py b/intersight/models/sdcard_policy.py index ba1181b8..05513e5e 100644 --- a/intersight/models/sdcard_policy.py +++ b/intersight/models/sdcard_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SdcardPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'organization': 'IamAccountRef', @@ -57,6 +58,7 @@ class SdcardPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'organization': 'Organization', @@ -64,7 +66,7 @@ class SdcardPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, organization=None, partitions=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, organization=None, partitions=None, profiles=None): """ SdcardPolicy - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._organization = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SdcardPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SdcardPolicy. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SdcardPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SdcardPolicy. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SdcardPolicy. + The versioning info for this managed object + + :return: The version_context of this SdcardPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SdcardPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SdcardPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/sdcard_policy_list.py b/intersight/models/sdcard_policy_list.py index db0d72ed..37aa18a1 100644 --- a/intersight/models/sdcard_policy_list.py +++ b/intersight/models/sdcard_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_policy_ref.py b/intersight/models/sdcard_policy_ref.py index b34baf21..1f61902f 100644 --- a/intersight/models/sdcard_policy_ref.py +++ b/intersight/models/sdcard_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_server_configuration_utility_ref.py b/intersight/models/sdcard_server_configuration_utility_ref.py index ace36a28..df8479e6 100644 --- a/intersight/models/sdcard_server_configuration_utility_ref.py +++ b/intersight/models/sdcard_server_configuration_utility_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_user_partition_ref.py b/intersight/models/sdcard_user_partition_ref.py index 38315ddf..2145163b 100644 --- a/intersight/models/sdcard_user_partition_ref.py +++ b/intersight/models/sdcard_user_partition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_validation_task_ref.py b/intersight/models/sdcard_validation_task_ref.py index 1256da86..fa5c0cad 100644 --- a/intersight/models/sdcard_validation_task_ref.py +++ b/intersight/models/sdcard_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_virtual_drive.py b/intersight/models/sdcard_virtual_drive.py index 6433e895..66bfd816 100644 --- a/intersight/models/sdcard_virtual_drive.py +++ b/intersight/models/sdcard_virtual_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sdcard_virtual_drive_ref.py b/intersight/models/sdcard_virtual_drive_ref.py index 9aaf6f37..3face9c3 100644 --- a/intersight/models/sdcard_virtual_drive_ref.py +++ b/intersight/models/sdcard_virtual_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_search_item.py b/intersight/models/search_search_item.py index ad8d78de..4816e65f 100644 --- a/intersight/models/search_search_item.py +++ b/intersight/models/search_search_item.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,7 +39,8 @@ class SearchSearchItem(object): 'object_type': 'str', 'owners': 'list[str]', 'parent': 'MoBaseMoRef', - 'tags': 'list[MoTag]' + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext' } attribute_map = { @@ -51,10 +52,11 @@ class SearchSearchItem(object): 'object_type': 'ObjectType', 'owners': 'Owners', 'parent': 'Parent', - 'tags': 'Tags' + 'tags': 'Tags', + 'version_context': 'VersionContext' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None): """ SearchSearchItem - a model defined in Swagger """ @@ -68,6 +70,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None if account_moid is not None: self.account_moid = account_moid @@ -87,6 +90,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context @property def account_moid(self): @@ -276,7 +281,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SearchSearchItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SearchSearchItem. :rtype: list[MoTag] @@ -287,7 +292,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SearchSearchItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SearchSearchItem. :type: list[MoTag] @@ -295,6 +300,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SearchSearchItem. + The versioning info for this managed object + + :return: The version_context of this SearchSearchItem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SearchSearchItem. + The versioning info for this managed object + + :param version_context: The version_context of this SearchSearchItem. + :type: MoVersionContext + """ + + self._version_context = version_context + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/search_search_item_list.py b/intersight/models/search_search_item_list.py index b5c0c60c..c055337a 100644 --- a/intersight/models/search_search_item_list.py +++ b/intersight/models/search_search_item_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_search_item_ref.py b/intersight/models/search_search_item_ref.py index b0d1dcc4..49bb1e8e 100644 --- a/intersight/models/search_search_item_ref.py +++ b/intersight/models/search_search_item_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_suggest_item.py b/intersight/models/search_suggest_item.py index ec4cc8d7..bc638f42 100644 --- a/intersight/models/search_suggest_item.py +++ b/intersight/models/search_suggest_item.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SearchSuggestItem(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'complete_mo': 'bool', 'rawquery': 'str', 'skip': 'int', @@ -58,6 +59,7 @@ class SearchSuggestItem(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'complete_mo': 'CompleteMo', 'rawquery': 'Rawquery', 'skip': 'Skip', @@ -66,7 +68,7 @@ class SearchSuggestItem(object): 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, complete_mo=None, rawquery=None, skip=None, suggest_term=None, top=None, type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, complete_mo=None, rawquery=None, skip=None, suggest_term=None, top=None, type=None): """ SearchSuggestItem - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._complete_mo = None self._rawquery = None self._skip = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if complete_mo is not None: self.complete_mo = complete_mo if rawquery is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SearchSuggestItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SearchSuggestItem. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SearchSuggestItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SearchSuggestItem. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SearchSuggestItem. + The versioning info for this managed object + + :return: The version_context of this SearchSuggestItem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SearchSuggestItem. + The versioning info for this managed object + + :param version_context: The version_context of this SearchSuggestItem. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def complete_mo(self): """ diff --git a/intersight/models/search_suggest_item_ref.py b/intersight/models/search_suggest_item_ref.py index 9ae04337..4f23d5cb 100644 --- a/intersight/models/search_suggest_item_ref.py +++ b/intersight/models/search_suggest_item_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_tag_item.py b/intersight/models/search_tag_item.py index 9d59b564..f0152667 100644 --- a/intersight/models/search_tag_item.py +++ b/intersight/models/search_tag_item.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,7 +39,8 @@ class SearchTagItem(object): 'object_type': 'str', 'owners': 'list[str]', 'parent': 'MoBaseMoRef', - 'tags': 'list[MoTag]' + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext' } attribute_map = { @@ -51,10 +52,11 @@ class SearchTagItem(object): 'object_type': 'ObjectType', 'owners': 'Owners', 'parent': 'Parent', - 'tags': 'Tags' + 'tags': 'Tags', + 'version_context': 'VersionContext' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None): """ SearchTagItem - a model defined in Swagger """ @@ -68,6 +70,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None if account_moid is not None: self.account_moid = account_moid @@ -87,6 +90,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context @property def account_moid(self): @@ -276,7 +281,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SearchTagItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SearchTagItem. :rtype: list[MoTag] @@ -287,7 +292,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SearchTagItem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SearchTagItem. :type: list[MoTag] @@ -295,6 +300,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SearchTagItem. + The versioning info for this managed object + + :return: The version_context of this SearchTagItem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SearchTagItem. + The versioning info for this managed object + + :param version_context: The version_context of this SearchTagItem. + :type: MoVersionContext + """ + + self._version_context = version_context + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/search_tag_item_list.py b/intersight/models/search_tag_item_list.py index d277eea8..8ac16b63 100644 --- a/intersight/models/search_tag_item_list.py +++ b/intersight/models/search_tag_item_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/search_tag_item_ref.py b/intersight/models/search_tag_item_ref.py index 7062f8d4..395598e0 100644 --- a/intersight/models/search_tag_item_ref.py +++ b/intersight/models/search_tag_item_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/security_unit.py b/intersight/models/security_unit.py index 51d448ce..d7db87f8 100644 --- a/intersight/models/security_unit.py +++ b/intersight/models/security_unit.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SecurityUnit(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -71,6 +72,7 @@ class SecurityUnit(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -92,7 +94,7 @@ class SecurityUnit(object): 'voltage': 'Voltage' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, oper_state=None, operability=None, part_number=None, pci_slot=None, power=None, presence=None, registered_device=None, thermal=None, unit_id=None, vid=None, voltage=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, oper_state=None, operability=None, part_number=None, pci_slot=None, power=None, presence=None, registered_device=None, thermal=None, unit_id=None, vid=None, voltage=None): """ SecurityUnit - a model defined in Swagger """ @@ -106,6 +108,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -144,6 +147,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -371,7 +376,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SecurityUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SecurityUnit. :rtype: list[MoTag] @@ -382,7 +387,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SecurityUnit. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SecurityUnit. :type: list[MoTag] @@ -390,6 +395,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SecurityUnit. + The versioning info for this managed object + + :return: The version_context of this SecurityUnit. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SecurityUnit. + The versioning info for this managed object + + :param version_context: The version_context of this SecurityUnit. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/security_unit_list.py b/intersight/models/security_unit_list.py index de3906dd..641741cd 100644 --- a/intersight/models/security_unit_list.py +++ b/intersight/models/security_unit_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/security_unit_ref.py b/intersight/models/security_unit_ref.py index ad952cf8..3af12987 100644 --- a/intersight/models/security_unit_ref.py +++ b/intersight/models/security_unit_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_change_detail.py b/intersight/models/server_config_change_detail.py index 0dd1219f..2d1df73f 100644 --- a/intersight/models/server_config_change_detail.py +++ b/intersight/models/server_config_change_detail.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ServerConfigChangeDetail(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'changes': 'list[str]', 'config_change_context': 'PolicyConfigResultContext', 'disruptions': 'list[str]', @@ -58,6 +59,7 @@ class ServerConfigChangeDetail(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'changes': 'Changes', 'config_change_context': 'ConfigChangeContext', 'disruptions': 'Disruptions', @@ -66,7 +68,7 @@ class ServerConfigChangeDetail(object): 'profile': 'Profile' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, changes=None, config_change_context=None, disruptions=None, message=None, mod_status='None', profile=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, changes=None, config_change_context=None, disruptions=None, message=None, mod_status='None', profile=None): """ ServerConfigChangeDetail - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._changes = None self._config_change_context = None self._disruptions = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if changes is not None: self.changes = changes if config_change_context is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ServerConfigChangeDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ServerConfigChangeDetail. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ServerConfigChangeDetail. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ServerConfigChangeDetail. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ServerConfigChangeDetail. + The versioning info for this managed object + + :return: The version_context of this ServerConfigChangeDetail. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ServerConfigChangeDetail. + The versioning info for this managed object + + :param version_context: The version_context of this ServerConfigChangeDetail. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def changes(self): """ diff --git a/intersight/models/server_config_change_detail_list.py b/intersight/models/server_config_change_detail_list.py index cbef5c2d..d07af0e8 100644 --- a/intersight/models/server_config_change_detail_list.py +++ b/intersight/models/server_config_change_detail_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_change_detail_ref.py b/intersight/models/server_config_change_detail_ref.py index 14d9c450..3d56c3af 100644 --- a/intersight/models/server_config_change_detail_ref.py +++ b/intersight/models/server_config_change_detail_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result.py b/intersight/models/server_config_result.py index 0a957def..d56db46d 100644 --- a/intersight/models/server_config_result.py +++ b/intersight/models/server_config_result.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ServerConfigResult(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'config_stage': 'str', 'config_state': 'str', 'validation_state': 'str', @@ -57,6 +58,7 @@ class ServerConfigResult(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'config_stage': 'ConfigStage', 'config_state': 'ConfigState', 'validation_state': 'ValidationState', @@ -64,7 +66,7 @@ class ServerConfigResult(object): 'result_entries': 'ResultEntries' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, config_stage=None, config_state=None, validation_state=None, profile=None, result_entries=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, config_stage=None, config_state=None, validation_state=None, profile=None, result_entries=None): """ ServerConfigResult - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._config_stage = None self._config_state = None self._validation_state = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if config_stage is not None: self.config_stage = config_stage if config_state is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ServerConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ServerConfigResult. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ServerConfigResult. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ServerConfigResult. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ServerConfigResult. + The versioning info for this managed object + + :return: The version_context of this ServerConfigResult. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ServerConfigResult. + The versioning info for this managed object + + :param version_context: The version_context of this ServerConfigResult. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def config_stage(self): """ diff --git a/intersight/models/server_config_result_entry.py b/intersight/models/server_config_result_entry.py index 894a7ca8..a67c06c2 100644 --- a/intersight/models/server_config_result_entry.py +++ b/intersight/models/server_config_result_entry.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ServerConfigResultEntry(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'completed_time': 'str', 'context': 'PolicyConfigResultContext', 'message': 'str', @@ -59,6 +60,7 @@ class ServerConfigResultEntry(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'completed_time': 'CompletedTime', 'context': 'Context', 'message': 'Message', @@ -68,7 +70,7 @@ class ServerConfigResultEntry(object): 'config_result': 'ConfigResult' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None, config_result=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, completed_time=None, context=None, message=None, owner_id=None, state=None, type=None, config_result=None): """ ServerConfigResultEntry - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._completed_time = None self._context = None self._message = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if completed_time is not None: self.completed_time = completed_time if context is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ServerConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ServerConfigResultEntry. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ServerConfigResultEntry. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ServerConfigResultEntry. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ServerConfigResultEntry. + The versioning info for this managed object + + :return: The version_context of this ServerConfigResultEntry. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ServerConfigResultEntry. + The versioning info for this managed object + + :param version_context: The version_context of this ServerConfigResultEntry. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def completed_time(self): """ diff --git a/intersight/models/server_config_result_entry_list.py b/intersight/models/server_config_result_entry_list.py index 6cb30125..207248d3 100644 --- a/intersight/models/server_config_result_entry_list.py +++ b/intersight/models/server_config_result_entry_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result_entry_ref.py b/intersight/models/server_config_result_entry_ref.py index 28dffb76..33c86cc9 100644 --- a/intersight/models/server_config_result_entry_ref.py +++ b/intersight/models/server_config_result_entry_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result_list.py b/intersight/models/server_config_result_list.py index 731c6864..bea12ead 100644 --- a/intersight/models/server_config_result_list.py +++ b/intersight/models/server_config_result_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_config_result_ref.py b/intersight/models/server_config_result_ref.py index ff21d971..defecbf5 100644 --- a/intersight/models/server_config_result_ref.py +++ b/intersight/models/server_config_result_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_profile.py b/intersight/models/server_profile.py index 13e5dd33..158162c7 100644 --- a/intersight/models/server_profile.py +++ b/intersight/models/server_profile.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class ServerProfile(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'src_template': 'PolicyAbstractProfileRef', @@ -51,7 +52,8 @@ class ServerProfile(object): 'config_change_details': 'list[ServerConfigChangeDetailRef]', 'config_changes': 'PolicyConfigChange', 'config_result': 'ServerConfigResultRef', - 'organization': 'IamAccountRef' + 'organization': 'IamAccountRef', + 'running_workflows': 'list[WorkflowWorkflowInfoRef]' } attribute_map = { @@ -64,6 +66,7 @@ class ServerProfile(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'src_template': 'SrcTemplate', @@ -75,10 +78,11 @@ class ServerProfile(object): 'config_change_details': 'ConfigChangeDetails', 'config_changes': 'ConfigChanges', 'config_result': 'ConfigResult', - 'organization': 'Organization' + 'organization': 'Organization', + 'running_workflows': 'RunningWorkflows' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None, assigned_server=None, associated_server=None, config_change_details=None, config_changes=None, config_result=None, organization=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, src_template=None, type='instance', action=None, config_context=None, assigned_server=None, associated_server=None, config_change_details=None, config_changes=None, config_result=None, organization=None, running_workflows=None): """ ServerProfile - a model defined in Swagger """ @@ -92,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._src_template = None @@ -104,6 +109,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._config_changes = None self._config_result = None self._organization = None + self._running_workflows = None if account_moid is not None: self.account_moid = account_moid @@ -123,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -147,6 +155,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.config_result = config_result if organization is not None: self.organization = organization + if running_workflows is not None: + self.running_workflows = running_workflows @property def account_moid(self): @@ -336,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ServerProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ServerProfile. :rtype: list[MoTag] @@ -347,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ServerProfile. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ServerProfile. :type: list[MoTag] @@ -355,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ServerProfile. + The versioning info for this managed object + + :return: The version_context of this ServerProfile. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ServerProfile. + The versioning info for this managed object + + :param version_context: The version_context of this ServerProfile. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ @@ -633,6 +666,29 @@ def organization(self, organization): self._organization = organization + @property + def running_workflows(self): + """ + Gets the running_workflows of this ServerProfile. + The WorkflowInfo's on fusion that are running for this server Profile. + + :return: The running_workflows of this ServerProfile. + :rtype: list[WorkflowWorkflowInfoRef] + """ + return self._running_workflows + + @running_workflows.setter + def running_workflows(self, running_workflows): + """ + Sets the running_workflows of this ServerProfile. + The WorkflowInfo's on fusion that are running for this server Profile. + + :param running_workflows: The running_workflows of this ServerProfile. + :type: list[WorkflowWorkflowInfoRef] + """ + + self._running_workflows = running_workflows + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/server_profile_apply_task_ref.py b/intersight/models/server_profile_apply_task_ref.py index aac10a4c..06ce0790 100644 --- a/intersight/models/server_profile_apply_task_ref.py +++ b/intersight/models/server_profile_apply_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_profile_list.py b/intersight/models/server_profile_list.py index 09db8c13..751258d9 100644 --- a/intersight/models/server_profile_list.py +++ b/intersight/models/server_profile_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_profile_ref.py b/intersight/models/server_profile_ref.py index 91e52466..6856ebab 100644 --- a/intersight/models/server_profile_ref.py +++ b/intersight/models/server_profile_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/server_result_handler_task_ref.py b/intersight/models/server_result_handler_task_ref.py index 62564cd4..d201d02c 100644 --- a/intersight/models/server_result_handler_task_ref.py +++ b/intersight/models/server_result_handler_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/smtp_deploy_task_ref.py b/intersight/models/smtp_deploy_task_ref.py index 53242907..535dd992 100644 --- a/intersight/models/smtp_deploy_task_ref.py +++ b/intersight/models/smtp_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/smtp_policy.py b/intersight/models/smtp_policy.py index 70289ea7..93a4539a 100644 --- a/intersight/models/smtp_policy.py +++ b/intersight/models/smtp_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,12 +40,14 @@ class SmtpPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enabled': 'bool', 'min_severity': 'str', 'organization': 'IamAccountRef', 'profiles': 'list[PolicyAbstractConfigProfileRef]', + 'sender_email': 'str', 'smtp_port': 'int', 'smtp_recipients': 'list[str]', 'smtp_server': 'str' @@ -61,18 +63,20 @@ class SmtpPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enabled': 'Enabled', 'min_severity': 'MinSeverity', 'organization': 'Organization', 'profiles': 'Profiles', + 'sender_email': 'SenderEmail', 'smtp_port': 'SmtpPort', 'smtp_recipients': 'SmtpRecipients', 'smtp_server': 'SmtpServer' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enabled=None, min_severity='critical', organization=None, profiles=None, smtp_port=None, smtp_recipients=None, smtp_server=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enabled=None, min_severity='critical', organization=None, profiles=None, sender_email=None, smtp_port=None, smtp_recipients=None, smtp_server=None): """ SmtpPolicy - a model defined in Swagger """ @@ -86,12 +90,14 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enabled = None self._min_severity = None self._organization = None self._profiles = None + self._sender_email = None self._smtp_port = None self._smtp_recipients = None self._smtp_server = None @@ -114,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -126,6 +134,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.organization = organization if profiles is not None: self.profiles = profiles + if sender_email is not None: + self.sender_email = sender_email if smtp_port is not None: self.smtp_port = smtp_port if smtp_recipients is not None: @@ -321,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SmtpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SmtpPolicy. :rtype: list[MoTag] @@ -332,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SmtpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SmtpPolicy. :type: list[MoTag] @@ -340,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SmtpPolicy. + The versioning info for this managed object + + :return: The version_context of this SmtpPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SmtpPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SmtpPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ @@ -484,6 +517,29 @@ def profiles(self, profiles): self._profiles = profiles + @property + def sender_email(self): + """ + Gets the sender_email of this SmtpPolicy. + The email address entered here will be displayed as the from address(mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field. + + :return: The sender_email of this SmtpPolicy. + :rtype: str + """ + return self._sender_email + + @sender_email.setter + def sender_email(self, sender_email): + """ + Sets the sender_email of this SmtpPolicy. + The email address entered here will be displayed as the from address(mail received from address) of all the SMTP mail alerts that are received. If not configured, the hostname of the server is used in the from address field. + + :param sender_email: The sender_email of this SmtpPolicy. + :type: str + """ + + self._sender_email = sender_email + @property def smtp_port(self): """ diff --git a/intersight/models/smtp_policy_list.py b/intersight/models/smtp_policy_list.py index f823efd6..ba22f0c9 100644 --- a/intersight/models/smtp_policy_list.py +++ b/intersight/models/smtp_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/smtp_policy_ref.py b/intersight/models/smtp_policy_ref.py index b33231de..d817f8cb 100644 --- a/intersight/models/smtp_policy_ref.py +++ b/intersight/models/smtp_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/smtp_validation_task_ref.py b/intersight/models/smtp_validation_task_ref.py index 4132ac79..0ac7af96 100644 --- a/intersight/models/smtp_validation_task_ref.py +++ b/intersight/models/smtp_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_deploy_task_ref.py b/intersight/models/snmp_deploy_task_ref.py index e2a3617b..7f7f29f3 100644 --- a/intersight/models/snmp_deploy_task_ref.py +++ b/intersight/models/snmp_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_policy.py b/intersight/models/snmp_policy.py index 308640fd..ac86cc33 100644 --- a/intersight/models/snmp_policy.py +++ b/intersight/models/snmp_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SnmpPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'access_community_string': 'str', @@ -66,6 +67,7 @@ class SnmpPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'access_community_string': 'AccessCommunityString', @@ -82,7 +84,7 @@ class SnmpPolicy(object): 'trap_community': 'TrapCommunity' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, access_community_string=None, community_access='Disabled', enabled=None, engine_id=None, organization=None, profiles=None, snmp_port=None, snmp_traps=None, snmp_users=None, sys_contact=None, sys_location=None, trap_community=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, access_community_string=None, community_access='Disabled', enabled=None, engine_id=None, organization=None, profiles=None, snmp_port=None, snmp_traps=None, snmp_users=None, sys_contact=None, sys_location=None, trap_community=None): """ SnmpPolicy - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._access_community_string = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SnmpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SnmpPolicy. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SnmpPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SnmpPolicy. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SnmpPolicy. + The versioning info for this managed object + + :return: The version_context of this SnmpPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SnmpPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SnmpPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/snmp_policy_list.py b/intersight/models/snmp_policy_list.py index f7d7a4d2..9b0d799a 100644 --- a/intersight/models/snmp_policy_list.py +++ b/intersight/models/snmp_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_policy_ref.py b/intersight/models/snmp_policy_ref.py index 6367d167..9e40697a 100644 --- a/intersight/models/snmp_policy_ref.py +++ b/intersight/models/snmp_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_trap.py b/intersight/models/snmp_trap.py index 68b3c89a..4be6a613 100644 --- a/intersight/models/snmp_trap.py +++ b/intersight/models/snmp_trap.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_trap_ref.py b/intersight/models/snmp_trap_ref.py index 12453fb6..a2b8f34f 100644 --- a/intersight/models/snmp_trap_ref.py +++ b/intersight/models/snmp_trap_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_user.py b/intersight/models/snmp_user.py index 4fbb9faa..cec2cb71 100644 --- a/intersight/models/snmp_user.py +++ b/intersight/models/snmp_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_user_ref.py b/intersight/models/snmp_user_ref.py index 5519871a..25004631 100644 --- a/intersight/models/snmp_user_ref.py +++ b/intersight/models/snmp_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/snmp_validation_task_ref.py b/intersight/models/snmp_validation_task_ref.py index d7458c81..f21067b0 100644 --- a/intersight/models/snmp_validation_task_ref.py +++ b/intersight/models/snmp_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/softwarerepository_authorization.py b/intersight/models/softwarerepository_authorization.py new file mode 100644 index 00000000..55140948 --- /dev/null +++ b/intersight/models/softwarerepository_authorization.py @@ -0,0 +1,547 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SoftwarerepositoryAuthorization(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'account': 'IamAccountRef', + 'is_password_set': 'bool', + 'is_user_id_set': 'bool', + 'password': 'str', + 'repository_type': 'str', + 'user_id': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'account': 'Account', + 'is_password_set': 'IsPasswordSet', + 'is_user_id_set': 'IsUserIdSet', + 'password': 'Password', + 'repository_type': 'RepositoryType', + 'user_id': 'UserId' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, is_password_set=None, is_user_id_set=None, password=None, repository_type='cisco', user_id=None): + """ + SoftwarerepositoryAuthorization - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._account = None + self._is_password_set = None + self._is_user_id_set = None + self._password = None + self._repository_type = None + self._user_id = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if account is not None: + self.account = account + if is_password_set is not None: + self.is_password_set = is_password_set + if is_user_id_set is not None: + self.is_user_id_set = is_user_id_set + if password is not None: + self.password = password + if repository_type is not None: + self.repository_type = repository_type + if user_id is not None: + self.user_id = user_id + + @property + def account_moid(self): + """ + Gets the account_moid of this SoftwarerepositoryAuthorization. + The Account ID for this managed object. + + :return: The account_moid of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this SoftwarerepositoryAuthorization. + The Account ID for this managed object. + + :param account_moid: The account_moid of this SoftwarerepositoryAuthorization. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this SoftwarerepositoryAuthorization. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this SoftwarerepositoryAuthorization. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this SoftwarerepositoryAuthorization. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this SoftwarerepositoryAuthorization. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this SoftwarerepositoryAuthorization. + The time when this managed object was created. + + :return: The create_time of this SoftwarerepositoryAuthorization. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this SoftwarerepositoryAuthorization. + The time when this managed object was created. + + :param create_time: The create_time of this SoftwarerepositoryAuthorization. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this SoftwarerepositoryAuthorization. + The time when this managed object was last modified. + + :return: The mod_time of this SoftwarerepositoryAuthorization. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this SoftwarerepositoryAuthorization. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this SoftwarerepositoryAuthorization. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this SoftwarerepositoryAuthorization. + A unique identifier of this Managed Object instance. + + :return: The moid of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SoftwarerepositoryAuthorization. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this SoftwarerepositoryAuthorization. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SoftwarerepositoryAuthorization. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SoftwarerepositoryAuthorization. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this SoftwarerepositoryAuthorization. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this SoftwarerepositoryAuthorization. + An array of owners which represent effective ownership of this object. + + :return: The owners of this SoftwarerepositoryAuthorization. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this SoftwarerepositoryAuthorization. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this SoftwarerepositoryAuthorization. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this SoftwarerepositoryAuthorization. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this SoftwarerepositoryAuthorization. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this SoftwarerepositoryAuthorization. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this SoftwarerepositoryAuthorization. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this SoftwarerepositoryAuthorization. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this SoftwarerepositoryAuthorization. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this SoftwarerepositoryAuthorization. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this SoftwarerepositoryAuthorization. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this SoftwarerepositoryAuthorization. + The versioning info for this managed object + + :return: The version_context of this SoftwarerepositoryAuthorization. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SoftwarerepositoryAuthorization. + The versioning info for this managed object + + :param version_context: The version_context of this SoftwarerepositoryAuthorization. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def account(self): + """ + Gets the account of this SoftwarerepositoryAuthorization. + Account relation + + :return: The account of this SoftwarerepositoryAuthorization. + :rtype: IamAccountRef + """ + return self._account + + @account.setter + def account(self, account): + """ + Sets the account of this SoftwarerepositoryAuthorization. + Account relation + + :param account: The account of this SoftwarerepositoryAuthorization. + :type: IamAccountRef + """ + + self._account = account + + @property + def is_password_set(self): + """ + Gets the is_password_set of this SoftwarerepositoryAuthorization. + + :return: The is_password_set of this SoftwarerepositoryAuthorization. + :rtype: bool + """ + return self._is_password_set + + @is_password_set.setter + def is_password_set(self, is_password_set): + """ + Sets the is_password_set of this SoftwarerepositoryAuthorization. + + :param is_password_set: The is_password_set of this SoftwarerepositoryAuthorization. + :type: bool + """ + + self._is_password_set = is_password_set + + @property + def is_user_id_set(self): + """ + Gets the is_user_id_set of this SoftwarerepositoryAuthorization. + + :return: The is_user_id_set of this SoftwarerepositoryAuthorization. + :rtype: bool + """ + return self._is_user_id_set + + @is_user_id_set.setter + def is_user_id_set(self, is_user_id_set): + """ + Sets the is_user_id_set of this SoftwarerepositoryAuthorization. + + :param is_user_id_set: The is_user_id_set of this SoftwarerepositoryAuthorization. + :type: bool + """ + + self._is_user_id_set = is_user_id_set + + @property + def password(self): + """ + Gets the password of this SoftwarerepositoryAuthorization. + User password for the external site + + :return: The password of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """ + Sets the password of this SoftwarerepositoryAuthorization. + User password for the external site + + :param password: The password of this SoftwarerepositoryAuthorization. + :type: str + """ + + self._password = password + + @property + def repository_type(self): + """ + Gets the repository_type of this SoftwarerepositoryAuthorization. + Repositry the user credentials are for + + :return: The repository_type of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._repository_type + + @repository_type.setter + def repository_type(self, repository_type): + """ + Sets the repository_type of this SoftwarerepositoryAuthorization. + Repositry the user credentials are for + + :param repository_type: The repository_type of this SoftwarerepositoryAuthorization. + :type: str + """ + allowed_values = ["cisco"] + if repository_type not in allowed_values: + raise ValueError( + "Invalid value for `repository_type` ({0}), must be one of {1}" + .format(repository_type, allowed_values) + ) + + self._repository_type = repository_type + + @property + def user_id(self): + """ + Gets the user_id of this SoftwarerepositoryAuthorization. + User id for the external site + + :return: The user_id of this SoftwarerepositoryAuthorization. + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """ + Sets the user_id of this SoftwarerepositoryAuthorization. + User id for the external site + + :param user_id: The user_id of this SoftwarerepositoryAuthorization. + :type: str + """ + + self._user_id = user_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, SoftwarerepositoryAuthorization): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/softwarerepository_authorization_list.py b/intersight/models/softwarerepository_authorization_list.py new file mode 100644 index 00000000..f43b311b --- /dev/null +++ b/intersight/models/softwarerepository_authorization_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SoftwarerepositoryAuthorizationList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[SoftwarerepositoryAuthorization]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + SoftwarerepositoryAuthorizationList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this SoftwarerepositoryAuthorizationList. + The number of softwarerepositoryAuthorizations matching your request in total for all pages. + + :return: The count of this SoftwarerepositoryAuthorizationList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this SoftwarerepositoryAuthorizationList. + The number of softwarerepositoryAuthorizations matching your request in total for all pages. + + :param count: The count of this SoftwarerepositoryAuthorizationList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this SoftwarerepositoryAuthorizationList. + The array of softwarerepositoryAuthorizations matching your request. + + :return: The results of this SoftwarerepositoryAuthorizationList. + :rtype: list[SoftwarerepositoryAuthorization] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this SoftwarerepositoryAuthorizationList. + The array of softwarerepositoryAuthorizations matching your request. + + :param results: The results of this SoftwarerepositoryAuthorizationList. + :type: list[SoftwarerepositoryAuthorization] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, SoftwarerepositoryAuthorizationList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/softwarerepository_authorization_ref.py b/intersight/models/softwarerepository_authorization_ref.py new file mode 100644 index 00000000..343be5f3 --- /dev/null +++ b/intersight/models/softwarerepository_authorization_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class SoftwarerepositoryAuthorizationRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + SoftwarerepositoryAuthorizationRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this SoftwarerepositoryAuthorizationRef. + + :return: The moid of this SoftwarerepositoryAuthorizationRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this SoftwarerepositoryAuthorizationRef. + + :param moid: The moid of this SoftwarerepositoryAuthorizationRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this SoftwarerepositoryAuthorizationRef. + + :return: The object_type of this SoftwarerepositoryAuthorizationRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this SoftwarerepositoryAuthorizationRef. + + :param object_type: The object_type of this SoftwarerepositoryAuthorizationRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, SoftwarerepositoryAuthorizationRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/sol_deploy_task_ref.py b/intersight/models/sol_deploy_task_ref.py index 27066349..70d33079 100644 --- a/intersight/models/sol_deploy_task_ref.py +++ b/intersight/models/sol_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sol_policy.py b/intersight/models/sol_policy.py index 7fb901e1..c894524e 100644 --- a/intersight/models/sol_policy.py +++ b/intersight/models/sol_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SolPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'baud_rate': 'int', @@ -60,6 +61,7 @@ class SolPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'baud_rate': 'BaudRate', @@ -70,7 +72,7 @@ class SolPolicy(object): 'ssh_port': 'SshPort' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, baud_rate=None, com_port='com0', enabled=None, organization=None, profiles=None, ssh_port=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, baud_rate=None, com_port='com0', enabled=None, organization=None, profiles=None, ssh_port=None): """ SolPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._baud_rate = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SolPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SolPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SolPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SolPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SolPolicy. + The versioning info for this managed object + + :return: The version_context of this SolPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SolPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SolPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/sol_policy_list.py b/intersight/models/sol_policy_list.py index 3e57b872..5fc1eca0 100644 --- a/intersight/models/sol_policy_list.py +++ b/intersight/models/sol_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sol_policy_ref.py b/intersight/models/sol_policy_ref.py index 968e08d3..e5d8167c 100644 --- a/intersight/models/sol_policy_ref.py +++ b/intersight/models/sol_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/sol_validation_task_ref.py b/intersight/models/sol_validation_task_ref.py index b0d85123..10ba5b4b 100644 --- a/intersight/models/sol_validation_task_ref.py +++ b/intersight/models/sol_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ssh_deploy_task_ref.py b/intersight/models/ssh_deploy_task_ref.py index a495a07d..faceeb47 100644 --- a/intersight/models/ssh_deploy_task_ref.py +++ b/intersight/models/ssh_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ssh_policy.py b/intersight/models/ssh_policy.py index 96fcdf1d..83354507 100644 --- a/intersight/models/ssh_policy.py +++ b/intersight/models/ssh_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SshPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enabled': 'bool', @@ -59,6 +60,7 @@ class SshPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enabled': 'Enabled', @@ -68,7 +70,7 @@ class SshPolicy(object): 'timeout': 'Timeout' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enabled=None, organization=None, port=None, profiles=None, timeout=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enabled=None, organization=None, port=None, profiles=None, timeout=None): """ SshPolicy - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enabled = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SshPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SshPolicy. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SshPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SshPolicy. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SshPolicy. + The versioning info for this managed object + + :return: The version_context of this SshPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SshPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SshPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/ssh_policy_list.py b/intersight/models/ssh_policy_list.py index 6159bdf0..adb67997 100644 --- a/intersight/models/ssh_policy_list.py +++ b/intersight/models/ssh_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ssh_policy_ref.py b/intersight/models/ssh_policy_ref.py index 61f62372..8781d486 100644 --- a/intersight/models/ssh_policy_ref.py +++ b/intersight/models/ssh_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ssh_validation_task_ref.py b/intersight/models/ssh_validation_task_ref.py index 1e76ca35..8841c5e4 100644 --- a/intersight/models/ssh_validation_task_ref.py +++ b/intersight/models/ssh_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_analyze_impact_task_ref.py b/intersight/models/storage_analyze_impact_task_ref.py index da23c2f8..340beac0 100644 --- a/intersight/models/storage_analyze_impact_task_ref.py +++ b/intersight/models/storage_analyze_impact_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_controller.py b/intersight/models/storage_controller.py index ead8e24a..cf1d4072 100644 --- a/intersight/models/storage_controller.py +++ b/intersight/models/storage_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -66,6 +67,7 @@ class StorageController(object): 'running_firmware': 'list[FirmwareRunningFirmwareRef]', 'self_encrypt_enabled': 'str', 'type': 'str', + 'virtual_drive_extensions': 'list[StorageVirtualDriveExtensionRef]', 'virtual_drives': 'list[StorageVirtualDriveRef]' } @@ -79,6 +81,7 @@ class StorageController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -105,10 +108,11 @@ class StorageController(object): 'running_firmware': 'RunningFirmware', 'self_encrypt_enabled': 'SelfEncryptEnabled', 'type': 'Type', + 'virtual_drive_extensions': 'VirtualDriveExtensions', 'virtual_drives': 'VirtualDrives' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, controller_flags=None, controller_id=None, controller_status=None, hw_revision=None, oob_interface_supported=None, oper_state=None, operability=None, pci_addr=None, pci_slot=None, physical_disk_extensions=None, physical_disks=None, presence=None, raid_support=None, rebuild_rate=None, registered_device=None, running_firmware=None, self_encrypt_enabled=None, type=None, virtual_drives=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, controller_flags=None, controller_id=None, controller_status=None, hw_revision=None, oob_interface_supported=None, oper_state=None, operability=None, pci_addr=None, pci_slot=None, physical_disk_extensions=None, physical_disks=None, presence=None, raid_support=None, rebuild_rate=None, registered_device=None, running_firmware=None, self_encrypt_enabled=None, type=None, virtual_drive_extensions=None, virtual_drives=None): """ StorageController - a model defined in Swagger """ @@ -122,6 +126,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -148,6 +153,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._running_firmware = None self._self_encrypt_enabled = None self._type = None + self._virtual_drive_extensions = None self._virtual_drives = None if account_moid is not None: @@ -168,6 +174,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -220,6 +228,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.self_encrypt_enabled = self_encrypt_enabled if type is not None: self.type = type + if virtual_drive_extensions is not None: + self.virtual_drive_extensions = virtual_drive_extensions if virtual_drives is not None: self.virtual_drives = virtual_drives @@ -411,7 +421,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageController. :rtype: list[MoTag] @@ -422,7 +432,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageController. :type: list[MoTag] @@ -430,6 +440,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageController. + The versioning info for this managed object + + :return: The version_context of this StorageController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageController. + The versioning info for this managed object + + :param version_context: The version_context of this StorageController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -976,6 +1009,27 @@ def type(self, type): self._type = type + @property + def virtual_drive_extensions(self): + """ + Gets the virtual_drive_extensions of this StorageController. + + :return: The virtual_drive_extensions of this StorageController. + :rtype: list[StorageVirtualDriveExtensionRef] + """ + return self._virtual_drive_extensions + + @virtual_drive_extensions.setter + def virtual_drive_extensions(self, virtual_drive_extensions): + """ + Sets the virtual_drive_extensions of this StorageController. + + :param virtual_drive_extensions: The virtual_drive_extensions of this StorageController. + :type: list[StorageVirtualDriveExtensionRef] + """ + + self._virtual_drive_extensions = virtual_drive_extensions + @property def virtual_drives(self): """ diff --git a/intersight/models/storage_controller_list.py b/intersight/models/storage_controller_list.py index 0f379878..10e60fa3 100644 --- a/intersight/models/storage_controller_list.py +++ b/intersight/models/storage_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_controller_ref.py b/intersight/models/storage_controller_ref.py index 85aa54ac..e67bdcc6 100644 --- a/intersight/models/storage_controller_ref.py +++ b/intersight/models/storage_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_deploy_task_ref.py b/intersight/models/storage_deploy_task_ref.py index e1e3d4aa..39d27ffa 100644 --- a/intersight/models/storage_deploy_task_ref.py +++ b/intersight/models/storage_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_disk_group_policy.py b/intersight/models/storage_disk_group_policy.py index 13365c3d..f1c36da8 100644 --- a/intersight/models/storage_disk_group_policy.py +++ b/intersight/models/storage_disk_group_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageDiskGroupPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'dedicated_hot_spares': 'list[StorageLocalDisk]', @@ -60,6 +61,7 @@ class StorageDiskGroupPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'dedicated_hot_spares': 'DedicatedHotSpares', @@ -70,7 +72,7 @@ class StorageDiskGroupPolicy(object): 'use_jbods': 'UseJbods' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, dedicated_hot_spares=None, organization=None, raid_level='Raid0', span_groups=None, storage_policies=None, use_jbods=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, dedicated_hot_spares=None, organization=None, raid_level='Raid0', span_groups=None, storage_policies=None, use_jbods=None): """ StorageDiskGroupPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._dedicated_hot_spares = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageDiskGroupPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageDiskGroupPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageDiskGroupPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageDiskGroupPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageDiskGroupPolicy. + The versioning info for this managed object + + :return: The version_context of this StorageDiskGroupPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageDiskGroupPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this StorageDiskGroupPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/storage_disk_group_policy_list.py b/intersight/models/storage_disk_group_policy_list.py index ac1ea4a3..e9ee4a1e 100644 --- a/intersight/models/storage_disk_group_policy_list.py +++ b/intersight/models/storage_disk_group_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_disk_group_policy_ref.py b/intersight/models/storage_disk_group_policy_ref.py index 80910727..0baf6997 100644 --- a/intersight/models/storage_disk_group_policy_ref.py +++ b/intersight/models/storage_disk_group_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_enclosure.py b/intersight/models/storage_enclosure.py index 39db5b0a..5648e0d5 100644 --- a/intersight/models/storage_enclosure.py +++ b/intersight/models/storage_enclosure.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageEnclosure(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -71,6 +72,7 @@ class StorageEnclosure(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -92,7 +94,7 @@ class StorageEnclosure(object): 'type': 'Type' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, chassis_id=None, compute_blade=None, compute_rack_unit=None, description=None, enclosure_id=None, equipment_chassis=None, num_slots=None, physical_disks=None, presence=None, registered_device=None, server_id=None, type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, chassis_id=None, compute_blade=None, compute_rack_unit=None, description=None, enclosure_id=None, equipment_chassis=None, num_slots=None, physical_disks=None, presence=None, registered_device=None, server_id=None, type=None): """ StorageEnclosure - a model defined in Swagger """ @@ -106,6 +108,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -144,6 +147,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -371,7 +376,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageEnclosure. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageEnclosure. :rtype: list[MoTag] @@ -382,7 +387,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageEnclosure. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageEnclosure. :type: list[MoTag] @@ -390,6 +395,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageEnclosure. + The versioning info for this managed object + + :return: The version_context of this StorageEnclosure. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageEnclosure. + The versioning info for this managed object + + :param version_context: The version_context of this StorageEnclosure. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_enclosure_list.py b/intersight/models/storage_enclosure_list.py index c43d0084..ea2c00b3 100644 --- a/intersight/models/storage_enclosure_list.py +++ b/intersight/models/storage_enclosure_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_enclosure_ref.py b/intersight/models/storage_enclosure_ref.py index 3288f1cd..d317dce2 100644 --- a/intersight/models/storage_enclosure_ref.py +++ b/intersight/models/storage_enclosure_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller.py b/intersight/models/storage_flex_flash_controller.py index 653fdd0a..db177b75 100644 --- a/intersight/models/storage_flex_flash_controller.py +++ b/intersight/models/storage_flex_flash_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexFlashController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -66,6 +67,7 @@ class StorageFlexFlashController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -82,7 +84,7 @@ class StorageFlexFlashController(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, controller_state=None, ff_controller_id=None, flex_flash_controller_props=None, flex_flash_physical_drives=None, flex_flash_virtual_drives=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, compute_board=None, controller_state=None, ff_controller_id=None, flex_flash_controller_props=None, flex_flash_physical_drives=None, flex_flash_virtual_drives=None, registered_device=None): """ StorageFlexFlashController - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexFlashController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexFlashController. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexFlashController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexFlashController. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexFlashController. + The versioning info for this managed object + + :return: The version_context of this StorageFlexFlashController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexFlashController. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexFlashController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_flash_controller_list.py b/intersight/models/storage_flex_flash_controller_list.py index 9bd673f9..c181ee1e 100644 --- a/intersight/models/storage_flex_flash_controller_list.py +++ b/intersight/models/storage_flex_flash_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller_props.py b/intersight/models/storage_flex_flash_controller_props.py index 31d862d8..c3be236f 100644 --- a/intersight/models/storage_flex_flash_controller_props.py +++ b/intersight/models/storage_flex_flash_controller_props.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexFlashControllerProps(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -72,6 +73,7 @@ class StorageFlexFlashControllerProps(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -94,7 +96,7 @@ class StorageFlexFlashControllerProps(object): 'virtual_drive_count': 'VirtualDriveCount' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, cards_manageable=None, configured_mode=None, controller_name=None, controller_status=None, fw_version=None, internal_state=None, operating_mode=None, physical_drive_count=None, product_name=None, registered_device=None, startup_fw_version=None, storage_flex_flash_controller=None, virtual_drive_count=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, cards_manageable=None, configured_mode=None, controller_name=None, controller_status=None, fw_version=None, internal_state=None, operating_mode=None, physical_drive_count=None, product_name=None, registered_device=None, startup_fw_version=None, storage_flex_flash_controller=None, virtual_drive_count=None): """ StorageFlexFlashControllerProps - a model defined in Swagger """ @@ -108,6 +110,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -147,6 +150,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -376,7 +381,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexFlashControllerProps. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexFlashControllerProps. :rtype: list[MoTag] @@ -387,7 +392,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexFlashControllerProps. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexFlashControllerProps. :type: list[MoTag] @@ -395,6 +400,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexFlashControllerProps. + The versioning info for this managed object + + :return: The version_context of this StorageFlexFlashControllerProps. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexFlashControllerProps. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexFlashControllerProps. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_flash_controller_props_list.py b/intersight/models/storage_flex_flash_controller_props_list.py index 1dc431a9..f878ccdd 100644 --- a/intersight/models/storage_flex_flash_controller_props_list.py +++ b/intersight/models/storage_flex_flash_controller_props_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller_props_ref.py b/intersight/models/storage_flex_flash_controller_props_ref.py index 4a8ace9a..078fa9ba 100644 --- a/intersight/models/storage_flex_flash_controller_props_ref.py +++ b/intersight/models/storage_flex_flash_controller_props_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_controller_ref.py b/intersight/models/storage_flex_flash_controller_ref.py index d8bcafc7..1919fa4a 100644 --- a/intersight/models/storage_flex_flash_controller_ref.py +++ b/intersight/models/storage_flex_flash_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_physical_drive.py b/intersight/models/storage_flex_flash_physical_drive.py index 32b7c5fc..198d9bd7 100644 --- a/intersight/models/storage_flex_flash_physical_drive.py +++ b/intersight/models/storage_flex_flash_physical_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexFlashPhysicalDrive(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -65,6 +66,7 @@ class StorageFlexFlashPhysicalDrive(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -80,7 +82,7 @@ class StorageFlexFlashPhysicalDrive(object): 'storage_flex_flash_controller': 'StorageFlexFlashController' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, card_status=None, card_type=None, oem_id=None, pd_status=None, registered_device=None, storage_flex_flash_controller=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, card_status=None, card_type=None, oem_id=None, pd_status=None, registered_device=None, storage_flex_flash_controller=None): """ StorageFlexFlashPhysicalDrive - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexFlashPhysicalDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexFlashPhysicalDrive. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexFlashPhysicalDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexFlashPhysicalDrive. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexFlashPhysicalDrive. + The versioning info for this managed object + + :return: The version_context of this StorageFlexFlashPhysicalDrive. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexFlashPhysicalDrive. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexFlashPhysicalDrive. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_flash_physical_drive_list.py b/intersight/models/storage_flex_flash_physical_drive_list.py index dde5c1c9..2d664476 100644 --- a/intersight/models/storage_flex_flash_physical_drive_list.py +++ b/intersight/models/storage_flex_flash_physical_drive_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_physical_drive_ref.py b/intersight/models/storage_flex_flash_physical_drive_ref.py index dc0f8773..ae2df7c6 100644 --- a/intersight/models/storage_flex_flash_physical_drive_ref.py +++ b/intersight/models/storage_flex_flash_physical_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_virtual_drive.py b/intersight/models/storage_flex_flash_virtual_drive.py index b6a1a602..4012b066 100644 --- a/intersight/models/storage_flex_flash_virtual_drive.py +++ b/intersight/models/storage_flex_flash_virtual_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexFlashVirtualDrive(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -67,6 +68,7 @@ class StorageFlexFlashVirtualDrive(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -84,7 +86,7 @@ class StorageFlexFlashVirtualDrive(object): 'virtual_drive': 'VirtualDrive' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, drive_scope=None, drive_status=None, partition_id=None, registered_device=None, resident_image=None, size=None, storage_flex_flash_controller=None, virtual_drive=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, drive_scope=None, drive_status=None, partition_id=None, registered_device=None, resident_image=None, size=None, storage_flex_flash_controller=None, virtual_drive=None): """ StorageFlexFlashVirtualDrive - a model defined in Swagger """ @@ -98,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -351,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexFlashVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexFlashVirtualDrive. :rtype: list[MoTag] @@ -362,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexFlashVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexFlashVirtualDrive. :type: list[MoTag] @@ -370,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexFlashVirtualDrive. + The versioning info for this managed object + + :return: The version_context of this StorageFlexFlashVirtualDrive. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexFlashVirtualDrive. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexFlashVirtualDrive. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_flash_virtual_drive_list.py b/intersight/models/storage_flex_flash_virtual_drive_list.py index d68e45e9..1542d86c 100644 --- a/intersight/models/storage_flex_flash_virtual_drive_list.py +++ b/intersight/models/storage_flex_flash_virtual_drive_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_flash_virtual_drive_ref.py b/intersight/models/storage_flex_flash_virtual_drive_ref.py index fca5f09c..50c5bf22 100644 --- a/intersight/models/storage_flex_flash_virtual_drive_ref.py +++ b/intersight/models/storage_flex_flash_virtual_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_controller.py b/intersight/models/storage_flex_util_controller.py index 02a756ac..2cdd0e17 100644 --- a/intersight/models/storage_flex_util_controller.py +++ b/intersight/models/storage_flex_util_controller.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexUtilController(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -63,6 +64,7 @@ class StorageFlexUtilController(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -76,7 +78,7 @@ class StorageFlexUtilController(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, compute_board=None, controller_name=None, controller_status=None, ff_controller_id=None, flex_util_physical_drives=None, flex_util_virtual_drives=None, internal_state=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, compute_board=None, controller_name=None, controller_status=None, ff_controller_id=None, flex_util_physical_drives=None, flex_util_virtual_drives=None, internal_state=None, registered_device=None): """ StorageFlexUtilController - a model defined in Swagger """ @@ -90,6 +92,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -120,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -331,7 +336,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexUtilController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexUtilController. :rtype: list[MoTag] @@ -342,7 +347,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexUtilController. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexUtilController. :type: list[MoTag] @@ -350,6 +355,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexUtilController. + The versioning info for this managed object + + :return: The version_context of this StorageFlexUtilController. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexUtilController. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexUtilController. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_util_controller_list.py b/intersight/models/storage_flex_util_controller_list.py index 623a62c1..4b749c26 100644 --- a/intersight/models/storage_flex_util_controller_list.py +++ b/intersight/models/storage_flex_util_controller_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_controller_ref.py b/intersight/models/storage_flex_util_controller_ref.py index 72638e3a..50ff0ab7 100644 --- a/intersight/models/storage_flex_util_controller_ref.py +++ b/intersight/models/storage_flex_util_controller_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_physical_drive.py b/intersight/models/storage_flex_util_physical_drive.py index 47be34c2..5ba95db0 100644 --- a/intersight/models/storage_flex_util_physical_drive.py +++ b/intersight/models/storage_flex_util_physical_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexUtilPhysicalDrive(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -79,6 +80,7 @@ class StorageFlexUtilPhysicalDrive(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -108,7 +110,7 @@ class StorageFlexUtilPhysicalDrive(object): 'write_error_threshold': 'WriteErrorThreshold' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, block_size=None, capacity=None, controller=None, drives_enabled=None, health=None, manufacturer_date=None, manufacturer_id=None, oem_id=None, partition_count=None, pd_status=None, physical_drive=None, product_name=None, product_revision=None, read_error_count=None, read_error_threshold=None, registered_device=None, storage_flex_util_controller=None, write_enabled=None, write_error_count=None, write_error_threshold=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, block_size=None, capacity=None, controller=None, drives_enabled=None, health=None, manufacturer_date=None, manufacturer_id=None, oem_id=None, partition_count=None, pd_status=None, physical_drive=None, product_name=None, product_revision=None, read_error_count=None, read_error_threshold=None, registered_device=None, storage_flex_util_controller=None, write_enabled=None, write_error_count=None, write_error_threshold=None): """ StorageFlexUtilPhysicalDrive - a model defined in Swagger """ @@ -122,6 +124,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -168,6 +171,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -411,7 +416,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexUtilPhysicalDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexUtilPhysicalDrive. :rtype: list[MoTag] @@ -422,7 +427,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexUtilPhysicalDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexUtilPhysicalDrive. :type: list[MoTag] @@ -430,6 +435,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexUtilPhysicalDrive. + The versioning info for this managed object + + :return: The version_context of this StorageFlexUtilPhysicalDrive. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexUtilPhysicalDrive. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexUtilPhysicalDrive. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_util_physical_drive_list.py b/intersight/models/storage_flex_util_physical_drive_list.py index c8e67940..fd93d8c0 100644 --- a/intersight/models/storage_flex_util_physical_drive_list.py +++ b/intersight/models/storage_flex_util_physical_drive_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_physical_drive_ref.py b/intersight/models/storage_flex_util_physical_drive_ref.py index 308ce9f6..8c8ed23e 100644 --- a/intersight/models/storage_flex_util_physical_drive_ref.py +++ b/intersight/models/storage_flex_util_physical_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_virtual_drive.py b/intersight/models/storage_flex_util_virtual_drive.py index 4c5be4ff..dcddd044 100644 --- a/intersight/models/storage_flex_util_virtual_drive.py +++ b/intersight/models/storage_flex_util_virtual_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageFlexUtilVirtualDrive(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -64,6 +65,7 @@ class StorageFlexUtilVirtualDrive(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -78,7 +80,7 @@ class StorageFlexUtilVirtualDrive(object): 'virtual_drive': 'VirtualDrive' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, drive_status=None, drive_type=None, partition_id=None, partition_name=None, registered_device=None, resident_image=None, size=None, storage_flex_util_controller=None, virtual_drive=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, drive_status=None, drive_type=None, partition_id=None, partition_name=None, registered_device=None, resident_image=None, size=None, storage_flex_util_controller=None, virtual_drive=None): """ StorageFlexUtilVirtualDrive - a model defined in Swagger """ @@ -92,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -123,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -336,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageFlexUtilVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageFlexUtilVirtualDrive. :rtype: list[MoTag] @@ -347,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageFlexUtilVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageFlexUtilVirtualDrive. :type: list[MoTag] @@ -355,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageFlexUtilVirtualDrive. + The versioning info for this managed object + + :return: The version_context of this StorageFlexUtilVirtualDrive. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageFlexUtilVirtualDrive. + The versioning info for this managed object + + :param version_context: The version_context of this StorageFlexUtilVirtualDrive. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_flex_util_virtual_drive_list.py b/intersight/models/storage_flex_util_virtual_drive_list.py index acc2bc92..f1c3f0ed 100644 --- a/intersight/models/storage_flex_util_virtual_drive_list.py +++ b/intersight/models/storage_flex_util_virtual_drive_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_flex_util_virtual_drive_ref.py b/intersight/models/storage_flex_util_virtual_drive_ref.py index 3824a6b4..da28f7f6 100644 --- a/intersight/models/storage_flex_util_virtual_drive_ref.py +++ b/intersight/models/storage_flex_util_virtual_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_local_disk.py b/intersight/models/storage_local_disk.py index 4a03f92b..15732434 100644 --- a/intersight/models/storage_local_disk.py +++ b/intersight/models/storage_local_disk.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_local_disk_ref.py b/intersight/models/storage_local_disk_ref.py index 5e69a4af..d2aa1072 100644 --- a/intersight/models/storage_local_disk_ref.py +++ b/intersight/models/storage_local_disk_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk.py b/intersight/models/storage_physical_disk.py index f939fbdb..2b987284 100644 --- a/intersight/models/storage_physical_disk.py +++ b/intersight/models/storage_physical_disk.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StoragePhysicalDisk(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -89,6 +90,7 @@ class StoragePhysicalDisk(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -128,7 +130,7 @@ class StoragePhysicalDisk(object): 'variant_type': 'VariantType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, block_size=None, bootable=None, configuration_checkpoint=None, configuration_state=None, discovered_path=None, disk_id=None, disk_state=None, drive_firmware=None, drive_state=None, fde_capable=None, link_speed=None, link_state=None, locator_led=None, num_blocks=None, oper_power_state=None, oper_qualifier_reason=None, operability=None, physical_block_size=None, physical_disk_extension=None, presence=None, protocol=None, raw_size=None, registered_device=None, running_firmware=None, size=None, storage_controller=None, storage_enclosure=None, thermal=None, type=None, variant_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, block_size=None, bootable=None, configuration_checkpoint=None, configuration_state=None, discovered_path=None, disk_id=None, disk_state=None, drive_firmware=None, drive_state=None, fde_capable=None, link_speed=None, link_state=None, locator_led=None, num_blocks=None, oper_power_state=None, oper_qualifier_reason=None, operability=None, physical_block_size=None, physical_disk_extension=None, presence=None, protocol=None, raw_size=None, registered_device=None, running_firmware=None, size=None, storage_controller=None, storage_enclosure=None, thermal=None, type=None, variant_type=None): """ StoragePhysicalDisk - a model defined in Swagger """ @@ -142,6 +144,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -198,6 +201,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -461,7 +466,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StoragePhysicalDisk. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StoragePhysicalDisk. :rtype: list[MoTag] @@ -472,7 +477,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StoragePhysicalDisk. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StoragePhysicalDisk. :type: list[MoTag] @@ -480,6 +485,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StoragePhysicalDisk. + The versioning info for this managed object + + :return: The version_context of this StoragePhysicalDisk. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StoragePhysicalDisk. + The versioning info for this managed object + + :param version_context: The version_context of this StoragePhysicalDisk. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_physical_disk_extension.py b/intersight/models/storage_physical_disk_extension.py index afaede36..5731fd7f 100644 --- a/intersight/models/storage_physical_disk_extension.py +++ b/intersight/models/storage_physical_disk_extension.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StoragePhysicalDiskExtension(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -66,6 +67,7 @@ class StoragePhysicalDiskExtension(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -82,7 +84,7 @@ class StoragePhysicalDiskExtension(object): 'storage_controller': 'StorageController' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, bootable=None, disk_dn=None, disk_id=None, disk_state=None, physical_disk=None, registered_device=None, storage_controller=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, bootable=None, disk_dn=None, disk_id=None, disk_state=None, physical_disk=None, registered_device=None, storage_controller=None): """ StoragePhysicalDiskExtension - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StoragePhysicalDiskExtension. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StoragePhysicalDiskExtension. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StoragePhysicalDiskExtension. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StoragePhysicalDiskExtension. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StoragePhysicalDiskExtension. + The versioning info for this managed object + + :return: The version_context of this StoragePhysicalDiskExtension. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StoragePhysicalDiskExtension. + The versioning info for this managed object + + :param version_context: The version_context of this StoragePhysicalDiskExtension. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_physical_disk_extension_list.py b/intersight/models/storage_physical_disk_extension_list.py index c14c8bbc..405584b7 100644 --- a/intersight/models/storage_physical_disk_extension_list.py +++ b/intersight/models/storage_physical_disk_extension_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_extension_ref.py b/intersight/models/storage_physical_disk_extension_ref.py index 004be857..9b80f223 100644 --- a/intersight/models/storage_physical_disk_extension_ref.py +++ b/intersight/models/storage_physical_disk_extension_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_list.py b/intersight/models/storage_physical_disk_list.py index eeafa71e..53eb85b6 100644 --- a/intersight/models/storage_physical_disk_list.py +++ b/intersight/models/storage_physical_disk_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_ref.py b/intersight/models/storage_physical_disk_ref.py index fd5c0898..5bde18ef 100644 --- a/intersight/models/storage_physical_disk_ref.py +++ b/intersight/models/storage_physical_disk_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_usage.py b/intersight/models/storage_physical_disk_usage.py index d7e2974d..d06707f4 100644 --- a/intersight/models/storage_physical_disk_usage.py +++ b/intersight/models/storage_physical_disk_usage.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StoragePhysicalDiskUsage(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class StoragePhysicalDiskUsage(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class StoragePhysicalDiskUsage(object): 'virtual_drive': 'VirtualDrive' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, number_of_blocks=None, physical_drive=None, registered_device=None, span=None, starting_block=None, state=None, virtual_drive=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, number_of_blocks=None, physical_drive=None, registered_device=None, span=None, starting_block=None, state=None, virtual_drive=None): """ StoragePhysicalDiskUsage - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StoragePhysicalDiskUsage. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StoragePhysicalDiskUsage. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StoragePhysicalDiskUsage. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StoragePhysicalDiskUsage. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StoragePhysicalDiskUsage. + The versioning info for this managed object + + :return: The version_context of this StoragePhysicalDiskUsage. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StoragePhysicalDiskUsage. + The versioning info for this managed object + + :param version_context: The version_context of this StoragePhysicalDiskUsage. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_physical_disk_usage_list.py b/intersight/models/storage_physical_disk_usage_list.py index 1c9e0e0e..e71aa5e7 100644 --- a/intersight/models/storage_physical_disk_usage_list.py +++ b/intersight/models/storage_physical_disk_usage_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_physical_disk_usage_ref.py b/intersight/models/storage_physical_disk_usage_ref.py index 0d111bc2..f2fd5e34 100644 --- a/intersight/models/storage_physical_disk_usage_ref.py +++ b/intersight/models/storage_physical_disk_usage_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_remote_key_setting.py b/intersight/models/storage_remote_key_setting.py index bfd62950..64412993 100644 --- a/intersight/models/storage_remote_key_setting.py +++ b/intersight/models/storage_remote_key_setting.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_remote_key_setting_ref.py b/intersight/models/storage_remote_key_setting_ref.py index 6849f5d9..0bf56f17 100644 --- a/intersight/models/storage_remote_key_setting_ref.py +++ b/intersight/models/storage_remote_key_setting_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_sas_expander.py b/intersight/models/storage_sas_expander.py index 48fb9a7a..1d22aebf 100644 --- a/intersight/models/storage_sas_expander.py +++ b/intersight/models/storage_sas_expander.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageSasExpander(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -67,6 +68,7 @@ class StorageSasExpander(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -84,7 +86,7 @@ class StorageSasExpander(object): 'registered_device': 'RegisteredDevice' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, controller=None, equipment_chassis=None, expander_id=None, name=None, oper_state=None, operability=None, presence=None, registered_device=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, controller=None, equipment_chassis=None, expander_id=None, name=None, oper_state=None, operability=None, presence=None, registered_device=None): """ StorageSasExpander - a model defined in Swagger """ @@ -98,6 +100,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -132,6 +135,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -351,7 +356,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageSasExpander. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageSasExpander. :rtype: list[MoTag] @@ -362,7 +367,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageSasExpander. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageSasExpander. :type: list[MoTag] @@ -370,6 +375,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageSasExpander. + The versioning info for this managed object + + :return: The version_context of this StorageSasExpander. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageSasExpander. + The versioning info for this managed object + + :param version_context: The version_context of this StorageSasExpander. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_sas_expander_list.py b/intersight/models/storage_sas_expander_list.py index 1eb66e98..5504dd62 100644 --- a/intersight/models/storage_sas_expander_list.py +++ b/intersight/models/storage_sas_expander_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_sas_expander_ref.py b/intersight/models/storage_sas_expander_ref.py index 602388ac..b72fd4d4 100644 --- a/intersight/models/storage_sas_expander_ref.py +++ b/intersight/models/storage_sas_expander_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_span_group.py b/intersight/models/storage_span_group.py index c4eab59a..6e4a2245 100644 --- a/intersight/models/storage_span_group.py +++ b/intersight/models/storage_span_group.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_span_group_ref.py b/intersight/models/storage_span_group_ref.py index 65479cda..83df09de 100644 --- a/intersight/models/storage_span_group_ref.py +++ b/intersight/models/storage_span_group_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_storage_policy.py b/intersight/models/storage_storage_policy.py index 745ac086..538332e1 100644 --- a/intersight/models/storage_storage_policy.py +++ b/intersight/models/storage_storage_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageStoragePolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'disk_group_policies': 'list[StorageDiskGroupPolicyRef]', @@ -61,6 +62,7 @@ class StorageStoragePolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'disk_group_policies': 'DiskGroupPolicies', @@ -72,7 +74,7 @@ class StorageStoragePolicy(object): 'virtual_drives': 'VirtualDrives' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, disk_group_policies=None, global_hot_spares=None, organization=None, profiles=None, retain_policy_virtual_drives=None, unused_disks_state='UnconfiguredGood', virtual_drives=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, disk_group_policies=None, global_hot_spares=None, organization=None, profiles=None, retain_policy_virtual_drives=None, unused_disks_state='UnconfiguredGood', virtual_drives=None): """ StorageStoragePolicy - a model defined in Swagger """ @@ -86,6 +88,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._disk_group_policies = None @@ -114,6 +117,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -321,7 +326,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageStoragePolicy. :rtype: list[MoTag] @@ -332,7 +337,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageStoragePolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageStoragePolicy. :type: list[MoTag] @@ -340,6 +345,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageStoragePolicy. + The versioning info for this managed object + + :return: The version_context of this StorageStoragePolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageStoragePolicy. + The versioning info for this managed object + + :param version_context: The version_context of this StorageStoragePolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/storage_storage_policy_list.py b/intersight/models/storage_storage_policy_list.py index 1d48e1d3..465ab4c7 100644 --- a/intersight/models/storage_storage_policy_list.py +++ b/intersight/models/storage_storage_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_storage_policy_ref.py b/intersight/models/storage_storage_policy_ref.py index cc7d06d9..d6f8a242 100644 --- a/intersight/models/storage_storage_policy_ref.py +++ b/intersight/models/storage_storage_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_take_snapshot_task_ref.py b/intersight/models/storage_take_snapshot_task_ref.py index 4756b8f2..1d9a1d94 100644 --- a/intersight/models/storage_take_snapshot_task_ref.py +++ b/intersight/models/storage_take_snapshot_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_validation_task_ref.py b/intersight/models/storage_validation_task_ref.py index 95043390..65f581da 100644 --- a/intersight/models/storage_validation_task_ref.py +++ b/intersight/models/storage_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_vd_member_ep.py b/intersight/models/storage_vd_member_ep.py index 0753443f..fc356b17 100644 --- a/intersight/models/storage_vd_member_ep.py +++ b/intersight/models/storage_vd_member_ep.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageVdMemberEp(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -62,6 +63,7 @@ class StorageVdMemberEp(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -74,7 +76,7 @@ class StorageVdMemberEp(object): 'vd_member_ep_id': 'VdMemberEpId' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, oper_qualifier_reason=None, presence=None, registered_device=None, role=None, span_id=None, storage_virtual_drive=None, vd_member_ep_id=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, oper_qualifier_reason=None, presence=None, registered_device=None, role=None, span_id=None, storage_virtual_drive=None, vd_member_ep_id=None): """ StorageVdMemberEp - a model defined in Swagger """ @@ -88,6 +90,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -117,6 +120,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -326,7 +331,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageVdMemberEp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageVdMemberEp. :rtype: list[MoTag] @@ -337,7 +342,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageVdMemberEp. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageVdMemberEp. :type: list[MoTag] @@ -345,6 +350,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageVdMemberEp. + The versioning info for this managed object + + :return: The version_context of this StorageVdMemberEp. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageVdMemberEp. + The versioning info for this managed object + + :param version_context: The version_context of this StorageVdMemberEp. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/storage_vd_member_ep_list.py b/intersight/models/storage_vd_member_ep_list.py index a3e3116c..29fde623 100644 --- a/intersight/models/storage_vd_member_ep_list.py +++ b/intersight/models/storage_vd_member_ep_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_vd_member_ep_ref.py b/intersight/models/storage_vd_member_ep_ref.py index a455f2f7..9ec2c145 100644 --- a/intersight/models/storage_vd_member_ep_ref.py +++ b/intersight/models/storage_vd_member_ep_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive.py b/intersight/models/storage_virtual_drive.py index af894485..11c0ddbb 100644 --- a/intersight/models/storage_virtual_drive.py +++ b/intersight/models/storage_virtual_drive.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class StorageVirtualDrive(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -76,6 +77,7 @@ class StorageVirtualDrive(object): 'uuid': 'str', 'vd_member_eps': 'list[StorageVdMemberEpRef]', 'vendor_uuid': 'str', + 'virtual_drive_extension': 'StorageVirtualDriveExtensionRef', 'virtual_drive_id': 'str' } @@ -89,6 +91,7 @@ class StorageVirtualDrive(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -125,10 +128,11 @@ class StorageVirtualDrive(object): 'uuid': 'Uuid', 'vd_member_eps': 'VdMemberEps', 'vendor_uuid': 'VendorUuid', + 'virtual_drive_extension': 'VirtualDriveExtension', 'virtual_drive_id': 'VirtualDriveId' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, access_policy=None, actual_write_cache_policy=None, available_size=None, block_size=None, bootable=None, config_state=None, configured_write_cache_policy=None, connection_protocol=None, drive_cache=None, drive_security=None, drive_state=None, io_policy=None, name=None, num_blocks=None, oper_state=None, operability=None, physical_block_size=None, physical_disk_usages=None, presence=None, read_policy=None, registered_device=None, security_flags=None, size=None, storage_controller=None, strip_size=None, type=None, uuid=None, vd_member_eps=None, vendor_uuid=None, virtual_drive_id=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, model=None, revision=None, serial=None, vendor=None, access_policy=None, actual_write_cache_policy=None, available_size=None, block_size=None, bootable=None, config_state=None, configured_write_cache_policy=None, connection_protocol=None, drive_cache=None, drive_security=None, drive_state=None, io_policy=None, name=None, num_blocks=None, oper_state=None, operability=None, physical_block_size=None, physical_disk_usages=None, presence=None, read_policy=None, registered_device=None, security_flags=None, size=None, storage_controller=None, strip_size=None, type=None, uuid=None, vd_member_eps=None, vendor_uuid=None, virtual_drive_extension=None, virtual_drive_id=None): """ StorageVirtualDrive - a model defined in Swagger """ @@ -142,6 +146,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -178,6 +183,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._uuid = None self._vd_member_eps = None self._vendor_uuid = None + self._virtual_drive_extension = None self._virtual_drive_id = None if account_moid is not None: @@ -198,6 +204,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -270,6 +278,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.vd_member_eps = vd_member_eps if vendor_uuid is not None: self.vendor_uuid = vendor_uuid + if virtual_drive_extension is not None: + self.virtual_drive_extension = virtual_drive_extension if virtual_drive_id is not None: self.virtual_drive_id = virtual_drive_id @@ -461,7 +471,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this StorageVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this StorageVirtualDrive. :rtype: list[MoTag] @@ -472,7 +482,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this StorageVirtualDrive. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this StorageVirtualDrive. :type: list[MoTag] @@ -480,6 +490,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this StorageVirtualDrive. + The versioning info for this managed object + + :return: The version_context of this StorageVirtualDrive. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageVirtualDrive. + The versioning info for this managed object + + :param version_context: The version_context of this StorageVirtualDrive. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ @@ -1236,6 +1269,27 @@ def vendor_uuid(self, vendor_uuid): self._vendor_uuid = vendor_uuid + @property + def virtual_drive_extension(self): + """ + Gets the virtual_drive_extension of this StorageVirtualDrive. + + :return: The virtual_drive_extension of this StorageVirtualDrive. + :rtype: StorageVirtualDriveExtensionRef + """ + return self._virtual_drive_extension + + @virtual_drive_extension.setter + def virtual_drive_extension(self, virtual_drive_extension): + """ + Sets the virtual_drive_extension of this StorageVirtualDrive. + + :param virtual_drive_extension: The virtual_drive_extension of this StorageVirtualDrive. + :type: StorageVirtualDriveExtensionRef + """ + + self._virtual_drive_extension = virtual_drive_extension + @property def virtual_drive_id(self): """ diff --git a/intersight/models/storage_virtual_drive_config.py b/intersight/models/storage_virtual_drive_config.py index 64aef61d..b34902ca 100644 --- a/intersight/models/storage_virtual_drive_config.py +++ b/intersight/models/storage_virtual_drive_config.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive_config_ref.py b/intersight/models/storage_virtual_drive_config_ref.py index 3e841f92..65707669 100644 --- a/intersight/models/storage_virtual_drive_config_ref.py +++ b/intersight/models/storage_virtual_drive_config_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive_extension.py b/intersight/models/storage_virtual_drive_extension.py new file mode 100644 index 00000000..499f8af4 --- /dev/null +++ b/intersight/models/storage_virtual_drive_extension.py @@ -0,0 +1,767 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class StorageVirtualDriveExtension(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', + 'device_mo_id': 'str', + 'dn': 'str', + 'rn': 'str', + 'bootable': 'str', + 'container_id': 'int', + 'drive_state': 'str', + 'name': 'str', + 'oper_device_id': 'str', + 'registered_device': 'AssetDeviceRegistrationRef', + 'storage_controller': 'StorageControllerRef', + 'uuid': 'str', + 'vendor_uuid': 'str', + 'virtual_drive': 'StorageVirtualDriveRef', + 'virtual_drive_dn': 'str', + 'virtual_drive_id': 'str' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext', + 'device_mo_id': 'DeviceMoId', + 'dn': 'Dn', + 'rn': 'Rn', + 'bootable': 'Bootable', + 'container_id': 'ContainerId', + 'drive_state': 'DriveState', + 'name': 'Name', + 'oper_device_id': 'OperDeviceId', + 'registered_device': 'RegisteredDevice', + 'storage_controller': 'StorageController', + 'uuid': 'Uuid', + 'vendor_uuid': 'VendorUuid', + 'virtual_drive': 'VirtualDrive', + 'virtual_drive_dn': 'VirtualDriveDn', + 'virtual_drive_id': 'VirtualDriveId' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, bootable=None, container_id=None, drive_state=None, name=None, oper_device_id=None, registered_device=None, storage_controller=None, uuid=None, vendor_uuid=None, virtual_drive=None, virtual_drive_dn=None, virtual_drive_id=None): + """ + StorageVirtualDriveExtension - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + self._device_mo_id = None + self._dn = None + self._rn = None + self._bootable = None + self._container_id = None + self._drive_state = None + self._name = None + self._oper_device_id = None + self._registered_device = None + self._storage_controller = None + self._uuid = None + self._vendor_uuid = None + self._virtual_drive = None + self._virtual_drive_dn = None + self._virtual_drive_id = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + if device_mo_id is not None: + self.device_mo_id = device_mo_id + if dn is not None: + self.dn = dn + if rn is not None: + self.rn = rn + if bootable is not None: + self.bootable = bootable + if container_id is not None: + self.container_id = container_id + if drive_state is not None: + self.drive_state = drive_state + if name is not None: + self.name = name + if oper_device_id is not None: + self.oper_device_id = oper_device_id + if registered_device is not None: + self.registered_device = registered_device + if storage_controller is not None: + self.storage_controller = storage_controller + if uuid is not None: + self.uuid = uuid + if vendor_uuid is not None: + self.vendor_uuid = vendor_uuid + if virtual_drive is not None: + self.virtual_drive = virtual_drive + if virtual_drive_dn is not None: + self.virtual_drive_dn = virtual_drive_dn + if virtual_drive_id is not None: + self.virtual_drive_id = virtual_drive_id + + @property + def account_moid(self): + """ + Gets the account_moid of this StorageVirtualDriveExtension. + The Account ID for this managed object. + + :return: The account_moid of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this StorageVirtualDriveExtension. + The Account ID for this managed object. + + :param account_moid: The account_moid of this StorageVirtualDriveExtension. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this StorageVirtualDriveExtension. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this StorageVirtualDriveExtension. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this StorageVirtualDriveExtension. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this StorageVirtualDriveExtension. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this StorageVirtualDriveExtension. + The time when this managed object was created. + + :return: The create_time of this StorageVirtualDriveExtension. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this StorageVirtualDriveExtension. + The time when this managed object was created. + + :param create_time: The create_time of this StorageVirtualDriveExtension. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this StorageVirtualDriveExtension. + The time when this managed object was last modified. + + :return: The mod_time of this StorageVirtualDriveExtension. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this StorageVirtualDriveExtension. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this StorageVirtualDriveExtension. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this StorageVirtualDriveExtension. + A unique identifier of this Managed Object instance. + + :return: The moid of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this StorageVirtualDriveExtension. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this StorageVirtualDriveExtension. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this StorageVirtualDriveExtension. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this StorageVirtualDriveExtension. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this StorageVirtualDriveExtension. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this StorageVirtualDriveExtension. + An array of owners which represent effective ownership of this object. + + :return: The owners of this StorageVirtualDriveExtension. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this StorageVirtualDriveExtension. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this StorageVirtualDriveExtension. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this StorageVirtualDriveExtension. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this StorageVirtualDriveExtension. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this StorageVirtualDriveExtension. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this StorageVirtualDriveExtension. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this StorageVirtualDriveExtension. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this StorageVirtualDriveExtension. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this StorageVirtualDriveExtension. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this StorageVirtualDriveExtension. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this StorageVirtualDriveExtension. + The versioning info for this managed object + + :return: The version_context of this StorageVirtualDriveExtension. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this StorageVirtualDriveExtension. + The versioning info for this managed object + + :param version_context: The version_context of this StorageVirtualDriveExtension. + :type: MoVersionContext + """ + + self._version_context = version_context + + @property + def device_mo_id(self): + """ + Gets the device_mo_id of this StorageVirtualDriveExtension. + + :return: The device_mo_id of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._device_mo_id + + @device_mo_id.setter + def device_mo_id(self, device_mo_id): + """ + Sets the device_mo_id of this StorageVirtualDriveExtension. + + :param device_mo_id: The device_mo_id of this StorageVirtualDriveExtension. + :type: str + """ + + self._device_mo_id = device_mo_id + + @property + def dn(self): + """ + Gets the dn of this StorageVirtualDriveExtension. + + :return: The dn of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._dn + + @dn.setter + def dn(self, dn): + """ + Sets the dn of this StorageVirtualDriveExtension. + + :param dn: The dn of this StorageVirtualDriveExtension. + :type: str + """ + + self._dn = dn + + @property + def rn(self): + """ + Gets the rn of this StorageVirtualDriveExtension. + + :return: The rn of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._rn + + @rn.setter + def rn(self, rn): + """ + Sets the rn of this StorageVirtualDriveExtension. + + :param rn: The rn of this StorageVirtualDriveExtension. + :type: str + """ + + self._rn = rn + + @property + def bootable(self): + """ + Gets the bootable of this StorageVirtualDriveExtension. + + :return: The bootable of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._bootable + + @bootable.setter + def bootable(self, bootable): + """ + Sets the bootable of this StorageVirtualDriveExtension. + + :param bootable: The bootable of this StorageVirtualDriveExtension. + :type: str + """ + + self._bootable = bootable + + @property + def container_id(self): + """ + Gets the container_id of this StorageVirtualDriveExtension. + + :return: The container_id of this StorageVirtualDriveExtension. + :rtype: int + """ + return self._container_id + + @container_id.setter + def container_id(self, container_id): + """ + Sets the container_id of this StorageVirtualDriveExtension. + + :param container_id: The container_id of this StorageVirtualDriveExtension. + :type: int + """ + + self._container_id = container_id + + @property + def drive_state(self): + """ + Gets the drive_state of this StorageVirtualDriveExtension. + + :return: The drive_state of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._drive_state + + @drive_state.setter + def drive_state(self, drive_state): + """ + Sets the drive_state of this StorageVirtualDriveExtension. + + :param drive_state: The drive_state of this StorageVirtualDriveExtension. + :type: str + """ + + self._drive_state = drive_state + + @property + def name(self): + """ + Gets the name of this StorageVirtualDriveExtension. + + :return: The name of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this StorageVirtualDriveExtension. + + :param name: The name of this StorageVirtualDriveExtension. + :type: str + """ + + self._name = name + + @property + def oper_device_id(self): + """ + Gets the oper_device_id of this StorageVirtualDriveExtension. + + :return: The oper_device_id of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._oper_device_id + + @oper_device_id.setter + def oper_device_id(self, oper_device_id): + """ + Sets the oper_device_id of this StorageVirtualDriveExtension. + + :param oper_device_id: The oper_device_id of this StorageVirtualDriveExtension. + :type: str + """ + + self._oper_device_id = oper_device_id + + @property + def registered_device(self): + """ + Gets the registered_device of this StorageVirtualDriveExtension. + + :return: The registered_device of this StorageVirtualDriveExtension. + :rtype: AssetDeviceRegistrationRef + """ + return self._registered_device + + @registered_device.setter + def registered_device(self, registered_device): + """ + Sets the registered_device of this StorageVirtualDriveExtension. + + :param registered_device: The registered_device of this StorageVirtualDriveExtension. + :type: AssetDeviceRegistrationRef + """ + + self._registered_device = registered_device + + @property + def storage_controller(self): + """ + Gets the storage_controller of this StorageVirtualDriveExtension. + + :return: The storage_controller of this StorageVirtualDriveExtension. + :rtype: StorageControllerRef + """ + return self._storage_controller + + @storage_controller.setter + def storage_controller(self, storage_controller): + """ + Sets the storage_controller of this StorageVirtualDriveExtension. + + :param storage_controller: The storage_controller of this StorageVirtualDriveExtension. + :type: StorageControllerRef + """ + + self._storage_controller = storage_controller + + @property + def uuid(self): + """ + Gets the uuid of this StorageVirtualDriveExtension. + + :return: The uuid of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._uuid + + @uuid.setter + def uuid(self, uuid): + """ + Sets the uuid of this StorageVirtualDriveExtension. + + :param uuid: The uuid of this StorageVirtualDriveExtension. + :type: str + """ + + self._uuid = uuid + + @property + def vendor_uuid(self): + """ + Gets the vendor_uuid of this StorageVirtualDriveExtension. + + :return: The vendor_uuid of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._vendor_uuid + + @vendor_uuid.setter + def vendor_uuid(self, vendor_uuid): + """ + Sets the vendor_uuid of this StorageVirtualDriveExtension. + + :param vendor_uuid: The vendor_uuid of this StorageVirtualDriveExtension. + :type: str + """ + + self._vendor_uuid = vendor_uuid + + @property + def virtual_drive(self): + """ + Gets the virtual_drive of this StorageVirtualDriveExtension. + + :return: The virtual_drive of this StorageVirtualDriveExtension. + :rtype: StorageVirtualDriveRef + """ + return self._virtual_drive + + @virtual_drive.setter + def virtual_drive(self, virtual_drive): + """ + Sets the virtual_drive of this StorageVirtualDriveExtension. + + :param virtual_drive: The virtual_drive of this StorageVirtualDriveExtension. + :type: StorageVirtualDriveRef + """ + + self._virtual_drive = virtual_drive + + @property + def virtual_drive_dn(self): + """ + Gets the virtual_drive_dn of this StorageVirtualDriveExtension. + + :return: The virtual_drive_dn of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._virtual_drive_dn + + @virtual_drive_dn.setter + def virtual_drive_dn(self, virtual_drive_dn): + """ + Sets the virtual_drive_dn of this StorageVirtualDriveExtension. + + :param virtual_drive_dn: The virtual_drive_dn of this StorageVirtualDriveExtension. + :type: str + """ + + self._virtual_drive_dn = virtual_drive_dn + + @property + def virtual_drive_id(self): + """ + Gets the virtual_drive_id of this StorageVirtualDriveExtension. + + :return: The virtual_drive_id of this StorageVirtualDriveExtension. + :rtype: str + """ + return self._virtual_drive_id + + @virtual_drive_id.setter + def virtual_drive_id(self, virtual_drive_id): + """ + Sets the virtual_drive_id of this StorageVirtualDriveExtension. + + :param virtual_drive_id: The virtual_drive_id of this StorageVirtualDriveExtension. + :type: str + """ + + self._virtual_drive_id = virtual_drive_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, StorageVirtualDriveExtension): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/storage_virtual_drive_extension_list.py b/intersight/models/storage_virtual_drive_extension_list.py new file mode 100644 index 00000000..afde1d0e --- /dev/null +++ b/intersight/models/storage_virtual_drive_extension_list.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class StorageVirtualDriveExtensionList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'count': 'int', + 'results': 'list[StorageVirtualDriveExtension]' + } + + attribute_map = { + 'count': 'Count', + 'results': 'Results' + } + + def __init__(self, count=None, results=None): + """ + StorageVirtualDriveExtensionList - a model defined in Swagger + """ + + self._count = None + self._results = None + + if count is not None: + self.count = count + if results is not None: + self.results = results + + @property + def count(self): + """ + Gets the count of this StorageVirtualDriveExtensionList. + The number of storageVirtualDriveExtensions matching your request in total for all pages. + + :return: The count of this StorageVirtualDriveExtensionList. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this StorageVirtualDriveExtensionList. + The number of storageVirtualDriveExtensions matching your request in total for all pages. + + :param count: The count of this StorageVirtualDriveExtensionList. + :type: int + """ + + self._count = count + + @property + def results(self): + """ + Gets the results of this StorageVirtualDriveExtensionList. + The array of storageVirtualDriveExtensions matching your request. + + :return: The results of this StorageVirtualDriveExtensionList. + :rtype: list[StorageVirtualDriveExtension] + """ + return self._results + + @results.setter + def results(self, results): + """ + Sets the results of this StorageVirtualDriveExtensionList. + The array of storageVirtualDriveExtensions matching your request. + + :param results: The results of this StorageVirtualDriveExtensionList. + :type: list[StorageVirtualDriveExtension] + """ + + self._results = results + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, StorageVirtualDriveExtensionList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/storage_virtual_drive_extension_ref.py b/intersight/models/storage_virtual_drive_extension_ref.py new file mode 100644 index 00000000..1b8470d9 --- /dev/null +++ b/intersight/models/storage_virtual_drive_extension_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class StorageVirtualDriveExtensionRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + StorageVirtualDriveExtensionRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this StorageVirtualDriveExtensionRef. + + :return: The moid of this StorageVirtualDriveExtensionRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this StorageVirtualDriveExtensionRef. + + :param moid: The moid of this StorageVirtualDriveExtensionRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this StorageVirtualDriveExtensionRef. + + :return: The object_type of this StorageVirtualDriveExtensionRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this StorageVirtualDriveExtensionRef. + + :param object_type: The object_type of this StorageVirtualDriveExtensionRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, StorageVirtualDriveExtensionRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/storage_virtual_drive_list.py b/intersight/models/storage_virtual_drive_list.py index 004277d1..0d5e6029 100644 --- a/intersight/models/storage_virtual_drive_list.py +++ b/intersight/models/storage_virtual_drive_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/storage_virtual_drive_ref.py b/intersight/models/storage_virtual_drive_ref.py index 3e965ac9..f2f64db6 100644 --- a/intersight/models/storage_virtual_drive_ref.py +++ b/intersight/models/storage_virtual_drive_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_deploy_task_ref.py b/intersight/models/syslog_deploy_task_ref.py index d9d41a82..a4b8284c 100644 --- a/intersight/models/syslog_deploy_task_ref.py +++ b/intersight/models/syslog_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_local_client_base.py b/intersight/models/syslog_local_client_base.py index 4f62d0c4..7beb2498 100644 --- a/intersight/models/syslog_local_client_base.py +++ b/intersight/models/syslog_local_client_base.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_local_client_base_ref.py b/intersight/models/syslog_local_client_base_ref.py index 9768b538..1b006321 100644 --- a/intersight/models/syslog_local_client_base_ref.py +++ b/intersight/models/syslog_local_client_base_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_local_file_logging_client_ref.py b/intersight/models/syslog_local_file_logging_client_ref.py index 81b24e23..f4024fb8 100644 --- a/intersight/models/syslog_local_file_logging_client_ref.py +++ b/intersight/models/syslog_local_file_logging_client_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_policy.py b/intersight/models/syslog_policy.py index e4cb3dda..cd964090 100644 --- a/intersight/models/syslog_policy.py +++ b/intersight/models/syslog_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class SyslogPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'local_clients': 'list[SyslogLocalClientBase]', @@ -58,6 +59,7 @@ class SyslogPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'local_clients': 'LocalClients', @@ -66,7 +68,7 @@ class SyslogPolicy(object): 'remote_clients': 'RemoteClients' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, local_clients=None, organization=None, profiles=None, remote_clients=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, local_clients=None, organization=None, profiles=None, remote_clients=None): """ SyslogPolicy - a model defined in Swagger """ @@ -80,6 +82,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._local_clients = None @@ -105,6 +108,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -306,7 +311,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this SyslogPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this SyslogPolicy. :rtype: list[MoTag] @@ -317,7 +322,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this SyslogPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this SyslogPolicy. :type: list[MoTag] @@ -325,6 +330,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this SyslogPolicy. + The versioning info for this managed object + + :return: The version_context of this SyslogPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this SyslogPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this SyslogPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/syslog_policy_list.py b/intersight/models/syslog_policy_list.py index 5db5ab99..dad216bf 100644 --- a/intersight/models/syslog_policy_list.py +++ b/intersight/models/syslog_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_policy_ref.py b/intersight/models/syslog_policy_ref.py index 245a07cd..63ea536a 100644 --- a/intersight/models/syslog_policy_ref.py +++ b/intersight/models/syslog_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_remote_client_base.py b/intersight/models/syslog_remote_client_base.py index 42e5817b..196d43aa 100644 --- a/intersight/models/syslog_remote_client_base.py +++ b/intersight/models/syslog_remote_client_base.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_remote_client_base_ref.py b/intersight/models/syslog_remote_client_base_ref.py index a422c6e3..594e56cf 100644 --- a/intersight/models/syslog_remote_client_base_ref.py +++ b/intersight/models/syslog_remote_client_base_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_remote_logging_client_ref.py b/intersight/models/syslog_remote_logging_client_ref.py index 0b77b39c..c6ab8270 100644 --- a/intersight/models/syslog_remote_logging_client_ref.py +++ b/intersight/models/syslog_remote_logging_client_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/syslog_validation_task_ref.py b/intersight/models/syslog_validation_task_ref.py index 196da8e2..a0b06e78 100644 --- a/intersight/models/syslog_validation_task_ref.py +++ b/intersight/models/syslog_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_file_download_info.py b/intersight/models/task_file_download_info.py index 6c27c805..fa7dc957 100644 --- a/intersight/models/task_file_download_info.py +++ b/intersight/models/task_file_download_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_file_download_info_ref.py b/intersight/models/task_file_download_info_ref.py index 7fb5ffbf..5340c9bf 100644 --- a/intersight/models/task_file_download_info_ref.py +++ b/intersight/models/task_file_download_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_input_task_ref.py b/intersight/models/task_input_task_ref.py index fca6ec0a..e8e2c847 100644 --- a/intersight/models/task_input_task_ref.py +++ b/intersight/models/task_input_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task1_ref.py b/intersight/models/task_ucs_task1_ref.py index 16d99857..21f9a66c 100644 --- a/intersight/models/task_ucs_task1_ref.py +++ b/intersight/models/task_ucs_task1_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task2_ref.py b/intersight/models/task_ucs_task2_ref.py index 0209167f..dddaab3d 100644 --- a/intersight/models/task_ucs_task2_ref.py +++ b/intersight/models/task_ucs_task2_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task3_ref.py b/intersight/models/task_ucs_task3_ref.py index aa5af645..725206cc 100644 --- a/intersight/models/task_ucs_task3_ref.py +++ b/intersight/models/task_ucs_task3_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task4_ref.py b/intersight/models/task_ucs_task4_ref.py index e9f31b8d..025eb05e 100644 --- a/intersight/models/task_ucs_task4_ref.py +++ b/intersight/models/task_ucs_task4_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task5_ref.py b/intersight/models/task_ucs_task5_ref.py index 93fe1c45..d19e380a 100644 --- a/intersight/models/task_ucs_task5_ref.py +++ b/intersight/models/task_ucs_task5_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task6_ref.py b/intersight/models/task_ucs_task6_ref.py index 352653c8..c0c2bc5e 100644 --- a/intersight/models/task_ucs_task6_ref.py +++ b/intersight/models/task_ucs_task6_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task7_ref.py b/intersight/models/task_ucs_task7_ref.py index f5da6b3b..711956d8 100644 --- a/intersight/models/task_ucs_task7_ref.py +++ b/intersight/models/task_ucs_task7_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task8_ref.py b/intersight/models/task_ucs_task8_ref.py index 91877799..9e8b4745 100644 --- a/intersight/models/task_ucs_task8_ref.py +++ b/intersight/models/task_ucs_task8_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_ucs_task9_ref.py b/intersight/models/task_ucs_task9_ref.py index b3b04c15..9ed59c4b 100644 --- a/intersight/models/task_ucs_task9_ref.py +++ b/intersight/models/task_ucs_task9_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_workflow_action.py b/intersight/models/task_workflow_action.py index d4b1fc7f..4d89ead2 100644 --- a/intersight/models/task_workflow_action.py +++ b/intersight/models/task_workflow_action.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TaskWorkflowAction(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'action': 'str', 'input_params': 'str', @@ -59,6 +60,7 @@ class TaskWorkflowAction(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'action': 'Action', 'input_params': 'InputParams', @@ -68,7 +70,7 @@ class TaskWorkflowAction(object): 'workflow_file': 'WorkflowFile' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, action='start', input_params=None, is_dynamic=None, wait_on_duplicate=None, workflow_context=None, workflow_file=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, action='start', input_params=None, is_dynamic=None, wait_on_duplicate=None, workflow_context=None, workflow_file=None): """ TaskWorkflowAction - a model defined in Swagger """ @@ -82,6 +84,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._action = None self._input_params = None @@ -108,6 +111,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if action is not None: @@ -311,7 +316,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TaskWorkflowAction. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TaskWorkflowAction. :rtype: list[MoTag] @@ -322,7 +327,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TaskWorkflowAction. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TaskWorkflowAction. :type: list[MoTag] @@ -330,6 +335,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TaskWorkflowAction. + The versioning info for this managed object + + :return: The version_context of this TaskWorkflowAction. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TaskWorkflowAction. + The versioning info for this managed object + + :param version_context: The version_context of this TaskWorkflowAction. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/task_workflow_action_list.py b/intersight/models/task_workflow_action_list.py index c6282854..9eda159e 100644 --- a/intersight/models/task_workflow_action_list.py +++ b/intersight/models/task_workflow_action_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/task_workflow_action_ref.py b/intersight/models/task_workflow_action_ref.py index 0249ccfd..b4bd172e 100644 --- a/intersight/models/task_workflow_action_ref.py +++ b/intersight/models/task_workflow_action_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/telemetry_time_series.py b/intersight/models/telemetry_time_series.py new file mode 100644 index 00000000..76d62c55 --- /dev/null +++ b/intersight/models/telemetry_time_series.py @@ -0,0 +1,377 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TelemetryTimeSeries(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_moid': 'str', + 'ancestors': 'list[MoBaseMoRef]', + 'create_time': 'datetime', + 'mod_time': 'datetime', + 'moid': 'str', + 'object_type': 'str', + 'owners': 'list[str]', + 'parent': 'MoBaseMoRef', + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext' + } + + attribute_map = { + 'account_moid': 'AccountMoid', + 'ancestors': 'Ancestors', + 'create_time': 'CreateTime', + 'mod_time': 'ModTime', + 'moid': 'Moid', + 'object_type': 'ObjectType', + 'owners': 'Owners', + 'parent': 'Parent', + 'tags': 'Tags', + 'version_context': 'VersionContext' + } + + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None): + """ + TelemetryTimeSeries - a model defined in Swagger + """ + + self._account_moid = None + self._ancestors = None + self._create_time = None + self._mod_time = None + self._moid = None + self._object_type = None + self._owners = None + self._parent = None + self._tags = None + self._version_context = None + + if account_moid is not None: + self.account_moid = account_moid + if ancestors is not None: + self.ancestors = ancestors + if create_time is not None: + self.create_time = create_time + if mod_time is not None: + self.mod_time = mod_time + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + if owners is not None: + self.owners = owners + if parent is not None: + self.parent = parent + if tags is not None: + self.tags = tags + if version_context is not None: + self.version_context = version_context + + @property + def account_moid(self): + """ + Gets the account_moid of this TelemetryTimeSeries. + The Account ID for this managed object. + + :return: The account_moid of this TelemetryTimeSeries. + :rtype: str + """ + return self._account_moid + + @account_moid.setter + def account_moid(self, account_moid): + """ + Sets the account_moid of this TelemetryTimeSeries. + The Account ID for this managed object. + + :param account_moid: The account_moid of this TelemetryTimeSeries. + :type: str + """ + + self._account_moid = account_moid + + @property + def ancestors(self): + """ + Gets the ancestors of this TelemetryTimeSeries. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :return: The ancestors of this TelemetryTimeSeries. + :rtype: list[MoBaseMoRef] + """ + return self._ancestors + + @ancestors.setter + def ancestors(self, ancestors): + """ + Sets the ancestors of this TelemetryTimeSeries. + Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. + + :param ancestors: The ancestors of this TelemetryTimeSeries. + :type: list[MoBaseMoRef] + """ + + self._ancestors = ancestors + + @property + def create_time(self): + """ + Gets the create_time of this TelemetryTimeSeries. + The time when this managed object was created. + + :return: The create_time of this TelemetryTimeSeries. + :rtype: datetime + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """ + Sets the create_time of this TelemetryTimeSeries. + The time when this managed object was created. + + :param create_time: The create_time of this TelemetryTimeSeries. + :type: datetime + """ + + self._create_time = create_time + + @property + def mod_time(self): + """ + Gets the mod_time of this TelemetryTimeSeries. + The time when this managed object was last modified. + + :return: The mod_time of this TelemetryTimeSeries. + :rtype: datetime + """ + return self._mod_time + + @mod_time.setter + def mod_time(self, mod_time): + """ + Sets the mod_time of this TelemetryTimeSeries. + The time when this managed object was last modified. + + :param mod_time: The mod_time of this TelemetryTimeSeries. + :type: datetime + """ + + self._mod_time = mod_time + + @property + def moid(self): + """ + Gets the moid of this TelemetryTimeSeries. + A unique identifier of this Managed Object instance. + + :return: The moid of this TelemetryTimeSeries. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TelemetryTimeSeries. + A unique identifier of this Managed Object instance. + + :param moid: The moid of this TelemetryTimeSeries. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TelemetryTimeSeries. + The fully-qualified type of this managed object, e.g. the class name. + + :return: The object_type of this TelemetryTimeSeries. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TelemetryTimeSeries. + The fully-qualified type of this managed object, e.g. the class name. + + :param object_type: The object_type of this TelemetryTimeSeries. + :type: str + """ + + self._object_type = object_type + + @property + def owners(self): + """ + Gets the owners of this TelemetryTimeSeries. + An array of owners which represent effective ownership of this object. + + :return: The owners of this TelemetryTimeSeries. + :rtype: list[str] + """ + return self._owners + + @owners.setter + def owners(self, owners): + """ + Sets the owners of this TelemetryTimeSeries. + An array of owners which represent effective ownership of this object. + + :param owners: The owners of this TelemetryTimeSeries. + :type: list[str] + """ + + self._owners = owners + + @property + def parent(self): + """ + Gets the parent of this TelemetryTimeSeries. + The direct ancestor of this managed object in the containment hierarchy. + + :return: The parent of this TelemetryTimeSeries. + :rtype: MoBaseMoRef + """ + return self._parent + + @parent.setter + def parent(self, parent): + """ + Sets the parent of this TelemetryTimeSeries. + The direct ancestor of this managed object in the containment hierarchy. + + :param parent: The parent of this TelemetryTimeSeries. + :type: MoBaseMoRef + """ + + self._parent = parent + + @property + def tags(self): + """ + Gets the tags of this TelemetryTimeSeries. + An array of tags, which allow to add key, value meta-data to managed objects. + + :return: The tags of this TelemetryTimeSeries. + :rtype: list[MoTag] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """ + Sets the tags of this TelemetryTimeSeries. + An array of tags, which allow to add key, value meta-data to managed objects. + + :param tags: The tags of this TelemetryTimeSeries. + :type: list[MoTag] + """ + + self._tags = tags + + @property + def version_context(self): + """ + Gets the version_context of this TelemetryTimeSeries. + The versioning info for this managed object + + :return: The version_context of this TelemetryTimeSeries. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TelemetryTimeSeries. + The versioning info for this managed object + + :param version_context: The version_context of this TelemetryTimeSeries. + :type: MoVersionContext + """ + + self._version_context = version_context + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, TelemetryTimeSeries): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/telemetry_time_series_ref.py b/intersight/models/telemetry_time_series_ref.py new file mode 100644 index 00000000..94cf9838 --- /dev/null +++ b/intersight/models/telemetry_time_series_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class TelemetryTimeSeriesRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + TelemetryTimeSeriesRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this TelemetryTimeSeriesRef. + + :return: The moid of this TelemetryTimeSeriesRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this TelemetryTimeSeriesRef. + + :param moid: The moid of this TelemetryTimeSeriesRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this TelemetryTimeSeriesRef. + + :return: The object_type of this TelemetryTimeSeriesRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this TelemetryTimeSeriesRef. + + :param object_type: The object_type of this TelemetryTimeSeriesRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, TelemetryTimeSeriesRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/terminal_audit_log.py b/intersight/models/terminal_audit_log.py index 2eb7492e..0ad58c59 100644 --- a/intersight/models/terminal_audit_log.py +++ b/intersight/models/terminal_audit_log.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TerminalAuditLog(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_registration': 'AssetDeviceConnectionRef', 'end_time': 'datetime', 'start_time': 'datetime', @@ -56,13 +57,14 @@ class TerminalAuditLog(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_registration': 'DeviceRegistration', 'end_time': 'EndTime', 'start_time': 'StartTime', 'user': 'User' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_registration=None, end_time=None, start_time=None, user=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_registration=None, end_time=None, start_time=None, user=None): """ TerminalAuditLog - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_registration = None self._end_time = None self._start_time = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_registration is not None: self.device_registration = device_registration if end_time is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TerminalAuditLog. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TerminalAuditLog. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TerminalAuditLog. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TerminalAuditLog. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TerminalAuditLog. + The versioning info for this managed object + + :return: The version_context of this TerminalAuditLog. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TerminalAuditLog. + The versioning info for this managed object + + :param version_context: The version_context of this TerminalAuditLog. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_registration(self): """ diff --git a/intersight/models/terminal_audit_log_list.py b/intersight/models/terminal_audit_log_list.py index da308466..0b87c2f0 100644 --- a/intersight/models/terminal_audit_log_list.py +++ b/intersight/models/terminal_audit_log_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/terminal_audit_log_ref.py b/intersight/models/terminal_audit_log_ref.py index 48c0352d..11cb1366 100644 --- a/intersight/models/terminal_audit_log_ref.py +++ b/intersight/models/terminal_audit_log_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_administrator.py b/intersight/models/testcrypt_administrator.py index 2149badc..537bf3a3 100644 --- a/intersight/models/testcrypt_administrator.py +++ b/intersight/models/testcrypt_administrator.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TestcryptAdministrator(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'admin': 'TestcryptUser' } @@ -54,11 +55,12 @@ class TestcryptAdministrator(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'admin': 'Admin' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, admin=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, admin=None): """ TestcryptAdministrator - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._admin = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if admin is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TestcryptAdministrator. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TestcryptAdministrator. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TestcryptAdministrator. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TestcryptAdministrator. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TestcryptAdministrator. + The versioning info for this managed object + + :return: The version_context of this TestcryptAdministrator. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TestcryptAdministrator. + The versioning info for this managed object + + :param version_context: The version_context of this TestcryptAdministrator. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/testcrypt_administrator_list.py b/intersight/models/testcrypt_administrator_list.py index e3db3de2..a6b96acf 100644 --- a/intersight/models/testcrypt_administrator_list.py +++ b/intersight/models/testcrypt_administrator_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_administrator_ref.py b/intersight/models/testcrypt_administrator_ref.py index 91090050..8a52eb63 100644 --- a/intersight/models/testcrypt_administrator_ref.py +++ b/intersight/models/testcrypt_administrator_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_credential.py b/intersight/models/testcrypt_credential.py index 5c633c2a..04c69933 100644 --- a/intersight/models/testcrypt_credential.py +++ b/intersight/models/testcrypt_credential.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TestcryptCredential(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'is_password_set': 'bool', 'password': 'str', @@ -56,13 +57,14 @@ class TestcryptCredential(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'is_password_set': 'IsPasswordSet', 'password': 'Password', 'username': 'Username' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, is_password_set=None, password=None, username=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, is_password_set=None, password=None, username=None): """ TestcryptCredential - a model defined in Swagger """ @@ -76,6 +78,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._is_password_set = None self._password = None @@ -99,6 +102,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if is_password_set is not None: @@ -296,7 +301,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TestcryptCredential. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TestcryptCredential. :rtype: list[MoTag] @@ -307,7 +312,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TestcryptCredential. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TestcryptCredential. :type: list[MoTag] @@ -315,6 +320,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TestcryptCredential. + The versioning info for this managed object + + :return: The version_context of this TestcryptCredential. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TestcryptCredential. + The versioning info for this managed object + + :param version_context: The version_context of this TestcryptCredential. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/testcrypt_credential_list.py b/intersight/models/testcrypt_credential_list.py index 4189b8a2..afd13aec 100644 --- a/intersight/models/testcrypt_credential_list.py +++ b/intersight/models/testcrypt_credential_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_credential_ref.py b/intersight/models/testcrypt_credential_ref.py index 003d6d3b..3a3873df 100644 --- a/intersight/models/testcrypt_credential_ref.py +++ b/intersight/models/testcrypt_credential_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_read_only_user.py b/intersight/models/testcrypt_read_only_user.py index f508fdf0..2e750a60 100644 --- a/intersight/models/testcrypt_read_only_user.py +++ b/intersight/models/testcrypt_read_only_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TestcryptReadOnlyUser(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'rouser': 'list[TestcryptUser]' } @@ -54,11 +55,12 @@ class TestcryptReadOnlyUser(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'rouser': 'Rouser' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, rouser=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, rouser=None): """ TestcryptReadOnlyUser - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._rouser = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if rouser is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TestcryptReadOnlyUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TestcryptReadOnlyUser. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TestcryptReadOnlyUser. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TestcryptReadOnlyUser. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TestcryptReadOnlyUser. + The versioning info for this managed object + + :return: The version_context of this TestcryptReadOnlyUser. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TestcryptReadOnlyUser. + The versioning info for this managed object + + :param version_context: The version_context of this TestcryptReadOnlyUser. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/testcrypt_read_only_user_list.py b/intersight/models/testcrypt_read_only_user_list.py index 5fcc9b2c..15459e64 100644 --- a/intersight/models/testcrypt_read_only_user_list.py +++ b/intersight/models/testcrypt_read_only_user_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_read_only_user_ref.py b/intersight/models/testcrypt_read_only_user_ref.py index 2208f58d..a0b7a9a4 100644 --- a/intersight/models/testcrypt_read_only_user_ref.py +++ b/intersight/models/testcrypt_read_only_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_shadow_credential.py b/intersight/models/testcrypt_shadow_credential.py index 2f0dbbaa..7666b80c 100644 --- a/intersight/models/testcrypt_shadow_credential.py +++ b/intersight/models/testcrypt_shadow_credential.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TestcryptShadowCredential(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'password': 'str', 'username': 'str' @@ -55,12 +56,13 @@ class TestcryptShadowCredential(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'password': 'Password', 'username': 'Username' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, password=None, username=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, password=None, username=None): """ TestcryptShadowCredential - a model defined in Swagger """ @@ -74,6 +76,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._password = None self._username = None @@ -96,6 +99,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if password is not None: @@ -291,7 +296,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TestcryptShadowCredential. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TestcryptShadowCredential. :rtype: list[MoTag] @@ -302,7 +307,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TestcryptShadowCredential. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TestcryptShadowCredential. :type: list[MoTag] @@ -310,6 +315,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TestcryptShadowCredential. + The versioning info for this managed object + + :return: The version_context of this TestcryptShadowCredential. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TestcryptShadowCredential. + The versioning info for this managed object + + :param version_context: The version_context of this TestcryptShadowCredential. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/testcrypt_shadow_credential_list.py b/intersight/models/testcrypt_shadow_credential_list.py index fd4bb368..6a3823cc 100644 --- a/intersight/models/testcrypt_shadow_credential_list.py +++ b/intersight/models/testcrypt_shadow_credential_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_shadow_credential_ref.py b/intersight/models/testcrypt_shadow_credential_ref.py index b225c265..575657b9 100644 --- a/intersight/models/testcrypt_shadow_credential_ref.py +++ b/intersight/models/testcrypt_shadow_credential_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_user.py b/intersight/models/testcrypt_user.py index 3647eec0..951a9c80 100644 --- a/intersight/models/testcrypt_user.py +++ b/intersight/models/testcrypt_user.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/testcrypt_user_ref.py b/intersight/models/testcrypt_user_ref.py index 6092ed8c..790bdc77 100644 --- a/intersight/models/testcrypt_user_ref.py +++ b/intersight/models/testcrypt_user_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/top_system.py b/intersight/models/top_system.py index afb6ce08..cc8a73d0 100644 --- a/intersight/models/top_system.py +++ b/intersight/models/top_system.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class TopSystem(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'device_mo_id': 'str', 'dn': 'str', 'rn': 'str', @@ -65,6 +66,7 @@ class TopSystem(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'device_mo_id': 'DeviceMoId', 'dn': 'Dn', 'rn': 'Rn', @@ -80,7 +82,7 @@ class TopSystem(object): 'time_zone': 'TimeZone' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, device_mo_id=None, dn=None, rn=None, compute_blades=None, compute_rack_units=None, ipv4_address=None, ipv6_address=None, management_controller=None, mode=None, name=None, network_elements=None, registered_device=None, time_zone=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, device_mo_id=None, dn=None, rn=None, compute_blades=None, compute_rack_units=None, ipv4_address=None, ipv6_address=None, management_controller=None, mode=None, name=None, network_elements=None, registered_device=None, time_zone=None): """ TopSystem - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._device_mo_id = None self._dn = None self._rn = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if device_mo_id is not None: self.device_mo_id = device_mo_id if dn is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this TopSystem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this TopSystem. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this TopSystem. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this TopSystem. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this TopSystem. + The versioning info for this managed object + + :return: The version_context of this TopSystem. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this TopSystem. + The versioning info for this managed object + + :param version_context: The version_context of this TopSystem. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def device_mo_id(self): """ diff --git a/intersight/models/top_system_list.py b/intersight/models/top_system_list.py index f4284287..9b95cc70 100644 --- a/intersight/models/top_system_list.py +++ b/intersight/models/top_system_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/top_system_ref.py b/intersight/models/top_system_ref.py index f8f33ad7..504a8581 100644 --- a/intersight/models/top_system_ref.py +++ b/intersight/models/top_system_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ucsdconnector_field_query.py b/intersight/models/ucsdconnector_field_query.py new file mode 100644 index 00000000..8a08a450 --- /dev/null +++ b/intersight/models/ucsdconnector_field_query.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorFieldQuery(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'field_name': 'str', + 'query': 'UcsdconnectorSqlQuery' + } + + attribute_map = { + 'field_name': 'FieldName', + 'query': 'Query' + } + + def __init__(self, field_name=None, query=None): + """ + UcsdconnectorFieldQuery - a model defined in Swagger + """ + + self._field_name = None + self._query = None + + if field_name is not None: + self.field_name = field_name + if query is not None: + self.query = query + + @property + def field_name(self): + """ + Gets the field_name of this UcsdconnectorFieldQuery. + FieldName corresponds to property name of Fanwood Mo + + :return: The field_name of this UcsdconnectorFieldQuery. + :rtype: str + """ + return self._field_name + + @field_name.setter + def field_name(self, field_name): + """ + Sets the field_name of this UcsdconnectorFieldQuery. + FieldName corresponds to property name of Fanwood Mo + + :param field_name: The field_name of this UcsdconnectorFieldQuery. + :type: str + """ + + self._field_name = field_name + + @property + def query(self): + """ + Gets the query of this UcsdconnectorFieldQuery. + SQL query string + + :return: The query of this UcsdconnectorFieldQuery. + :rtype: UcsdconnectorSqlQuery + """ + return self._query + + @query.setter + def query(self, query): + """ + Sets the query of this UcsdconnectorFieldQuery. + SQL query string + + :param query: The query of this UcsdconnectorFieldQuery. + :type: UcsdconnectorSqlQuery + """ + + self._query = query + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorFieldQuery): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_field_query_ref.py b/intersight/models/ucsdconnector_field_query_ref.py new file mode 100644 index 00000000..925a03ad --- /dev/null +++ b/intersight/models/ucsdconnector_field_query_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorFieldQueryRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + UcsdconnectorFieldQueryRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this UcsdconnectorFieldQueryRef. + + :return: The moid of this UcsdconnectorFieldQueryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this UcsdconnectorFieldQueryRef. + + :param moid: The moid of this UcsdconnectorFieldQueryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this UcsdconnectorFieldQueryRef. + + :return: The object_type of this UcsdconnectorFieldQueryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this UcsdconnectorFieldQueryRef. + + :param object_type: The object_type of this UcsdconnectorFieldQueryRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorFieldQueryRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_inventory_message_ref.py b/intersight/models/ucsdconnector_inventory_message_ref.py index 98be7269..b5910fa1 100644 --- a/intersight/models/ucsdconnector_inventory_message_ref.py +++ b/intersight/models/ucsdconnector_inventory_message_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/ucsdconnector_sql_query.py b/intersight/models/ucsdconnector_sql_query.py new file mode 100644 index 00000000..8e52a5a2 --- /dev/null +++ b/intersight/models/ucsdconnector_sql_query.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorSqlQuery(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'params': 'object', + 'query': 'str' + } + + attribute_map = { + 'params': 'Params', + 'query': 'Query' + } + + def __init__(self, params=None, query=None): + """ + UcsdconnectorSqlQuery - a model defined in Swagger + """ + + self._params = None + self._query = None + + if params is not None: + self.params = params + if query is not None: + self.query = query + + @property + def params(self): + """ + Gets the params of this UcsdconnectorSqlQuery. + Parameters in query string + + :return: The params of this UcsdconnectorSqlQuery. + :rtype: object + """ + return self._params + + @params.setter + def params(self, params): + """ + Sets the params of this UcsdconnectorSqlQuery. + Parameters in query string + + :param params: The params of this UcsdconnectorSqlQuery. + :type: object + """ + + self._params = params + + @property + def query(self): + """ + Gets the query of this UcsdconnectorSqlQuery. + query string + + :return: The query of this UcsdconnectorSqlQuery. + :rtype: str + """ + return self._query + + @query.setter + def query(self, query): + """ + Sets the query of this UcsdconnectorSqlQuery. + query string + + :param query: The query of this UcsdconnectorSqlQuery. + :type: str + """ + + self._query = query + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorSqlQuery): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_sql_query_ref.py b/intersight/models/ucsdconnector_sql_query_ref.py new file mode 100644 index 00000000..559f689f --- /dev/null +++ b/intersight/models/ucsdconnector_sql_query_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorSqlQueryRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + UcsdconnectorSqlQueryRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this UcsdconnectorSqlQueryRef. + + :return: The moid of this UcsdconnectorSqlQueryRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this UcsdconnectorSqlQueryRef. + + :param moid: The moid of this UcsdconnectorSqlQueryRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this UcsdconnectorSqlQueryRef. + + :return: The object_type of this UcsdconnectorSqlQueryRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this UcsdconnectorSqlQueryRef. + + :param object_type: The object_type of this UcsdconnectorSqlQueryRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorSqlQueryRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_telemetry_message_ref.py b/intersight/models/ucsdconnector_telemetry_message_ref.py new file mode 100644 index 00000000..1ddab833 --- /dev/null +++ b/intersight/models/ucsdconnector_telemetry_message_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorTelemetryMessageRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + UcsdconnectorTelemetryMessageRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this UcsdconnectorTelemetryMessageRef. + + :return: The moid of this UcsdconnectorTelemetryMessageRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this UcsdconnectorTelemetryMessageRef. + + :param moid: The moid of this UcsdconnectorTelemetryMessageRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this UcsdconnectorTelemetryMessageRef. + + :return: The object_type of this UcsdconnectorTelemetryMessageRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this UcsdconnectorTelemetryMessageRef. + + :param object_type: The object_type of this UcsdconnectorTelemetryMessageRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorTelemetryMessageRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_telemetry_mo.py b/intersight/models/ucsdconnector_telemetry_mo.py new file mode 100644 index 00000000..de778f8f --- /dev/null +++ b/intersight/models/ucsdconnector_telemetry_mo.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorTelemetryMo(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'field_queries': 'list[UcsdconnectorFieldQuery]', + 'mo_name': 'str', + 'object_query': 'UcsdconnectorSqlQuery' + } + + attribute_map = { + 'field_queries': 'FieldQueries', + 'mo_name': 'MoName', + 'object_query': 'ObjectQuery' + } + + def __init__(self, field_queries=None, mo_name=None, object_query=None): + """ + UcsdconnectorTelemetryMo - a model defined in Swagger + """ + + self._field_queries = None + self._mo_name = None + self._object_query = None + + if field_queries is not None: + self.field_queries = field_queries + if mo_name is not None: + self.mo_name = mo_name + if object_query is not None: + self.object_query = object_query + + @property + def field_queries(self): + """ + Gets the field_queries of this UcsdconnectorTelemetryMo. + Its a collection of FieldQuery objects + + :return: The field_queries of this UcsdconnectorTelemetryMo. + :rtype: list[UcsdconnectorFieldQuery] + """ + return self._field_queries + + @field_queries.setter + def field_queries(self, field_queries): + """ + Sets the field_queries of this UcsdconnectorTelemetryMo. + Its a collection of FieldQuery objects + + :param field_queries: The field_queries of this UcsdconnectorTelemetryMo. + :type: list[UcsdconnectorFieldQuery] + """ + + self._field_queries = field_queries + + @property + def mo_name(self): + """ + Gets the mo_name of this UcsdconnectorTelemetryMo. + MoName corresponds to Fanwood telemetry Mo + + :return: The mo_name of this UcsdconnectorTelemetryMo. + :rtype: str + """ + return self._mo_name + + @mo_name.setter + def mo_name(self, mo_name): + """ + Sets the mo_name of this UcsdconnectorTelemetryMo. + MoName corresponds to Fanwood telemetry Mo + + :param mo_name: The mo_name of this UcsdconnectorTelemetryMo. + :type: str + """ + + self._mo_name = mo_name + + @property + def object_query(self): + """ + Gets the object_query of this UcsdconnectorTelemetryMo. + It contains a single SQL Query that collects all the properties of a Mo + + :return: The object_query of this UcsdconnectorTelemetryMo. + :rtype: UcsdconnectorSqlQuery + """ + return self._object_query + + @object_query.setter + def object_query(self, object_query): + """ + Sets the object_query of this UcsdconnectorTelemetryMo. + It contains a single SQL Query that collects all the properties of a Mo + + :param object_query: The object_query of this UcsdconnectorTelemetryMo. + :type: UcsdconnectorSqlQuery + """ + + self._object_query = object_query + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorTelemetryMo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/ucsdconnector_telemetry_mo_ref.py b/intersight/models/ucsdconnector_telemetry_mo_ref.py new file mode 100644 index 00000000..4ef38b36 --- /dev/null +++ b/intersight/models/ucsdconnector_telemetry_mo_ref.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Intersight REST API + + This is Intersight REST API + + OpenAPI spec version: 1.0.9-260 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class UcsdconnectorTelemetryMoRef(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'moid': 'str', + 'object_type': 'str' + } + + attribute_map = { + 'moid': 'Moid', + 'object_type': 'ObjectType' + } + + def __init__(self, moid=None, object_type=None): + """ + UcsdconnectorTelemetryMoRef - a model defined in Swagger + """ + + self._moid = None + self._object_type = None + + if moid is not None: + self.moid = moid + if object_type is not None: + self.object_type = object_type + + @property + def moid(self): + """ + Gets the moid of this UcsdconnectorTelemetryMoRef. + + :return: The moid of this UcsdconnectorTelemetryMoRef. + :rtype: str + """ + return self._moid + + @moid.setter + def moid(self, moid): + """ + Sets the moid of this UcsdconnectorTelemetryMoRef. + + :param moid: The moid of this UcsdconnectorTelemetryMoRef. + :type: str + """ + + self._moid = moid + + @property + def object_type(self): + """ + Gets the object_type of this UcsdconnectorTelemetryMoRef. + + :return: The object_type of this UcsdconnectorTelemetryMoRef. + :rtype: str + """ + return self._object_type + + @object_type.setter + def object_type(self, object_type): + """ + Sets the object_type of this UcsdconnectorTelemetryMoRef. + + :param object_type: The object_type of this UcsdconnectorTelemetryMoRef. + :type: str + """ + + self._object_type = object_type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, UcsdconnectorTelemetryMoRef): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/intersight/models/views_view.py b/intersight/models/views_view.py index 1262cfba..f070c142 100644 --- a/intersight/models/views_view.py +++ b/intersight/models/views_view.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,7 +39,8 @@ class ViewsView(object): 'object_type': 'str', 'owners': 'list[str]', 'parent': 'MoBaseMoRef', - 'tags': 'list[MoTag]' + 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext' } attribute_map = { @@ -51,10 +52,11 @@ class ViewsView(object): 'object_type': 'ObjectType', 'owners': 'Owners', 'parent': 'Parent', - 'tags': 'Tags' + 'tags': 'Tags', + 'version_context': 'VersionContext' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None): """ ViewsView - a model defined in Swagger """ @@ -68,6 +70,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None if account_moid is not None: self.account_moid = account_moid @@ -87,6 +90,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context @property def account_moid(self): @@ -276,7 +281,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this ViewsView. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this ViewsView. :rtype: list[MoTag] @@ -287,7 +292,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this ViewsView. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this ViewsView. :type: list[MoTag] @@ -295,6 +300,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this ViewsView. + The versioning info for this managed object + + :return: The version_context of this ViewsView. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this ViewsView. + The versioning info for this managed object + + :param version_context: The version_context of this ViewsView. + :type: MoVersionContext + """ + + self._version_context = version_context + def to_dict(self): """ Returns the model properties as a dict diff --git a/intersight/models/views_view_ref.py b/intersight/models/views_view_ref.py index b5e3aac4..54ea4b2c 100644 --- a/intersight/models/views_view_ref.py +++ b/intersight/models/views_view_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_deploy_task_ref.py b/intersight/models/vmedia_deploy_task_ref.py index d9cb8a7d..5bbc6519 100644 --- a/intersight/models/vmedia_deploy_task_ref.py +++ b/intersight/models/vmedia_deploy_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_mapping.py b/intersight/models/vmedia_mapping.py index 3d23ce66..f19216da 100644 --- a/intersight/models/vmedia_mapping.py +++ b/intersight/models/vmedia_mapping.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_mapping_ref.py b/intersight/models/vmedia_mapping_ref.py index cc76390c..72814023 100644 --- a/intersight/models/vmedia_mapping_ref.py +++ b/intersight/models/vmedia_mapping_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_policy.py b/intersight/models/vmedia_policy.py index cb435b6f..b914812b 100644 --- a/intersight/models/vmedia_policy.py +++ b/intersight/models/vmedia_policy.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class VmediaPolicy(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'description': 'str', 'name': 'str', 'enabled': 'bool', @@ -60,6 +61,7 @@ class VmediaPolicy(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'description': 'Description', 'name': 'Name', 'enabled': 'Enabled', @@ -70,7 +72,7 @@ class VmediaPolicy(object): 'profiles': 'Profiles' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, description=None, name=None, enabled=None, encryption=None, low_power_usb=None, mappings=None, organization=None, profiles=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, description=None, name=None, enabled=None, encryption=None, low_power_usb=None, mappings=None, organization=None, profiles=None): """ VmediaPolicy - a model defined in Swagger """ @@ -84,6 +86,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._description = None self._name = None self._enabled = None @@ -111,6 +114,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if description is not None: self.description = description if name is not None: @@ -316,7 +321,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this VmediaPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this VmediaPolicy. :rtype: list[MoTag] @@ -327,7 +332,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this VmediaPolicy. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this VmediaPolicy. :type: list[MoTag] @@ -335,6 +340,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this VmediaPolicy. + The versioning info for this managed object + + :return: The version_context of this VmediaPolicy. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this VmediaPolicy. + The versioning info for this managed object + + :param version_context: The version_context of this VmediaPolicy. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def description(self): """ diff --git a/intersight/models/vmedia_policy_list.py b/intersight/models/vmedia_policy_list.py index fbea7243..8ed7d0e0 100644 --- a/intersight/models/vmedia_policy_list.py +++ b/intersight/models/vmedia_policy_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_policy_ref.py b/intersight/models/vmedia_policy_ref.py index c91a33b8..c7bd6ca5 100644 --- a/intersight/models/vmedia_policy_ref.py +++ b/intersight/models/vmedia_policy_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/vmedia_validation_task_ref.py b/intersight/models/vmedia_validation_task_ref.py index 467127dc..bd2a12ca 100644 --- a/intersight/models/vmedia_validation_task_ref.py +++ b/intersight/models/vmedia_validation_task_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_build_task_meta.py b/intersight/models/workflow_build_task_meta.py index b1438ee1..c3e80dab 100644 --- a/intersight/models/workflow_build_task_meta.py +++ b/intersight/models/workflow_build_task_meta.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowBuildTaskMeta(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'name': 'str', 'src': 'str', 'task_list': 'object', @@ -57,6 +58,7 @@ class WorkflowBuildTaskMeta(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'name': 'Name', 'src': 'Src', 'task_list': 'TaskList', @@ -64,7 +66,7 @@ class WorkflowBuildTaskMeta(object): 'workflow_type': 'WorkflowType' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, name=None, src=None, task_list=None, task_type=None, workflow_type=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, name=None, src=None, task_list=None, task_type=None, workflow_type=None): """ WorkflowBuildTaskMeta - a model defined in Swagger """ @@ -78,6 +80,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._name = None self._src = None self._task_list = None @@ -102,6 +105,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if name is not None: self.name = name if src is not None: @@ -301,7 +306,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowBuildTaskMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowBuildTaskMeta. :rtype: list[MoTag] @@ -312,7 +317,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowBuildTaskMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowBuildTaskMeta. :type: list[MoTag] @@ -320,6 +325,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowBuildTaskMeta. + The versioning info for this managed object + + :return: The version_context of this WorkflowBuildTaskMeta. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowBuildTaskMeta. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowBuildTaskMeta. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def name(self): """ diff --git a/intersight/models/workflow_build_task_meta_list.py b/intersight/models/workflow_build_task_meta_list.py index 1a1a2fa8..738ee854 100644 --- a/intersight/models/workflow_build_task_meta_list.py +++ b/intersight/models/workflow_build_task_meta_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_build_task_meta_owner.py b/intersight/models/workflow_build_task_meta_owner.py index ddedba13..a1ee6d08 100644 --- a/intersight/models/workflow_build_task_meta_owner.py +++ b/intersight/models/workflow_build_task_meta_owner.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowBuildTaskMetaOwner(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'service': 'str', 'workflow_types': 'list[str]' } @@ -54,11 +55,12 @@ class WorkflowBuildTaskMetaOwner(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'service': 'Service', 'workflow_types': 'WorkflowTypes' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, service=None, workflow_types=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, service=None, workflow_types=None): """ WorkflowBuildTaskMetaOwner - a model defined in Swagger """ @@ -72,6 +74,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._service = None self._workflow_types = None @@ -93,6 +96,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if service is not None: self.service = service if workflow_types is not None: @@ -286,7 +291,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowBuildTaskMetaOwner. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowBuildTaskMetaOwner. :rtype: list[MoTag] @@ -297,7 +302,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowBuildTaskMetaOwner. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowBuildTaskMetaOwner. :type: list[MoTag] @@ -305,6 +310,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowBuildTaskMetaOwner. + The versioning info for this managed object + + :return: The version_context of this WorkflowBuildTaskMetaOwner. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowBuildTaskMetaOwner. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowBuildTaskMetaOwner. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def service(self): """ diff --git a/intersight/models/workflow_build_task_meta_owner_list.py b/intersight/models/workflow_build_task_meta_owner_list.py index e7fe9ce1..fc6da19a 100644 --- a/intersight/models/workflow_build_task_meta_owner_list.py +++ b/intersight/models/workflow_build_task_meta_owner_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_build_task_meta_owner_ref.py b/intersight/models/workflow_build_task_meta_owner_ref.py index 07788206..9dca74f5 100644 --- a/intersight/models/workflow_build_task_meta_owner_ref.py +++ b/intersight/models/workflow_build_task_meta_owner_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_build_task_meta_ref.py b/intersight/models/workflow_build_task_meta_ref.py index 7a980bc8..a8c3205d 100644 --- a/intersight/models/workflow_build_task_meta_ref.py +++ b/intersight/models/workflow_build_task_meta_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_dynamic_workflow_action_task_list.py b/intersight/models/workflow_dynamic_workflow_action_task_list.py index 042a2557..8081d697 100644 --- a/intersight/models/workflow_dynamic_workflow_action_task_list.py +++ b/intersight/models/workflow_dynamic_workflow_action_task_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py b/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py index 18c8e43f..4cf7f58d 100644 --- a/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py +++ b/intersight/models/workflow_dynamic_workflow_action_task_list_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_input_definition_ref.py b/intersight/models/workflow_input_definition_ref.py index 70b9477f..b4617f31 100644 --- a/intersight/models/workflow_input_definition_ref.py +++ b/intersight/models/workflow_input_definition_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_input_parameter_ref.py b/intersight/models/workflow_input_parameter_ref.py index 5ea4b878..ae530ef0 100644 --- a/intersight/models/workflow_input_parameter_ref.py +++ b/intersight/models/workflow_input_parameter_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_pending_dynamic_workflow_info.py b/intersight/models/workflow_pending_dynamic_workflow_info.py index 49c5d16a..bef94d04 100644 --- a/intersight/models/workflow_pending_dynamic_workflow_info.py +++ b/intersight/models/workflow_pending_dynamic_workflow_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowPendingDynamicWorkflowInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'input': 'object', 'name': 'str', @@ -49,6 +50,7 @@ class WorkflowPendingDynamicWorkflowInfo(object): 'wait_on_duplicate': 'bool', 'workflow_action_task_lists': 'list[WorkflowDynamicWorkflowActionTaskList]', 'workflow_ctx': 'object', + 'workflow_info': 'WorkflowWorkflowInfoRef', 'workflow_key': 'str', 'workflow_meta': 'object' } @@ -63,6 +65,7 @@ class WorkflowPendingDynamicWorkflowInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'input': 'Input', 'name': 'Name', @@ -72,11 +75,12 @@ class WorkflowPendingDynamicWorkflowInfo(object): 'wait_on_duplicate': 'WaitOnDuplicate', 'workflow_action_task_lists': 'WorkflowActionTaskLists', 'workflow_ctx': 'WorkflowCtx', + 'workflow_info': 'WorkflowInfo', 'workflow_key': 'WorkflowKey', 'workflow_meta': 'WorkflowMeta' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, input=None, name=None, pending_services=None, src=None, status='GatheringTasks', wait_on_duplicate=None, workflow_action_task_lists=None, workflow_ctx=None, workflow_key=None, workflow_meta=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, input=None, name=None, pending_services=None, src=None, status='GatheringTasks', wait_on_duplicate=None, workflow_action_task_lists=None, workflow_ctx=None, workflow_info=None, workflow_key=None, workflow_meta=None): """ WorkflowPendingDynamicWorkflowInfo - a model defined in Swagger """ @@ -90,6 +94,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._input = None self._name = None @@ -99,6 +104,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._wait_on_duplicate = None self._workflow_action_task_lists = None self._workflow_ctx = None + self._workflow_info = None self._workflow_key = None self._workflow_meta = None @@ -120,6 +126,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if input is not None: @@ -138,6 +146,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.workflow_action_task_lists = workflow_action_task_lists if workflow_ctx is not None: self.workflow_ctx = workflow_ctx + if workflow_info is not None: + self.workflow_info = workflow_info if workflow_key is not None: self.workflow_key = workflow_key if workflow_meta is not None: @@ -331,7 +341,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowPendingDynamicWorkflowInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowPendingDynamicWorkflowInfo. :rtype: list[MoTag] @@ -342,7 +352,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowPendingDynamicWorkflowInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowPendingDynamicWorkflowInfo. :type: list[MoTag] @@ -350,6 +360,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowPendingDynamicWorkflowInfo. + The versioning info for this managed object + + :return: The version_context of this WorkflowPendingDynamicWorkflowInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowPendingDynamicWorkflowInfo. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowPendingDynamicWorkflowInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ @@ -563,6 +596,27 @@ def workflow_ctx(self, workflow_ctx): self._workflow_ctx = workflow_ctx + @property + def workflow_info(self): + """ + Gets the workflow_info of this WorkflowPendingDynamicWorkflowInfo. + + :return: The workflow_info of this WorkflowPendingDynamicWorkflowInfo. + :rtype: WorkflowWorkflowInfoRef + """ + return self._workflow_info + + @workflow_info.setter + def workflow_info(self, workflow_info): + """ + Sets the workflow_info of this WorkflowPendingDynamicWorkflowInfo. + + :param workflow_info: The workflow_info of this WorkflowPendingDynamicWorkflowInfo. + :type: WorkflowWorkflowInfoRef + """ + + self._workflow_info = workflow_info + @property def workflow_key(self): """ diff --git a/intersight/models/workflow_pending_dynamic_workflow_info_list.py b/intersight/models/workflow_pending_dynamic_workflow_info_list.py index 43d1e1bc..a5303b6d 100644 --- a/intersight/models/workflow_pending_dynamic_workflow_info_list.py +++ b/intersight/models/workflow_pending_dynamic_workflow_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_pending_dynamic_workflow_info_ref.py b/intersight/models/workflow_pending_dynamic_workflow_info_ref.py index da1c72bd..10fe4c67 100644 --- a/intersight/models/workflow_pending_dynamic_workflow_info_ref.py +++ b/intersight/models/workflow_pending_dynamic_workflow_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_info.py b/intersight/models/workflow_task_info.py index 8cddcd3a..fcafc323 100644 --- a/intersight/models/workflow_task_info.py +++ b/intersight/models/workflow_task_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowTaskInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'descr': 'str', 'end_time': 'datetime', 'failure_reason': 'str', @@ -66,6 +67,7 @@ class WorkflowTaskInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'descr': 'Descr', 'end_time': 'EndTime', 'failure_reason': 'FailureReason', @@ -82,7 +84,7 @@ class WorkflowTaskInfo(object): 'workflow_info': 'WorkflowInfo' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, descr=None, end_time=None, failure_reason=None, input=None, inst_id=None, internal=None, name=None, output=None, ref_name=None, retry_count=None, start_time=None, status=None, task_inst_id_list=None, workflow_info=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, descr=None, end_time=None, failure_reason=None, input=None, inst_id=None, internal=None, name=None, output=None, ref_name=None, retry_count=None, start_time=None, status=None, task_inst_id_list=None, workflow_info=None): """ WorkflowTaskInfo - a model defined in Swagger """ @@ -96,6 +98,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._descr = None self._end_time = None self._failure_reason = None @@ -129,6 +132,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if descr is not None: self.descr = descr if end_time is not None: @@ -346,7 +351,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowTaskInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowTaskInfo. :rtype: list[MoTag] @@ -357,7 +362,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowTaskInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowTaskInfo. :type: list[MoTag] @@ -365,6 +370,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowTaskInfo. + The versioning info for this managed object + + :return: The version_context of this WorkflowTaskInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowTaskInfo. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowTaskInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def descr(self): """ diff --git a/intersight/models/workflow_task_info_list.py b/intersight/models/workflow_task_info_list.py index af4ede41..5c862ef7 100644 --- a/intersight/models/workflow_task_info_list.py +++ b/intersight/models/workflow_task_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_info_ref.py b/intersight/models/workflow_task_info_ref.py index fa4a42b3..ac178b1d 100644 --- a/intersight/models/workflow_task_info_ref.py +++ b/intersight/models/workflow_task_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_meta.py b/intersight/models/workflow_task_meta.py index 064292c0..af582759 100644 --- a/intersight/models/workflow_task_meta.py +++ b/intersight/models/workflow_task_meta.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowTaskMeta(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'action_type': 'str', 'description': 'str', 'input_keys': 'list[str]', @@ -65,6 +66,7 @@ class WorkflowTaskMeta(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'action_type': 'ActionType', 'description': 'Description', 'input_keys': 'InputKeys', @@ -80,7 +82,7 @@ class WorkflowTaskMeta(object): 'timeout_sec': 'TimeoutSec' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, action_type=None, description=None, input_keys=None, internal=None, name=None, output_keys=None, response_timeout_sec=None, retry_count=None, retry_delay_sec=None, retry_logic=None, src=None, timeout_policy=None, timeout_sec=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, action_type=None, description=None, input_keys=None, internal=None, name=None, output_keys=None, response_timeout_sec=None, retry_count=None, retry_delay_sec=None, retry_logic=None, src=None, timeout_policy=None, timeout_sec=None): """ WorkflowTaskMeta - a model defined in Swagger """ @@ -94,6 +96,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._action_type = None self._description = None self._input_keys = None @@ -126,6 +129,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if action_type is not None: self.action_type = action_type if description is not None: @@ -341,7 +346,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowTaskMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowTaskMeta. :rtype: list[MoTag] @@ -352,7 +357,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowTaskMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowTaskMeta. :type: list[MoTag] @@ -360,6 +365,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowTaskMeta. + The versioning info for this managed object + + :return: The version_context of this WorkflowTaskMeta. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowTaskMeta. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowTaskMeta. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def action_type(self): """ diff --git a/intersight/models/workflow_task_meta_list.py b/intersight/models/workflow_task_meta_list.py index f69fe835..4f648a5e 100644 --- a/intersight/models/workflow_task_meta_list.py +++ b/intersight/models/workflow_task_meta_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_meta_ref.py b/intersight/models/workflow_task_meta_ref.py index 5315864c..8ddb0a75 100644 --- a/intersight/models/workflow_task_meta_ref.py +++ b/intersight/models/workflow_task_meta_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_retry_info.py b/intersight/models/workflow_task_retry_info.py index 3056688a..a0fc8f90 100644 --- a/intersight/models/workflow_task_retry_info.py +++ b/intersight/models/workflow_task_retry_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_task_retry_info_ref.py b/intersight/models/workflow_task_retry_info_ref.py index 055d708a..3a636834 100644 --- a/intersight/models/workflow_task_retry_info_ref.py +++ b/intersight/models/workflow_task_retry_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_workflow_info.py b/intersight/models/workflow_workflow_info.py index 2526afa8..f5a85095 100644 --- a/intersight/models/workflow_workflow_info.py +++ b/intersight/models/workflow_workflow_info.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,14 +40,18 @@ class WorkflowWorkflowInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'action': 'str', + 'dynamic': 'bool', 'end_time': 'datetime', 'input': 'object', 'inst_id': 'str', + 'internal': 'bool', 'meta_version': 'int', 'name': 'str', 'output': 'object', + 'pending_dynamic_workflow_info': 'WorkflowPendingDynamicWorkflowInfoRef', 'progress': 'float', 'src': 'str', 'start_time': 'datetime', @@ -71,14 +75,18 @@ class WorkflowWorkflowInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'action': 'Action', + 'dynamic': 'Dynamic', 'end_time': 'EndTime', 'input': 'Input', 'inst_id': 'InstId', + 'internal': 'Internal', 'meta_version': 'MetaVersion', 'name': 'Name', 'output': 'Output', + 'pending_dynamic_workflow_info': 'PendingDynamicWorkflowInfo', 'progress': 'Progress', 'src': 'Src', 'start_time': 'StartTime', @@ -92,7 +100,7 @@ class WorkflowWorkflowInfo(object): 'workflow_task_count': 'WorkflowTaskCount' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, action='Start', end_time=None, input=None, inst_id=None, meta_version=None, name=None, output=None, progress=None, src=None, start_time=None, status=None, task_infos=None, type=None, user_id=None, workflow_ctx=None, workflow_key=None, workflow_meta_type='SystemDefined', workflow_task_count=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, action='Start', dynamic=None, end_time=None, input=None, inst_id=None, internal=None, meta_version=None, name=None, output=None, pending_dynamic_workflow_info=None, progress=None, src=None, start_time=None, status=None, task_infos=None, type=None, user_id=None, workflow_ctx=None, workflow_key=None, workflow_meta_type='SystemDefined', workflow_task_count=None): """ WorkflowWorkflowInfo - a model defined in Swagger """ @@ -106,14 +114,18 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._action = None + self._dynamic = None self._end_time = None self._input = None self._inst_id = None + self._internal = None self._meta_version = None self._name = None self._output = None + self._pending_dynamic_workflow_info = None self._progress = None self._src = None self._start_time = None @@ -144,22 +156,30 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if action is not None: self.action = action + if dynamic is not None: + self.dynamic = dynamic if end_time is not None: self.end_time = end_time if input is not None: self.input = input if inst_id is not None: self.inst_id = inst_id + if internal is not None: + self.internal = internal if meta_version is not None: self.meta_version = meta_version if name is not None: self.name = name if output is not None: self.output = output + if pending_dynamic_workflow_info is not None: + self.pending_dynamic_workflow_info = pending_dynamic_workflow_info if progress is not None: self.progress = progress if src is not None: @@ -371,7 +391,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowWorkflowInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowWorkflowInfo. :rtype: list[MoTag] @@ -382,7 +402,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowWorkflowInfo. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowWorkflowInfo. :type: list[MoTag] @@ -390,6 +410,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowWorkflowInfo. + The versioning info for this managed object + + :return: The version_context of this WorkflowWorkflowInfo. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowWorkflowInfo. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowWorkflowInfo. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ @@ -442,6 +485,29 @@ def action(self, action): self._action = action + @property + def dynamic(self): + """ + Gets the dynamic of this WorkflowWorkflowInfo. + Denotes if this WorkflowInfo is for a dynamic workflow + + :return: The dynamic of this WorkflowWorkflowInfo. + :rtype: bool + """ + return self._dynamic + + @dynamic.setter + def dynamic(self, dynamic): + """ + Sets the dynamic of this WorkflowWorkflowInfo. + Denotes if this WorkflowInfo is for a dynamic workflow + + :param dynamic: The dynamic of this WorkflowWorkflowInfo. + :type: bool + """ + + self._dynamic = dynamic + @property def end_time(self): """ @@ -511,6 +577,29 @@ def inst_id(self, inst_id): self._inst_id = inst_id + @property + def internal(self): + """ + Gets the internal of this WorkflowWorkflowInfo. + Denotes if this workflow is internal and should be hidden from user view + + :return: The internal of this WorkflowWorkflowInfo. + :rtype: bool + """ + return self._internal + + @internal.setter + def internal(self, internal): + """ + Sets the internal of this WorkflowWorkflowInfo. + Denotes if this workflow is internal and should be hidden from user view + + :param internal: The internal of this WorkflowWorkflowInfo. + :type: bool + """ + + self._internal = internal + @property def meta_version(self): """ @@ -580,6 +669,27 @@ def output(self, output): self._output = output + @property + def pending_dynamic_workflow_info(self): + """ + Gets the pending_dynamic_workflow_info of this WorkflowWorkflowInfo. + + :return: The pending_dynamic_workflow_info of this WorkflowWorkflowInfo. + :rtype: WorkflowPendingDynamicWorkflowInfoRef + """ + return self._pending_dynamic_workflow_info + + @pending_dynamic_workflow_info.setter + def pending_dynamic_workflow_info(self, pending_dynamic_workflow_info): + """ + Sets the pending_dynamic_workflow_info of this WorkflowWorkflowInfo. + + :param pending_dynamic_workflow_info: The pending_dynamic_workflow_info of this WorkflowWorkflowInfo. + :type: WorkflowPendingDynamicWorkflowInfoRef + """ + + self._pending_dynamic_workflow_info = pending_dynamic_workflow_info + @property def progress(self): """ diff --git a/intersight/models/workflow_workflow_info_list.py b/intersight/models/workflow_workflow_info_list.py index fde49ba9..2d16e12c 100644 --- a/intersight/models/workflow_workflow_info_list.py +++ b/intersight/models/workflow_workflow_info_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_workflow_info_ref.py b/intersight/models/workflow_workflow_info_ref.py index dbe11c66..ebe10205 100644 --- a/intersight/models/workflow_workflow_info_ref.py +++ b/intersight/models/workflow_workflow_info_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_workflow_meta.py b/intersight/models/workflow_workflow_meta.py index 2185d4c4..74d9be87 100644 --- a/intersight/models/workflow_workflow_meta.py +++ b/intersight/models/workflow_workflow_meta.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,6 +40,7 @@ class WorkflowWorkflowMeta(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'description': 'str', 'input_parameters': 'list[str]', @@ -63,6 +64,7 @@ class WorkflowWorkflowMeta(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'description': 'Description', 'input_parameters': 'InputParameters', @@ -76,7 +78,7 @@ class WorkflowWorkflowMeta(object): 'wait_on_duplicate': 'WaitOnDuplicate' } - def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, account=None, description=None, input_parameters=None, name=None, output_parameters=None, schema_version=None, src=None, tasks=None, type='SystemDefined', version=None, wait_on_duplicate=None): + def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time=None, moid=None, object_type=None, owners=None, parent=None, tags=None, version_context=None, account=None, description=None, input_parameters=None, name=None, output_parameters=None, schema_version=None, src=None, tasks=None, type='SystemDefined', version=None, wait_on_duplicate=None): """ WorkflowWorkflowMeta - a model defined in Swagger """ @@ -90,6 +92,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._owners = None self._parent = None self._tags = None + self._version_context = None self._account = None self._description = None self._input_parameters = None @@ -120,6 +123,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.parent = parent if tags is not None: self.tags = tags + if version_context is not None: + self.version_context = version_context if account is not None: self.account = account if description is not None: @@ -331,7 +336,7 @@ def parent(self, parent): def tags(self): """ Gets the tags of this WorkflowWorkflowMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :return: The tags of this WorkflowWorkflowMeta. :rtype: list[MoTag] @@ -342,7 +347,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this WorkflowWorkflowMeta. - An array of tags, which allow to add key, value meta-data to managed objects. + An array of tags, which allow to add key, value meta-data to managed objects. :param tags: The tags of this WorkflowWorkflowMeta. :type: list[MoTag] @@ -350,6 +355,29 @@ def tags(self, tags): self._tags = tags + @property + def version_context(self): + """ + Gets the version_context of this WorkflowWorkflowMeta. + The versioning info for this managed object + + :return: The version_context of this WorkflowWorkflowMeta. + :rtype: MoVersionContext + """ + return self._version_context + + @version_context.setter + def version_context(self, version_context): + """ + Sets the version_context of this WorkflowWorkflowMeta. + The versioning info for this managed object + + :param version_context: The version_context of this WorkflowWorkflowMeta. + :type: MoVersionContext + """ + + self._version_context = version_context + @property def account(self): """ diff --git a/intersight/models/workflow_workflow_meta_list.py b/intersight/models/workflow_workflow_meta_list.py index 6454760b..c05adb5f 100644 --- a/intersight/models/workflow_workflow_meta_list.py +++ b/intersight/models/workflow_workflow_meta_list.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/models/workflow_workflow_meta_ref.py b/intersight/models/workflow_workflow_meta_ref.py index 021db9fd..e723baa2 100644 --- a/intersight/models/workflow_workflow_meta_ref.py +++ b/intersight/models/workflow_workflow_meta_ref.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/rest.py b/intersight/rest.py index 7aa5d491..8fcce306 100644 --- a/intersight/rest.py +++ b/intersight/rest.py @@ -5,7 +5,7 @@ This is Intersight REST API - OpenAPI spec version: 1.0.7-681 + OpenAPI spec version: 1.0.9-260 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/requirements.txt b/requirements.txt index e03bcc71..7eb7052a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ certifi >= 14.05.14 -six +six >= 1.10 python_dateutil >= 2.5.3 setuptools >= 21.0.0 -urllib3 >= 1.15.1, <= 1.22 -pycryptodome >= 3.6.1 -requests +urllib3 >= 1.15.1 +pycryptodome >= 3.6.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 45796187..a6a57d75 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from setuptools import setup, find_packages NAME = "intersight" -VERSION = "1.0.2" +VERSION = "1.0.0" # To install the library, run the following # # python setup.py install @@ -23,7 +23,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -REQUIRES = ["pycryptodome >= 3.6.1", "urllib3 >= 1.15, <= 1.22", "six", "certifi", "python-dateutil", "requests"] +REQUIRES = ["pycryptodome >= 3.6.1", "urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] setup( name=NAME,