diff --git a/README.md b/README.md index 0f1105e4..111825a8 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-261 +- 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..0feeeead 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-261 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..3cab5f19 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-261 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..638ef718 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-261 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..3c9ccb70 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-261 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..e201917a 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-261 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..d38d1519 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-261 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..961bbb30 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-261 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..5c8c9966 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-261 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..de7648de 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-261 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..90cdea90 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-261 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..fefc06a1 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-261 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..aa5a83de 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-261 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..6471d398 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-261 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..0c9dbd1b 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-261 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..c86bca06 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-261 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..2ce400f4 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-261 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..b396bcd2 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-261 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..c1895353 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-261 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..997a62c0 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-261 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..367e1d40 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-261 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..d458a460 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-261 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..bb141c72 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-261 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..49a21264 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-261 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..22ea2753 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-261 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..cf6e6009 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-261 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..0884d0dc --- /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-261 + + 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..aa858983 --- /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-261 + + 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..2f193f69 --- /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-261 + + 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..26e3c441 --- /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-261 + + 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..f6bcdc87 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-261 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..9bf1b673 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-261 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..db20707d 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-261 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..2ce62309 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-261 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..1d00c8e4 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-261 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..b0383b2c 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-261 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..bc04ae9c 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-261 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..c0812715 --- /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-261 + + 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..66f179d8 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-261 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..e8ee211c 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-261 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..9f72cd4b --- /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-261 + + 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..d3c4f7e6 --- /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-261 + + 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..f054d1fc 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-261 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..3f42b621 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-261 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..42290cdd --- /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-261 + + 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..63ae67f3 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-261 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..b0b3e277 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-261 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..a5e81371 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-261 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..4c6a87c0 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-261 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..4217ec35 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-261 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..f75524bf 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-261 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..984f8457 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-261 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..6305e412 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-261 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..6aff6b05 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-261 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..e05f52e3 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-261 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..5f015d09 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-261 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..538a4013 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-261 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..326dc259 --- /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-261 + + 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..04e46714 --- /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-261 + + 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..b4b676ce --- /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-261 + + 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..72d48e4e 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-261 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..28a77726 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-261 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..86d22bfb 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-261 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..2e995189 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-261 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..68e52dfc 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-261 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..19b38561 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-261 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..51cb5344 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-261 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..56640bf8 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-261 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..2469fc14 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-261 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..903c4c4f 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-261 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..5f6bc1b6 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-261 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..7670283a 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-261 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..da48f887 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-261 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..55e2f1fd 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-261 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..75d97580 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-261 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..a1ea93b0 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-261 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..bfd99bd7 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-261 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..eb4db67b --- /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-261 + + 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..f388ab3c 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-261 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..611800f2 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-261 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..22a8b0f7 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-261 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..3764b7df 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-261 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..6f8f729f 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-261 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..e44d9c53 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-261 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..33fbb961 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-261 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..15945c74 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-261 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..7d0c7686 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-261 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..af0fc02e 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-261 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..91bd7a9e 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-261 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..26914932 --- /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-261 + + 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..87932b85 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-261 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..0fa706c8 --- /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-261 + + 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..64a70be6 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-261 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..202bca7b 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-261 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..864ac4a3 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-261 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..6575b040 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-261 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..ca0ec426 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-261 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..75243dee 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-261 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..7d7578b8 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-261 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..25353630 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-261 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..fd06a066 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-261 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..1c09bbd2 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-261 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..603e260b 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-261 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..3eee84fd 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-261 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..f2f9b59f 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-261 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..563d9c1b 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-261 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..0fec184d 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-261 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..147dbb09 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-261 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..2174fec5 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-261 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..a259174f 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-261 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..e802f5d5 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-261 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..4ca663ff 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-261 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..7d40e2bd 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-261 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..470df979 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-261 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..63f7708c 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-261 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..5d729aed 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-261 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..e2bc826f 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-261 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..fb7ca807 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-261 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..821c0e3a 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-261 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..6fb67e5b 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-261 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..21bd2976 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-261 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..5043563f 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-261 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..eadcbf78 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-261 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..69036ca6 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-261 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..2ff0e044 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-261 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..00c99ae1 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-261 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..487202c3 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-261 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..4fbc0638 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-261 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..4c595b48 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-261 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..3e69c85e 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-261 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..8bb259be 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-261 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..ae42baed 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-261 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..0b3671dc 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-261 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..0490d201 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-261 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..2a2962ad 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-261 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..a4605e83 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-261 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..9e2d7348 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-261 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..1b2d262f 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-261 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..a54f92b3 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-261 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..88846770 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-261 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..a6d27724 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-261 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..abe87aca --- /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-261 + + 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..7af5eedc 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-261 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..9a3c7abc 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-261 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..6a8aff11 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-261 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..8349648e --- /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-261 + + 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..f0203e20 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-261 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..6d3ed5e5 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-261 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..be96cec7 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-261 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..52e63781 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-261 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..d2a9c373 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-261 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..86ba4ed6 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-261 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..05697778 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-261 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..4cb8ee75 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-261 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..faa106bd 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-261 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..6ea799bc 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-261 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..b9c1dc02 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-261 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..0cc2eb1b --- /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-261 + + 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..2f2c46c3 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-261 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..62130f92 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-261 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..881ad94e 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-261 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..82501b43 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-261 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..1d41adef 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-261 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..db572ada 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-261 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..c7de5247 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-261 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..9218960d 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-261 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..ccfff5b6 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-261 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..a4924037 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-261 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..6fa07920 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-261 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..f52fc1f9 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-261 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..0d0a62d6 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-261 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..e9d604b8 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-261 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..e78307d5 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-261 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..a5bb2912 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-261 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..74ba9fd6 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-261 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..dc9d1edc 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-261 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..0a8f76e3 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-261 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..9dc3fce2 --- /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-261 + + 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..fc7671a3 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-261 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..cfb0f4e1 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-261 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..57e19cd6 --- /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-261 + + 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..3116802f 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-261 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..f90ffdc8 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-261 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..a28d6869 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-261 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..bce8c749 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-261 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..c4281dad 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-261 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..fe4f581b 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-261 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..c666212e 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-261 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..8a77cfb9 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-261 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..470fbd54 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-261 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..ad6f6203 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-261 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..c76025f4 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-261 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..7087bb78 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-261 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..5e02f58b 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-261 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..6b2e834c 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-261 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..364c19b0 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-261 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-261\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..39f4aeed 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-261 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..c1f92fdb 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-261 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..736f0461 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-261 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..d110b30f 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-261 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..0049f9e7 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-261 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..b92242a5 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-261 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..16b2ad77 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-261 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..e7a39124 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-261 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..b7cedd76 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-261 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..1e824d9e 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-261 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..bfb53032 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-261 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..3ade8cb9 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-261 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..a4cbf86f 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-261 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..229f5f0f 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-261 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..ccca37d2 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-261 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..1022fbb1 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-261 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..d73cc20a 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-261 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..d55e9045 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-261 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..83f643f9 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-261 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..8c4c1f44 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-261 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..86005b55 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-261 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..c68815a5 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-261 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..78e9b6d1 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-261 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..84549d6a 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-261 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..1156c698 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-261 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..f63b3edb 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-261 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..da8a62e3 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-261 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..74570ea6 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-261 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..dc80aeb6 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-261 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..88799bbb 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-261 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..aa6a2f9a 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-261 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..ca5d7b66 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-261 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..1000d8c1 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-261 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..50e1ec4b 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-261 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..76e83682 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-261 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..54304e18 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-261 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..f0871491 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-261 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..39268ee5 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-261 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..9d1ce66c 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-261 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..4f9e2858 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-261 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..41b1a434 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-261 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..647f074b 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-261 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..af52fa7a 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-261 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..e550c197 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-261 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..ebe29208 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-261 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..f70950f0 --- /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-261 + + 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..5504fa60 --- /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-261 + + 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..388a3914 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-261 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..ae5ed4ce 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-261 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..ff941c87 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-261 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..d3abb222 --- /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-261 + + 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..fc6c6333 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-261 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..613bf18b 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-261 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..b8312dd5 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-261 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..6436c31b 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-261 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..bc0aae6e 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-261 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..27b069d2 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-261 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..cefcee30 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-261 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..17154df0 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-261 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..d2aa0b10 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-261 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..9800da78 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-261 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..0e41b00f 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-261 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..185f8151 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-261 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..9f087242 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-261 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..50b046ed 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-261 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..27458235 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-261 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..56311053 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-261 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..93aa166a 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-261 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..fd406373 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-261 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..e108a45c 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-261 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..b79b6d0c 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-261 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..6c01a6eb 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-261 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..0733be1a 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-261 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..41790907 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-261 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..5fcd5383 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-261 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..e58dd810 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-261 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..24446b61 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-261 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..5d6a18f7 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-261 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..896ff042 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-261 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..9a4fdaa6 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-261 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..4951714f 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-261 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..cb0f2050 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-261 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..3cd72823 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-261 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..75263f4f 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-261 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..660bb6c7 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-261 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..412baf18 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-261 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..4d9f6307 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-261 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..c1402af9 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-261 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..93151afb 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-261 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..8159dd2b 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-261 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..2aa802a0 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-261 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..f1d9f3c5 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-261 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..d6dc1b57 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-261 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..f783b090 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-261 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..8bd0d67e 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-261 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..b91777e7 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-261 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..12dda241 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-261 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..e91b310e 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-261 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..697b26dd 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-261 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..edad9b62 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-261 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..805d4c80 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-261 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..ab3c33ac 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-261 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..a7e36280 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-261 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..2fdedf36 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-261 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..914a7ff9 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-261 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..03f34464 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-261 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..d80a26e2 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-261 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..bad972a1 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-261 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..0a12c3ea 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-261 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..1f7435b8 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-261 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..230ed641 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-261 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..f1b52a02 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-261 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..0e301c5c 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-261 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..3a71e1bd 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-261 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..7c77df39 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-261 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..0140cbea 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-261 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..4eccf1a0 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-261 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..5bde94e8 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-261 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..a5e6a7dc 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-261 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..47ce6926 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-261 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..93eb2d0a 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-261 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..92681e61 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-261 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..b2db6303 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-261 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..f2ee2357 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-261 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..5178a98a 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-261 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..543629e4 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-261 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..08b6a9ad 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-261 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..34aadd88 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-261 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..f1f48d4b 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-261 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..06bd598c 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-261 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..9b0e3c64 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-261 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..40c318f8 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-261 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..2216c16d 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-261 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..0e6650e1 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-261 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..6d455ee0 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-261 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..29019cb7 --- /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-261 + + 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..82cce7ff --- /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-261 + + 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..b765a2f2 --- /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-261 + + 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..dae43b43 --- /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-261 + + 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..89d1dc43 --- /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-261 + + 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..e3f17f5d --- /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-261 + + 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..56b2c1f4 --- /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-261 + + 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..01c15711 --- /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-261 + + 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..bb6f746c --- /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-261 + + 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..8939692d --- /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-261 + + 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..3c72fc38 --- /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-261 + + 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..f97e3d9f --- /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-261 + + 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..5018d6c2 --- /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-261 + + 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..504c4570 --- /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-261 + + 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..05d40fdf --- /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-261 + + 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..02ba5698 --- /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-261 + + 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..1c871342 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-261 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..87cfa1d3 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-261 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..2527c095 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-261 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..a88c5fb8 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-261 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..6ea0e097 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-261 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..12db5f8b 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-261 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..a98f82a7 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-261 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..a27d38f6 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-261 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..f7220b16 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-261 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..f24792ab 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-261 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..7c9c350c 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-261 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..3e5c4c78 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-261 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..0cf6b58a 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-261 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..9fd36594 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-261 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..d475bb9e 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-261 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..0a312eba 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-261 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..6e5fbc3f 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-261 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..ea15c301 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-261 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..67d06273 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-261 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..01e32352 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-261 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..cb7db69d 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-261 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..a53a2ab4 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-261 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..aa8990f1 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-261 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..c118927b 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-261 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..fbcc5ffa 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-261 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..cb0bd2ae 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-261 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..ae7b0cd3 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-261 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..624bf713 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-261 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..663ae121 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-261 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..8eb42364 --- /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-261 + + 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..5ad82f15 --- /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-261 + + 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..356935dd --- /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-261 + + 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..2ccd3b44 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-261 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..4c512ae5 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-261 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..76db2f26 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-261 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..d88567e2 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-261 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..2f4d2011 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-261 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..fd7491f4 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-261 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..b9678afd --- /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-261 + + 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..a92f838d --- /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-261 + + 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..d666b9b0 --- /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-261 + + 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..e86198bb --- /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-261 + + 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..0f94d9e0 --- /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-261 + + 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..9fd3afba --- /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-261 + + 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..773c03ac 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-261 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..a3fcbaa0 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-261 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..b7e0f4db 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-261 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..61feebf1 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-261 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..090a205b 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-261 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..86a46e6d 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-261 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..09da6226 --- /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-261 + + 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..2f3cf4db --- /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-261 + + 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..5f0963b9 --- /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-261 + + 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..42acfad9 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-261 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..21f32b74 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-261 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..af6b2e1a 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-261 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..c77f092c 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-261 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..fd726e79 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-261 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..26b4524f 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-261 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..eee0871a 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-261 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..c6de1b36 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-261 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..2c31ce70 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-261 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..361dd231 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-261 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..c54fdcfc 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-261 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..90b05662 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-261 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..7f86044b 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-261 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..008e8bc7 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-261 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..168ba47c 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-261 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..2e8cdf20 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-261 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..4f6a186e 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-261 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..608c2caf 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-261 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..66f2d6fa 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-261 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..f392fcc0 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-261 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..b64a2416 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-261 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..18f5b3d3 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-261 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..910e10e3 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-261 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..dd2af5bc 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-261 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..f6969922 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-261 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..719a95ff 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-261 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..a58993b8 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-261 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..db9e79b7 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-261 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..708aa5bf 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-261 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..fab8f05c 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-261 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..534c5e36 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-261 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..c4ff4c90 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-261 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..656c2f5c 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-261 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..2a4553aa 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-261 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..5adbc737 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-261 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..0c528a03 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-261 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..3d7ca0f6 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-261 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..12a9f521 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-261 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..c8aff51f 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-261 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..260b709a 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-261 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..baa2d5e3 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-261 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..cf447307 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-261 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..2bad35f1 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-261 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..bcdffe06 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-261 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..c82a369d 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-261 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..0aa78b12 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-261 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..da2bf47d 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-261 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..04e0ed96 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-261 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..0bebdacb 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-261 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..9b50ab40 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-261 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..ffd5900a 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-261 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..83a95838 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-261 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..53e18851 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-261 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..29e27511 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-261 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..a10b4a43 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-261 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..cb4e9ede 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-261 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..524656ae 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-261 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..43d193cd 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-261 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..72f199b8 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-261 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..321b1054 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-261 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..85ee7c68 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-261 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..6fbe490d 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-261 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..21ec4005 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-261 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..5a3855a8 --- /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-261 + + 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..dca8a80f --- /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-261 + + 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..7c7500f0 --- /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-261 + + 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..5a6b92f7 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-261 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..f8438554 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-261 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..8647d8f9 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-261 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..d353c4af 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-261 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..b368f273 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-261 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..4288474a 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-261 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..7d478569 --- /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-261 + + 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..307c1cfd --- /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-261 + + 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..7b824a46 --- /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-261 + + 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..c55455f7 --- /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-261 + + 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..b7e0e63c --- /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-261 + + 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..42b21b18 --- /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-261 + + 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..98a7a32f 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-261 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..887a65fa 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-261 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..563f33b4 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-261 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..f1238dcc 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-261 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..2a01f629 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-261 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..e8ae6524 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-261 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..100e72f5 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-261 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..dab87f5b 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-261 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..9a38a34b 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-261 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..a28124c5 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-261 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..e44e1887 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-261 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..da746ab4 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-261 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..b6bce446 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-261 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..8f249337 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-261 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..de5749e6 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-261 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..40113dc8 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-261 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..9bb194b5 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-261 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..28e0c4cc 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-261 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..e56b7c62 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-261 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..e52506f7 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-261 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..fee27175 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-261 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..8b84fa2e 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-261 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..5d9d3ace 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-261 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..76190e95 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-261 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..93341738 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-261 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..f922fc52 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-261 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..699b49d7 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-261 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..c28a090b 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-261 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..2fe8a2e5 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-261 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..9a1ced36 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-261 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..45523989 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-261 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..6b93a034 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-261 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..f712ce86 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-261 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..97ae5a6a 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-261 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..603dcdcd 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-261 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..6ae60263 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-261 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..ec9a486b 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-261 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..2a110c8f 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-261 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..e378e16c 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-261 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..92a19438 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-261 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..b40a1fa2 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-261 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..f2669692 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-261 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..48b9a475 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-261 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..8bc7cb5a 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-261 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..d3554e5c 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-261 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..07d2b338 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-261 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..59eff397 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-261 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..32387a60 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-261 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..bc184fa2 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-261 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..3228c9c5 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-261 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..6b7ea359 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-261 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..944a8660 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-261 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..7485b52d 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-261 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..99b63d5c 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-261 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..03acd7e2 --- /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-261 + + 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..702e734f --- /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-261 + + 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..a7e66d21 --- /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-261 + + 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..ffaba4ca --- /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-261 + + 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..f9183e40 --- /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-261 + + 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..aef1033b --- /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-261 + + 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..916f4830 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-261 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..b1cf068a 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-261 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..00044baa 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-261 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..7ed84c0a 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-261 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..3542bf5a 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-261 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..8f27f98d 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-261 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..701ae2ec 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-261 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..76d7810d 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-261 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..4b83b0e5 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-261 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..edf4b674 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-261 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..5937ff03 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-261 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..8c48796b 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-261 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..3f540c65 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-261 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..3bfd83e8 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-261 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..742f7101 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-261 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..1b1f2309 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-261 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..60be93cd 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-261 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..8d0e2631 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-261 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..3a5da83c 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-261 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..6fbf1252 --- /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-261 + + 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..7137932f 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-261 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..c11890d3 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-261 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..adb5060f 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-261 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..15d3670d --- /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-261 + + 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..bcd9f738 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-261 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..ced73390 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-261 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..0252dd07 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-261 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..e694e846 --- /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-261 + + 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..614aad6c 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-261 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..21e84fbd 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-261 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..70044c57 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-261 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..4bf89270 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-261 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..6f3dde6b 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-261 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..2416844e 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-261 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..4f144a40 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-261 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..7e89fa93 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-261 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..686c4d08 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-261 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..a5a87673 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-261 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..69fac60a 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-261 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..d2d1e4cb 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-261 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..f0e4bb25 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-261 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..76e2c001 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-261 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..01810bbe 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-261 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..2a0e86c5 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-261 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..81278735 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-261 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..5bb04b9d 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-261 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..f0f30824 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-261 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..0aac8aed 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-261 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..91a422a2 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-261 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..f167a98b 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-261 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..1ff89228 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-261 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..df219d52 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-261 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..d0155a39 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-261 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..b02ceb73 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-261 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..6ba7d698 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-261 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..751230e1 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-261 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..ea69411b 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-261 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..981cafb1 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-261 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..28a7ca6d 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-261 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..370e0d47 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-261 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..2a2570a1 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-261 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..03b56199 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-261 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..41cf9728 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-261 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..91fa4fd6 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-261 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..3929be1d 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-261 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..f4a49f80 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-261 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..02b55333 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-261 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..312572be 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-261 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..6600efc5 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-261 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..e7e422e2 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-261 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..d580d694 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-261 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..07118364 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-261 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..d04cc861 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-261 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..80fc31a7 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-261 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..b9e03968 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-261 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..bf6c4748 --- /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-261 + + 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..8cc99919 --- /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-261 + + 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..88f8fcad --- /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-261 + + 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..629d91ca 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-261 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..fc7dc4c8 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-261 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..52266193 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-261 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..2f428f9e --- /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-261 + + 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..dc0622b7 --- /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-261 + + 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..df616137 --- /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-261 + + 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..37084a3c 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-261 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..bdffdf1f 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-261 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..43b3ce9f 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-261 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..0d807f3d 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-261 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..3ccd016b 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-261 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..9f4273f6 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-261 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..fc23a86d 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-261 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..bea3921b 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-261 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..6f59b4af 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-261 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..6175c0ba 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-261 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..76325547 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-261 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..81ca54c8 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-261 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..33843526 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-261 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..6becd174 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-261 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..ec8d757e 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-261 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..a52030f5 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-261 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..38700a9f 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-261 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..af99c7ba 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-261 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..657ec7bf 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-261 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..791906dc 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-261 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..04641249 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-261 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..d461feb0 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-261 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..6a103c6e 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-261 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..a5577887 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-261 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..e8b34e64 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-261 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..b42c5bd8 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-261 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..de917814 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-261 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..81e3b29b 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-261 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..5a1cd106 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-261 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..ee3edfc9 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-261 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..050f393b 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-261 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..813617ca 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-261 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..94a913c3 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-261 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..de3e8426 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-261 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..ea550ca3 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-261 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..55891975 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-261 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..85c86a32 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-261 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..cc0aa1a8 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-261 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..0209bebd --- /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-261 + + 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..141f6e20 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-261 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..c01b565b 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-261 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..63331fbf 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-261 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..daac5e22 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-261 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..9dfb020f 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-261 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..09600fd7 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-261 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..18eb4bae 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-261 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..5496cad4 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-261 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..aba37552 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-261 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..24efb30b 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-261 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..d90240f3 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-261 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..0c79b624 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-261 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..34f1b7a6 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-261 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..3b28bd19 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-261 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..d90e7c5c 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-261 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..a1f9637e 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-261 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..27a33c22 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-261 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..f635cf62 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-261 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..cd91be30 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-261 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..576403b0 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-261 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..eb99ef70 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-261 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..de20f9e0 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-261 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..10f96335 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-261 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..054d596c 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-261 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..a8451ea9 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-261 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..e0d892aa 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-261 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..70c711a2 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-261 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..167340da 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-261 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..a97f485c 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-261 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..e5898c8e 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-261 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..6b5d9755 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-261 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..856bd52d 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-261 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..52c5b6e0 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-261 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..4586006c 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-261 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..f136d5a7 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-261 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..a1860de6 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-261 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..de63b6bd 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-261 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..2408b66c 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-261 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..85ddfe4d 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-261 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..5941b605 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-261 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..88b42b20 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-261 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..a66fbb69 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-261 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..f55d085d 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-261 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..4a318fd8 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-261 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..259bfccf 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-261 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..0dab19ca 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-261 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..dec1f9db 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-261 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..2df44353 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-261 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..c62d6d3c 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-261 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..614d8b42 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-261 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..767169d8 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-261 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..db0a1c55 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-261 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..4de755ae 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-261 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..46d04fe7 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-261 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..48dac345 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-261 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..ebb7efc8 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-261 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..fc6a7cc1 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-261 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..3933a5a7 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-261 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..6a4f57f3 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-261 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..4c3e3048 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-261 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..bf90e855 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-261 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..8f7eb54f 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-261 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..55f36130 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-261 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..8c206706 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-261 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..2c7888f5 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-261 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..0acd4aad 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-261 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..95ec6267 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-261 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..51a31166 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-261 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..4d0fabe8 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-261 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..d87f354b 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-261 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..1897bcf1 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-261 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..4ae6f6a5 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-261 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..de6364ed 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-261 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..1622d736 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-261 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..2dc7b9ff 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-261 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..1666c68c 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-261 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..d0c7c4b6 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-261 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..1f02b0de 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-261 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..363bcd58 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-261 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..f960b6b9 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-261 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..9f8fdf8e 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-261 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..4d535c47 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-261 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..2d5a4993 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-261 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..6602f0c9 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-261 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..1ea61645 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-261 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..c773487c 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-261 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..4d289456 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-261 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..cd2bf2d2 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-261 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..8e20c696 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-261 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..ac323e23 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-261 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..c6044541 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-261 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..438f0e56 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-261 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..028ab5ee 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-261 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..16e8d7a5 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-261 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..4add722c 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-261 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..00ad42ec 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-261 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..9230e849 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-261 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..205f0459 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-261 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..19033e9a 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-261 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..9f634fee 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-261 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..dab0c137 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-261 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..922e0560 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-261 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..7c24c575 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-261 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..ce5e4833 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-261 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..b6902ed4 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-261 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..4a48bf76 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-261 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..9e3c268d 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-261 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..42fe6062 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-261 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..b4498e45 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-261 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..cd7c8f72 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-261 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..017c51d1 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-261 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..e2c538ba 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-261 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..35c7d9c1 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-261 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..3d9c1d52 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-261 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..dabcfe45 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-261 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..65a24fb8 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-261 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..362f522f 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-261 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..7ae526f7 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-261 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..022494ef 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-261 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..d83c1a93 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-261 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..7729f13a 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-261 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..01c1c3d7 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-261 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..41682e0b 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-261 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..74492c4f 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-261 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..e8c37646 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-261 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..22f4565c 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-261 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..f85340ce 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-261 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..0bdb7284 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-261 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..910440f2 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-261 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..57165918 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-261 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..069e7bf4 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-261 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..5fa94fe2 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-261 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..b7be3de5 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-261 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..3d72136c 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-261 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..d58ea61d 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-261 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..36078179 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-261 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..0db55366 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-261 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..59804c88 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-261 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..ab952fb4 --- /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-261 + + 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..0d9885f0 --- /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-261 + + 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..e7306b46 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-261 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..0af14284 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-261 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..93a0dada 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-261 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..eee0097f 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-261 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..75db130f 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-261 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..ff842d03 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-261 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..514b0084 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-261 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..699051e9 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-261 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..bf3f129d 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-261 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..6a42eb21 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-261 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..9497a678 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-261 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..151ac103 --- /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-261 + + 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..96f0f15c --- /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-261 + + 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..31292e2c 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-261 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..7a6d2eb1 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-261 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..0fb841c3 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-261 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..10c5de95 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-261 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..75229b61 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-261 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..a5780282 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-261 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..807c0b66 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-261 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..9221f5f2 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-261 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..7fddb9c0 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-261 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..b778c1fc 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-261 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..ab2c638a 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-261 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..0f7731a4 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-261 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..b836562b --- /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-261 + + 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..f5159816 --- /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-261 + + 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..2ed6bc03 --- /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-261 + + 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..2ee884d7 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-261 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..d7d1bc4b 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-261 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..1a5c3074 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-261 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..8ab2daa9 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-261 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..1da873ed 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-261 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..ad1c0769 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-261 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..0e2ed18b 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-261 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..2fe3d1c4 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-261 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..bf1fb10d 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-261 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..15ea732a 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-261 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..b9ac7deb 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-261 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..2d05471f 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-261 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..b6e9068a 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-261 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..c87e5fa4 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-261 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..7a0d8690 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-261 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..c1f7b96b 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-261 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..20e84bab 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-261 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..0c7ea3de 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-261 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..8ad8367c 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-261 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..40b46f5e 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-261 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..162def19 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-261 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..e30df94d 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-261 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..242ef465 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-261 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..46743569 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-261 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..23a1c747 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-261 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..c7109209 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-261 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..ff699c39 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-261 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..f74629c3 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-261 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..345e0c3f 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-261 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..d455ba37 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-261 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..97337694 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-261 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..e893f2f7 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-261 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..72b1ab96 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-261 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..e3fee09b 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-261 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..790bbdc7 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-261 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..848e5b93 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-261 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..dbf818a1 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-261 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..9b8c5fa2 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-261 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..60d66803 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-261 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..a438e7e0 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-261 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..a48d199c 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-261 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..e1b4ba42 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-261 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..cb0510b2 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-261 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..7ac64b90 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-261 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..617acfb0 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-261 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..79e10c8d 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-261 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..eabeacc1 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-261 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..1a1ae1c2 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-261 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..a2a5e0f3 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-261 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..806d2d6a 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-261 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..1526ecbf 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-261 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..3f15d338 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-261 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..5d3c1a20 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-261 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..4e75b0ce 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-261 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..e914eba4 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-261 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..0b5d9cd4 --- /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-261 + + 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..4a604bf6 --- /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-261 + + 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..dd6eb0ad --- /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-261 + + 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..396d70b8 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-261 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..816c0376 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-261 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..38cec44a 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-261 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..9b8aceab 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-261 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..6063da78 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-261 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..f3487b08 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-261 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..9ba21d30 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-261 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..5ee2ae30 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-261 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..4982af97 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-261 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..b076d25e 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-261 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..d3fd7b5e 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-261 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..68220466 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-261 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..a397939f 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-261 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..9d39e93b 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-261 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..7996c242 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-261 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..3787f577 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-261 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..b3cba4ba 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-261 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..43a6fb51 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-261 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..4f1be0fa 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-261 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..ed7f2734 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-261 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..5d820dde 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-261 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..c65ab908 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-261 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..0368d603 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-261 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..4c9123de 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-261 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..b0990d07 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-261 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..183e1c48 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-261 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..fbe74cbb 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-261 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..2cd1eca1 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-261 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..ee5ff567 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-261 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..40c3e7f4 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-261 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..0546dd82 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-261 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..222aa12b 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-261 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..f2aa78f3 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-261 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..e9626b11 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-261 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..9015a08f 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-261 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..7ded870a 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-261 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..e4c18238 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-261 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..a8d20053 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-261 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..59caeeb8 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-261 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..10a0fb73 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-261 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..fef7428c 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-261 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..bd268c85 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-261 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..6578b095 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-261 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..b6a2d77d 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-261 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..7998a009 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-261 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..e73d13e1 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-261 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..2cea6606 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-261 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..9b03eb9e 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-261 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..2edcd2ab 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-261 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..91814b17 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-261 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..e7782f15 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-261 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..cea217ad 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-261 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..5b7a0ae1 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-261 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..c5de7d4f 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-261 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..c7108da8 --- /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-261 + + 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..a02b28a3 --- /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-261 + + 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..a44d16f8 --- /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-261 + + 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..39556e89 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-261 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..85115121 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-261 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..b07d309f 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-261 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..654e942a 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-261 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..d7e4d655 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-261 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..5ba9b27c 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-261 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..877445e3 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-261 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..1d243be0 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-261 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..d51e237c 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-261 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..986bdf8a 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-261 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..6d0a0f44 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-261 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..c00bb5da 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-261 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..80a5753f 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-261 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..e235a721 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-261 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..9fa820df 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-261 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..fe1a2758 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-261 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..078ec36d 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-261 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..c5cf5e4d 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-261 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..3b72e7f2 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-261 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..f1c5b674 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-261 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..abba829c 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-261 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..1bd70569 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-261 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..bd3fb1d7 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-261 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..fe520201 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-261 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..3aed4eab 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-261 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..f7dec43f 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-261 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..483f3bbd 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-261 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..2678422b 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-261 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..06e23a59 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-261 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..f7f86e77 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-261 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..88c0525c 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-261 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..a1afe150 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-261 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..afdc3646 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-261 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..e432a923 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-261 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..2be8011e 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-261 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..2c90c7d8 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-261 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..20bacce9 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-261 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..ba70dcc7 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-261 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..78a6eb19 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-261 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..d0d0229c 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-261 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..0d470d39 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-261 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..2884f63f 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-261 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..2be4bb7a 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-261 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..c8b1017a 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-261 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..9470adcb 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-261 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..2c214938 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-261 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..f593576b 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-261 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..18cc33ab 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-261 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..0ebe0251 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-261 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..c29bab38 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-261 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..1f9490c6 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-261 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..f5a1ce23 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-261 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..d677f12f 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-261 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..0b4cdb8a 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-261 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..1c6c9fa6 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-261 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..da2ee02c 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-261 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..2d58fad0 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-261 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..6f6791ef 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-261 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..4087a239 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-261 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..ec61f6e8 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-261 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..6c63e130 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-261 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..9fe0d59b 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-261 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..8b06e330 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-261 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..390b82ec 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-261 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..cce00c30 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-261 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..030f842d 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-261 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..d5644f62 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-261 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..5642beeb 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-261 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..556dbf79 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-261 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..d56415ec 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-261 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..4c1aee57 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-261 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..5bb40115 --- /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-261 + + 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..0b6dc95a --- /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-261 + + 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..bbf31016 --- /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-261 + + 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..a3f35251 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-261 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..58f62f4f 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-261 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..3aadb564 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-261 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..5dbb108e 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-261 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..71a105b8 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-261 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..f8c3b5e3 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-261 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..2dc7707a 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-261 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..8c650166 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-261 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..2bda0078 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-261 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..945f25da 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-261 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..184c271b 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-261 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..3c1c6572 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-261 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..e46e5da0 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-261 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..51ad663b 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-261 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..163ba58c 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-261 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..25fe947c 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-261 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..952c7565 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-261 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..a7fe79d3 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-261 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..75987cdb 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-261 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..d6533894 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-261 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..d6f5065d 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-261 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..0be676ee 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-261 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..a6140530 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-261 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..148a95a5 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-261 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..a20fa265 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-261 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..e346b19c 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-261 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..c5b6925e 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-261 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..43e395b8 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-261 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..ac6cc273 --- /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-261 + + 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..f9e9ce4d --- /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-261 + + 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..a34d5dff 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-261 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..f5ca39cb 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-261 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..47a54c5c 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-261 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..8eb9f017 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-261 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..8c9e67b5 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-261 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..6f2fa411 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-261 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..98a5e689 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-261 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..e338c2af 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-261 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..e0997981 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-261 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..75a44db9 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-261 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..8a779617 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-261 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..af15f4b6 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-261 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..a4b7b291 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-261 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..93258b0d 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-261 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..a261db8b 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-261 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..93cbed32 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-261 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..0acd7960 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-261 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..e81f7c47 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-261 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..9f38e67c 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-261 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..76bc0f20 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-261 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..85bbbf3e --- /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-261 + + 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..ccc4477f --- /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-261 + + 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..ad46fcaa 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-261 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..99562220 --- /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-261 + + 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..74f13d76 --- /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-261 + + 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..a5075216 --- /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-261 + + 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..ffb67fd2 --- /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-261 + + 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..e85c611d --- /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-261 + + 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..8eea25e0 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-261 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..8d9b100c 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-261 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..0b3fe955 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-261 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..17467b64 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-261 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..bd87866f 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-261 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..4f6d9ee8 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-261 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..f83b4690 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-261 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..1d791474 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-261 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..458574ed 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-261 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..b8dac5a6 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-261 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..cd2c17dd 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-261 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..c3e1d352 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-261 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..318e6e0d 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-261 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..25814f2f 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-261 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..935148a6 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-261 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..89037397 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-261 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..86ba8120 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-261 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..9493b0e2 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-261 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..21c170b6 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-261 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..f58d05a9 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-261 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..255f8383 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-261 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..670d62fa 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-261 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..3be2422e 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-261 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..ea9721c6 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-261 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..eda58d0c 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-261 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..3ddd9db1 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-261 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..b7f19cfb 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-261 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..6aac9ca4 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-261 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..c5bd98b4 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-261 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..44354897 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-261 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..f3b413b8 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-261 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,14 +40,17 @@ class WorkflowWorkflowInfo(object): 'owners': 'list[str]', 'parent': 'MoBaseMoRef', 'tags': 'list[MoTag]', + 'version_context': 'MoVersionContext', 'account': 'IamAccountRef', 'action': 'str', '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', @@ -55,6 +58,7 @@ class WorkflowWorkflowInfo(object): 'task_infos': 'list[WorkflowTaskInfoRef]', 'type': 'str', 'user_id': 'str', + 'wait_reason': 'str', 'workflow_ctx': 'object', 'workflow_key': 'str', 'workflow_meta_type': 'str', @@ -71,14 +75,17 @@ class WorkflowWorkflowInfo(object): 'owners': 'Owners', 'parent': 'Parent', 'tags': 'Tags', + 'version_context': 'VersionContext', 'account': 'Account', 'action': 'Action', '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', @@ -86,13 +93,14 @@ class WorkflowWorkflowInfo(object): 'task_infos': 'TaskInfos', 'type': 'Type', 'user_id': 'UserId', + 'wait_reason': 'WaitReason', 'workflow_ctx': 'WorkflowCtx', 'workflow_key': 'WorkflowKey', 'workflow_meta_type': 'WorkflowMetaType', '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', 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, wait_reason='None', workflow_ctx=None, workflow_key=None, workflow_meta_type='SystemDefined', workflow_task_count=None): """ WorkflowWorkflowInfo - a model defined in Swagger """ @@ -106,14 +114,17 @@ 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._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 @@ -121,6 +132,7 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self._task_infos = None self._type = None self._user_id = None + self._wait_reason = None self._workflow_ctx = None self._workflow_key = None self._workflow_meta_type = None @@ -144,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 account is not None: self.account = account if action is not None: @@ -154,12 +168,16 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time 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: @@ -174,6 +192,8 @@ def __init__(self, account_moid=None, ancestors=None, create_time=None, mod_time self.type = type if user_id is not None: self.user_id = user_id + if wait_reason is not None: + self.wait_reason = wait_reason if workflow_ctx is not None: self.workflow_ctx = workflow_ctx if workflow_key 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): """ @@ -511,6 +554,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 +646,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): """ @@ -737,6 +824,35 @@ def user_id(self, user_id): self._user_id = user_id + @property + def wait_reason(self): + """ + Gets the wait_reason of this WorkflowWorkflowInfo. + Denotes the reason workflow is in waiting status + + :return: The wait_reason of this WorkflowWorkflowInfo. + :rtype: str + """ + return self._wait_reason + + @wait_reason.setter + def wait_reason(self, wait_reason): + """ + Sets the wait_reason of this WorkflowWorkflowInfo. + Denotes the reason workflow is in waiting status + + :param wait_reason: The wait_reason of this WorkflowWorkflowInfo. + :type: str + """ + allowed_values = ["None", "GatherTasks"] + if wait_reason not in allowed_values: + raise ValueError( + "Invalid value for `wait_reason` ({0}), must be one of {1}" + .format(wait_reason, allowed_values) + ) + + self._wait_reason = wait_reason + @property def workflow_ctx(self): """ diff --git a/intersight/models/workflow_workflow_info_list.py b/intersight/models/workflow_workflow_info_list.py index fde49ba9..6ac6e2ab 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-261 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..d3d973ad 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-261 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..0a11170e 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-261 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..22524b2c 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-261 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..1986cf5e 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-261 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/intersight/rest.py b/intersight/rest.py index 7aa5d491..bfe35d75 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-261 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,